DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to resume a long refinement run after it stops midway with Harness2

Re-issue the same command to continue a multi-task run without redoing finished tasks.

Short answer: Note the exact command you used, including --bench, --k, --mode, any subset flags and seed; then Re-run the identical Harness2 command to resume; use a new HARNESS2_RUNS_DIR only if you changed models or task selection. All steps.

  • Research
  • Intermediate
  • 30 minutes
  • From the README
  • Any agent

Who it is forResearcher running a larger JobBench or LAB sweep that was interrupted by a crash or quota limit

The problemLong model-backed runs cost money, and restarting from scratch after an interruption wastes both time and API spend.

The outcomeA completed run that picked up where it stopped, with results kept under the same runs directory.

What you need first

  • Linux, Python 3.12, and uv
  • For the local demo: nothing else, since it needs no model credentials
  • For model-backed runs: Node.js 20+, the Google Cloud CLI, a Vertex AI project with model IDs, and API budget
  • For LAB: Pandoc and Poppler. For WorkBuddy-Bench: Docker

Steps

  1. Note the exact command you used, including --bench, --k, --mode, any subset flags and seed.
  2. Re-run the identical Harness2 command to resume.
  3. Use a new HARNESS2_RUNS_DIR only if you changed models or task selection.
  4. Run harness2-judge and harness2-report with the same flags once refinement finishes.
  5. Check each command's --help for extra options.

Prompt for your agent

My google-research/harness2 run on <benchmark> stopped partway. Reconstruct the exact original command, re-run it to resume, and verify that previously finished tasks were not repeated by checking the runs/ folder.

Caveat. Resume only works when you repeat the same benchmark, executor, subset, --k, --mode and seed, and changing models or task selection requires a new HARNESS2_RUNS_DIR.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for google-research/harness2 and "Resume a long refinement run after it stops midway"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer