> <span class="nf">get_path_and_metric</span><span class="p">(</span><span class="n">checkpoint</span><span class="p">,</span> <span class="n">metric</span><span class="p">):</span>
      <span class="n">checkpoint_nr</span> <span class="o">=</span> <span class="nb">int</span><span class="p">(</span><span class="n">checkpoint</span><span class="p">[</span><span class="o">-</span><span class="mi">6</span><span class="p">:])</span> <span class="o">-</span> <span class="mi">1</span>
      <span class="k">retur