{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "google-research-harness2--compare-parallel-and-sequential-recursion",
 "repo": "google-research/harness2",
 "repo_url": "https://github.com/google-research/harness2",
 "repo_slug": "google-research-harness2",
 "title": "Compare parallel and sequential recursion on JobBench",
 "page_title": "How to compare parallel and sequential recursion on JobBench with Harness2",
 "summary": "Run the same JobBench tasks with parallel and sequential recursion to see which refines your harness better.",
 "who": "A researcher deciding whether to explore wider or refine deeper for their agent.",
 "problem": "Without a controlled comparison you cannot tell whether more candidates or more refinement steps help.",
 "outcome": "Results for both modes on the same tasks, resumable, with a clear view of which mode gained more.",
 "steps": [
  "Install Harness2 and configure .env with your model IDs, then `gcloud auth application-default login`",
  "Set up JobBench with `harness2-setup jb`",
  "Run Harness2 on --bench jb with --k 3 --mode parallel on a small task set",
  "Run the same tasks with --k 3 --mode sequential, using a new HARNESS2_RUNS_DIR",
  "Compare the evaluation results and the lessons retained by harnessing-level recursion"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "half a day",
 "basis": "readme",
 "caveat": "Model-backed runs cost money; use --dry-run first and repeat the same command to resume an interrupted run.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/google-research-harness2/compare-parallel-and-sequential-recursion/",
 "md": "https://dedupedai.com/use-cases/google-research-harness2/compare-parallel-and-sequential-recursion/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/google-research-harness2--compare-parallel-and-sequential-recursion.json",
 "api_version": "v1"
}
