{"record":{"id":"37e20e83361f5825","repo":"zed-industries/zed","slug":"no-fetched-job-at-candidate-run-zed-eval-fetch","errorCode":null,"errorMessage":"no fetched job at {candidate}. Run `zed-eval fetch {run_id} --experiment-name <benchmark>` first, or pass --job-dir.","messagePattern":"no fetched job at (.+?)\\. Run `zed-eval fetch (.+?) --experiment-name <benchmark>` first, or pass --job-dir\\.","errorType":"exception","errorClass":"ValueError","httpStatus":null,"severity":"error","filePath":"crates/eval_cli/zed_eval/report.py","lineNumber":437,"sourceCode":"    \"\"\"Resolve the fetched Harbor/Pier job directory for a `report` invocation,\n    fetching it first when asked.\"\"\"\n    job_dir = getattr(args, \"job_dir\", None)\n    if job_dir:\n        return Path(job_dir)\n\n    run_id = getattr(args, \"run_id\", None)\n    if not run_id:\n        raise ValueError(\"provide a run_id or --job-dir\")\n    jobs_dir = Path(getattr(args, \"jobs_dir\", Path.home() / \".cache/harbor/jobs\"))\n    candidate = jobs_dir / run_id\n\n    if getattr(args, \"fetch\", False) or not candidate.exists():\n        # Reuse the existing fetch command to download + extract the archive.\n        from .volume import command_fetch\n\n        command_fetch(args)\n    if not candidate.exists():\n        raise ValueError(\n            f\"no fetched job at {candidate}. Run `zed-eval fetch {run_id} \"\n            f\"--experiment-name <benchmark>` first, or pass --job-dir.\"\n        )\n    return candidate\n\n\ndef _timeout_is_failure(args: Any) -> bool:\n    \"\"\"Agent timeouts count as failures on test-scored benchmarks. Derived from\n    the benchmark's scoring (via --experiment-name), with an explicit override.\"\"\"\n    override = getattr(args, \"timeouts_as_failures\", None)\n    if override is not None:\n        return bool(override)\n    from . import benchmarks\n\n    experiment = getattr(args, \"experiment_name\", None)\n    benchmark = benchmarks.BENCHMARKS.get(experiment) if experiment else None\n    return bool(benchmark and benchmark.scoring == benchmarks.SCORING_TESTS)\n","sourceCodeStart":419,"sourceCodeEnd":455,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/eval_cli/zed_eval/report.py#L419-L455","documentation":"Error \"no fetched job at {candidate}. Run `zed-eval fetch {run_id} --experiment-name <benchmark>` first, or pass --job-dir.\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/eval_cli/zed_eval/report.py:437 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}