zed-industries/zed · error · FileNotFoundError

could not locate job dir inside {parent_archive}

Error message

could not locate job dir inside {parent_archive}

What it means

Error "could not locate job dir inside {parent_archive}" thrown in zed-industries/zed.

Source

Thrown at crates/eval_cli/zed_eval/modal_app.py:954

            raise NotImplementedError(
                "rejudge currently supports registry datasets (SWE-Atlas rf/qna). "
                f"Parent run dataset_kind={dataset_kind!r} is not yet supported."
            )

        work = pathlib.Path("/tmp/agent-evals/rejudge") / run_id
        if work.exists():
            shutil.rmtree(work)
        extract_root = work / "parent"
        extract_root.mkdir(parents=True, exist_ok=True)
        log(f"Extracting parent archive {parent_archive}")
        with tarfile.open(parent_archive, "r:gz") as archive:
            safe_extract_archive(archive, extract_root)
        parent_job_dir = extract_root / parent["run_id"]
        if not parent_job_dir.is_dir():
            # Fall back to the single top-level dir if the arcname differs.
            candidates = [p for p in extract_root.iterdir() if p.is_dir()]
            if len(candidates) != 1:
                raise FileNotFoundError(
                    f"could not locate job dir inside {parent_archive}"
                )
            parent_job_dir = candidates[0]

        log(f"Downloading task packages for dataset {dataset_name}")
        subprocess.run(["harbor", "datasets", "download", dataset_name], check=True)
        tasks_root = pathlib.Path.home() / ".cache" / "harbor" / "tasks" / "packages"

        state("running", source_run=parent, judge_model=judge_model)
        out_job_dir = work / "job" / run_id
        summary = rejudge.rejudge_job(
            parent_job_dir=parent_job_dir,
            out_job_dir=out_job_dir,
            tasks_root=tasks_root,
            judge=judge,
            judge_model=judge_model,
            log=log,
        )

View on GitHub (pinned to bc538def45)

When it happens

Trigger: Thrown at crates/eval_cli/zed_eval/modal_app.py:954 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of zed-industries/zed@bc538def45 (2026-08-16). Data as JSON: /api/errors/6828c033ca7c3a64. Report an issue: GitHub.