Skip to content

feat: add campaign finance intelligence - #1

Merged
szmyty merged 1 commit into
mainfrom
feat/finance-intelligence
Aug 24, 2026
Merged

szmyty merged 1 commit into
mainfrom
feat/finance-intelligence

Conversation

@szmyty

@szmyty szmyty commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What changed

  • adds a campaign-finance lens to race comparisons and candidate profiles
  • publishes exact 2026 FEC totals for the three U.S. Senate candidates
  • maps and materializes official OCPF year-to-date totals for 18 Massachusetts state/local candidates
  • preserves reporting-period mismatches, unknown values, outside-spending gaps, freshness, provenance, and review state
  • adds a disclosed AI-assisted Senate finance orientation without scoring or recommending candidates
  • adds a bounded, no-key OCPF refresh that joins the monthly review-PR workflow
  • adds schema, identity-drift, hash-integrity, sanitization, finance-view, and seed-coverage tests

Product behavior

The finance experience intentionally treats money as context rather than candidate quality. Shared-axis comparisons include only records with matching reporting windows. Different-period records remain visible in exact cards. Missing values never become zero, and independent spending stays separate from candidate-controlled committees.

Validation

  • node scripts/validate-ocpf-finance.mjs
  • node scripts/check-repository.mjs
  • node --test — 26/26 passing
  • vite build
  • git diff --check

Known next gaps

  • materialized FEC adapter for U.S. House candidates
  • report-derived historical series
  • receipt-category aggregation for OCPF
  • separately sourced independent expenditure totals
  • maintainer review of the checked OCPF identity registry and AI draft

@szmyty
szmyty marked this pull request as ready for review August 24, 2026 15:30
@szmyty
szmyty merged commit af3f668 into main Aug 24, 2026
3 checks passed
@szmyty
szmyty deleted the feat/finance-intelligence branch August 24, 2026 15:30
@devactivity-app

Copy link
Copy Markdown

Pull Request Summary by devActivity

Metrics

Cycle Time: 9m

Achievements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant