Skip to content

πŸ“Š Refresh CIA data (0 CSVs + production stats)#3177

Closed
github-actions[bot] wants to merge 2 commits into
mainfrom
data/cia-csv-refresh
Closed

πŸ“Š Refresh CIA data (0 CSVs + production stats)#3177
github-actions[bot] wants to merge 2 commits into
mainfrom
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 32242569115bdfee8d2afea74f27d9a312fb9e6b)
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: 2500
  • Total votes: 3793281
  • Last extraction: 2026-06-30 14:35:30.655519

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.

…224256

- Upstream ref: master (resolved to 32242569115bdfee8d2afea74f27d9a312fb9e6b)
- CSV files: updated 0 / 146 tracked
- Production stats: 2500 persons, 3793281 votes
- Last extraction: 2026-06-30 14:35:30.655519
@github-actions github-actions Bot added cia-data CIA platform data integration intelligence Political intelligence analysis size-xs Extra small change (< 10 lines) labels Jul 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

πŸ” Lighthouse Performance Audit

Category Score Status
Performance 85/100 🟑
Accessibility 95/100 🟒
Best Practices 90/100 🟒
SEO 95/100 🟒

πŸ“₯ Download full Lighthouse report

Budget Compliance: Performance budgets enforced via budget.json

@pethers pethers closed this Jul 12, 2026
@pethers pethers deleted the data/cia-csv-refresh branch July 12, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-pipeline cia-data CIA platform data integration cia-intelligence data-update intelligence Political intelligence analysis size-xs Extra small change (< 10 lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant