Repository navigation
chore: remove NANPA screening from phone sampling data - #1139
Conversation
Signed-off-by: Andre Manoel <amanoel@nvidia.com>
[Medium impact] The PR appears safe to merge within its stated scope. SummaryRemoves NANPA-derived screening from the phone lookup rebuild and updates the bundled data and provenance.
Reviews (1) · Last reviewed commit: "chore: remove NANPA screening from phone..." · Reviewed by Greptile |
|
Thanks for following through on removing the screening dependency, @andreatnvidia. SummaryReviewed PR #1139 at 2a6126e against 43b49ab. The change actually removes the exclusion decisions and regenerates the asset using the five Census/Wikidata inputs; it does not merely remove attribution. There is a concrete data-quality regression to address. FindingsWarnings — Worth addressing
What Looks Good
Residual RiskValidation: 307 sampling/rebuild tests passed on Python 3.12; both changed Python files passed Ruff lint and formatting. Independent offline rebuild matched the parquet, report, and reconciliation byte for byte. Embedded metadata contains only the five Census/Wikidata inputs. Full repository tests, E2E tests, and fresh package builds were not rerun. Numbering-reference comparisons were performed for review only and do not introduce a rebuild input or establish legal approval. VerdictNeeds changes: replace the lost data-quality validation before shipping the regenerated lookup. This review was generated by an AI assistant. |
nabinchha
left a comment
There was a problem hiding this comment.
Approving this PR as-is, with the known phone-sampling data-quality regression accepted for a follow-up.
The invalid/foreign area-code candidates identified in the earlier review are tracked in #1140. That follow-up will establish replacement validation using sources with documented reuse terms and add regression coverage; this approval does not indicate that the data-quality finding is fixed.
The NANPA-derived exclusions and screening metadata are removed, ZIP identifiers and population weights are preserved, and the offline rebuild reproduces the committed parquet, report, and reconciliation byte for byte. At reviewed commit 2a6126e, all 307 sampling/rebuild tests and changed-file Ruff checks passed.
This review was generated by an AI assistant at the maintainer's direction.
Signed-off-by: Andre Manoel <amanoel@nvidia.com>
Summary
Rebuilds the bundled phone lookup from the five pinned Census and Wikidata inputs, removing the NANPA-derived exclusion list and screening reference introduced in #1134. ZIP population weighting and regional candidate sampling are preserved.
Related Issue
Follow-up to #1134. Targets
feat/slurm-execution.Changes
The remaining data sources have unchanged terms: Wikidata structured data is CC0; Census government data is public domain in the US, with the documented source acknowledgment. The rebuild code remains Apache-2.0. No dependencies are added.
Data comparison
Future data improvements
Find additional permissively licensed numbering references for independent validation of active status, geographic use, and state assignments. Further improvements include ZIP-level geography, code coverage, and candidate usage proportions. Each additional source needs documented terms, provenance, and reproducible snapshots.
Testing
Checklist