end</span><span class="p">(</span><span class="n">trial_report</span><span class="p">)</span>

    <span class="k">if</span> <span class="n">n_simulations</span> <span class="o">==</span> <span class="mi">1</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">reports</span><span class="p">[</span><span class="mi">0</span><span class="p">]</span>
    <span class="k">else</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">reports</span>


<span