Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
3fb443a
feat(web-scraper): add frozen product extraction evaluation pipeline
lanyue-llk Nov 3, 2026
ee4b961
Merge current main into web scraper evaluation branch
lanyue-llk Nov 3, 2026
87ce23e
fix(web-scraper): preserve native execution and full cohort evidence
lanyue-llk Nov 3, 2026
cd7a1a0
fix(web-scraper): verify report populations and native field assessments
lanyue-llk Nov 3, 2026
a4e3893
fix(web-scraper): complete native extraction and required comparison …
lanyue-llk Nov 3, 2026
4317d3a
fix(web-scraper): qualify canonical snapshot URLs before native calls
lanyue-llk Nov 3, 2026
3de92a9
fix(web-scraper): bound calls and protect resumable evidence
lanyue-llk Nov 3, 2026
5daaa63
fix(web-scraper): use neutral completed-cohort report labels
lanyue-llk Nov 3, 2026
99e4632
docs(web-scraper): bind the complete native API report release
lanyue-llk Nov 3, 2026
f9eba6b
fix(web-scraper): enforce access and cohort publication boundaries
lanyue-llk Nov 3, 2026
0090504
feat(web-scraper): repair failed calls and audit all extraction results
lanyue-llk Nov 3, 2026
46f954f
fix(web-scraper): show missing historical retry timing explicitly
lanyue-llk Nov 3, 2026
8b245f0
Merge origin/main and reuse shared publication and review owners
lanyue-llk Nov 3, 2026
f73d03c
fix(web-scraper): keep comparison and evidence views usable on narrow…
lanyue-llk Nov 3, 2026
013afa7
fix(web-scraper): preserve supported final reference decisions
lanyue-llk Nov 3, 2026
ef4c3a8
fix(web-scraper): wrap long identifiers and source links
lanyue-llk Nov 3, 2026
d55c7d9
fix(web-scraper): harden resumable collection and report evidence
lanyue-llk Nov 3, 2026
9cf4831
fix(web-scraper): retain physical inventory in repair chains
lanyue-llk Nov 3, 2026
d42bd7e
fix(web-scraper): enforce native API repair and annotation contracts
lanyue-llk Nov 3, 2026
7e276f7
Merge origin/main into codex/web-scraper-zyte140
lanyue-llk Nov 3, 2026
9a91717
fix(web-scraper): validate retained evidence before certification
lanyue-llk Nov 3, 2026
b8ade3c
refactor(web-scraper): use shared report language catalogs
lanyue-llk Nov 3, 2026
34a8618
fix(web-scraper): preserve runtime and reviewer evidence at report bo…
lanyue-llk Nov 3, 2026
3b2cebb
fix(web-scraper): tolerate missing native usage metadata
lanyue-llk Nov 3, 2026
0da2e7c
fix(web-scraper): enforce retry and audit provenance at publication b…
lanyue-llk Nov 3, 2026
c91743b
fix(web-scraper): bound review dispatch and redact encoded credentials
lanyue-llk Nov 3, 2026
211c592
Merge remote-tracking branch 'origin/main' into codex/web-scraper-zyt…
lanyue-llk Nov 3, 2026
0b8dfdc
fix(web-scraper): make report and evidence text I/O explicitly UTF-8
lanyue-llk Nov 3, 2026
6fe5a47
fix(web-scraper): resume only changed reviews and recover malformed o…
lanyue-llk Nov 3, 2026
3cfdca4
fix(web-scraper): advance bounded reviews and validate adjudication o…
lanyue-llk Nov 3, 2026
a721f34
fix(web-scraper): reject duplicate audit inputs and invalid citation …
lanyue-llk Nov 3, 2026
837c6c7
feat(web-scraper): use shared Hugging Face dataset distribution
lanyue-llk Nov 3, 2026
6fc1685
feat(web-scraper): bind report downloads to verified dataset editions
lanyue-llk Nov 3, 2026
dc64593
docs(web-scraper): select the dataset edition in pinned tooling examples
lanyue-llk Nov 3, 2026
652302f
fix(web-scraper): pin public inputs and guard historical cache writes
lanyue-llk Nov 3, 2026
68f4e3f
Merge remote-tracking branch 'origin/main' into codex/web-scraper-zyt…
lanyue-llk Nov 3, 2026
6eddd4b
fix(web-scraper): validate resume history before dispatch and guard o…
lanyue-llk Nov 3, 2026
007a56d
fix(web-scraper): close review and publication boundary gaps
lanyue-llk Nov 3, 2026
1fd7aa4
fix(web-scraper): retain unavailable metrics for excluded audit fields
lanyue-llk Nov 3, 2026
43a5839
Merge remote-tracking branch 'origin/main' into codex/web-scraper-zyt…
lanyue-llk Nov 3, 2026
4dfbb8f
fix(web-scraper): bind adjudication lineage and generated numeric sorts
lanyue-llk Nov 3, 2026
9bffa89
Merge latest main into web scraper evaluation branch
lanyue-llk Nov 4, 2026
9729452
refactor(web-scraper): share execution and release owners, preserve u…
lanyue-llk Nov 4, 2026
7f010e7
fix(docs): retain third-party benchmark names in dataset navigation
lanyue-llk Nov 4, 2026
994ec39
fix(web-scraper): highlight tied leaders and pin original Zyte dataset
lanyue-llk Nov 4, 2026
6fda59f
test(cdp): reject startup flags before opening the fixture port
lanyue-llk Nov 4, 2026
5911004
fix(publishing): reuse verified staging and retry rejected commits
lanyue-llk Nov 4, 2026
d45cf09
Merge remote-tracking branch 'origin/main' into codex/web-scraper-swde
lanyue-llk Nov 4, 2026
e7bfaec
feat(web-scraper): run frozen multi-domain SWDE extraction cohorts
lanyue-llk Nov 4, 2026
cbc9d34
fix(web-scraper): freeze native controls on initial certified cohorts
lanyue-llk Nov 4, 2026
04f5cfe
feat(web-scraper): support native Zyte custom-field extraction
lanyue-llk Nov 4, 2026
a2069a0
feat(web-scraper): support native Firecrawl HTML upload extraction
lanyue-llk Nov 4, 2026
fecab24
Merge remote-tracking branch 'origin/main' into codex/web-scraper-int…
lanyue-llk Nov 4, 2026
c1a2d13
fix(web-scraper): enforce release and evidence integrity
lanyue-llk Nov 4, 2026
0372e86
Merge remote-tracking branch 'origin/main' into codex/web-scraper-int…
lanyue-llk Nov 4, 2026
3f8a602
docs(web-scraper): record native upload and token billing
lanyue-llk Nov 4, 2026
2be12a7
refactor(web-scraper): separate SWDE from the product benchmark
lanyue-llk Nov 4, 2026
204981d
feat(web-scraper): add independently scoped SWDE evaluation
lanyue-llk Nov 4, 2026
b8a394b
fix(web-scraper): align reader diagnoses and error evidence
lanyue-llk Nov 4, 2026
1e4cd4d
style(web-scraper): normalize imports and asset whitespace
lanyue-llk Nov 4, 2026
a908cb9
Merge branch 'codex/web-scraper-integration' into codex/web-scraper-s…
lanyue-llk Nov 4, 2026
41a38b1
docs(datasets): use canonical LexBench extraction names
lanyue-llk Nov 4, 2026
adfd5f0
Merge branch 'codex/web-scraper-integration' into codex/web-scraper-s…
lanyue-llk Nov 4, 2026
78a37d9
docs(web-scraper): keep default comparisons API-only
lanyue-llk Nov 4, 2026
966e48a
fix(web-scraper): validate SWDE inputs before native calls
lanyue-llk Nov 4, 2026
2dbd4f1
Merge branch 'codex/web-scraper-integration' into codex/web-scraper-s…
lanyue-llk Nov 4, 2026
ee45a05
feat(web-scraper): reuse HF-bound dataset snapshots with approval gates
lanyue-llk Nov 4, 2026
5cf4cc4
fix(web-scraper): identify whole snapshots by HF version manifest
lanyue-llk Nov 4, 2026
08b3ebc
feat(web-scraper): render multi-value extraction cohorts
lanyue-llk Nov 4, 2026
b2a3fd1
fix(web-scraper): share case pages across participant details
lanyue-llk Nov 4, 2026
ad3159b
style(reporting): wrap error evidence selectors
lanyue-llk Nov 4, 2026
74ceb5c
fix(web-scraper): retain explicitly skipped participants without ranking
lanyue-llk Nov 4, 2026
b1adb0d
fix(web-scraper): bind report navigation to reader-facing page labels
lanyue-llk Nov 4, 2026
8b4485e
fix(web-scraper): clarify native examples and hosted report navigation
lanyue-llk Nov 4, 2026
59ac3ec
fix(web-scraper): keep native usage with account and pricing evidence
lanyue-llk Nov 4, 2026
a1b4226
fix(web-scraper): preserve audit bindings and group report navigation
lanyue-llk Nov 4, 2026
700c442
fix(web-scraper): adjudicate record fields against their frozen schemas
lanyue-llk Nov 4, 2026
09bc8c1
fix(web-scraper): retain literal spans for multi-excerpt citations
lanyue-llk Nov 4, 2026
1878d26
fix(web-scraper): qualify reference text and unannotated field coverage
lanyue-llk Nov 4, 2026
aaa9db5
fix(web-scraper): bind native execution and report release boundaries
lanyue-llk Nov 4, 2026
8377618
chore(web-scraper): align evaluation with shared main contracts
lanyue-llk Nov 4, 2026
af2b418
fix(web-scraper): verify source references before offline rescoring
lanyue-llk Nov 4, 2026
00efd7b
fix(web-scraper): retain literal evidence across quoted review excerpts
lanyue-llk Nov 4, 2026
56b673c
fix(web-scraper): bind complete record audits to their source decisions
lanyue-llk Nov 4, 2026
4e82dde
Bind record reports to complete source-qualified audits
lanyue-llk Nov 4, 2026
0386446
Validate complete source-node reference decisions and retain adjudica…
lanyue-llk Nov 4, 2026
93d5741
Bind reference self-links to the frozen main record
lanyue-llk Nov 4, 2026
24e537b
Verify supplemental record reviews against changed repair identities
lanyue-llk Nov 4, 2026
be78319
Include delivered field mismatches in the default failure filter
lanyue-llk Nov 4, 2026
0203473
fix(web-extract): enforce snapshot and review evidence boundaries
lanyue-llk Nov 5, 2026
be118cf
fix(web-extract): verify projected adjudication claims against select…
lanyue-llk Nov 5, 2026
b06564d
fix(web-extract): retain publication receipts when output streams fail
lanyue-llk Nov 5, 2026
566fac2
test(web-extract): construct private-path negative controls at runtime
lanyue-llk Nov 5, 2026
1acfc1d
fix(web-extract): unify generated names and preserve source provenance
lanyue-llk Nov 5, 2026
3ee1c88
fix(web-extract): distinguish track names from source identities
lanyue-llk Nov 5, 2026
d04f8a1
fix(web-extract): enforce evidence and publication boundaries
lanyue-llk Nov 5, 2026
aa59563
fix(web-extract): reject duplicate pricing summaries
lanyue-llk Nov 5, 2026
1195cd6
fix(web-extract): retain approved profile successor identity
lanyue-llk Nov 5, 2026
6e817c7
fix(web-extract): bind budgets and current reference disputes
lanyue-llk Nov 5, 2026
995ea86
fix(web-extract): bound snapshot decoding and preserve release recovery
lanyue-llk Nov 5, 2026
b7b2fbc
fix(web-extract): unify instructions and preserve input contracts
lanyue-llk Nov 5, 2026
d881f50
fix(reports): share reader contracts and simplify extract evidence
lanyue-llk Nov 5, 2026
1390367
fix(web-extract): reproduce frozen projection revisions without rebin…
lanyue-llk Nov 5, 2026
85c2663
fix(web-extract): explain current results instead of repaired failures
lanyue-llk Nov 5, 2026
e4916ce
fix(reports): retain missing requested fields in readable examples
lanyue-llk Nov 5, 2026
83dfc96
fix(reports): contain expanded example tables on narrow screens
lanyue-llk Nov 5, 2026
485b55e
fix(web-extract): close review boundaries and add same-page comparison
lanyue-llk Nov 5, 2026
623372d
fix(web-extract): preserve repair inputs and close review gaps
lanyue-llk Nov 5, 2026
dff73e6
fix(web-extract): enforce shared release and unavailable-page contracts
lanyue-llk Nov 5, 2026
5ae7c0a
fix(web-extract): isolate repair tests and preserve archived receipts
lanyue-llk Nov 5, 2026
e1dacd2
fix(web-extract): align diagnostic counts and comparison coverage
lanyue-llk Nov 5, 2026
2738fa9
fix(web-extract): preserve repair and snapshot execution settings
lanyue-llk Nov 5, 2026
4f3d7a7
test(web-extract): declare UTF-8 for report fixtures
lanyue-llk Nov 5, 2026
20b10ef
fix(web-extract): retain report context and snapshot publication iden…
lanyue-llk Nov 5, 2026
3be5f70
fix(web-extract): freeze access stops and enforce repair input contracts
lanyue-llk Nov 5, 2026
3907d90
test(web-extract): cover frozen URL plans with explicit fixture origins
lanyue-llk Nov 5, 2026
786a8b1
fix(web-extract): distinguish target errors from account denials
lanyue-llk Nov 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents/skills/benchmark-report/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ An explicitly requested diagnostic report may be delivered separately from a cer
3. Follow [equivalent opportunity](references/evaluation-design.md#fairness-means-equivalent-opportunity). For fixed-native cohorts, declare the input media type independently of URL patterns and expected answers, freeze the class-level route and transport parameters before calls, and verify the retained request receipts at aggregation and release.
4. Preserve evidence as an append-only chain by default: task definition, reference, provider call, raw artifact, normalized artifact, score, review, revision, and release. If the user explicitly requests deletion of superseded history, validate the chain first and use the existing owner's current-only authority described in [audit and revision](references/audit-and-revision.md); remove obsolete full snapshots rather than storing reverse patches. Keep current provider outputs, call identities, real scoring sources and necessary review evidence immutable. Routine refresh and publication reuse current inputs without redundant historical snapshots. A presentation or scoring change must not masquerade as a new provider result. Declare the native answer fields and validate their structural projection before accepting a scored artifact. Adapters must not remove returned candidates by URL meaning or consult expected answers when selecting candidate fields. Apply privacy redaction only to separately identified public views after scoring, preserving the private originals and distinguishing original, scored and public-view hashes.
5. Separate retrieval success, task acceptance, content quality, latency, cost, and freshness. Treat missing telemetry as unavailable. A request that received no first byte contributes to total latency, but not to first-byte or body-transfer stage means; show each stage’s observed population. A missing or partial reference makes the affected metric unavailable or scoped; it does not prove success or failure. Do not derive binary acceptance from an unrelated aggregate similarity score.
Every report type must cover latency and cost/pricing for every participant. The shared template resolver supplies this metric contract automatically to existing and newly registered tracks. Freeze timer boundaries before calls, retain success and failure timers, report mean/P50/P95 with one population, and retain retry execution cost separately. Price comparisons need official sources, verification dates, commitments and billing units; use USD per 1,000 requests where a defensible conversion exists. Keep estimates, native usage and actual charges distinct. Decide whether CPU and memory measurements are applicable during design, with a reason when omitted. Release checks must verify participant coverage; unavailable values require an evidenced reason and affected count, never a substituted zero.
6. For heterogeneous same-window latency evidence, preserve the full predeclared task-by-method matrix. Show all-call latency on that common denominator separately from successful-call latency on each method's conditional subset. Treat the all-method shared-pass intersection as a diagnostic, never as a post-outcome selector or ranking sample.
7. At aggregate and publication boundaries, apply the aggregation rule in `AGENTS.md`, and verify delivered-file artifacts as well before release.
When a saved-input handoff needs host-metadata redaction, use the shared publication privacy owner. Preserve private originals and distinguish original from public file hashes; rebind dependent metadata references and disclose auxiliary debug-log projections. Never rewrite original scored answers, references or response payloads as a privacy repair. When a scored answer or native envelope itself contains private values, create a separately identified post-score public view through the shared privacy owner, verify its native-field projection and unchanged task verdict, and disclose that omitted original bytes cannot be reconstructed from the public copy. A public frozen presentation must explicitly bind its complete view inventory, verify displayed bytes against those views, keep acquisition gates strict, and distinguish preserved original diagnostics from what redacted text can reproduce. Verify unchanged verdicts, timings and review decisions, and rebuild from the public inputs. Keep regenerated package/report wrappers outside the original-input projection receipt so normal rebuilding does not invalidate it or create circular hashes.
Expand Down
17 changes: 17 additions & 0 deletions .agents/skills/benchmark-report/references/evaluation-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,20 @@ Ground truth must be independent of the provider under test. Retain source locat
Keep one current profile that a fresh session can validate before running, scoring, rebuilding, or publishing. Include exact case IDs or their canonical digest, the ordered method/version set, run count, timeout, concurrency policy, output contract, reference state, review requirement, and release target. Fail closed on drift instead of reconstructing intent from old reports.

The [live-URL guide](../../../../src/harness/web_fetch/HEADLESS.md#native-browser-routes) owns native browser route rules.

## Hosted copies of frozen inputs

For Web Extract snapshot hosting, use the selected HF edition as the input
authority. Resolve the requested tag or latest once, freeze its full commit, and
keep historical runs pinned. Default to Cloudflare but accept other public origins.
Public HTML hosting is optional: reuse each dataset's independent service or
verify a caller-supplied origin. A navigation page is optional and owns no inputs.
Managed snapshots declare their HF repository, full source commit and dataset/file
inventory hashes in one public manifest. Identify and recheck the dataset through
that manifest; do not download every HTML page to determine a snapshot version.
Keep an explicit byte audit separate from normal version checks. An unversioned
copy needs an approved replacement deployment. A mismatch
must produce a target- and version-bound proposal without remote writes. Deploy
only after explicit approval, reject a proposal if its HF commit or target has
changed, and retain previous deployment URLs. Hosting metadata may accompany HF
originals, but it must never replace them or silently advance an active cohort.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Every displayed metric must declare one interpretation in the report model:
- **lower is better** when a smaller value directly improves it;
- **observational** when direction depends on context or another metric.

Highlight a unique winner only for metrics with a declared direction. Ties remain neutral. Observational metrics must be visibly identified rather than silently left unstyled. Color cannot be the only explanation: provide a short legend or row label that tells the reader why emphasis is present or absent.
Highlight extrema only for metrics with a declared direction. Web Extract highlights every tied best value without extra tie labels; other tracks highlight unique extrema. Unavailable values stay neutral. Observational metrics must be visibly identified rather than silently left unstyled. Color cannot be the only explanation: provide a short legend or row label that tells the reader why emphasis is present or absent.

For ratios, name numerator and denominator, state whether ratios are computed per matched item or from aggregates, and explain the meaning of values below, equal to, and above 1×. Keep absolute values and ratios visually distinct. Do not infer a winner from a ratio for an observational metric.

Expand Down
32 changes: 29 additions & 3 deletions .agents/skills/benchmark-report/references/report-and-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ Write every title and paragraph for the reader, not as a reply to author feedbac

## Claims and rankings

Every comparison includes latency and cost/pricing for all participants. These are shared template requirements, not optional track features. The discovery command returns the inherited contract for new tracks. Before calls, select the timer boundaries, native usage receipts, pricing sources and normalization unit. CPU and memory are contextual: measure them for local execution or a controlled resource comparison; state the reason when they do not apply. A remote API client's CPU or memory does not measure the provider's infrastructure. Release checks must reject omitted participants or missing dimensions. An unavailable measurement retains its scope, count and reason; it is never rendered as zero.

Pair every ranking with its task family, denominator, acceptance meaning, a typical input-to-output route, and limits. Keep task acceptance separate from continuous quality, latency, cost, and title/body diagnostics. Do not call conditional averages global quality or explain a correlation as a verified mechanism.

Prefer concise tables for exact comparisons and prose for interpretation. Remove repeated caveats after placing each limitation where it changes interpretation. Run a factual pass before a prose/humanization pass; never let editing change numbers or scope.

For a standard numeric comparison, show mean, P50, and P95 when all three are useful. P50 is the median, so never present “median” and P50 as separate statistics. Declare whether higher or lower is better and visually mark only a unique column maximum/minimum within the displayed scope; a numerical highlight does not establish causal superiority or a whole-benchmark ranking. Conditional populations require visible counts, not suppression of their extrema. Leave ties, identifiers, call counts, and metrics without a universal direction neutral. Do not rank raw totals when unequal workloads make them non-comparable without also exposing the workload or normalized value.
For a standard numeric comparison, show mean, P50, and P95 when all three are useful. P50 is the median, so never present “median” and P50 as separate statistics. Declare whether higher or lower is better and visually mark extrema within the displayed scope: every tied best value for Web Extract, unique extrema for other tracks; a numerical highlight does not establish causal superiority or a whole-benchmark ranking. Conditional populations require visible counts, not suppression of their extrema. Leave unavailable values, identifiers, call counts, and metrics without a universal direction neutral. Do not add tie labels. Do not rank raw totals when unequal workloads make them non-comparable without also exposing the workload or normalized value.

Do not add a second static inventory when existing filters expose the same result slice. Keep one searchable result table and use focused summaries only when they add a distinct analytical relationship.

Expand Down Expand Up @@ -83,15 +85,39 @@ These rules apply to every public benchmark report, regardless of provider, task

- **Component denominators:** distinguish “a reference exists” from “that reference contains this component.” If a denominator is the union of reference-side and output-side content, show the counted categories, zero-score additions and pre-scoring exclusions with measured counts. Do not describe an output-only component as a missing reference.
- **Metric labels:** use parallel names and units (Mean latency, P50 latency, P95 latency). Explain their common population once beside the table. Define P50 as the median and P95 as the 95th percentile at first use; do not attach “successful” only to the mean while silently applying it to all three. Label unavailable values separately from zero.
- **Highlights:** derive unique directional extrema from raw numeric values and the complete displayed participant registry. Ties remain neutral. Green denotes a column extreme in the declared scope, not statistical significance or an overall ranking. Keep the same markers in all languages, themes, and copies of the comparison. Conditional success coverage and post-hoc shared-success subsets remain explicit.
- **Highlights:** derive directional extrema from raw numeric values and the complete displayed participant registry. Web Extract marks every tied best value; other tracks mark unique extrema. Green denotes a column extreme in the declared scope, not statistical significance or an overall ranking. Keep the same markers in all languages, themes, and copies of the comparison. Conditional success coverage and post-hoc shared-success subsets remain explicit.
- **Table interaction:** choose controls by the table's reader task. Large result and dataset inventories must provide search or relevant filters plus stable sorting for decision-relevant columns. Compact comparison tables keep the complete participant set visible and provide accessible sorting for useful numeric columns; do not add filters that can hide participants and change the apparent comparison population. Small definition, provenance, or lookup tables may remain static. Sortable headers use buttons and `aria-sort`, cells expose raw machine-readable sort values where rendered text is formatted, unavailable values stay after real values in either direction, and ties retain source order. Sorting or filtering must never recompute directional highlights from the visible subset.
- **One fact, one owner:** use one result summary containing outcome and scalar facts. Distinguish request status, valid output, and task acceptance, but do not repeat them as several summary sections. Keep inventories compact and filterable. Put full output comparisons, scoring payloads, provenance, and logs behind labeled dialogs or disclosures; never flatten them into cards or inventory cells.
- **Repairable failures:** connect the failure location and program error category to exact error text, retained logs, relevant output or step, reviewed cause, and remediation evidence when recorded. Keep unknown fields explicitly unavailable; a warning or nearby successful action is not automatically the root cause. Preserve complete raw evidence, but do not duplicate a log stream in multiple visible sections.
- **Evidence interaction:** dialogs must have accessible names, close controls, Escape support, focus restoration, readable bounded scrolling, and usable narrow layouts. Exercise maintained renderer components with representative success and failure fixtures: inventory to exact error/log, keyboard dismissal with focus restoration, and a successful output comparison. Test host-specific nested navigation locally. Keep these behavior tests separate from the top-level release reader pass.
- **Executable protection:** release checks must recompute extrema (including ties/missing values), validate one summary and resolvable evidence controls, and reject failures without exact error evidence or an explicit unavailable state. Include negative controls that remove a highlight, mark the wrong/tied value, break a dialog target, or flatten evidence. Check labels, units, localization parity, and duplicate ownership, rather than only route counts or fixed prose snippets.
- **Executable protection:** release checks must recompute extrema (including ties/missing values), validate one summary and resolvable evidence controls, and reject failures without exact error evidence or an explicit unavailable state. Include negative controls that remove a highlight, mark a wrong value or omit a tied best value, break a dialog target, or flatten evidence. Check labels, units, localization parity, and duplicate ownership, rather than only route counts or fixed prose snippets.

Repository adapter: `src/harness/reporting/presentation.py` provides track-independent checks over numeric cells marked with `data-metric`, `data-metric-direction`, and `data-sort`, and detail wrappers marked with `data-report-detail`. The Web Fetch, WCXB, WebMainBench and Web Search release gates invoke it, as do the Web Fetch diagnostic and published-snapshot checks. The Browser Use and Trajectory Replay gates use only its `visible_text` helper, and Lexbench has its own verifier, so they are not covered by it. New or substantially rewritten tracks must integrate this checker (or equivalent semantic checks) in their own release command; adding a rule to this document is not sufficient. Existing tracks must not be claimed as covered until their gates actually invoke the checks.

Shared gate flow: `src/harness/reporting/release_check.py` owns what every release check repeats: opening a link-free report, reading pages through the presentation rules, naming language editions and binding report identity. Each track keeps its own rules and negative controls. Do not route a module into it when a visual receipt or manifest records that module's hash (`checker_sources`, `producer_sources`, `renderer_sha256`).

Keep unpublished correction notes outside public release history. Schema 3 requires an explicit publication state for every release; an unmarked record fails the build. When a structured release is staged, mark it `publication_state: unpublished`; the public history selector and revision-binding gate must exclude it. Preserve its private correction receipt and measured calls.


## Shared reader components

The template resolver supplies a common presentation contract to every track.
Use `harness.reporting.presentation.metric_guide` for metric definitions and
`check_metric_guide` in the owning release check. A track supplies its metric
names, meaning, units, populations and direction; it should not copy the guide
renderer. Keep the explanation beside the main comparison, and retain negative
controls for missing definitions, changed units or populations and wrong targets.
The existing comparison checker owns directional highlights and unavailable values.

For usage-priced services, convert the declared workload with
`harness.reporting.pricing.usd_per_thousand`. Retain quantities, rates, assumptions
and source dates; validate the displayed interval against that conversion.
A formula alone does not replace a dollar figure. Label scenario estimates and
plan quotes separately, and keep full billing terms off the compact home table.

A result detail leads with the requested fields, reference and actual values,
and the explanation of their differences. Give developer records one secondary
entry; a successful HTTP status is not an error or a quality verdict. A dataset
page owns task definitions, while result pages own measured outputs. Keep each
report's examples within its own dataset; related benchmarks belong in research
references rather than a second unannounced result cohort.
14 changes: 11 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ FIRECRAWL_API_KEY=
TAVILY_API_KEY=
EXA_API_KEY=
BROWSERBASE_API_KEY=
# Optional for browser sessions; not required by the Fetch adapter.
BROWSERBASE_PROJECT_ID=
BROWSER_USE_API_KEY=
# Independent SERP comparison: https://serper.dev/ and https://brightdata.com/
SERPER_API_KEY=
Expand All @@ -97,7 +95,7 @@ TENCENT_WSA_API_KEY=
DASHSCOPE_API_KEY=
GEMINI_API_KEY=

# Protected-site scraping dataset
# Protected-site extraction dataset
BRIGHTDATA_API_TOKEN=
BRIGHTDATA_UNLOCKER_ZONE=
SCRAPINGBEE_API_KEY=
Expand Down Expand Up @@ -132,3 +130,13 @@ BOCHA_API_KEY=
# Optional, only for explicitly selected model relevance evaluation.
SEARCH_JUDGE_API_KEY=
SEARCH_JUDGE_BASE_URL=

# Native product extraction: https://app.diffbot.com/get-started/
DIFFBOT_API_TOKEN=
# https://scrapegraphai.com/signup (v2 Extract)
SGAI_API_KEY=
# https://dashboard.oxylabs.io/ (current Web API Bearer authentication)
OXYLABS_API_KEY=

# Comma-separated private hostnames/IPs to omit from extraction report metadata views.
WEB_EXTRACT_PUBLICATION_HOSTS=
Loading
Loading