Skip to content

Add Congressional Record ingestion, display, and LLM summaries#177

Open
mustyoshi wants to merge 1 commit intomasterfrom
claude/congressional-record-feature-u7dlh
Open

Add Congressional Record ingestion, display, and LLM summaries#177
mustyoshi wants to merge 1 commit intomasterfrom
claude/congressional-record-feature-u7dlh

Conversation

@mustyoshi
Copy link
Collaborator

Full-stack implementation for Congressional Record support:

Backend:

  • New SQLAlchemy models (crec_issue, crec_granule, crec_speech,
    crec_bill_reference, crec_summary) with Alembic migration
  • Importer for downloading/parsing daily CREC bulk data from govinfo.gov
    with speaker resolution and bill reference extraction
  • Extended cite_parser with bill reference regex (H.R., S., etc.)
  • LLM summarizer for granule-level and daily debate summaries
  • FastAPI endpoints for browsing issues, granules, speaker stats,
    and activity calendar

Frontend:

  • Prisma schema models for all new tables
  • tRPC router with list, getIssue, getGranule, speakerStats,
    activityCalendar, debatesForBill, and legislatorStats procedures
  • /congress/record browse page with date-based issue listing
  • /congress/record/[issueId] daily view with Senate/House sections
  • /congress/record/[issueId]/[granuleId] transcript with speech cards,
    speaker attribution, bill reference chips, and AI summary
  • /congress/record/stats speaker leaderboard with word count rankings
  • Bill detail "Debates" tab showing Congressional Record mentions
  • Legislator detail speaking stats card with recent speeches
  • SpeechCard component with party colors, avatars, and bill ref links

https://claude.ai/code/session_01EkXe8D2h9DAxnQbiWsJyAm

Full-stack implementation for Congressional Record support:

Backend:
- New SQLAlchemy models (crec_issue, crec_granule, crec_speech,
  crec_bill_reference, crec_summary) with Alembic migration
- Importer for downloading/parsing daily CREC bulk data from govinfo.gov
  with speaker resolution and bill reference extraction
- Extended cite_parser with bill reference regex (H.R., S., etc.)
- LLM summarizer for granule-level and daily debate summaries
- FastAPI endpoints for browsing issues, granules, speaker stats,
  and activity calendar

Frontend:
- Prisma schema models for all new tables
- tRPC router with list, getIssue, getGranule, speakerStats,
  activityCalendar, debatesForBill, and legislatorStats procedures
- /congress/record browse page with date-based issue listing
- /congress/record/[issueId] daily view with Senate/House sections
- /congress/record/[issueId]/[granuleId] transcript with speech cards,
  speaker attribution, bill reference chips, and AI summary
- /congress/record/stats speaker leaderboard with word count rankings
- Bill detail "Debates" tab showing Congressional Record mentions
- Legislator detail speaking stats card with recent speeches
- SpeechCard component with party colors, avatars, and bill ref links

https://claude.ai/code/session_01EkXe8D2h9DAxnQbiWsJyAm
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.

2 participants