lass="highlight"><pre><span></span><span class="c1"># save these results for later analysis as a JSON file</span>
<span class="k">with</span> <span class="nb">open</span><span class="p">(</span><span class="s1">&#39;data/r3d_compact_task_results_ccle_bc_new_nodrains_only_feas.json&#39;</span><span class="p">,</span> <span class="s1">&#39;w&#39;</span><span class="p">)</span> <span class="k">as</span> <span class="n">f</span><span class="p">:</span>
    <span class="n">f</span><span class="o">.</span><span c