s="p">(</span>
                    <span class="s2">&quot;Sum of probabilities for variable </span><span class="si">{}</span><span class="s2"> has must be 100%&quot;</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">name</span><span class="p">)</span>
                <span class="p">)</span>

        <span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">_chance_probabilities</span> <span class="o">==</span> <span class=