Sonata

Documentation · For everyone

Compiling a bill's legislative history

The Legislative History Compiler, in the Regulatory department, assembles a bill’s record from Congress.gov in code before the model says a word: the version trail, the full action timeline, committee reports, and floor statements, every item cited.

Give it

  • H.R. 3684
  • S. 2094, 116th Congress (add the congress for an older bill)

What it never does: it never invents a citation, quote, report number, or date; it attributes statements of purpose to the specific report that carries them rather than presenting them as what Congress intended; and it never predicts outcomes.

What the compile contains

The ordered trail of the bill’s published text versions, its full action timeline, and its committee reports, each report fetched from Congress.gov’s own published text where available, all with citations built by the system. Floor statements are part of the compile when the GovInfo connection is configured: each floor reference in the bill’s actions (like “CR H3059-3187”) resolves to the Congressional Record section containing it, with surrounding material from the same section included and that framing said plainly, because the Record is organized by section, not by statement. An unresolved reference keeps its citation, and without the connection the compiled record ships complete without floor statements, saying so in one line.

The compiled record renders as a structured block beneath the narration and survives a reload; an unreachable report keeps its citation and link with a plain line saying its text couldn’t be reached, and a long timeline shows its first and latest actions with an honest count of what sits between. Exporting to Word carries the full record, timeline included.

All documentation · Everything above describes the product as it ships today. If something here doesn’t match what you see, tell us.

← Back to documentation