Repository navigation
Conversation
…19-142 - OLRC moved its download listing from /download/download.shtml to /download.html. Point discovery at the new page (the old one 404s, which made `fetch --source=olrc` and `--list-vintages` fail). - Raise the OLRC request timeout from 500ms to 30s; the first attempt was routinely aborted before the server responded. - Correct every KNOWN_VINTAGES release date to the date OLRC lists for the release point. 119-73 is January 23, 2026 (was 2025-03-14 / annual/2025), so it now falls in 2026. - Add release point 119-142 (November 10, 2026), which takes annual/2026. - Log titles that fail to parse during backfill instead of skipping silently. OLRC now hosts only 119th-Congress release points; older ZIPs must come from an archive such as the Wayback Machine. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
fetch --source=olrc(and--list-vintages) fails withOLRC listing did not expose any releasepoint title ZIP links. OLRC redesigned uscode.house.gov:/download/download.shtmland/download/priorreleasepoints.htmnow return 404. The new pages are/download.htmland/priorreleasepoints.html. The ZIP URL scheme (/download/releasepoints/us/pl/{congress}/{law}/xml_usc{NN}@{vintage}.zip) is unchanged.DOWNLOAD_TIMEOUT_MSwas 500 ms, so the first attempt was regularly aborted before the server responded.KNOWN_VINTAGESrelease dates were wrong. 119-73 is January 23, 2026, not 2025-03-14, so it was taggedannual/2025when it belongs in 2026.Changes
https://uscode.house.gov/download.html. Test mocks are updated to the new URL.KNOWN_VINTAGESdate is corrected to the date OLRC lists. Pre-119 dates come from the archivedpriorreleasepoints.htm. No year changes except 119-73's.KNOWN_VINTAGES,seed-all-vintages.shandrun-backfill.sh. It takes theannual/2026tag.run-backfill.shtakes its heap size fromBACKFILL_HEAP_MB, default 6 GB.Note: historical release points are no longer on OLRC
OLRC now hosts only 119th-Congress release points. 113-xx through 118-xx return 404, both the ZIPs and their pages. To rebuild the corpus, the
xml_uscAll@<vintage>.ziparchives for those vintages were taken from the Wayback Machine (web.archive.org/web/<ts>id_/…). Each passedunzip -t, and each was split into the per-title cache layout.Tests
The planner tests are updated for the corrected year. The full suite has the same 17 failures as
mainin this environment (zipisn't installed) and no new ones.🤖 Generated with Claude Code