Skip to content

fix(verify): skip fully cached records before capping the check-urls frontier - #104

Merged
Seungpyo1007 merged 4 commits into
mainfrom
fix/check-urls-frontier
Sep 27, 2026
Merged

Seungpyo1007 merged 4 commits into
mainfrom
fix/check-urls-frontier

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

check-urls capped the frontier (the top --max unverified records by score) before removing records whose citations were already freshly cached. The same high-scoring, already-checked records (dead links or non-promotable) filled the quota on every run, so lower-ranked records were never checked.

Measured on TechAPI develop: 848 green records had never had a T1/T2 citation checked (763 CPUs, 50 GPUs, 29 SoCs, and a few tablets, watches and laptops), so promotion could never reach them.

The fix drops fully cached records before capping (--recheck keeps the old behavior). A regression test covers the starvation case and fails on the old code.

Validation: ruff, mypy, full pytest.

Refs #98
Refs GetTechAPI/TechAPI#297

…frontier

The frontier took the top --max unverified records by score before dropping
fresh cached URLs, so the same already-checked records filled the quota on
every run and lower-ranked green records were never checked. 848 green
records (763 CPUs) had never had a citation checked and could not be promoted.

Refs #98
Refs GetTechAPI/TechAPI#297
@Seungpyo1007 Seungpyo1007 added the bug Something isn't working label Sep 27, 2026
@Seungpyo1007 Seungpyo1007 self-assigned this Sep 27, 2026
@Seungpyo1007
Seungpyo1007 merged commit 1b20f4d into main Sep 27, 2026
1 check passed
Seungpyo1007 added a commit to GetTechAPI/TechAPI that referenced this pull request Sep 27, 2026
…ource

These records were green but never had their own citation checked (check-urls
frontier and dedupe bugs, fixed in GetTechAPI/TechEngine#104 and #105). Each now
has a live Tier-1/Tier-2 citation; cpubenchmark.net returns 404 for unknown or
near-miss CPU names, so a live page confirms the exact SKU.

Refs #296
@Seungpyo1007
Seungpyo1007 deleted the fix/check-urls-frontier branch September 30, 2026 08:33
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.

1 participant