You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Dataset publication drops the Web Fetch v3 edition metadata and tools #281
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:
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.
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).
Activity