Add paired main/full content requirements for 530 frozen tasks

#6
README.md CHANGED
@@ -4,7 +4,7 @@ license: apache-2.0
4
  tags:
5
  - benchmark
6
  - evaluation
7
- - browser-eval
8
  - web-fetch
9
  - web-scraping
10
  - web-content-extraction
@@ -79,14 +79,14 @@ Short name: **LB-WF**.
79
 
80
  LexBench-Web-Fetch evaluates whether a browser, extraction tool or hosted fetch service returns the content an AI agent needs from a URL. Its 550 task entries cover page bodies, structured records with usable links, resource discovery and file delivery. Each task declares what the returned answer must contain, so the same acceptance rules apply to every participant.
81
 
82
- Use it to compare live-site fetching, diagnose incomplete extraction, or test a saved response after changing a parser. [Browser Eval](https://github.com/lexmount/browser-eval) provides the scorer, execution adapters, evidence storage and comparison reports. Scoring saved answers requires no browser, provider account or LLM judge.
83
 
84
  **License.** The `apache-2.0` license covers the project-authored code, documentation and task requirements. The reference texts included for evaluation under `definitions/materials/` are third-party content. Apache-2.0 does not cover them, and they keep their source terms; see [THIRD_PARTY.md](THIRD_PARTY.md).
85
 
86
 
87
  ## Dataset versions
88
 
89
- This snapshot is **v2.1.0: 550 tasks**. See [version history and comparison rules](VERSIONING.md) for the 550-task and 430-task editions, version increments and immutable revision selection. The active population is recorded in `manifest.json` under `edition`; retained historical definitions do not increase that population.
90
 
91
  ## 530-task revision
92
 
@@ -133,7 +133,7 @@ After exporting a suite with the compatible exporter and `--revision primary-con
133
  uv run --frozen python tools/task_population.py --suite webfetch
134
  ```
135
 
136
- With the compatible Browser Eval population support, prefer
137
  `--population /path/to/definitions/populations/primary-content-20261103.json --population-suite webfetch`
138
  on the certified runner, using a dataset exported with this revision. Repeat for
139
  each of the five suites. The runner checks the selection against the exported
@@ -175,7 +175,7 @@ A method receives the task URL and prompt. Its response is checked against the t
175
  | Resources | Returned resource URLs, permitted variants, and target-only output requirements where declared |
176
  | Files | Delivered bytes, declared file type and integrity requirements |
177
 
178
- Contracts can combine these checks. A successful request, nonempty answer or long response alone does not establish task completion. The scorer keeps binary acceptance separate from text-quality diagnostics. Missing reference coverage remains unavailable. Exact requirements and thresholds are in each task; the [metrics guide](https://github.com/lexmount/browser-eval/blob/main/docs/metrics.md) explains their interpretation.
179
 
180
  Web Fetch runs call the tested tools directly. An agent does not choose browser actions during execution. Preserve the requested initial-load scope: clicking, logging in, expanding hidden content or paginating changes the work unless a task explicitly permits it. In the optional article extension, a qualified displayed excerpt is scored as that excerpt, and changing feeds use their own post-collection contracts.
181
 
@@ -209,7 +209,7 @@ Replace the revision with the full dataset commit you intend to use. Select anot
209
  | --- | --- |
210
  | `id` | Task identifier within its source suite |
211
  | `input` | Source URL |
212
- | `benchmark_category` | Task category shared with Browser Eval's report grouping |
213
  | `source_suite` | Original scorer suite ID, retained independently of the benchmark category |
214
  | `track` | Original source-group value from the task definition |
215
  | `category` | Original finer category, preserved exactly as authored |
@@ -223,18 +223,18 @@ The viewer supports inspection and integration. Viewer rows show hashes in place
223
 
224
  ## Validate, score and run
225
 
226
- From a Browser Eval checkout with [uv](https://docs.astral.sh/uv/getting-started/installation/) installed:
227
 
228
  ```sh
229
- git clone https://github.com/lexmount/browser-eval.git
230
- cd browser-eval
231
  uv sync --frozen
232
  uv run --frozen python -m harness.benchmarks.data
233
  uv run --frozen lexbench-webfetch list
234
  uv run --frozen lexbench-webfetch validate
235
  ```
236
 
237
- Browser Eval downloads the dataset revision selected by its [data lock](https://github.com/lexmount/browser-eval/blob/main/src/harness/benchmarks/data-lock.json) and verifies the archive and file hashes. Public downloads require no access token. The [benchmark integration guide](https://github.com/lexmount/browser-eval/blob/main/docs/benchmarks.md) covers revision selection and offline caching.
238
 
239
  ### Score the 530-task revision from this download
240
 
@@ -246,15 +246,15 @@ Together they cover all 530 selected tasks. Each directory's `source-inputs.json
246
  `frozen_task_bindings[<suite>].exported_cases_sha256` binds its resolved cases.
247
 
248
  Each file is the frozen dataset bound by the suite's `definitions/evaluation/.../source-inputs.json`.
249
- Its hashes were verified, and it reproduces every public task row. The Browser Eval
250
  revision code then applied `primary-content-20261103`, and the result is serialized
251
  the way `export` writes it. These files are ready to score as published, with the
252
  revision already applied. Re-running `lexbench-webfetch export --revision
253
  primary-content-20261103` needs each suite's private frozen parent inputs, including
254
- source trees that are not in this download. Re-applying the revision also needs Browser Eval at
255
- [`351cb27b`](https://github.com/lexmount/browser-eval/commit/351cb27b1d9bf82ae81b177874ea5e624ecb00f0)
256
  or later, because its review inherits unchanged entries from `review-550-20261023`.
257
- Install a suite with Browser Eval's existing importer, then
258
  run it with the population:
259
 
260
  ```sh
@@ -289,7 +289,7 @@ uv run --frozen lexbench-webfetch export \
289
  --output /absolute/path/new-input-directory
290
  ```
291
 
292
- The scorer's `--suite webfetch` exports the mixed 150-task suite, including 20 dynamic/challenge examples. For the 430-task edition, select its 130 general-web, document and media IDs plus the three 100-task suites. For the 550-task edition, select all 150 mixed tasks, those three suites and the 100 article tasks (`--suite articles`). Export verifies inputs before writing a new directory. See [reference inputs and access](https://github.com/lexmount/browser-eval/blob/main/docs/reference-inputs.md).
293
 
294
  Score a saved response using its complete task definition:
295
 
@@ -310,39 +310,60 @@ uv run --frozen browser-harness-eval run \
310
  --case-ids static-simple --output /absolute/path/new-evidence
311
  ```
312
 
313
- The HTTP baseline does not execute JavaScript. For browser setup and a report you can inspect, follow the [runnable local example](https://github.com/lexmount/browser-eval/blob/main/examples/web_fetch/README.md). Formal comparisons use the certified workflow in the [Web Fetch evaluation guide](https://github.com/lexmount/browser-eval/blob/main/src/harness/web_fetch/README.md).
314
 
315
  ## Reporting and limitations
316
 
317
  Report passed/evaluated counts for the declared population, unavailable results and the selected benchmark and scorer revisions. Retain failed calls and timeouts. State timing boundaries, retry policy, local or remote execution, and conversion steps; keep all-call timing separate from timing conditional on success. Optional independent verification has its own disclosed scope and does not run automatically.
318
 
319
- Live sites change with location, time, session state and access policy. The suite emphasizes task-relevant stable content, but a frozen reference can still become outdated. Investigate source drift before changing a verdict. Updating task requirements or scoring code does not retroactively update an old measurement. Record the immutable dataset commit, task/reference hashes and scorer source identity with each experiment. Detailed collection, correction and reporting rules are maintained in the [Web Fetch guide](https://github.com/lexmount/browser-eval/blob/main/src/harness/web_fetch/README.md).
320
 
321
  These are curated workloads, not a representative sample of every website. The article suite's initial-load scope does not measure hidden continuations or interaction-dependent content. Text and link checks do not measure visual fidelity or autonomous browser use. This dataset contains task inputs and requirements; it does not ship provider measurements or establish a standing browser ranking.
322
 
323
  ## Sources, related benchmarks and rights
324
 
325
- LexBench-Web-Fetch was developed as the Web Fetch benchmark component of [Browser Eval](https://github.com/lexmount/browser-eval). Its task definitions retain source URLs and reference bindings. Project-authored material uses Apache-2.0. The reference texts included for evaluation keep their original language and their source terms, and the Apache-2.0 license does not cover them. To request removal or correction, open a discussion in this repository's Community tab. Full captures, screenshots, document and media files, private logs and measured provider outputs are excluded. A public URL or content hash is not permission to redistribute the underlying material. Read [THIRD_PARTY.md](THIRD_PARTY.md), [NOTICE](NOTICE) and the notices included with the selected snapshot.
326
 
327
  The following projects have separate populations and terms; they are not subsets of this catalog:
328
 
329
- - [WebMainBench](https://github.com/opendatalab/WebMainBench), maintained by OpenDataLab, evaluates main-content extraction from saved web pages. Browser Eval's [LexBench-WebMainBench dataset](https://huggingface.co/datasets/Lexmount/LexBench-WebMainBench) records its selected corpus and corrections.
330
  - [WCXB](https://github.com/Murrough-Foley/web-content-extraction-benchmark) is the Web Content Extraction Benchmark.
331
  - [WebArena](https://github.com/web-arena-x/webarena) and [WebArena-Verified](https://github.com/ServiceNow/webarena-verified) supply interactive tasks and evaluators used in separate browser workflows.
332
  - [LexBench-Headless-Browser](https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser) preserves the task inputs for the [upstream Headless runtime](https://github.com/lexmount/Lexbench-Headless-Browser), which evaluates browser runtime and automation capabilities.
333
 
334
- For search evaluation, use [LexBench-Web-Search](https://huggingface.co/datasets/Lexmount/LexBench-Web-Search). [Moli](https://github.com/lexmount/moli) is one browser that can be evaluated with Web Fetch tasks, and [WebFetch CLI](https://github.com/lexmount/webfetch-cli) is a client for a hosted fetch service. Report creation and sharing are covered by [Browser Eval's reporting documentation](https://github.com/lexmount/browser-eval/blob/main/docs/report-hosting.md).
335
 
336
  ## Citation
337
 
338
- Cite Browser Eval and record the exact dataset revision used in your experiment. The canonical project citation is [CITATION.cff](https://github.com/lexmount/browser-eval/blob/main/CITATION.cff).
339
 
340
  ```bibtex
341
- @software{browser_eval_2026,
342
- author = {{Browser Eval contributors}},
343
- title = {Browser Eval: Benchmarking Browsers and Web Tools for AI Agents},
344
  note = {Evaluation harness},
345
  year = {2026},
346
- url = {https://github.com/lexmount/browser-eval}
347
  }
348
  ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  tags:
5
  - benchmark
6
  - evaluation
7
+ - webstone
8
  - web-fetch
9
  - web-scraping
10
  - web-content-extraction
 
79
 
80
  LexBench-Web-Fetch evaluates whether a browser, extraction tool or hosted fetch service returns the content an AI agent needs from a URL. Its 550 task entries cover page bodies, structured records with usable links, resource discovery and file delivery. Each task declares what the returned answer must contain, so the same acceptance rules apply to every participant.
81
 
82
+ Use it to compare live-site fetching, diagnose incomplete extraction, or test a saved response after changing a parser. [Webstone](https://github.com/lexmount/webstone) provides the scorer, execution adapters, evidence storage and comparison reports. Scoring saved answers requires no browser, provider account or LLM judge.
83
 
84
  **License.** The `apache-2.0` license covers the project-authored code, documentation and task requirements. The reference texts included for evaluation under `definitions/materials/` are third-party content. Apache-2.0 does not cover them, and they keep their source terms; see [THIRD_PARTY.md](THIRD_PARTY.md).
85
 
86
 
87
  ## Dataset versions
88
 
89
+ This snapshot is **v2.2.0: 550 tasks**. See [version history and comparison rules](VERSIONING.md) for the 550-task and 430-task editions, version increments and immutable revision selection. The active population is recorded in `manifest.json` under `edition`; retained historical definitions do not increase that population.
90
 
91
  ## 530-task revision
92
 
 
133
  uv run --frozen python tools/task_population.py --suite webfetch
134
  ```
135
 
136
+ With the compatible Webstone population support, prefer
137
  `--population /path/to/definitions/populations/primary-content-20261103.json --population-suite webfetch`
138
  on the certified runner, using a dataset exported with this revision. Repeat for
139
  each of the five suites. The runner checks the selection against the exported
 
175
  | Resources | Returned resource URLs, permitted variants, and target-only output requirements where declared |
176
  | Files | Delivered bytes, declared file type and integrity requirements |
177
 
178
+ Contracts can combine these checks. A successful request, nonempty answer or long response alone does not establish task completion. The scorer keeps binary acceptance separate from text-quality diagnostics. Missing reference coverage remains unavailable. Exact requirements and thresholds are in each task; the [metrics guide](https://github.com/lexmount/webstone/blob/main/docs/metrics.md) explains their interpretation.
179
 
180
  Web Fetch runs call the tested tools directly. An agent does not choose browser actions during execution. Preserve the requested initial-load scope: clicking, logging in, expanding hidden content or paginating changes the work unless a task explicitly permits it. In the optional article extension, a qualified displayed excerpt is scored as that excerpt, and changing feeds use their own post-collection contracts.
181
 
 
209
  | --- | --- |
210
  | `id` | Task identifier within its source suite |
211
  | `input` | Source URL |
212
+ | `benchmark_category` | Task category shared with Webstone's report grouping |
213
  | `source_suite` | Original scorer suite ID, retained independently of the benchmark category |
214
  | `track` | Original source-group value from the task definition |
215
  | `category` | Original finer category, preserved exactly as authored |
 
223
 
224
  ## Validate, score and run
225
 
226
+ From a Webstone checkout with [uv](https://docs.astral.sh/uv/getting-started/installation/) installed:
227
 
228
  ```sh
229
+ git clone https://github.com/lexmount/webstone.git
230
+ cd webstone
231
  uv sync --frozen
232
  uv run --frozen python -m harness.benchmarks.data
233
  uv run --frozen lexbench-webfetch list
234
  uv run --frozen lexbench-webfetch validate
235
  ```
236
 
237
+ Webstone downloads the dataset revision selected by its [data lock](https://github.com/lexmount/webstone/blob/main/src/harness/benchmarks/data-lock.json) and verifies the archive and file hashes. Public downloads require no access token. The [benchmark integration guide](https://github.com/lexmount/webstone/blob/main/docs/benchmarks.md) covers revision selection and offline caching.
238
 
239
  ### Score the 530-task revision from this download
240
 
 
246
  `frozen_task_bindings[<suite>].exported_cases_sha256` binds its resolved cases.
247
 
248
  Each file is the frozen dataset bound by the suite's `definitions/evaluation/.../source-inputs.json`.
249
+ Its hashes were verified, and it reproduces every public task row. The Webstone
250
  revision code then applied `primary-content-20261103`, and the result is serialized
251
  the way `export` writes it. These files are ready to score as published, with the
252
  revision already applied. Re-running `lexbench-webfetch export --revision
253
  primary-content-20261103` needs each suite's private frozen parent inputs, including
254
+ source trees that are not in this download. Re-applying the revision also needs Webstone at
255
+ [`351cb27b`](https://github.com/lexmount/webstone/commit/351cb27b1d9bf82ae81b177874ea5e624ecb00f0)
256
  or later, because its review inherits unchanged entries from `review-550-20261023`.
257
+ Install a suite with Webstone's existing importer, then
258
  run it with the population:
259
 
260
  ```sh
 
289
  --output /absolute/path/new-input-directory
290
  ```
291
 
292
+ The scorer's `--suite webfetch` exports the mixed 150-task suite, including 20 dynamic/challenge examples. For the 430-task edition, select its 130 general-web, document and media IDs plus the three 100-task suites. For the 550-task edition, select all 150 mixed tasks, those three suites and the 100 article tasks (`--suite articles`). Export verifies inputs before writing a new directory. See [reference inputs and access](https://github.com/lexmount/webstone/blob/main/docs/reference-inputs.md).
293
 
294
  Score a saved response using its complete task definition:
295
 
 
310
  --case-ids static-simple --output /absolute/path/new-evidence
311
  ```
312
 
313
+ The HTTP baseline does not execute JavaScript. For browser setup and a report you can inspect, follow the [runnable local example](https://github.com/lexmount/webstone/blob/main/examples/web_fetch/README.md). Formal comparisons use the certified workflow in the [Web Fetch evaluation guide](https://github.com/lexmount/webstone/blob/main/src/harness/web_fetch/README.md).
314
 
315
  ## Reporting and limitations
316
 
317
  Report passed/evaluated counts for the declared population, unavailable results and the selected benchmark and scorer revisions. Retain failed calls and timeouts. State timing boundaries, retry policy, local or remote execution, and conversion steps; keep all-call timing separate from timing conditional on success. Optional independent verification has its own disclosed scope and does not run automatically.
318
 
319
+ Live sites change with location, time, session state and access policy. The suite emphasizes task-relevant stable content, but a frozen reference can still become outdated. Investigate source drift before changing a verdict. Updating task requirements or scoring code does not retroactively update an old measurement. Record the immutable dataset commit, task/reference hashes and scorer source identity with each experiment. Detailed collection, correction and reporting rules are maintained in the [Web Fetch guide](https://github.com/lexmount/webstone/blob/main/src/harness/web_fetch/README.md).
320
 
321
  These are curated workloads, not a representative sample of every website. The article suite's initial-load scope does not measure hidden continuations or interaction-dependent content. Text and link checks do not measure visual fidelity or autonomous browser use. This dataset contains task inputs and requirements; it does not ship provider measurements or establish a standing browser ranking.
322
 
323
  ## Sources, related benchmarks and rights
324
 
325
+ LexBench-Web-Fetch was developed as the Web Fetch benchmark component of [Webstone](https://github.com/lexmount/webstone). Its task definitions retain source URLs and reference bindings. Project-authored material uses Apache-2.0. The reference texts included for evaluation keep their original language and their source terms, and the Apache-2.0 license does not cover them. To request removal or correction, open a discussion in this repository's Community tab. Full captures, screenshots, document and media files, private logs and measured provider outputs are excluded. A public URL or content hash is not permission to redistribute the underlying material. Read [THIRD_PARTY.md](THIRD_PARTY.md), [NOTICE](NOTICE) and the notices included with the selected snapshot.
326
 
327
  The following projects have separate populations and terms; they are not subsets of this catalog:
328
 
329
+ - [WebMainBench](https://github.com/opendatalab/WebMainBench), maintained by OpenDataLab, evaluates main-content extraction from saved web pages. Webstone's [LexBench-WebMainBench dataset](https://huggingface.co/datasets/Lexmount/LexBench-WebMainBench) records its selected corpus and corrections.
330
  - [WCXB](https://github.com/Murrough-Foley/web-content-extraction-benchmark) is the Web Content Extraction Benchmark.
331
  - [WebArena](https://github.com/web-arena-x/webarena) and [WebArena-Verified](https://github.com/ServiceNow/webarena-verified) supply interactive tasks and evaluators used in separate browser workflows.
332
  - [LexBench-Headless-Browser](https://huggingface.co/datasets/Lexmount/LexBench-Headless-Browser) preserves the task inputs for the [upstream Headless runtime](https://github.com/lexmount/Lexbench-Headless-Browser), which evaluates browser runtime and automation capabilities.
333
 
334
+ For search evaluation, use [LexBench-Web-Search](https://huggingface.co/datasets/Lexmount/LexBench-Web-Search). [Moli](https://github.com/lexmount/moli) is one browser that can be evaluated with Web Fetch tasks, and [WebFetch CLI](https://github.com/lexmount/webfetch-cli) is a client for a hosted fetch service. Report creation and sharing are covered by [Webstone's reporting documentation](https://github.com/lexmount/webstone/blob/main/docs/report-hosting.md).
335
 
336
  ## Citation
337
 
338
+ Cite Webstone and record the exact dataset revision used in your experiment. The canonical project citation is [CITATION.cff](https://github.com/lexmount/webstone/blob/main/CITATION.cff).
339
 
340
  ```bibtex
341
+ @software{webstone_2026,
342
+ author = {{Webstone contributors}},
343
+ title = {Webstone: Benchmarking Browsers and Web Tools for AI Agents},
344
  note = {Evaluation harness},
345
  year = {2026},
346
+ url = {https://github.com/lexmount/webstone}
347
  }
348
  ```
349
+
350
+ ## Main and full content annotations
351
+
352
+ `content-scopes-530` adds paired `main` and `full` acceptance profiles for the
353
+ existing 530-task `primary-content-20261103` population. It is a separate suite
354
+ selection; the released default population remains 550 tasks with its original
355
+ requirements. Existing tasks, viewer configurations and reference inputs are retained.
356
+
357
+ The cohort is scored by Webstone [`1287fdf8`](https://github.com/lexmount/webstone/commit/1287fdf859aaac56129933024abdf1246afbcfb7),
358
+ merged from [Webstone PR #268](https://github.com/lexmount/webstone/pull/268).
359
+ Export it with `lexbench-webfetch export --suite content-scopes-530 --source
360
+ <approved-input-directory> --output <new-directory>`. The approved input directory
361
+ must contain the frozen `dataset.json` bound by this suite's `source-inputs.json`.
362
+ Public reference hashes do not replace those inputs.
363
+
364
+ Use `webstone validate --dataset <exported-dataset.json>
365
+ --content-scope main` or `--content-scope full` before a run. Each run selects one
366
+ scope. The approved input bound by this cohort declares `main` as its default.
367
+ An explicit option overrides a saved scope; annotated tasks without a saved scope
368
+ fall back to `full`. Older suites keep their original rules. The existing manifest tooling pin still describes the
369
+ released edition; the cohort's `implementation` field identifies its scoring code.
THIRD_PARTY.md CHANGED
@@ -1,6 +1,6 @@
1
  # Third-party content
2
 
3
- The Apache-2.0 license covers project-owned code, documentation and task requirements. Initial definitions and input-checking concepts originate in [Browser Eval](https://github.com/lexmount/browser-eval); its LexMount copyright notice is retained in NOTICE.
4
 
5
  ## Reference texts included for evaluation
6
 
 
1
  # Third-party content
2
 
3
+ The Apache-2.0 license covers project-owned code, documentation and task requirements. Initial definitions and input-checking concepts originate in [Webstone](https://github.com/lexmount/webstone); its LexMount copyright notice is retained in NOTICE.
4
 
5
  ## Reference texts included for evaluation
6
 
VERSIONING.md CHANGED
@@ -2,8 +2,8 @@
2
 
3
  LexBench-Web-Fetch uses `vMAJOR.MINOR.PATCH` tags on Hugging Face. Each tag names
4
  one immutable dataset commit. Keep the resolved full commit, task and reference
5
- hashes, Browser Eval/scorer commit, and execution settings with every experiment.
6
- Dataset tags are independent of Browser Eval's software version.
7
 
8
  ## Release populations
9
 
@@ -11,6 +11,7 @@ Dataset tags are independent of Browser Eval's software version.
11
  | --- | ---: | --- | --- |
12
  | [v1.0.0](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch/tree/v1.0.0) | 430 | Earlier population: 100 each for general web, dynamic sites, popular sites and access restrictions, plus 10 embedded documents, 17 media-information tasks and 3 direct-media tasks | The four original suites' task, catalog and source-input hashes match `bench-v1.0.0`; seven viewer groups select the 430-task population |
13
  | [v2.1.0](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch/tree/v2.1.0) | 550 | Expanded catalog: the 430-task population, 100 article tasks and 20 additional dynamic/challenge examples | Uses the existing 2.1.0 catalog declaration and reviewed reference/scoring provenance, following the earlier `bench-v2.0.1` snapshot |
 
14
 
15
  The 550-task catalog follows the earlier 430-task population. Adding tasks
16
  starts a new major series. A later refresh of the 430-task viewer does not make
@@ -65,7 +66,7 @@ The edition's `population_sha256` hashes the sorted list of `suite`, `id` and
65
  JSON with `ensure_ascii=False`, sorted keys, two-space indentation and a final
66
  newline before SHA-256 hashing. Viewer JSONL file hashes remain in `files`.
67
 
68
- Browser Eval selects datasets through its data lock and import bindings. Update
69
  those through its existing pinning command using the reviewed full HF commit.
70
  README links and moving branches are navigation, not execution inputs. Matching
71
  tags alone do not establish comparability; task/reference hashes, scorer
 
2
 
3
  LexBench-Web-Fetch uses `vMAJOR.MINOR.PATCH` tags on Hugging Face. Each tag names
4
  one immutable dataset commit. Keep the resolved full commit, task and reference
5
+ hashes, Webstone/scorer commit, and execution settings with every experiment.
6
+ Dataset tags are independent of Webstone's software version.
7
 
8
  ## Release populations
9
 
 
11
  | --- | ---: | --- | --- |
12
  | [v1.0.0](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch/tree/v1.0.0) | 430 | Earlier population: 100 each for general web, dynamic sites, popular sites and access restrictions, plus 10 embedded documents, 17 media-information tasks and 3 direct-media tasks | The four original suites' task, catalog and source-input hashes match `bench-v1.0.0`; seven viewer groups select the 430-task population |
13
  | [v2.1.0](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch/tree/v2.1.0) | 550 | Expanded catalog: the 430-task population, 100 article tasks and 20 additional dynamic/challenge examples | Uses the existing 2.1.0 catalog declaration and reviewed reference/scoring provenance, following the earlier `bench-v2.0.1` snapshot |
14
+ | [v2.2.0](https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch/tree/v2.2.0) | 550 | Same population and task hashes as v2.1.0 | Corrects references and acceptance with the reviewed primary-content task scope revision; rescore saved outputs before comparing with v2.1.0 |
15
 
16
  The 550-task catalog follows the earlier 430-task population. Adding tasks
17
  starts a new major series. A later refresh of the 430-task viewer does not make
 
66
  JSON with `ensure_ascii=False`, sorted keys, two-space indentation and a final
67
  newline before SHA-256 hashing. Viewer JSONL file hashes remain in `files`.
68
 
69
+ Webstone selects datasets through its data lock and import bindings. Update
70
  those through its existing pinning command using the reviewed full HF commit.
71
  README links and moving branches are navigation, not execution inputs. Matching
72
  tags alone do not establish comparability; task/reference hashes, scorer
definitions.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:20c943c8bc116c2bae1f3e1ea810ab4a92358e7e632bedb6530c9f7b7480f785
3
- size 6006987
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62e18ebeec769624fabe696d6d571746a66278657f67de64a03fbecdc6fb2a19
3
+ size 6909656
definitions/evaluation/content-scopes-530/annotation-provenance.json ADDED
The diff for this file is too large to render. See raw diff
 
definitions/evaluation/content-scopes-530/dataset-catalog.json ADDED
The diff for this file is too large to render. See raw diff
 
definitions/evaluation/content-scopes-530/source-inputs.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "catalog": "dataset-catalog.json",
3
+ "catalog_sha256": "f3874d8508e4c2d0986c04bc631e17ffd53c1d9385dad1d8b4765e510410644b",
4
+ "dataset": "dataset.json",
5
+ "dataset_sha256": "d92958eb95352e72c3774e02df638c52b15b8f325d4713aa1a1eab2072b0e298",
6
+ "files": {
7
+ "dataset.json": "d92958eb95352e72c3774e02df638c52b15b8f325d4713aa1a1eab2072b0e298"
8
+ },
9
+ "id": "webfetch-content-scopes-530-d92958eb9535",
10
+ "kind": "frozen_reference_inputs",
11
+ "schema_version": 2,
12
+ "trees": {}
13
+ }
definitions/evaluation/content-scopes-530/tasks.json ADDED
The diff for this file is too large to render. See raw diff
 
definitions/registry.json CHANGED
@@ -55,6 +55,26 @@
55
  "dataset-catalog.json": "8e413e683c309674abf3d297df3f378e76d65ead1e2aa343828e4b0e1d90764a",
56
  "source-inputs.json": "0d9c729f14dae8abb3323a2cf4734736c4733957c9d74d5484033d204642b91b"
57
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  }
59
  ]
60
  }
 
55
  "dataset-catalog.json": "8e413e683c309674abf3d297df3f378e76d65ead1e2aa343828e4b0e1d90764a",
56
  "source-inputs.json": "0d9c729f14dae8abb3323a2cf4734736c4733957c9d74d5484033d204642b91b"
57
  }
58
+ },
59
+ {
60
+ "id": "content-scopes-530",
61
+ "dataset_id": "webfetch-content-scopes-530",
62
+ "case_count": 530,
63
+ "directory": "evaluation/content-scopes-530",
64
+ "files": {
65
+ "annotation-provenance.json": "1d414d610700e737f492cf192b2202a1d9f5eeffc17904007e0aac0c644b3a20",
66
+ "dataset-catalog.json": "f3874d8508e4c2d0986c04bc631e17ffd53c1d9385dad1d8b4765e510410644b",
67
+ "source-inputs.json": "c76b829b994e8f9cc15cbc1a05018f2cb5135dee6e6f9144e5e3b014434fdbbc",
68
+ "tasks.json": "6ae76832f1594e410ab36371c7841a5bd6b4fa65dab39bd6496a8f07c5b22b85"
69
+ },
70
+ "kind": "annotation_cohort",
71
+ "source_population": "primary-content-20261103",
72
+ "implementation": {
73
+ "pull_request": 268,
74
+ "repository": "https://github.com/lexmount/webstone",
75
+ "revision": "1287fdf859aaac56129933024abdf1246afbcfb7",
76
+ "state": "merged"
77
+ }
78
  }
79
  ]
80
  }
manifest.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "archive": {
3
  "path": "definitions.tar.gz",
4
- "sha256": "20c943c8bc116c2bae1f3e1ea810ab4a92358e7e632bedb6530c9f7b7480f785",
5
- "size": 6006987
6
  },
7
  "datasets": {
8
  "access-restrictions": {
@@ -15,6 +15,11 @@
15
  "path": "evaluation/articles/tasks.json",
16
  "sha256": "171241ea0bf3cb3f9482de14a7201885733fa717af56d7ea2b28d86a4516a3bb"
17
  },
 
 
 
 
 
18
  "dynamic-content": {
19
  "count": 100,
20
  "path": "evaluation/dynamic-content-100-moli-webfetch/tasks.json",
@@ -76,9 +81,9 @@
76
  ],
77
  "population_sha256": "f1bb4da7d96478dd36ec08d3c340c46dd09b3a2551adab981be020b8fbfaeb96",
78
  "source_snapshot_revision": "5cc817112ec9777e0a2da43d54859123f85685a3",
79
- "tag": "v2.1.0",
80
  "task_count": 550,
81
- "version": "2.1.0"
82
  },
83
  "files": {
84
  "LICENSE": {
@@ -90,12 +95,12 @@
90
  "size": 43
91
  },
92
  "THIRD_PARTY.md": {
93
- "sha256": "29b39660057fd164d2f16810b4daffdf4f0f576dc286634ac837cbd8606ddc8e",
94
- "size": 2092
95
  },
96
  "VERSIONING.md": {
97
- "sha256": "fa5f828ac715452cc1a247f39a770916792b38784a835f927a08f00e5b23ab41",
98
- "size": 4646
99
  },
100
  "data/access-restrictions.jsonl": {
101
  "sha256": "fc4e0a67760198b3001e85ef8c47062e97243a7072c69a6fd34f96063fd2fca3",
@@ -193,6 +198,22 @@
193
  "sha256": "171241ea0bf3cb3f9482de14a7201885733fa717af56d7ea2b28d86a4516a3bb",
194
  "size": 1079224
195
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  "definitions/evaluation/dataset-catalog.json": {
197
  "sha256": "994fa53f7fc7c3170692a7bb493ebc5af9ad8ffb5b576c022fa123e6e6fb3838",
198
  "size": 100357
@@ -362,13 +383,13 @@
362
  "size": 50741
363
  },
364
  "definitions/registry.json": {
365
- "sha256": "f3d1d2a38308b269cd06c4e2f408e8fcd211baae848581ce8532930cf3089a8b",
366
- "size": 2411
367
  }
368
  },
369
  "schema": "browser-eval-dataset-release/1",
370
  "source_repository": "https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch",
371
- "source_revision": "6b3e1e526600eb91efbb7211c409742b1274888f",
372
  "track": "webfetch",
373
  "viewer": {
374
  "configurations": [
 
1
  {
2
  "archive": {
3
  "path": "definitions.tar.gz",
4
+ "sha256": "62e18ebeec769624fabe696d6d571746a66278657f67de64a03fbecdc6fb2a19",
5
+ "size": 6909656
6
  },
7
  "datasets": {
8
  "access-restrictions": {
 
15
  "path": "evaluation/articles/tasks.json",
16
  "sha256": "171241ea0bf3cb3f9482de14a7201885733fa717af56d7ea2b28d86a4516a3bb"
17
  },
18
+ "content-scopes-530": {
19
+ "count": 530,
20
+ "path": "evaluation/content-scopes-530/tasks.json",
21
+ "sha256": "6ae76832f1594e410ab36371c7841a5bd6b4fa65dab39bd6496a8f07c5b22b85"
22
+ },
23
  "dynamic-content": {
24
  "count": 100,
25
  "path": "evaluation/dynamic-content-100-moli-webfetch/tasks.json",
 
81
  ],
82
  "population_sha256": "f1bb4da7d96478dd36ec08d3c340c46dd09b3a2551adab981be020b8fbfaeb96",
83
  "source_snapshot_revision": "5cc817112ec9777e0a2da43d54859123f85685a3",
84
+ "tag": "v2.2.0",
85
  "task_count": 550,
86
+ "version": "2.2.0"
87
  },
88
  "files": {
89
  "LICENSE": {
 
95
  "size": 43
96
  },
97
  "THIRD_PARTY.md": {
98
+ "sha256": "128f9a608d95e540b0d2d13b3e4bb07af6b67422902bb82355156c2a6c66c3a5",
99
+ "size": 2084
100
  },
101
  "VERSIONING.md": {
102
+ "sha256": "6d17c2869b68ce7d433272ffa6cbcfeba5b8f56a1c358c4eef53cc4a74e4b121",
103
+ "size": 4913
104
  },
105
  "data/access-restrictions.jsonl": {
106
  "sha256": "fc4e0a67760198b3001e85ef8c47062e97243a7072c69a6fd34f96063fd2fca3",
 
198
  "sha256": "171241ea0bf3cb3f9482de14a7201885733fa717af56d7ea2b28d86a4516a3bb",
199
  "size": 1079224
200
  },
201
+ "definitions/evaluation/content-scopes-530/annotation-provenance.json": {
202
+ "sha256": "1d414d610700e737f492cf192b2202a1d9f5eeffc17904007e0aac0c644b3a20",
203
+ "size": 527178
204
+ },
205
+ "definitions/evaluation/content-scopes-530/dataset-catalog.json": {
206
+ "sha256": "f3874d8508e4c2d0986c04bc631e17ffd53c1d9385dad1d8b4765e510410644b",
207
+ "size": 419480
208
+ },
209
+ "definitions/evaluation/content-scopes-530/source-inputs.json": {
210
+ "sha256": "c76b829b994e8f9cc15cbc1a05018f2cb5135dee6e6f9144e5e3b014434fdbbc",
211
+ "size": 477
212
+ },
213
+ "definitions/evaluation/content-scopes-530/tasks.json": {
214
+ "sha256": "6ae76832f1594e410ab36371c7841a5bd6b4fa65dab39bd6496a8f07c5b22b85",
215
+ "size": 10045875
216
+ },
217
  "definitions/evaluation/dataset-catalog.json": {
218
  "sha256": "994fa53f7fc7c3170692a7bb493ebc5af9ad8ffb5b576c022fa123e6e6fb3838",
219
  "size": 100357
 
383
  "size": 50741
384
  },
385
  "definitions/registry.json": {
386
+ "sha256": "da8a56b46c0419134fc954599bdf4bf6762a7459e1c94e24708b4ef1eaaec323",
387
+ "size": 3310
388
  }
389
  },
390
  "schema": "browser-eval-dataset-release/1",
391
  "source_repository": "https://huggingface.co/datasets/Lexmount/LexBench-Web-Fetch",
392
+ "source_revision": "6ae0fc167a4f3c6228703e7ab75c574bd1accb34",
393
  "track": "webfetch",
394
  "viewer": {
395
  "configurations": [
tools/rebuild_publication.py CHANGED
@@ -68,6 +68,19 @@ def publication_files(root):
68
  return files
69
 
70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  def rebuild(root, source_revision):
72
  if not re.fullmatch(r'[0-9a-f]{40}', source_revision):
73
  raise ValueError('Use a full uploaded source commit, not a local label')
@@ -80,6 +93,7 @@ def rebuild(root, source_revision):
80
  manifest['files'] = {name: {'sha256': sha(raw), 'size': len(raw)}
81
  for name, raw in sorted(files.items())}
82
  manifest['source_revision'] = source_revision
 
83
  # Restore the exact edition object after rebuilding hashes; never invent a tag.
84
  manifest['edition'] = edition
85
  buffer = io.BytesIO()
@@ -112,6 +126,8 @@ def check(root):
112
  raw = path.read_bytes()
113
  if sha(raw) != binding['sha256'] or len(raw) != binding['size']:
114
  raise ValueError('Changed publication file: ' + name)
 
 
115
  raw = (root / 'definitions.tar.gz').read_bytes()
116
  if sha(raw) != manifest['archive']['sha256'] or len(raw) != manifest['archive']['size']:
117
  raise ValueError('Changed definitions archive')
 
68
  return files
69
 
70
 
71
+
72
+ def dataset_bindings(root):
73
+ registry = json.loads((root / 'definitions/registry.json').read_text())
74
+ datasets = {}
75
+ for row in registry['suites']:
76
+ path = (Path(row['directory']) / 'tasks.json').as_posix()
77
+ raw = (root / 'definitions' / path).read_bytes()
78
+ if sha(raw) != row['files']['tasks.json'] or row['id'] in datasets:
79
+ raise ValueError('Invalid registry dataset bindings')
80
+ datasets[row['id']] = {'path': path, 'sha256': sha(raw), 'count': row['case_count']}
81
+ return datasets
82
+
83
+
84
  def rebuild(root, source_revision):
85
  if not re.fullmatch(r'[0-9a-f]{40}', source_revision):
86
  raise ValueError('Use a full uploaded source commit, not a local label')
 
93
  manifest['files'] = {name: {'sha256': sha(raw), 'size': len(raw)}
94
  for name, raw in sorted(files.items())}
95
  manifest['source_revision'] = source_revision
96
+ manifest['datasets'] = dataset_bindings(root)
97
  # Restore the exact edition object after rebuilding hashes; never invent a tag.
98
  manifest['edition'] = edition
99
  buffer = io.BytesIO()
 
126
  raw = path.read_bytes()
127
  if sha(raw) != binding['sha256'] or len(raw) != binding['size']:
128
  raise ValueError('Changed publication file: ' + name)
129
+ if manifest.get('datasets') != dataset_bindings(root):
130
+ raise ValueError('Manifest dataset bindings differ from the registry')
131
  raw = (root / 'definitions.tar.gz').read_bytes()
132
  if sha(raw) != manifest['archive']['sha256'] or len(raw) != manifest['archive']['size']:
133
  raise ValueError('Changed definitions archive')
tools/test_content_scopes.py ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Annotation cohorts add acceptance scopes without changing the released population."""
2
+ from pathlib import Path
3
+ import json
4
+ import unittest
5
+ from test_review_scope import suite_dirs
6
+
7
+ ROOT = Path(__file__).resolve().parents[1]
8
+
9
+ class ContentScopesTests(unittest.TestCase):
10
+ def test_annotations_reuse_population_and_preserve_both_scopes(self):
11
+ tasks = json.loads((ROOT/'definitions/evaluation/content-scopes-530/tasks.json').read_text())['cases']
12
+ population = json.loads((ROOT/'definitions/populations/primary-content-20261103.json').read_text())
13
+ self.assertEqual(len(tasks), 530)
14
+ self.assertEqual({c['id'] for c in tasks}, {c['suite']+'--'+c['id'] for c in population['cases']})
15
+ for task in tasks:
16
+ self.assertEqual(set(task['content_scopes']) - {'version'}, {'main', 'full'})
17
+ self.assertNotIn('content-scopes-530', suite_dirs())
18
+ self.assertEqual(set(suite_dirs()), set(population['frozen_task_bindings']))
19
+
20
+ def test_annotation_registry_does_not_expand_edition(self):
21
+ manifest = json.loads((ROOT/'manifest.json').read_text())
22
+ self.assertEqual(manifest['edition']['task_count'], 550)
23
+ registry = json.loads((ROOT/'definitions/registry.json').read_text())
24
+ entry = next(s for s in registry['suites'] if s['id']=='content-scopes-530')
25
+ self.assertEqual(entry['kind'], 'annotation_cohort')
26
+ self.assertEqual(entry['source_population'], 'primary-content-20261103')
tools/test_rebuild_publication.py CHANGED
@@ -14,6 +14,9 @@ class PublicationTests(unittest.TestCase):
14
  self.root = Path(self.temp.name)
15
  (self.root/'definitions').mkdir()
16
  (self.root/'definitions/tasks.json').write_text('{}\n')
 
 
 
17
  for name in ['LICENSE','NOTICE','THIRD_PARTY.md','VERSIONING.md']:
18
  (self.root/name).write_text(name+'\n')
19
  (self.root/'data').mkdir()
@@ -83,3 +86,20 @@ class PublicationTests(unittest.TestCase):
83
 
84
  if __name__=='__main__':
85
  unittest.main()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  self.root = Path(self.temp.name)
15
  (self.root/'definitions').mkdir()
16
  (self.root/'definitions/tasks.json').write_text('{}\n')
17
+ registry = {'suites': [{'id': 'test', 'directory': '.', 'case_count': 1,
18
+ 'files': {'tasks.json': sha(b'{}\n')}}]}
19
+ (self.root/'definitions/registry.json').write_bytes(encoded(registry))
20
  for name in ['LICENSE','NOTICE','THIRD_PARTY.md','VERSIONING.md']:
21
  (self.root/name).write_text(name+'\n')
22
  (self.root/'data').mkdir()
 
86
 
87
  if __name__=='__main__':
88
  unittest.main()
89
+
90
+
91
+ class AnnotationManifestTests(unittest.TestCase):
92
+ setUp = PublicationTests.setUp
93
+ def test_registered_annotation_is_selectable_without_expanding_edition(self):
94
+ manifest = rebuild(self.root, 'a' * 40)
95
+ self.assertEqual(manifest['edition']['task_count'], 1)
96
+ self.assertEqual(manifest['datasets'], {'test': {
97
+ 'count': 1, 'path': 'tasks.json', 'sha256': sha(b'{}\n')}})
98
+
99
+ def test_stale_dataset_selection_is_rejected(self):
100
+ rebuild(self.root, 'a' * 40)
101
+ manifest = json.loads((self.root/'manifest.json').read_text())
102
+ manifest['datasets'] = {}
103
+ (self.root/'manifest.json').write_bytes(encoded(manifest))
104
+ with self.assertRaisesRegex(ValueError, 'dataset bindings'):
105
+ check(self.root)
tools/test_review_scope.py CHANGED
@@ -18,7 +18,12 @@ QUANTA_NAV = {'Physics', 'Mathematics', 'Biology', 'Computer Science', 'Topics',
18
 
19
  def suite_dirs():
20
  registry = json.loads((ROOT / 'definitions/registry.json').read_text())
21
- return {row['id']: ROOT / 'definitions' / row.get('directory', row['id']) for row in registry['suites']}
 
 
 
 
 
22
 
23
 
24
  def cases(path):
 
18
 
19
  def suite_dirs():
20
  registry = json.loads((ROOT / 'definitions/registry.json').read_text())
21
+ population = json.loads((ROOT / 'definitions/populations/primary-content-20261103.json').read_text())
22
+ parents = set(population['frozen_task_bindings'])
23
+ suites = {row['id']: ROOT / 'definitions' / row.get('directory', row['id']) for row in registry['suites']}
24
+ if not parents.issubset(suites):
25
+ raise ValueError('Frozen revision parent suite is missing')
26
+ return {name: suites[name] for name in parents}
27
 
28
 
29
  def cases(path):