n>
        <span class="n">episode</span><span class="o">.</span><span class="n">custom_metrics</span><span class="p">[</span><span class="s2">&quot;total_tasks_in_queue&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">total_tasks_in_queue</span>
        <span class="n">episode</span><span class="o">.</span><span class="n">custom_metrics</span><span class="p">[</span><span class="s2">&quot;total_tasks_dropped&quot;</span><span class="p">]</span> <span class="o">=</span> <span cl