Skip to content

fix(verify): keep the query in URL dedupe and cache every citation of a checked page - #105

Merged
Seungpyo1007 merged 1 commit into
mainfrom
fix/check-urls-dedupe-key
Sep 27, 2026
Merged

Seungpyo1007 merged 1 commit into
mainfrom
fix/check-urls-dedupe-key

Conversation

@Seungpyo1007

@Seungpyo1007 Seungpyo1007 commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Two check-urls bugs kept green records from ever being promoted:

  1. dedupe_urls keyed on host + path, so cpubenchmark.net/cpu.php?cpu=X citations (distinct pages) collapsed into one representative. 762 green CPUs never had their own citation checked.
  2. Citations of the same page under different #fragments were checked once, but the verdict was cached only under the representative URL. Promotion looks citations up by exact URL, so the other fragments stayed "unchecked" (about 60 GPUs and SoCs citing Wikipedia list sections).

Fix: the dedupe key includes the query (the fragment is still ignored), and each result is written for every citation of the same resource. A test covers the dedupe key (query kept, fragment ignored).

Validation: ruff, mypy, full pytest.

Refs #98
Refs GetTechAPI/TechAPI#297

… a checked page

dedupe_urls keyed on host and path only, so cpubenchmark.net/cpu.php?cpu=X
pages collapsed into one representative and 762 green CPUs never had their own
citation checked. Pages cited under different #fragments were checked once,
but the verdict was cached only under the representative URL, which promotion
looks up by exact URL. The key now includes the query, and each result is
stored for every citation of the same resource.

Refs #98
Refs GetTechAPI/TechAPI#297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants