Skip to content

📊 Refresh CIA data (0 CSVs + production stats)#2046

Closed
github-actions[bot] wants to merge 1 commit intomainfrom
data/cia-csv-refresh
Closed

📊 Refresh CIA data (0 CSVs + production stats)#2046
github-actions[bot] wants to merge 1 commit intomainfrom
data/cia-csv-refresh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

📊 Automated CIA data refresh

Pulled the latest service.data.impl/sample-data/ CSVs from
Hack23/cia@master
(resolved to commit 8d49477f3d1852f390f0ff02ed63df8f8e5e15c7)
and re-ran the production-statistics pipeline against the same commit.

CSV refresh

Metric Count
Total tracked CSVs 146
✅ Updated 0
🟰 Unchanged 140
❔ Missing upstream 0
⏭ Skipped (local-only) 6
❌ Failed downloads 0

Production statistics

  • Total persons: 2494
  • Total votes: 3716922
  • Last extraction: 2026-04-20 00:22:07.168517

How resolution works

The workflow never introduces new files — it only refreshes CSVs
already tracked under data/cia/** and cia-data/**. Upstream paths
are resolved through a recursive basename → upstream-path index
built from the GitHub Tree API, so files living in
sub-folders (distinct_values/, framework-validation/,
risk-rule-tests/) are located correctly even though local paths
are organised differently. An <stem>_sample.csv alias is applied
for the handful of locally-renamed canonical files.

Review checklist

  • CSV diffs look reasonable (no schema regressions)
  • production-stats.json counts move monotonically or within reason
  • Dashboards still render with the refreshed data
  • No unexpected file additions or removals

Generated by .github/workflows/update-cia-csv-data.yml.

…d49477

- Upstream ref: master (resolved to 8d49477f3d1852f390f0ff02ed63df8f8e5e15c7)
- CSV files: updated 0 / 146 tracked
- Production stats: 2494 persons, 3716922 votes
- Last extraction: 2026-04-20 00:22:07.168517
Copilot AI review requested due to automatic review settings April 27, 2026 04:39
@github-actions github-actions Bot review requested due to automatic review settings April 27, 2026 04:39
@pethers pethers closed this Apr 27, 2026
@pethers pethers deleted the data/cia-csv-refresh branch April 27, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant