File size: 3,861 Bytes
91bd50d
73806a5
91bd50d
 
 
 
73806a5
 
 
 
 
 
 
 
 
 
76d4050
 
91bd50d
73806a5
76d4050
91bd50d
 
0cebc0a
 
76d4050
91bd50d
 
 
dbe94ac
 
 
 
 
 
 
 
 
 
 
91bd50d
 
73806a5
 
 
 
 
 
 
91bd50d
 
 
 
 
 
 
 
 
 
 
3730b4e
7ac4592
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
pretty_name: Expanded SWDE
license: other
tags:
- web-extract
- structured-data-extraction
task_categories:
- other
source_datasets: []
language:
- und
configs:
- config_name: expanded-swde
  data_files:
  - split: test
    path: data/expanded-swde.jsonl
license_name: original-source-terms
license_link: LICENSE
---


# Expanded SWDE

Short name: **LB-ESWDE**.

This research distribution contains 210 source-qualified pages sampled from [Expanded SWDE](https://www.colinlockard.com/expanded_swde.html). It retains the original benchmark name and attribution. It is a selected evaluation cohort. Scores from this selection do not reproduce the paper's published results.

Lockard et al., OpenCeres (2019), extending SWDE by Hao et al. (2011).

## Browser Eval

This dataset is integrated with [Browser Eval](https://github.com/lexmount/browser-eval). The [Web Extract guide](https://github.com/lexmount/browser-eval/blob/7e1acca089f04b2bbae4d10890eb298757271a47/examples/web_extract/README.md) covers dataset selection, hosted or live inputs, provider selection and certified collection. The upstream benchmark links and original license below remain authoritative for the source data.

```sh
git clone https://github.com/lexmount/browser-eval
cd browser-eval
git checkout 7e1acca089f04b2bbae4d10890eb298757271a47
uv sync --frozen --extra web-extract-eval
```

## Inputs and references

`definitions.tar.gz` contains the source-qualified task definition, original HTML, captured resources, references and provenance. `manifest.json` binds the complete archive and every file by SHA-256. Original task inputs and reference values are unchanged from the preceding edition. Browser Eval uses the shared immutable dataset cache; no extraction service is called during preparation.

```sh
make pin-dataset DATASET=expanded-swde REV=YOUR_FULL_HF_COMMIT
uv run --frozen --extra web-extract-eval python -m harness.web_extract.cli \
  --home /absolute/data/expanded-swde prepare --dataset expanded-swde
```

The selected input mode is `snapshot`. Native extraction services visit a separately deployed, version-bound HTML service. The deployment exposes pages and resources only; reference answers remain outside the hosted page service.

## Scoring

The comparison uses value-level micro F1, page-hit macro F1 and exact-field-set rate. Original references are retained alongside source-qualified whitespace/entity and source-case normalization. Declared URL fields use URL equivalence. These are evaluation adaptations; this distribution does not claim the original paper's protocol.

## Rights

Expanded SWDE by Lockard et al. (OpenCeres, 2019), extending SWDE by Hao et al. (2011). Original SWDE archive: Microsoft Reciprocal License; webpage content retains original rights. Preserve both source attributions. No blanket MIT or Apache license is granted to website content.

Website content retains its original rights. This repository is private. Packaging does not broaden the upstream license or grant rights to the original website content.

## Public HTML snapshots

[snapshots.json](snapshots.json) binds every page ID to its SHA-256 and an immutable public deployment. Native extraction APIs receive `fixture_base + '/' + id`; the original HTML files remain in this repository.

Original files are authoritative. Publication verifies the declared dataset version and complete input inventory before adding this binding. Changed HTML requires a new deployment and a new HF commit; previous files and deployment URLs remain available. Pin the full HF commit for evaluation. Managed immutable deployments are checked through the whole-dataset manifest before and after calls; external hosts have every page byte-checked when first bound. A mismatch stops collection rather than silently replacing the input. The navigation index does not host dataset HTML.