Skip to content

Bind every evaluation to the dataset's full commit ID and record it in run artifacts #311

Open

Description

@lanyue-llk

Problem

Every Web Fetch evaluation should be reproducible from a single immutable identity of its task definitions. Today that identity is implicit.

What I verified in the current code and on Hugging Face (2026-11-23):

  • Definitions are resolved through harness.benchmarks.data.definition_path(track, relative, revision=None). With revision=None the call uses whatever data-lock.json currently pins, so a run's task set depends on the installed Webstone version at call time. lexbench_webfetch.inputs.definition_path goes through this default.
  • In the run, certification and report code paths I searched, I did not find a field that records the dataset repository and full commit. Runs record dataset ids, content hashes and annotation revision ids (for example primary-content-20261103).
  • A tag is not a safe identity here. On Lexmount/LexBench-Web-Fetch the tag v3.0.0 points to a73ae17aa2, which is not in the main history. The release commit on main is def0249d88 ("Release v3.0.0 (Upgrade and root-audit the 10-method Web Fetch report #9)"), which is what data-lock.json pins. Two hashes name one release.
  • main moves. Two later commits (e14592e606, e4e036818c) changed viewer files in manifest.json while definitions.tar.gz kept the same sha256 (bc1ff8dd...). Pinning main would have changed the resolved files without changing the task definitions.

Proposal

  1. Bind to the full 40-hex commit, with content hashes as a second check (already in data-lock.json). Do not bind to a tag or a branch.
  2. Record {repository, full commit, archive sha256} in every run plan, manifest, summary and report metadata. Show the edition tag (for example v3.0.0) only as a label next to the commit.
  3. Make rescore, resume and report rebuild compare the recorded commit with the one in use and fail on a mismatch, instead of silently resolving the current pin.
  4. Require an explicit revision for experiments that must stay on an older edition, rather than relying on the default.
  5. Add a release check that a tag's archive hash equals the pinned archive hash, to catch a moved tag.
  6. Document that results are cited with both the tag and the full commit.

Scope

Approved reference inputs stay bound by their manifest hashes as today. This issue only concerns the public definitions revision.

I added the recorded dataset commit and the resume check to the new agent fetch backend experiment (src/harness/web_fetch/agent_backend) as a first use; the shared runners are not touched by that change.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions