Repository navigation
Conversation
…ntries The shared source-conflict register cites each text the Axiom corpus lacks under pending_texts, pinned to a capture in this repository by commit and sha256. These five captures back two entries PolicyEngine-US already ruled: us-ca:premium-subsidy-150-fpl-boundary (#10301) and us-ca:premium-subsidy-200-fpl-limit (#10305). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The register entries turn on which text Covered California adopted. Page 1 of each Design holds its adoption sentence, so both Design captures now cover pages 1-2. Board Resolution 2026-22 adopts the 2027 Design as presented on June 18, 2026; that version's (d)(7) reads "under 200 percent", where the Final 2027 Design reads "at or below 200 percent". The June 18 minutes record staff asking for direction to finalize the document. These captures let the 200% entry cite each of those texts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… subsidy entries Both register entries cite Gov. Code 100800(c). leginfo answers automated requests with a bot check, so this adds the Internet Archive's copy of Title 25 from March 7, 2026, byte for byte. The June 18, 2026 Board deck records what staff asked the Board to do, and the Executive Director's reports of August 20 and September 17 record what Covered California did after the budget passed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PR Review: Capture Covered California sources for two premium subsidy register entriesSummaryThis PR changes no model code. It adds 12 source captures under I checked every capture against its live source:
I found no fidelity, page-range or hygiene problem. Two optional suggestions follow. CriticalNone. Should addressNone. Suggestions
Verified correctFidelity of the 11 PDF captures. I downloaded each URL with a generic User-Agent; all returned HTTP 200 and a PDF. I then extracted the stated pages and compared word streams with each capture's body, below its two header lines.
Fidelity of the Title 25 capture.
Boundary wording the entries rely on, all present in the captures:
Hand-checks of the captured worked examples. These confirm the captures support each entry's readings.
Register linkage, against rulespec-us#2053: OPEN, draft, head
Repository hygiene.
Axiom line assessment
The related register work is tracked in rulespec-us#2053, an OPEN draft PR. It stays draft and red on CI status
Branch statusThe branch is 3 commits ahead of Verdict: APPROVE |
DTrim99
left a comment
There was a problem hiding this comment.
Approving per the review above: 0 critical, 0 should, 2 optional suggestions. Four contrib shards were still running at approval (none failing, and the PR touches nothing they load); please confirm CI finishes green before merging.
MaxGhenis
left a comment
There was a problem hiding this comment.
Agent review for Max, written by Claude Code for Max Ghenis.
A Codex cloud task reviewed c745d21 (GPT-6.2 Sol at Extra High effort; chat https://chatgpt.com/local/6b0c6e79-91dc-83e9-b5ab-5f4b97f670f7). Its verdict is request changes, with one P1 finding in this change, in the description. All eleven PDF captures were verified; the Title 25 HTML capture's official provenance remains unverified (P2 below).
- "Next," item 1, is stale. It says all four deciding files at #10305's squash commit (4648a77) match
main. On current main (c44636b), onlyfpl_limit.yamlmatches. Undergov/states/ca/hbex/premium_subsidy/,applicable_percentage/threshold.yaml:7,ca_premium_subsidy_applicable_percentage.py:28andca_premium_subsidy_eligible.py:50differ: both formulas read prior-yeartax_unit_fpgat the pin andaca_fpgon main, and the threshold file's documentation changed to match. At this head, all four files still match the historical pin for #10305, so only the "matchmain" clause needs to change.
Also worth fixing:
- P2: the Title 25 capture's provenance. The official page for Government Code §100800 returned HTTP 403 with a bot check, so the review could not compare
source_conflicts/sources/us-ca/gov-code-title-25-20260307.htmlwith the government's copy. The file does match the companion register's hash and excerpts. - P3: the changelog fragment starts with "Add", and the changelog guide asks for past tense.
Confirmed:
- After excluding their three-line headers, all eleven PDF captures match a fresh
pdftotextextraction byte for byte over the listed pages, and the review confirmed their values against the official PDFs. test_source_conflicts.pypassed 103 of 103, and all 30 excerpts and their hashes matched at the pinned revision.- Under the head's locked Core, all 86 cases in the four California subsidy YAML files passed. Under Core 3.38.0, 65 of them fail with a
Holder.get_known_periods()TypeError: the branch's wrapper atpolicyengine_us/tools/social_security_inputs.py:896does not take the branch argument that release passes.
Behavior that predates this PR (in formulas already on the merge base):
- P1:
ca_premium_subsidy_eligible.py:50uses the two-person guideline for a PY2026 joint return with $27,000 of ACA MAGI where one spouse is claimable by another taxpayer; at about 172.5% of the one-person guideline, they should be ineligible. Current main already has this fix and a regression case (2026 Design, p. 3, (d)(10), and 26 CFR §1.36B-1(d)(2)). - P1:
ca_premium_subsidy.py:40subtracts a full year's required contribution for part-year coverage. At exactly 200% FPL in PY2027, with six coverage months, a $688 monthly benchmark and $3,045.912 of federal APTC, the subsidy should be $239.40, from six monthly contributions. The head gives $0 (Final 2027 Design, p. 1, (a)-(b)). - P1:
ca_premium_subsidy.py:40also skips the enrolled-plan cap. At exactly 200% FPL in PY2027, with an $8,256 annual benchmark, a $6,240 enrolled-plan premium and $6,091.824 of federal APTC, the subsidy should be $148.176. The head gives $478.7998 (Final 2027 Design, p. 1, (b)(1)-(2)). - P2: an otherwise eligible separate filer who meets the domestic-abuse or spousal-abandonment exception should qualify. The federal gate at
is_aca_ptc_eligible.py:23, read byca_premium_subsidy_eligible.py:40, rejects every separate filer, and the model has no input for the exception (Final 2027 Design, p. 3, (d)(7)(A), and 26 CFR §1.36B-2).
This adds text captures of eleven Covered California documents and Title 25 of the California Government Code, for two source-conflict register entries. Both entries record choices PolicyEngine-US has made: #10301 moved a household at exactly 150% FPL into the California Premium Subsidy's 0% band, and #10305 made a household at exactly 200% FPL eligible for the 2027 subsidy. rulespec-us's
verifystep reads each text the Axiom corpus lacks from a capture in this repository, at a pinned commit and sha256. It refuses a commit outsidemain, so these files must merge before TheAxiomFoundation/rulespec-us#2053 can cite them.Captures
All twelve sit in
source_conflicts/sources/us-ca/. Each.txtfile opens with its URL and extraction method, pdftotext (poppler) in reading order, and holds the pages the table lists.gov-code-title-25-20260307.htmlpremium-subsidy-program-design-2026-p1-2.txtpremium-subsidy-program-design-2027-p1-2.txtpremium-subsidy-program-design-2027-board-version-p1-2.txtpremium-subsidy-board-resolution-2026-22.txtpremium-subsidy-board-deck-2026-06-18-p36-38.txtpremium-subsidy-board-minutes-2026-06-18-p6-7.txtpremium-subsidy-ed-report-2026-08-20-p12.txtpremium-subsidy-ed-report-2026-09-17-p43.txtpremium-subsidy-explainer-2026-p2.txtpremium-subsidy-insight-2027-p1-2.txtoe27-enroller-kickoff-p37-40.txtleginfo.legislature.ca.gov answers automated requests with a bot check, so the Title 25 file holds the raw bytes of the Internet Archive's copy of the page the 2027 Insight's endnote 1 cites.
We capture the Board's papers because the Board adopted the June version on June 18, 2026, and that version's (d)(7) reads "under 200 percent", where the Final 2027 Design reads "at or below 200 percent". TheAxiomFoundation/rulespec-us#2053 sets out that record.
Verification
verifychecks them once this merges.axiom_encode_ref(2bdc3b42), after the text normalizationverifyapplies.Next
pending_textspin these files at this PR's squash commit, and their implementations and tests pin Decide CA Premium Subsidy eligibility on the exact FPL ratio and adopt the Final 2027 design #10305's squash commit (4648a77), where all four deciding files matchmain.KNOWN_UNMARKEDlines.cites_entry: true, and the next register refresh here makes the guard enforce the four markers.impact: none; no variable or parameter changes (source captures and a changelog fragment only)
axiom: n/a: source captures for the source-conflict register; no model change
🤖 Generated with Claude Code