Skip to content

Dataset publication drops the Web Fetch v3 edition metadata and tools #281

Closed

Description

@lanyue-llk

Problem

python -m harness.benchmarks.publication --checkout <hub> --track webfetch --create-pr … rebuilds a dataset release from a Hugging Face checkout. For LexBench-Web-Fetch v3.x, the result differs from the published dataset in two ways:

  1. build() doesn't write the hub manifest's edition block (tag, version, task_count 530, population_sha256). The dataset's own tools/rebuild_publication.py requires it ("The existing edition metadata must be retained"), and the v3.0.0 card points readers to manifest.json → edition.
  2. The output has no tools/ or Makefile. Because delete_patterns covers everything missing from the output, a --create-pr would delete the dataset's 7 tools/*.py files and its Makefile, which the card tells readers to run.

Reproduce

Clone Lexmount/LexBench-Web-Fetch at e14592e6, then run:

uv run --frozen --all-extras python -m harness.benchmarks.publication --checkout <clone> --track webfetch --revision e14592e606538f8620f510cd8d875b7d137aa763 --output out

out/manifest.json has no edition, and out/ has no tools/ or Makefile. The data files, viewer configs and archive do match the hub.

Expected

A hub build keeps the committed edition (read it the way viewer_filters is already read) and carries tools/ and Makefile from the checkout. A test should show that a hub build keeps them.

Until this is fixed, v3.x is rebuilt with the dataset's own tools/rebuild_publication.py, and --create-pr isn't used for it (#280).

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