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

How to compare parallel and sequential recursion on JobBench with Harness2

Run the same JobBench tasks with parallel and sequential recursion to see which refines your harness better.

Short answer: Install Harness2 and configure .env with your model IDs, then gcloud auth application-default login; then set up JobBench with harness2-setup jb; run Harness2 on --bench jb with --k 3 --mode parallel on a small task set. All steps.

Who it is forA researcher deciding whether to explore wider or refine deeper for their agent.

The problemWithout a controlled comparison you cannot tell whether more candidates or more refinement steps help.

The outcomeResults for both modes on the same tasks, resumable, with a clear view of which mode gained more.

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. Install Harness2 and configure .env with your model IDs, then gcloud auth application-default login
  2. Set up JobBench with harness2-setup jb
  3. Run Harness2 on --bench jb with --k 3 --mode parallel on a small task set
  4. Run the same tasks with --k 3 --mode sequential, using a new HARNESS2_RUNS_DIR
  5. Compare the evaluation results and the lessons retained by harnessing-level recursion

Prompt for your agent

With google-research/harness2, run the same five JobBench tasks with k=3 in parallel mode and in sequential mode, keep the runs in separate directories, and give me a table comparing scores and cost.

Caveat. Model-backed runs cost money; use --dry-run first and repeat the same command to resume an interrupted run.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for google-research/harness2 and "Compare parallel and sequential recursion on JobBench"

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