About the library
Public documents, with their sources attached.
Comptroller Desk is an independent index for finding and reading public source documents.
What you will find
A catalog of original records
Search by title, issuer, date, document number, or text. Records link to available original files and, where listed, the official source page. Catalog descriptions and dates reflect the information available for each record.
Document dates that are missing from the source record are shown as not listed. An index entry does not establish whether a document is current or in effect.
How it works
Collected monthly, checked by rules, read to the page
Monthly collection. On the first business day of each month a scheduled job runs the library's update tools. It sends a HEAD request to the official address of every document already held, so a changed or missing file is noticed. It then reads about 35 watched sources for new material: the GPO govinfo API for public laws (appropriations acts, continuing resolutions, rescissions and each National Defense Authorization Act), committee reports on defense and military construction appropriations, Congressional Record explanatory statements and the President's Budget volumes; the congress.gov API for CRS reports on appropriations and fiscal law; the DoD Comptroller budget materials page for each new fiscal year's justification books; the DoD issuances, Army publications, OMB, FAR, DFARS and Treasury pages for new editions; and the Internet Archive's index of gao.gov for newly captured appropriations law decisions. Sites that refuse automated requests are read from Internet Archive captures of their official pages. The job can also be run by hand on the day a law is signed.
What it will and will not catch. It catches enacted laws, not bills; GPO posts a public law a few weeks after signing, so a law can arrive a month late. It catches GAO appropriations law decisions once the Internet Archive has captured the decision page, usually within days to a couple of weeks; bid protests and Congressional Review Act rule reports are left out on purpose. It does not watch GAO audit reports, apart from new editions of the Red Book and the Green Book. Navy and Marine Corps sites block automated reading, so those are checked by hand each month. Anything over 150 MB, anything not a real PDF or workbook, and anything whose first pages carry a CUI, FOUO or distribution marking is held and never published.
Rules first, then review. A new document is added only when its title, number and date are printed in its own first pages. When the rules cannot read a field, an AI model is asked once, and its answer counts only if the same words are found in the document; otherwise the item is held for a person to look at. Every download is fingerprinted, so a file already held changes nothing. The run stops before publishing if the catalog fails validation or the test suite.
Reading the text. Each file's text layer is extracted page by page. Pages with no text layer, such as scanned decisions from the bound Comptroller General volumes, are rendered to images and read with OCR (Optical Character Recognition) using Tesseract, and are marked as OCR pages because that text can contain errors. The text is split into passages, indexed for word search in Postgres full-text search, and embedded with a sentence model for meaning search. Search merges the two by rank, with exact citation matches first. The original file governs; the extracted text is a finding aid.
Publishing. New files and text are uploaded to the library's storage and database, the site is redeployed, and a plain summary of what was added, held and skipped is emailed to the maintainer. The full working folder of each run is kept for 90 days.
About this site
Independent, not an official government website
Comptroller Desk is an independent project and is not operated by or affiliated with a government office. Its catalog points readers to public sources; it does not speak on behalf of those sources or their publishers.
Questions about the library? Contact Tim Moore .