Skip to content

Commit e0f627c

Browse files
committed
feat(verify): gate Wikipedia GPU URL backfill
Refuse a confirm when a Mobility, Mobile, Go, Max-Q, or M-suffix marker is only on one side, when an AGP section is paired with a PCIe record, when only the launch year agrees, or when two same-named core rows remain. --apply appends the Wikipedia URL to source_urls for confirms only.
1 parent 6612318 commit e0f627c

5 files changed

Lines changed: 2029 additions & 0 deletions

File tree

‎.gitignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ env/
3131
# Note: data/_staging/ (raw collected candidate pool) is intentionally tracked —
3232
# comprehensive data collection is a purpose of this repo.
3333

34+
# Local Wikipedia GPU backfill cache and dry-run reports (never a TechAPI write)
35+
.wikipedia-gpu-backfill/
36+
3437
# Testing / coverage
3538
.pytest_cache/
3639
.coverage

‎app/coverage/sources/wikipedia_gpu.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@
88
from .base import CoveragePoint
99
from .wikipedia import fetch_wikipedia_html, wikitable_first_cells
1010

11+
# Keep in step with ``app.ingest.sources.wikipedia_gpu.PAGES``. ``Quadro`` is
12+
# the redirect target of ``Nvidia_Quadro``. Workstation/ATI legacy rows live
13+
# on the AMD list; there is no separate workstation list article.
1114
PAGES: list[tuple[str, str]] = [
1215
("nvidia", "List_of_Nvidia_graphics_processing_units"),
16+
("nvidia", "Quadro"),
1317
("amd", "List_of_AMD_graphics_processing_units"),
1418
("intel", "List_of_Intel_graphics_processing_units"),
1519
]

‎app/ingest/sources/wikipedia_gpu.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,14 @@
3131
from .base import IngestCandidate
3232
from .wikitable import parse_table
3333

34+
# ``Nvidia_Quadro`` redirects to ``Quadro``, whose AGP/PCI/PCIe and NVS tables
35+
# carry Quadro4-era boards the GeForce list does not. ATI Rage/Radeon legacy
36+
# and FireGL/FirePro/Radeon Pro workstation sections are already on
37+
# ``List_of_AMD_graphics_processing_units``. There is no
38+
# ``List_of_AMD_workstation_graphics_processing_units`` article.
3439
PAGES: list[tuple[str, str, str]] = [
3540
("nvidia", "List_of_Nvidia_graphics_processing_units", "NVIDIA GeForce"),
41+
("nvidia", "Quadro", "NVIDIA Quadro"),
3642
("amd", "List_of_AMD_graphics_processing_units", "AMD Radeon"),
3743
("intel", "List_of_Intel_graphics_processing_units", "Intel Graphics"),
3844
]

0 commit comments

Comments
 (0)