loop-benchmarking

Controlled experiments across agentic coding configurations. Same task, one variable, what actually works.
git clone https://git.shiptheloop.com/loop-benchmarking.git
Log | Files | Refs | README

resume.sh (358B)


      1 #!/usr/bin/env bash
      2 # Resume logic for benchmark runs.
      3 # Checks if a run has already been completed so we can skip it.
      4 
      5 should_skip() {
      6   local results_dir="$1"
      7   local run_id="$2"
      8 
      9   local result_file="$results_dir/runs/$run_id/eval_results.json"
     10   if [[ -f "$result_file" ]]; then
     11     return 0  # Skip (already completed)
     12   fi
     13   return 1    # Don't skip
     14 }

Impressum · Datenschutz