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

How to compare recursion budgets on WorkBuddy-Bench code tasks with Harness2

Run parallel and sequential refinement on the WorkBuddy code subset to see which recursion style helps more.

Short answer: Set up the environment with uv venv --python 3.12 .venv, source .venv/bin/activate, and uv pip install -e '.[render]', then run harness2-setup wb (Docker must be installed); then check the install with harness2-check --bench wb; run harness2 --bench wb --subset code --k 2 --mode parallel with HARNESS2_RUNS_DIR set to a new folder for this mode. All steps.

Who it is forAn AI agent researcher who needs to choose a recursion strategy for coding-style office tasks and wants a fair side-by-side comparison.

The problemParallel and sequential recursion trade breadth for depth, and the right choice depends on the benchmark and budget.

The outcomeSeparate judged and reported runs for each recursion mode on the WorkBuddy code subset, using a distinct runs directory for each.

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. Set up the environment with uv venv --python 3.12 .venv, source .venv/bin/activate, and uv pip install -e '.[render]', then run harness2-setup wb (Docker must be installed)
  2. Check the install with harness2-check --bench wb (inferred, check the README)
  3. Run harness2 --bench wb --subset code --k 2 --mode parallel with HARNESS2_RUNS_DIR set to a new folder for this mode (inferred, check the README)
  4. Run harness2 --bench wb --subset code --k 2 --mode sequential with a different HARNESS2_RUNS_DIR (inferred, check the README)
  5. Judge and report each mode with harness2-judge --bench wb --subset code --k 2 --mode <mode> and harness2-report --bench wb --subset code --k 2 --mode <mode> (inferred, check the README)
  6. Compare the two reports, keeping the same benchmark, subset, k, and seed for both

Prompt for your agent

In the google-research/harness2 repo, install WorkBuddy-Bench with harness2-setup wb, then run the code subset in parallel and sequential mode with --k 2, using a separate HARNESS2_RUNS_DIR for each. Report the judged score for each mode and which one scored higher. Verify that both runs used the same subset, k, and seed.

Caveat. The README says the executor has unrestricted network access and Codex runs with its sandbox disabled, so configure the network restrictions in the experiment guide before evaluation.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for google-research/harness2 and "Compare recursion budgets on WorkBuddy-Bench code tasks"

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