From ad9e4493daf1222a3e50e4aee354bb7f7b14513c Mon Sep 17 00:00:00 2001 From: Maisiqi <324751762+Maisiqi@users.noreply.github.com> Date: Tue, 13 Oct 2026 19:16:13 +0800 Subject: [PATCH 01/50] Support the reviewed 430-task ten-method Web Fetch report --- evaluation/scoring-regressions.json | 9466 +++++++++++++++++- harness/web_fetch/README.md | 49 + harness/web_fetch/admission.py | 115 + harness/web_fetch/body_coverage.py | 30 + harness/web_fetch/composite_tasks.py | 385 +- harness/web_fetch/dynamic_lists.py | 261 +- harness/web_fetch/failure_diagnosis.py | 9 - harness/web_fetch/local_audit.py | 387 +- harness/web_fetch/metrics.py | 57 +- harness/web_fetch/models.py | 2 +- harness/web_fetch/network_preflight.py | 18 +- harness/web_fetch/providers/base.py | 6 +- harness/web_fetch/providers/cloudflare.py | 29 +- harness/web_fetch/providers/firecrawl.py | 5 +- harness/web_fetch/providers/moli.py | 16 +- harness/web_fetch/reference_quality.py | 5 +- harness/web_fetch/report.py | 183 +- harness/web_fetch/report_article_cases.py | 15 - harness/web_fetch/report_build.py | 26 +- harness/web_fetch/report_check.py | 29 +- harness/web_fetch/report_components.py | 12 +- harness/web_fetch/report_i18n.py | 451 +- harness/web_fetch/report_interfaces.py | 4 +- harness/web_fetch/report_methods.py | 10 +- harness/web_fetch/report_reading.py | 64 + harness/web_fetch/runner.py | 31 +- harness/web_fetch/scoring_regressions.py | 7 + harness/web_fetch/stable_tasks.py | 120 +- harness/web_fetch/structured_tables.py | 27 +- harness/web_fetch/workers/cowagent_worker.py | 11 +- harness/web_fetch/workers/crawl4ai_worker.py | 8 +- research/native-430-local-report.json | 38 + scripts/build_report.py | 7 +- tests/test_case_admission.py | 50 + tests/test_dynamic_100_moli_119.py | 30 +- tests/test_failure_diagnosis.py | 63 +- tests/test_fairness.py | 6 +- tests/test_file_report_reason.py | 32 + tests/test_fixed_native_policy.py | 80 +- tests/test_fixed_native_workers.py | 57 +- tests/test_local_audit.py | 139 +- tests/test_local_measurement_lineage.py | 141 + tests/test_metrics.py | 4 +- tests/test_moli_provider.py | 27 + tests/test_network_preflight.py | 38 + tests/test_providers.py | 29 +- tests/test_report_article_cases.py | 8 +- tests/test_report_body_scope.py | 23 + tests/test_report_changes.py | 2 +- tests/test_report_metrics.py | 2 +- tests/test_report_reading.py | 63 + tests/test_risk_control_report.py | 2 +- tests/test_scoring.py | 161 +- tests/test_scoring_regressions.py | 4 +- tests/test_stable_tasks.py | 16 +- tests/test_three_cohort_review_followup.py | 4 +- 56 files changed, 12517 insertions(+), 347 deletions(-) create mode 100644 harness/web_fetch/admission.py create mode 100644 harness/web_fetch/report_reading.py create mode 100644 research/native-430-local-report.json create mode 100644 tests/test_case_admission.py create mode 100644 tests/test_local_measurement_lineage.py create mode 100644 tests/test_report_reading.py diff --git a/evaluation/scoring-regressions.json b/evaluation/scoring-regressions.json index 82663f684..b183749c9 100644 --- a/evaluation/scoring-regressions.json +++ b/evaluation/scoring-regressions.json @@ -21457,23 +21457,23 @@ {"id":"html-inline-challenge-explanation-is-prose","category":"format-normalization","root_cause":"html_block_line_boundaries","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"

Required body. If you see Verify you are human, complete the verification before continuing.

","ok":true,"expected_task_pass":true,"expected_metrics":{"blocked_page":false,"stable_blocked_page":false}}, {"id":"html-independent-challenge-heading-still-blocks","category":"format-normalization","root_cause":"html_block_line_boundaries","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"

Required body.

Verify you are human

","ok":true,"expected_task_pass":false,"expected_metrics":{"blocked_page":true,"stable_blocked_page":true}}, {"id":"combined-problem-cells-across-sections-pass","category":"structured-extraction","root_cause":"composite_table_equivalent_fields","failure_mode":"false-negative","case":{"url":"https://example.test/training","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"problems","kind":"table","minimum_records":3,"start_pattern":"(?m)^Section\\s+1\\.","end_pattern":"(?m)^Section\\s+6\\.","required_columns":[{"id":"number","kind":"text","pattern":"^[A-Z]?[0-9]+$","aliases":["Number"]},{"id":"name","kind":"text","aliases":["Name"]},{"id":"attempts","kind":"integer","aliases":["Tried"]},{"id":"accepted","kind":"integer","aliases":["AC"]},{"id":"difficulty","kind":"integer","aliases":["Difficulty"]}],"identity_column":"number","combined_columns":[{"aliases":["Problem"],"pattern":"^(?P[A-Z]?[0-9]+)\\s+(?P.+)$"}]}]}},"artifact":"Section 1. First\nProblem\tTried\tAC\tDifficulty\nP1 Hello World\t1\t1\t7\nP2 Output Practice\t2\t1\t5\nSection 2. Next\nProblem\tTried\tAC\tDifficulty\nB003 Addition Exercise\t3\t2\t4\nSection 6. End","ok":true,"expected_task_pass":true}, - {"id":"combined-problem-cells-cannot-omit-name","category":"structured-extraction","root_cause":"composite_table_equivalent_fields","failure_mode":"false-positive","case":{"url":"https://example.test/training","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"problems","kind":"table","minimum_records":3,"start_pattern":"(?m)^Section\\s+1\\.","end_pattern":"(?m)^Section\\s+6\\.","required_columns":[{"id":"number","kind":"text","pattern":"^[A-Z]?[0-9]+$","aliases":["Number"]},{"id":"name","kind":"text","aliases":["Name"]},{"id":"attempts","kind":"integer","aliases":["Tried"]},{"id":"accepted","kind":"integer","aliases":["AC"]},{"id":"difficulty","kind":"integer","aliases":["Difficulty"]}],"identity_column":"number","combined_columns":[{"aliases":["Problem"],"pattern":"^(?P[A-Z]?[0-9]+)\\s+(?P.+)$"}]}]}},"artifact":"Section 1. First\nProblem\tTried\tAC\tDifficulty\nP1 Hello World\t1\t1\t7\nP2 Output Practice\t2\t1\t5\nSection 2. Next\nProblem\tTried\tAC\tDifficulty\nB003\t3\t2\t4\nSection 6. End","ok":true,"expected_task_pass":false} - ,{"id":"html-head-title-cannot-supply-body","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Other text

","ok":true,"expected_task_pass":false,"expected_metrics":{"stable_anchor_hits":0}} - ,{"id":"html-body-anchor-with-head-title-passes","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Required body

","ok":true,"expected_task_pass":true,"expected_metrics":{"stable_anchor_hits":1}} - ,{"id":"card-single-line-distinct-typed-fields-pass","category":"structured-extraction","root_cause":"card_field_span_ownership","failure_mode":"false-negative","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+","required_fields":[{"id":"price","kind":"price"},{"id":"beds","kind":"integer","pattern":"\\b(?:bds|beds?)\\b"},{"id":"baths","kind":"integer","pattern":"\\b(?:ba|baths?)\\b"},{"id":"area","kind":"area"}]}]}},"artifact":"[One Main Street](https://example.test/item/1)\n$900,000\n3 beds · 2 baths · 1,200 sqft","ok":true,"expected_task_pass":true} - ,{"id":"card-unrelated-quantity-cannot-supply-typed-fields","category":"structured-extraction","root_cause":"card_field_span_ownership","failure_mode":"false-positive","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+","required_fields":[{"id":"price","kind":"price"},{"id":"beds","kind":"integer","pattern":"\\b(?:bds|beds?)\\b"},{"id":"baths","kind":"integer","pattern":"\\b(?:ba|baths?)\\b"},{"id":"area","kind":"area"}]}]}},"artifact":"[One Main Street](https://example.test/item/1)\n$900,000\n1200 sqft beds\n1200 sqft baths\n1200 sqft","ok":true,"expected_task_pass":false} - ,{"id":"metadata-title-body-anchor-missing-fails","category":"format-normalization","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Other text","title":"Required body","ok":true,"expected_task_pass":false,"expected_metrics":{"stable_anchor_hits":0}} - ,{"id":"metadata-title-body-anchor-visible-passes","category":"format-normalization","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body","title":"Other title","ok":true,"expected_task_pass":true,"expected_metrics":{"stable_anchor_hits":1}} - ,{"id":"metadata-title-body-coverage-missing-fails","category":"body-scope","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","body_requirements":{"version":3,"unit":"region_compact_hexagram_recall","minimum_coverage":0.8,"minimum_floor":0.6,"minimum_region_passes":1,"segmentation_method":"balanced_tokens_fallback","regions":[{"id":"body-region-1","text":"required body paragraph explains independent visible source content and complete record ownership","source_text":"required body paragraph explains independent visible source content and complete record ownership","segmentation_method":"balanced_tokens_fallback"}]}},"artifact":"Other text","title":"Required body paragraph explains independent visible source content and complete record ownership.","ok":true,"expected_task_pass":false,"expected_metrics":{"body_coverage_pass":false}} - ,{"id":"metadata-title-body-coverage-visible-passes","category":"body-scope","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","body_requirements":{"version":3,"unit":"region_compact_hexagram_recall","minimum_coverage":0.8,"minimum_floor":0.6,"minimum_region_passes":1,"segmentation_method":"balanced_tokens_fallback","regions":[{"id":"body-region-1","text":"required body paragraph explains independent visible source content and complete record ownership","source_text":"required body paragraph explains independent visible source content and complete record ownership","segmentation_method":"balanced_tokens_fallback"}]}},"artifact":"Required body paragraph explains independent visible source content and complete record ownership.","title":"Other title","ok":true,"expected_task_pass":true,"expected_metrics":{"body_coverage_pass":true}} - ,{"id":"metadata-title-composite-missing-fails","category":"structured-extraction","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+"}]}},"artifact":"Other text","title":"[One Main Street](https://example.test/item/1)","ok":true,"expected_task_pass":false} - ,{"id":"metadata-title-composite-visible-passes","category":"structured-extraction","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+"}]}},"artifact":"[One Main Street](https://example.test/item/1)","title":"Other title","ok":true,"expected_task_pass":true} - ,{"id":"legacy-title-marker-missing-fails","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-positive","case":{"url":"https://example.test/order","task_kind":"body","expected_any":["Order ID 123"]},"artifact":"Other text","title":"Order ID 123","ok":true,"expected_task_pass":false} - ,{"id":"legacy-title-marker-visible-passes","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-negative","case":{"url":"https://example.test/order","task_kind":"body","expected_any":["Order ID 123"]},"artifact":"Order ID 123","title":"Other title","ok":true,"expected_task_pass":true} - ,{"id":"legacy-title-pattern-missing-fails","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-positive","case":{"url":"https://example.test/order","task_kind":"body","required_patterns":[{"id":"order","pattern":"Order ID [0-9]+","minimum":1}]},"artifact":"Other text","title":"Order ID 123","ok":true,"expected_task_pass":false} - ,{"id":"legacy-title-pattern-visible-passes","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-negative","case":{"url":"https://example.test/order","task_kind":"body","required_patterns":[{"id":"order","pattern":"Order ID [0-9]+","minimum":1}]},"artifact":"Order ID 123","title":"Other title","ok":true,"expected_task_pass":true} - ,{"id":"html-misplaced-title-missing-body-fails","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Other text

","ok":true,"expected_task_pass":false} - ,{"id":"html-misplaced-title-visible-body-passes","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Required body

","ok":true,"expected_task_pass":true}, + {"id":"combined-problem-cells-cannot-omit-name","category":"structured-extraction","root_cause":"composite_table_equivalent_fields","failure_mode":"false-positive","case":{"url":"https://example.test/training","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"problems","kind":"table","minimum_records":3,"start_pattern":"(?m)^Section\\s+1\\.","end_pattern":"(?m)^Section\\s+6\\.","required_columns":[{"id":"number","kind":"text","pattern":"^[A-Z]?[0-9]+$","aliases":["Number"]},{"id":"name","kind":"text","aliases":["Name"]},{"id":"attempts","kind":"integer","aliases":["Tried"]},{"id":"accepted","kind":"integer","aliases":["AC"]},{"id":"difficulty","kind":"integer","aliases":["Difficulty"]}],"identity_column":"number","combined_columns":[{"aliases":["Problem"],"pattern":"^(?P[A-Z]?[0-9]+)\\s+(?P.+)$"}]}]}},"artifact":"Section 1. First\nProblem\tTried\tAC\tDifficulty\nP1 Hello World\t1\t1\t7\nP2 Output Practice\t2\t1\t5\nSection 2. Next\nProblem\tTried\tAC\tDifficulty\nB003\t3\t2\t4\nSection 6. End","ok":true,"expected_task_pass":false}, + {"id":"html-head-title-cannot-supply-body","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Other text

","ok":true,"expected_task_pass":false,"expected_metrics":{"stable_anchor_hits":0}}, + {"id":"html-body-anchor-with-head-title-passes","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Required body

","ok":true,"expected_task_pass":true,"expected_metrics":{"stable_anchor_hits":1}}, + {"id":"card-single-line-distinct-typed-fields-pass","category":"structured-extraction","root_cause":"card_field_span_ownership","failure_mode":"false-negative","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+","required_fields":[{"id":"price","kind":"price"},{"id":"beds","kind":"integer","pattern":"\\b(?:bds|beds?)\\b"},{"id":"baths","kind":"integer","pattern":"\\b(?:ba|baths?)\\b"},{"id":"area","kind":"area"}]}]}},"artifact":"[One Main Street](https://example.test/item/1)\n$900,000\n3 beds · 2 baths · 1,200 sqft","ok":true,"expected_task_pass":true}, + {"id":"card-unrelated-quantity-cannot-supply-typed-fields","category":"structured-extraction","root_cause":"card_field_span_ownership","failure_mode":"false-positive","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+","required_fields":[{"id":"price","kind":"price"},{"id":"beds","kind":"integer","pattern":"\\b(?:bds|beds?)\\b"},{"id":"baths","kind":"integer","pattern":"\\b(?:ba|baths?)\\b"},{"id":"area","kind":"area"}]}]}},"artifact":"[One Main Street](https://example.test/item/1)\n$900,000\n1200 sqft beds\n1200 sqft baths\n1200 sqft","ok":true,"expected_task_pass":false}, + {"id":"metadata-title-body-anchor-missing-fails","category":"format-normalization","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Other text","title":"Required body","ok":true,"expected_task_pass":false,"expected_metrics":{"stable_anchor_hits":0}}, + {"id":"metadata-title-body-anchor-visible-passes","category":"format-normalization","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body","title":"Other title","ok":true,"expected_task_pass":true,"expected_metrics":{"stable_anchor_hits":1}}, + {"id":"metadata-title-body-coverage-missing-fails","category":"body-scope","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","body_requirements":{"version":3,"unit":"region_compact_hexagram_recall","minimum_coverage":0.8,"minimum_floor":0.6,"minimum_region_passes":1,"segmentation_method":"balanced_tokens_fallback","regions":[{"id":"body-region-1","text":"required body paragraph explains independent visible source content and complete record ownership","source_text":"required body paragraph explains independent visible source content and complete record ownership","segmentation_method":"balanced_tokens_fallback"}]}},"artifact":"Other text","title":"Required body paragraph explains independent visible source content and complete record ownership.","ok":true,"expected_task_pass":false,"expected_metrics":{"body_coverage_pass":false}}, + {"id":"metadata-title-body-coverage-visible-passes","category":"body-scope","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","body_requirements":{"version":3,"unit":"region_compact_hexagram_recall","minimum_coverage":0.8,"minimum_floor":0.6,"minimum_region_passes":1,"segmentation_method":"balanced_tokens_fallback","regions":[{"id":"body-region-1","text":"required body paragraph explains independent visible source content and complete record ownership","source_text":"required body paragraph explains independent visible source content and complete record ownership","segmentation_method":"balanced_tokens_fallback"}]}},"artifact":"Required body paragraph explains independent visible source content and complete record ownership.","title":"Other title","ok":true,"expected_task_pass":true,"expected_metrics":{"body_coverage_pass":true}}, + {"id":"metadata-title-composite-missing-fails","category":"structured-extraction","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-positive","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+"}]}},"artifact":"Other text","title":"[One Main Street](https://example.test/item/1)","ok":true,"expected_task_pass":false}, + {"id":"metadata-title-composite-visible-passes","category":"structured-extraction","root_cause":"metadata_title_is_not_declared_body","failure_mode":"false-negative","case":{"url":"https://example.test/homes","task_kind":"body","composite_acceptance":{"version":1,"groups":[{"id":"homes","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+"}]}},"artifact":"[One Main Street](https://example.test/item/1)","title":"Other title","ok":true,"expected_task_pass":true}, + {"id":"legacy-title-marker-missing-fails","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-positive","case":{"url":"https://example.test/order","task_kind":"body","expected_any":["Order ID 123"]},"artifact":"Other text","title":"Order ID 123","ok":true,"expected_task_pass":false}, + {"id":"legacy-title-marker-visible-passes","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-negative","case":{"url":"https://example.test/order","task_kind":"body","expected_any":["Order ID 123"]},"artifact":"Order ID 123","title":"Other title","ok":true,"expected_task_pass":true}, + {"id":"legacy-title-pattern-missing-fails","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-positive","case":{"url":"https://example.test/order","task_kind":"body","required_patterns":[{"id":"order","pattern":"Order ID [0-9]+","minimum":1}]},"artifact":"Other text","title":"Order ID 123","ok":true,"expected_task_pass":false}, + {"id":"legacy-title-pattern-visible-passes","category":"format-normalization","root_cause":"legacy_title_is_not_page_text","failure_mode":"false-negative","case":{"url":"https://example.test/order","task_kind":"body","required_patterns":[{"id":"order","pattern":"Order ID [0-9]+","minimum":1}]},"artifact":"Order ID 123","title":"Other title","ok":true,"expected_task_pass":true}, + {"id":"html-misplaced-title-missing-body-fails","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-positive","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Other text

","ok":true,"expected_task_pass":false}, + {"id":"html-misplaced-title-visible-body-passes","category":"format-normalization","root_cause":"html_head_is_not_body","failure_mode":"false-negative","case":{"url":"https://example.test/article","task_kind":"body","acceptance_contract":{"version":1,"schema":"body_text","minimum_records":0,"stable_text_anchors":[{"id":"body","alternatives":["Required body"]}]}},"artifact":"Required body

Required body

","ok":true,"expected_task_pass":true}, { "id": "declared-page-chrome-is-required-stable-text", "category": "acceptance-contract", @@ -21613,8 +21613,8 @@ "artifact": "Catalog\n[Alpha\nDetails](/item/1) consider [Beta\nDetails](/item/2)", "ok": true, "expected_task_pass": false, "expected_metrics": {"stable_structure_pass": false, "stable_unique_record_count": 1} - } - ,{ + }, + { "id":"emphasized-numeric-rank-is-valid-entry", "category":"format-normalization", "root_cause":"balanced_numeric_rank_emphasis", @@ -21622,7 +21622,8 @@ "case":{"url":"https://example.test/catalog","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/\\d+"}}, "artifact":"* _10_ [A new paper](/item/10) [Journal](/journal/1)", "ok":true,"expected_task_pass":true,"expected_metrics":{"stable_unique_record_count":1} - },{ + }, + { "id":"emphasized-recommendation-is-not-list-entry", "category":"format-normalization", "root_cause":"balanced_numeric_rank_emphasis", @@ -21630,7 +21631,8 @@ "case":{"url":"https://example.test/catalog","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/\\d+"}}, "artifact":"Read _10_ [A new paper](/item/10)", "ok":true,"expected_task_pass":false,"expected_metrics":{"stable_unique_record_count":0} - },{ + }, + { "id":"markdown-heading-opens-declared-list-scope", "category":"format-normalization", "root_cause":"markdown_heading_scope_boundaries", @@ -21638,7 +21640,8 @@ "case":{"url":"https://example.test/catalog","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/\\d+","entry_scope":{"html_selector":"main","start_pattern":"^News\\s*$","end_pattern":"^Related items\\s*$"}}}, "artifact":"## News\n[A new article](/item/1)\n## [Related **items**](/archive)\n[Outside article](/item/2)", "ok":true,"expected_task_pass":true,"expected_metrics":{"stable_unique_record_count":1} - },{ + }, + { "id":"outside-section-links-do-not-fill-declared-scope", "category":"format-normalization", "root_cause":"markdown_heading_scope_boundaries", @@ -21646,53 +21649,58 @@ "case":{"url":"https://example.test/catalog","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/\\d+","entry_scope":{"html_selector":"main","start_pattern":"^News\\s*$","end_pattern":"^Related items\\s*$"}}}, "artifact":"[Outside before](/item/1)\n## News\n## [Related **items**](/archive)\n[Outside after](/item/2)", "ok":true,"expected_task_pass":false,"expected_metrics":{"stable_unique_record_count":0} - } - ,{ + }, + { "id":"inline-layout-breaks-preserve-table-fields","category":"format-normalization", "root_cause":"inline_break_table_cell_layout","failure_mode":"false-negative", "case":{"url":"https://example.test/table","task_kind":"body","acceptance_contract":{"version":1,"schema":"table_row","minimum_records":1,"table_columns":[{"name":"name","label":"Name","type":"text"},{"name":"age","label":"Age","type":"integer"}],"record_identity_fields":["name"],"table_scope":{"row_selector":"tbody tr","cell_selector":"td","start_pattern":"(?m)^(?=\\|\\s*Name\\s*\\|)","end_pattern":"(?m)^End$","plain_row_pattern":"(?P[A-Za-z]+)\\s+(?P\\d+)"}}}, "artifact":"| Name

| Age
|\n| --- | --- |\n| Alice
| 25
|\nEnd", "ok":true,"expected_task_pass":true,"expected_metrics":{"stable_unique_record_count":1} - },{ + }, + { "id":"inline-layout-breaks-do-not-repair-missing-table-fields","category":"format-normalization", "root_cause":"inline_break_table_cell_layout","failure_mode":"false-positive", "case":{"url":"https://example.test/table","task_kind":"body","acceptance_contract":{"version":1,"schema":"table_row","minimum_records":1,"table_columns":[{"name":"name","label":"Name","type":"text"},{"name":"age","label":"Age","type":"integer"}],"record_identity_fields":["name"],"table_scope":{"row_selector":"tbody tr","cell_selector":"td","start_pattern":"(?m)^(?=\\|\\s*Name\\s*\\|)","end_pattern":"(?m)^End$","plain_row_pattern":"(?P[A-Za-z]+)\\s+(?P\\d+)"}}}, "artifact":"| Name
| Age
|\n| --- | --- |\n| Alice
|
|\nEnd", "ok":true,"expected_task_pass":false,"expected_metrics":{"stable_unique_record_count":0} - } - ,{ + }, + { "id":"declared-redirect-link-base-resolves-relative-records","category":"acceptance-contract", "root_cause":"independently_declared_document_link_base","failure_mode":"false-negative", "case":{"url":"https://old.example/","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["new.example"],"entry_path":"/article/\\d+","link_base_url":"https://new.example/"}}, "artifact":"[A new article](/article/1)","ok":true,"expected_task_pass":true,"expected_metrics":{"stable_unique_record_count":1} - },{ + }, + { "id":"declared-redirect-link-base-does-not-allow-other-hosts","category":"acceptance-contract", "root_cause":"independently_declared_document_link_base","failure_mode":"false-positive", "case":{"url":"https://old.example/","task_kind":"body","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["new.example"],"entry_path":"/article/\\d+","link_base_url":"https://new.example/"}}, "artifact":"[A new article](https://outside.example/article/1)","ok":true,"expected_task_pass":false,"expected_metrics":{"stable_unique_record_count":0} - } - ,{ + }, + { "id":"escaped-list-punctuation-retains-entry", "category":"format-normalization", "root_cause":"commonmark_escaped_punctuation_in_entry_prefix", "failure_mode":"false-negative", "case":{"url":"https://example.test/","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/article/[0-9]+"}}, "artifact":"2026-10-08 \\- [Actual article](/article/1)","ok":true,"expected_task_pass":true - },{ + }, + { "id":"escaped-recommendation-remains-prose", "category":"format-normalization", "root_cause":"commonmark_escaped_punctuation_in_entry_prefix", "failure_mode":"false-positive", "case":{"url":"https://example.test/","acceptance_contract":{"version":1,"schema":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/article/[0-9]+"}}, "artifact":"2026-10-08 Read \\- [Actual article](/article/1)","ok":true,"expected_task_pass":false - },{ + }, + { "id":"unreserved-path-encoding-retains-card-fields", "category":"format-normalization", "root_cause":"composite_card_identity_disagrees_on_unreserved_url_encoding", "failure_mode":"false-negative", "case":{"url":"https://example.test/","composite_acceptance":{"version":1,"groups":[{"id":"offers","kind":"named_link","minimum_records":1,"hosts":["example.test"],"entry_path":"/item/[0-9]+_detail","required_fields":[{"id":"price","kind":"price"}]}]}}, "artifact":"[Actual offer](/item/12%5Fdetail)\n\n$120", "ok":true,"expected_task_pass":true - },{ + }, + { "id":"encoded-card-cannot-borrow-next-price", "category":"format-normalization", "root_cause":"composite_card_identity_disagrees_on_unreserved_url_encoding", "failure_mode":"false-positive", "case":{"url":"https://example.test/","composite_acceptance":{"version":1,"groups":[{"id":"offers","kind":"named_link","minimum_records":2,"hosts":["example.test"],"entry_path":"/item/[0-9]+_detail","required_fields":[{"id":"price","kind":"price"}]}]}}, "artifact":"[Actual offer](/item/12%5Fdetail)\n\n[Other offer](/item/13_detail)\n\n$120", "ok":true,"expected_task_pass":false }, -{ + { "id": "markdown-table-header-opens-declared-scope", "category": "format-normalization", "root_cause": "markdown_table_header_scope", @@ -21735,7 +21743,7 @@ "stable_unique_record_count": 2 } }, -{ + { "id": "markdown-table-header-cannot-bypass-declared-scope", "category": "format-normalization", "root_cause": "markdown_table_header_scope", @@ -21777,6 +21785,9390 @@ "expected_metrics": { "stable_unique_record_count": 0 } -} -] +}, + { + "id": "missing-page-identity-does-not-hide-empty-body", + "category": "task-predicate", + "root_cause": "unknown_identity_masks_independent_requirement_failure", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/start", + "track": "risk_control", + "task_kind": "body", + "expected_any": [ + "Expected body" + ], + "min_content_chars": 1, + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "body", + "alternatives": [ + "Expected body" + ] + } + ] + }, + "source_benchmark": { + "risk_control": { + "navigation_contract": { + "requested_url": "https://example.test/start", + "observed_final_url": "https://example.test/final" + } + } + } + }, + "artifact": "", + "ok": true, + "expected_task_pass": false, + "expected_task_measured": true, + "expected_metrics": { + "page_identity_status": "unavailable", + "length_pass": false + } + }, + { + "id": "missing-page-identity-with-valid-body-stays-unknown", + "category": "task-predicate", + "root_cause": "unknown_identity_masks_independent_requirement_failure", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/start", + "track": "risk_control", + "task_kind": "body", + "expected_any": [ + "Expected body" + ], + "min_content_chars": 1, + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "body", + "alternatives": [ + "Expected body" + ] + } + ] + }, + "source_benchmark": { + "risk_control": { + "navigation_contract": { + "requested_url": "https://example.test/start", + "observed_final_url": "https://example.test/final" + } + } + } + }, + "artifact": "Expected body", + "ok": true, + "expected_task_pass": false, + "expected_task_measured": false, + "expected_metrics": { + "page_identity_status": "unavailable", + "length_pass": true + } + }, + { + "id": "observed-final-url-accepts-declared-destination", + "category": "answer-surface", + "root_cause": "requested_url_misreported_as_final_url", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/start", + "track": "risk_control", + "task_kind": "body", + "expected_any": [ + "Expected body" + ], + "min_content_chars": 1, + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "body", + "alternatives": [ + "Expected body" + ] + } + ] + }, + "source_benchmark": { + "risk_control": { + "navigation_contract": { + "requested_url": "https://example.test/start", + "observed_final_url": "https://example.test/final" + } + } + } + }, + "artifact": "Expected body", + "ok": true, + "final_url": "https://example.test/final", + "expected_task_pass": true, + "expected_metrics": { + "page_identity_status": "verified" + } + }, + { + "id": "observed-final-url-rejects-undeclared-destination", + "category": "answer-surface", + "root_cause": "requested_url_misreported_as_final_url", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/start", + "track": "risk_control", + "task_kind": "body", + "expected_any": [ + "Expected body" + ], + "min_content_chars": 1, + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "body", + "alternatives": [ + "Expected body" + ] + } + ] + }, + "source_benchmark": { + "risk_control": { + "navigation_contract": { + "requested_url": "https://example.test/start", + "observed_final_url": "https://example.test/final" + } + } + } + }, + "artifact": "Expected body", + "ok": true, + "final_url": "https://example.test/other", + "expected_task_pass": false, + "expected_metrics": { + "page_identity_status": "mismatch" + } + }, + { + "id": "sort-icons-preserve-declared-table-columns", + "category": "format-normalization", + "root_cause": "markdown_table_sort_icon_headers", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/table", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "table_row", + "minimum_records": 2, + "table_columns": [ + { + "name": "name", + "label": "Name", + "type": "text" + }, + { + "name": "amount", + "label": "Amount", + "type": "integer" + } + ], + "record_identity_fields": [ + "name" + ], + "table_scope": { + "row_selector": "table tbody tr", + "cell_selector": "td", + "start_pattern": "^Name$", + "end_pattern": "^Footer$", + "plain_row_pattern": "(?P[^\\t]+)\\t(?P\\d+)" + } + } + }, + "artifact": "| Name ↕ | Amount ↕ |\n| --- | --- |\n| Alpha | 7 |\n| Beta | 8 |", + "ok": true, + "expected_task_pass": true + }, + { + "id": "sort-icons-cannot-substitute-a-required-column", + "category": "format-normalization", + "root_cause": "markdown_table_sort_icon_headers", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/table", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "table_row", + "minimum_records": 2, + "table_columns": [ + { + "name": "name", + "label": "Name", + "type": "text" + }, + { + "name": "amount", + "label": "Amount", + "type": "integer" + } + ], + "record_identity_fields": [ + "name" + ], + "table_scope": { + "row_selector": "table tbody tr", + "cell_selector": "td", + "start_pattern": "^Name$", + "end_pattern": "^Footer$", + "plain_row_pattern": "(?P[^\\t]+)\\t(?P\\d+)" + } + } + }, + "artifact": "| Name ↕ | Other ↕ |\n| --- | --- |\n| Alpha | 7 |\n| Beta | 8 |", + "ok": true, + "expected_task_pass": false + }, + { + "id": "split-sticky-header-preserves-explicit-body-columns", + "category": "format-normalization", + "root_cause": "markdown_table_split_sticky_header", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/table", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "table_row", + "minimum_records": 2, + "table_columns": [ + { + "name": "name", + "label": "Name", + "type": "text" + }, + { + "name": "amount", + "label": "Amount", + "type": "integer" + } + ], + "record_identity_fields": [ + "name" + ], + "table_scope": { + "row_selector": "table tbody tr", + "cell_selector": "td", + "start_pattern": "^Name$", + "end_pattern": "^Footer$", + "plain_row_pattern": "(?P[^\\t]+)\\t(?P\\d+)" + } + } + }, + "artifact": "| Name | Amount |\n| --- | --- |\n\n| | |\n| --- | --- |\n| Name | Amount |\n| Alpha | 7 |\n| Beta | 8 |", + "ok": true, + "expected_task_pass": true + }, + { + "id": "split-sticky-header-cannot-inherit-unobserved-body-columns", + "category": "format-normalization", + "root_cause": "markdown_table_split_sticky_header", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/table", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "table_row", + "minimum_records": 2, + "table_columns": [ + { + "name": "name", + "label": "Name", + "type": "text" + }, + { + "name": "amount", + "label": "Amount", + "type": "integer" + } + ], + "record_identity_fields": [ + "name" + ], + "table_scope": { + "row_selector": "table tbody tr", + "cell_selector": "td", + "start_pattern": "^Name$", + "end_pattern": "^Footer$", + "plain_row_pattern": "(?P[^\\t]+)\\t(?P\\d+)" + } + } + }, + "artifact": "| Name | Amount |\n| --- | --- |\n\n| | |\n| --- | --- |\n| Alpha | 7 |\n| Beta | 8 |", + "ok": true, + "expected_task_pass": false + }, + { + "id": "inline-html-labels-preserve-markdown-entry-scope", + "category": "format-normalization", + "root_cause": "inline_html_misclassified_as_document", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": "main a[href]", + "start_pattern": "^Target list$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "## Target list\n[

First entry

](/item/1)\n[

Second entry

](/item/2)\n## Footer", + "metadata": {}, + "ok": true, + "expected_task_pass": true + }, + { + "id": "document-html-cannot-borrow-footer-links", + "category": "format-normalization", + "root_cause": "inline_html_misclassified_as_document", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": "main a[href]", + "start_pattern": "^Target list$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "
Target list
", + "metadata": {}, + "ok": true, + "expected_task_pass": false + }, + { + "id": "unique-delivered-section-labels-bind-native-named-links", + "category": "answer-surface", + "root_cause": "native_named_links_lose_proven_text_scope", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": "main a[href]", + "start_pattern": "^Target list$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "## Target list\nFirst entry\nSecond entry\n## Footer", + "metadata": { + "links": [ + { + "text": "First entry", + "href": "https://example.test/item/1" + }, + { + "text": "Second entry", + "href": "https://example.test/item/2" + } + ] + }, + "ok": true, + "expected_task_pass": true + }, + { + "id": "native-named-links-cannot-supply-missing-section-label", + "category": "answer-surface", + "root_cause": "native_named_links_lose_proven_text_scope", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": "main a[href]", + "start_pattern": "^Target list$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "## Target list\nFirst entry\n## Footer\nSecond entry", + "metadata": { + "links": [ + { + "text": "First entry", + "href": "https://example.test/item/1" + }, + { + "text": "Second entry", + "href": "https://example.test/item/2" + } + ] + }, + "ok": true, + "expected_task_pass": false + }, + { + "id": "composite-html-retains-visible-link-destinations", + "category": "answer-surface", + "root_cause": "html_link_destinations_lost_before_composite_acceptance", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/base/", + "task_kind": "body", + "expected_any": [ + "Directory" + ], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "entries", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/base/[^/]+" + } + ] + } + }, + "artifact": "

Directory

AlphaBeta", + "ok": true, + "expected_task_pass": true + }, + { + "id": "composite-html-visible-names-without-destinations-fail", + "category": "answer-surface", + "root_cause": "html_link_destinations_lost_before_composite_acceptance", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/base/", + "task_kind": "body", + "expected_any": [ + "Directory" + ], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "entries", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/base/[^/]+" + } + ] + } + }, + "artifact": "

Directory

AlphaBeta", + "ok": true, + "expected_task_pass": false + }, + { + "id": "composite-html-hidden-links-cannot-fill-records", + "category": "answer-surface", + "root_cause": "html_link_destinations_lost_before_composite_acceptance", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/base/", + "task_kind": "body", + "expected_any": [ + "Directory" + ], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "entries", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/base/[^/]+" + } + ] + } + }, + "artifact": "

Directory

Alpha", + "ok": true, + "expected_task_pass": false + }, + { + "id": "visible-character-references-preserve-body-coverage", + "category": "format-normalization", + "root_cause": "visible_character_references_not_decoded", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/body", + "task_kind": "body", + "expected_any": [], + "body_requirements": { + "version": 3, + "unit": "region_compact_hexagram_recall", + "minimum_coverage": 1.0, + "minimum_floor": 1.0, + "minimum_region_passes": 1, + "regions": [ + { + "id": "body", + "text": "Alpha Beta Gamma Delta" + } + ] + } + }, + "artifact": "Alpha Beta Gamma Delta", + "ok": true, + "expected_task_pass": true + }, + { + "id": "character-references-cannot-replace-missing-body", + "category": "format-normalization", + "root_cause": "visible_character_references_not_decoded", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/body", + "task_kind": "body", + "expected_any": [], + "body_requirements": { + "version": 3, + "unit": "region_compact_hexagram_recall", + "minimum_coverage": 1.0, + "minimum_floor": 1.0, + "minimum_region_passes": 1, + "regions": [ + { + "id": "body", + "text": "Alpha Beta Gamma Delta" + } + ] + } + }, + "artifact": "Alpha Beta Gamma Wrong", + "ok": true, + "expected_task_pass": false + }, + { + "id": "character-references-are-decoded-once", + "category": "format-normalization", + "root_cause": "visible_character_references_not_decoded", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/body", + "task_kind": "body", + "expected_any": [], + "body_requirements": { + "version": 3, + "unit": "region_compact_hexagram_recall", + "minimum_coverage": 1.0, + "minimum_floor": 1.0, + "minimum_region_passes": 1, + "regions": [ + { + "id": "body", + "text": "Alpha Beta Gamma Delta" + } + ] + } + }, + "artifact": "Alpha&#32;Beta&#x20;Gamma&nbsp;Delta", + "ok": true, + "expected_task_pass": false + }, + { + "id": "linked-column-labels-preserve-table-headers", + "category": "format-normalization", + "root_cause": "linked_table_headers_not_normalized_as_visible_labels", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "rows", + "kind": "linked_table", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "required_columns": [ + { + "id": "name", + "kind": "text", + "aliases": [ + "Name" + ] + }, + { + "id": "version", + "kind": "version", + "aliases": [ + "Version" + ] + } + ], + "identity_column": "name", + "link_column": "name" + } + ] + } + }, + "artifact": "| [Name](/sort/name) | [Version](/sort/version \"Sort packages\") |\n| --- | --- |\n| [Alpha](/item/1) | 1.2.3 |\n| [Beta](/item/2) | 2.3.4 |", + "ok": true, + "expected_task_pass": true + }, + { + "id": "column-label-cannot-be-inferred-from-header-url", + "category": "format-normalization", + "root_cause": "linked_table_headers_not_normalized_as_visible_labels", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "rows", + "kind": "linked_table", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "required_columns": [ + { + "id": "name", + "kind": "text", + "aliases": [ + "Name" + ] + }, + { + "id": "version", + "kind": "version", + "aliases": [ + "Version" + ] + } + ], + "identity_column": "name", + "link_column": "name" + } + ] + } + }, + "artifact": "| [Other](/sort/Name) | Version |\n| --- | --- |\n| [Alpha](/item/1) | 1.2.3 |\n| [Beta](/item/2) | 2.3.4 |", + "ok": true, + "expected_task_pass": false + }, + { + "id": "linked-headers-cannot-repair-invalid-row-fields", + "category": "format-normalization", + "root_cause": "linked_table_headers_not_normalized_as_visible_labels", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "rows", + "kind": "linked_table", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "required_columns": [ + { + "id": "name", + "kind": "text", + "aliases": [ + "Name" + ] + }, + { + "id": "version", + "kind": "version", + "aliases": [ + "Version" + ] + } + ], + "identity_column": "name", + "link_column": "name" + } + ] + } + }, + "artifact": "| [Name](/sort/name) | Version |\n| --- | --- |\n| [Alpha](/item/1) | 1.2.3 |\n| [Beta](/item/2) | unknown |", + "ok": true, + "expected_task_pass": false + }, + { + "id": "thumbnail-link-binds-immediate-visible-caption", + "category": "format-normalization", + "root_cause": "thumbnail_link_and_visible_caption_split_across_markdown_blocks", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": ".card", + "title_selector": "p.name", + "link_selector": "a[href]", + "start_pattern": "^Catalog$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "Catalog\n[![](/cover1.jpg)](/item/1)\n\nFirst delivered title\n\n[![](/cover2.jpg)](/item/2)\n\nSecond delivered title\n\nFooter", + "ok": true, + "expected_task_pass": true + }, + { + "id": "thumbnail-alt-cannot-supply-missing-visible-caption", + "category": "format-normalization", + "root_cause": "thumbnail_link_and_visible_caption_split_across_markdown_blocks", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": ".card", + "title_selector": "p.name", + "link_selector": "a[href]", + "start_pattern": "^Catalog$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "Catalog\n[![](/cover1.jpg)](/item/1)\n\nFirst delivered title\n\n[![Second title only in image alt](/cover2.jpg)](/item/2)\n\nFooter", + "ok": true, + "expected_task_pass": false + }, + { + "id": "thumbnail-link-cannot-borrow-next-card-title", + "category": "format-normalization", + "root_cause": "thumbnail_link_and_visible_caption_split_across_markdown_blocks", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": ".card", + "title_selector": "p.name", + "link_selector": "a[href]", + "start_pattern": "^Catalog$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "Catalog\n[![](/cover1.jpg)](/item/1)\n\n[![](/cover2.jpg)](/item/2)\n\nSecond delivered title\n\nFooter", + "ok": true, + "expected_task_pass": false + }, + { + "id": "thumbnail-link-cannot-borrow-outside-scope-caption", + "category": "format-normalization", + "root_cause": "thumbnail_link_and_visible_caption_split_across_markdown_blocks", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/catalog", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "entry_scope": { + "html_selector": ".card", + "title_selector": "p.name", + "link_selector": "a[href]", + "start_pattern": "^Catalog$", + "end_pattern": "^Footer$" + } + } + }, + "artifact": "Catalog\n[![](/cover1.jpg)](/item/1)\n\nFirst delivered title\n\n[![](/cover2.jpg)](/item/2)\n\n## Footer\nSecond title outside scope", + "ok": true, + "expected_task_pass": false + }, + { + "id": "parallel-table-columns-preserve-independent-named-lists", + "category": "structured-extraction", + "root_cause": "parallel_table_columns_treated_as_linear_sections", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "first", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "First Division", + "end_pattern": "Second Division" + }, + { + "id": "second", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "Second Division", + "end_pattern": "End" + } + ] + } + }, + "artifact": "
First DivisionSecond Division
AlphaGamma
BetaDelta

End

", + "ok": true, + "expected_task_pass": true + }, + { + "id": "parallel-column-cannot-borrow-sibling-records", + "category": "structured-extraction", + "root_cause": "parallel_table_columns_treated_as_linear_sections", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "first", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "First Division", + "end_pattern": "Second Division" + }, + { + "id": "second", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "Second Division", + "end_pattern": "End" + } + ] + } + }, + "artifact": "
First DivisionSecond Division
AlphaGamma
Delta

End

", + "ok": true, + "expected_task_pass": false + }, + { + "id": "parallel-column-requires-declared-terminal-boundary", + "category": "structured-extraction", + "root_cause": "parallel_table_columns_treated_as_linear_sections", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "composite_acceptance": { + "version": 1, + "groups": [ + { + "id": "first", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "First Division", + "end_pattern": "Second Division" + }, + { + "id": "second", + "kind": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "start_pattern": "Second Division", + "end_pattern": "End" + } + ] + } + }, + "artifact": "
First DivisionSecond Division
AlphaGamma
BetaDelta
", + "ok": true, + "expected_task_pass": false + }, + { + "id": "inline-html-break-preserves-body-statement", + "category": "format-normalization", + "root_cause": "inline_html_break_treated_as_visible_body_text", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "statement", + "alternatives": [ + "One platform. Endless ways to work together." + ] + } + ] + } + }, + "artifact": "## One platform.
Endless ways to work together.", + "ok": true, + "expected_task_pass": true + }, + { + "id": "encoded-break-keeps-literal-markup", + "category": "format-normalization", + "root_cause": "inline_html_break_treated_as_visible_body_text", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "statement", + "alternatives": [ + "One platform. Endless ways to work together." + ] + } + ] + } + }, + "artifact": "## One platform. <br>Endless ways to work together.", + "ok": true, + "expected_task_pass": false + }, + { + "id": "code-break-keeps-literal-markup", + "category": "format-normalization", + "root_cause": "inline_html_break_treated_as_visible_body_text", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "statement", + "alternatives": [ + "One platform. Endless ways to work together." + ] + } + ] + } + }, + "artifact": "`One platform.
Endless ways to work together.`", + "ok": true, + "expected_task_pass": false + }, + { + "id": "inline-break-cannot-repair-missing-words", + "category": "format-normalization", + "root_cause": "inline_html_break_treated_as_visible_body_text", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "body_text", + "minimum_records": 0, + "stable_text_anchors": [ + { + "id": "statement", + "alternatives": [ + "One platform. Endless ways to work together." + ] + } + ] + } + }, + "artifact": "## One platform.
Different ways to work together.", + "ok": true, + "expected_task_pass": false + }, + { + "id": "visible-html-structured-reviews-retain-owned-fields", + "category": "structured-extraction", + "root_cause": "structured_record_parser_received_raw_html_instead_of_visible_body", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "review", + "minimum_records": 2, + "stable_text_anchors": [] + } + }, + "artifact": "

2026-09-01

First independently delivered review

2026-09-02

Second independently delivered review

", + "ok": true, + "expected_task_pass": true + }, + { + "id": "script-only-review-payload-cannot-supply-records", + "category": "structured-extraction", + "root_cause": "structured_record_parser_received_raw_html_instead_of_visible_body", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "review", + "minimum_records": 2, + "stable_text_anchors": [] + } + }, + "artifact": "
", + "ok": true, + "expected_task_pass": false + }, + { + "id": "visible-html-review-cannot-borrow-missing-date", + "category": "structured-extraction", + "root_cause": "structured_record_parser_received_raw_html_instead_of_visible_body", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "review", + "minimum_records": 2, + "stable_text_anchors": [] + } + }, + "artifact": "

2026-09-01

First independently delivered review

Second independently delivered review

", + "ok": true, + "expected_task_pass": false + }, + { + "id": "hidden-html-review-cannot-supply-record", + "category": "structured-extraction", + "root_cause": "structured_record_parser_received_raw_html_instead_of_visible_body", + "failure_mode": "false-positive", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "review", + "minimum_records": 2, + "stable_text_anchors": [] + } + }, + "artifact": "

2026-09-01

First independently delivered review

2026-09-02

Second independently delivered review

", + "ok": true, + "expected_task_pass": false + }, + { + "id": "card-caption-retains-native-closed-heading-boundary", + "category": "format-normalization", + "root_cause": "native_card_caption_boundaries_serialized_as_closed_heading_and_link_end", + "failure_mode": "false-negative", + "case": { + "url": "https://example.test/", + "task_kind": "body", + "expected_any": [], + "acceptance_contract": { + "version": 1, + "schema": "named_link", + "minimum_records": 2, + "hosts": [ + "example.test" + ], + "entry_path": "/item/\\d+", + "name_validation": "nonempty", + "entry_scope": { + "html_selector": "main a:has(h3):has(p)", + "title_selector": "p", + "link_selector": "a[href]", + "start_pattern": "(?m)^# Catalog$", + "end_pattern": "(?m)^# End$", + "markdown_label_pattern": "(?s)
\\s*(?P