Skip to content

feat(benchmarks): version inputs on Hugging Face and unify evaluation code - #81

Merged
lanyue-llk merged 62 commits into
mainfrom
codex/consolidate-benchmarks-huggingface
Oct 30, 2026
Merged

lanyue-llk merged 62 commits into
mainfrom
codex/consolidate-benchmarks-huggingface

Conversation

@lanyue-llk

@lanyue-llk lanyue-llk commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Browser Eval owns Fetch/Search scoring, execution, evidence and optional local reports. Its eight public benchmark datasets are versioned on Hugging Face; the code selects full commits and verifies archive and file hashes. Retired Fetch/Search repositories are no longer runtime dependencies.

All Python packages live under src/: harness, lexbench_webfetch and lexbench_websearch. Imports and console commands remain supported. Installed distributions include the resources needed to freeze Search implementations outside a checkout, and cold imports/help do not acquire benchmark data.

Scorer migration provenance is recorded in src/harness/benchmarks/code-migration.json, including the original Fetch source at lexmount/lexbench-webfetch@5a5b9367118dcc25f126ee16ef4de2d7c666f190 and the deliberate scoring corrections. Independent defects reproduced in that original source are tracked as the follow-ups below.

The current Web Fetch viewer is the seven-category, 430-task public benchmark. It reuses the report's task-family owner, including media information versus original-file delivery. The 100-task article extension and 20 earlier dynamic/challenge examples remain in versioned definitions, outside that current denominator. All 550 raw task definitions and the input archive are unchanged; original source tracks are retained separately from the derived benchmark category.

Each current population has one data owner. Web Search publishes 149 scenario queries and composes the 831 factual questions from SimpleQA Verified instead of copying them. Its historical scenario edition remains available as a definition, rather than another current viewer population. WebArena exposes one 812-task catalog; the corrected 90-task and human-qualified 30-task definitions remain versioned replay variants. Headless exposes 1,928 executable tasks, with 116 design specifications retained as source material. Browser Eval's 30 public-web replay tasks are self-authored; Headless informed their interaction design, but no complete Headless or WebArena task is imported.

Canonical LexBench-… Hub names preserve old commits, tags and repository redirects. Dataset cards and the Lexmount organization page describe task scope, usage, upstream attribution, licenses and evaluation examples. The Headless card restores HF inputs into the matching pinned upstream runtime. Viewer-only changes keep existing input pins when archive bytes are identical; Search selects the new archive without duplicate factual files. Effective composed task inputs remain unchanged.

Source scripts select checkout code before installed copies, and report software identity covers all three packages. Sample manifests must match their selected corpus; ordinary rescoring must match collected dataset/scorer bindings, while explicit versioned corrections retain their existing path. Published input manifests carry their default dataset and scorer binding together.

Fetch scorer corrections in this PR remain unreleased. lexbench-webfetch version reports their actual scoring-source hash and the last published catalog separately; strict catalog validation rejects a mismatched scorer. A review fix does not create a benchmark release.

The input owner supports coordinated version updates, warm-cache file and directory checks, historical replay fixtures and explicit legacy Search execution revisions. Composite releases record the external repository, full commit, dataset descriptor and borrowed file hashes; historical rebuilds use that context. Historical evidence cannot silently acquire current WebMainBench references or a different scorer. Tested scoring corrections retain original-source hashes and paired public regression controls. Reports are optional and generated locally; Artifact Site sharing requires an explicit request and authorization.

Validation:

  • Seven-category publication: 54 discovery/publication/population tests passed. The current task-ID set matches the frozen 430-task report; every current task object and the full 550-task archive are preserved. Anonymous downloads and the live HF viewer confirm seven categories with 100 / 100 / 100 / 100 / 10 / 17 / 3 rows, 430 total, no pending or failed processing jobs; media-information preview returns all 17 rows.
  • Focused comment-fix gate: 245 passed; release/version gate: 40 passed. Stale non-editable installation probes cover checkout imports, and plain-post ambiguity controls preserve explicit record boundaries.
  • Latest-head CI: all four jobs passed, including 18,707 tests and 5,719 subtests, rendered browser checks and installation/packaging. CI run. OCR passed; no unresolved review threads.
  • Real pinned-source and legacy-resume gate: 175 passed. Cache repair controls reject linked tracks before touching external snapshots; historical author qualification preserves literal scalar names.
  • Version metadata CPU time fell from 29.28 seconds to 6.06 seconds in a serial same-host comparison; the full returned metadata stayed equal. Registry lookups verify the consumed file, while directory lookups retain complete inventory checks.
  • Anonymous dataset downloads and live viewers show 149 / 831 / 812 / 1,928 / 30 records for Search / SimpleQA / WebArena / Headless / public-web replay. Historical factual downloads remain byte-identical to the canonical SimpleQA source; Headless original file inventories and replay variants remain intact.

Companion documentation transitions: lexmount/lexbench-webfetch#20 and lexmount/lexbench-websearch#10. Independent historical follow-ups are tracked in #83–#86 and #110–#112.

@lanyue-llk
lanyue-llk marked this pull request as ready for review October 28, 2026 15:07

@lexmount-ocr lexmount-ocr Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 7b36799

This review found 27 issue(s), including 27 blocking issue(s).

Comment thread harness/benchmarks/data.py Resolved
Comment thread src/harness/benchmarks/pinning.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/scoring.py Resolved
Comment thread lexbench_webfetch/structured_tables.py Resolved
Comment thread lexbench_websearch/cli.py Resolved
Comment thread lexbench_websearch/evidence_quality.py Resolved
Comment thread lexbench_websearch/scoring.py Resolved

@lexmount-ocr lexmount-ocr Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 5a4e02b

This review found 15 issue(s), including 15 blocking issue(s).

Comment thread harness/benchmarks/pinning.py Resolved
Comment thread lexbench_webfetch/article_comments.py Resolved
Comment thread src/lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved
Comment thread lexbench_webfetch/scoring.py Resolved
Comment thread lexbench_websearch/scoring.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 91c8900

This review found 19 issue(s), including 19 blocking issue(s).

Comment thread src/harness/web_search/runner.py Resolved
Comment thread lexbench_webfetch/article_comments.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_websearch/scoring.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · bb4ed2f

This review found 14 issue(s), including 14 blocking issue(s).

Comment thread lexbench_webfetch/article_comments.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · ca132f0

This review found 9 issue(s), including 9 blocking issue(s).

Comment thread lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread src/lexbench_webfetch/dynamic_lists.py Resolved
Comment thread src/lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread src/lexbench_websearch/scoring.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 83b7713

This review found 16 issue(s), including 16 blocking issue(s).

Comment thread src/harness/benchmarks/pinning.py Resolved
Comment thread src/harness/benchmarks/pinning.py Resolved
Comment thread src/lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/scoring.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/structured_tables.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · a84cf08

This review found 11 issue(s), including 11 blocking issue(s).

Comment thread harness/benchmarks/pinning.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/scoring.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/structured_tables.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · bdb276f

This review found 15 issue(s), including 15 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread src/lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_websearch/relevance.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · eb0f7fe

This review found 14 issue(s), including 14 blocking issue(s).

Comment thread src/lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/article_text.py Resolved
Comment thread lexbench_webfetch/article_title.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/structured_tables.py Resolved
Comment thread lexbench_webfetch/structured_tables.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 30f966b

This review found 9 issue(s), including 9 blocking issue(s).

Comment thread src/lexbench_webfetch/article_posts.py Resolved
Comment thread lexbench_webfetch/article_title.py Resolved
Comment thread src/lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread src/lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · a233c55

This review found 8 issue(s), including 8 blocking issue(s).

Comment thread lexbench_webfetch/article_title.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 8c845de

This review found 6 issue(s), including 6 blocking issue(s).

Comment thread lexbench_webfetch/article_text.py Resolved
Comment thread lexbench_webfetch/article_title.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · d19320c

This review found 3 issue(s), including 3 blocking issue(s).

Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/reference_quality.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · d7327f3

This review found 4 issue(s), including 4 blocking issue(s).

Comment thread lexbench_webfetch/dynamic_lists.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 897ad86

This review found 7 issue(s), including 7 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · d8bc079

This review found 6 issue(s), including 6 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread src/lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 728a5c7

This review found 4 issue(s), including 4 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 08312e4

This review found 3 issue(s), including 3 blocking issue(s).

Comment thread lexbench_webfetch/structured_tables.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · e163dd6

This review found 2 issue(s), including 2 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · df1c86e

This review found 5 issue(s), including 5 blocking issue(s).

Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/composite_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 01f4b0f

This review found 4 issue(s), including 4 blocking issue(s).

Comment thread lexbench_webfetch/reference_quality.py Resolved
Comment thread lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · c93743c

This review found 3 issue(s), including 3 blocking issue(s).

Comment thread lexbench_webfetch/metrics.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 62b1955

This review found 2 issue(s), including 2 blocking issue(s).

Comment thread lexbench_webfetch/metrics.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · a244cb8

This review found 3 issue(s), including 3 blocking issue(s).

Comment thread lexbench_webfetch/metrics.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 0649ddf

This review found 2 issue(s), including 2 blocking issue(s).

Comment thread lexbench_webfetch/reference_quality.py Resolved

ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · e199292

This review found 2 issue(s), including 2 blocking issue(s).


ℹ️ All inline comments overlapped with existing reviews; nothing new was posted.

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · 6225f92

This review found 2 issue(s), including 2 blocking issue(s).

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Re-review complete · ba76205

This review found 4 issue(s), including 4 blocking issue(s).

Comment thread lexbench_webfetch/metrics.py Resolved
Comment thread lexbench_webfetch/metrics.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · a75b032

This review found 2 issue(s), including 2 blocking issue(s).

Comment thread src/harness/benchmarks/data.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 7cf7e1a

This review found 4 issue(s), including 4 blocking issue(s).

Comment thread src/lexbench_webfetch/article_text.py Resolved
Comment thread src/lexbench_webfetch/dynamic_lists.py Resolved
Comment thread src/lexbench_webfetch/stable_tasks.py Resolved

ghost left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Review complete · 1b5aeef

This review found 1 issue(s), including 1 blocking issue(s).

Comment thread src/harness/benchmarks/data.py Resolved

ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Review complete · 7a342d4

No findings in this review.

Comment thread src/harness/benchmarks/pinning.py Resolved
Comment thread scripts/run_certified_benchmark.py Resolved
Comment thread src/harness/reporting/versions.py Resolved
Comment thread src/lexbench_webfetch/scoring.py Resolved
Comment thread src/lexbench_webfetch/article_posts.py Resolved

ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Re-review complete · 8a31cb6

No findings in this incremental review.

ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Re-review complete · 1b17286

No findings in this incremental review.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant