Repository navigation
Conversation
Stage the 15 Fiscal Lab score-table line figures that PolicyEngine/fiscal-lab-comparison computes, on H.R. 4849 (three lines, low, central and high) and H.R. 1428 (six lines, central only), each keyed by the comparison's line name in conditions.provision beside the bill's totals. Each gets one PolicyEngine result: the comparison's FY2027-2036 sum at commit 3894b8ca, concept_mismatch where its same-input verdict is no and constructed where it is partly. - pe_lines.py reads compare.py's matching (without running it) and the fiscal-year table at the pinned commit, checks every output file's versions and data build, and writes pe_lines.json. Notes that quote a Fiscal Lab figure are reworded by pattern, so no file holds one. - adapter.py QC 11 writes one figure per case per line, or the sum of the matched lines, and the release check compares them with the November 21 build. - The ingest replaces the comparison's own rows on a rerun, so a later pin leaves none of an earlier one's; the lane reads 15 of 1,363 computed. Decision d3472. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- pe_lines.py: "well above" now needs a gap of at least 20 percent in the comparison's note, or the build fails, so a later pin cannot overstate it; the comment names 1.97 as Fiscal Lab's estimate of the new line's national average, not a figure in the bill. - source.json and NOTES.md say the line labels are committed, and that the comparison's notes describe Fiscal Lab's method in its own words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Round 1's P2 on the terms wording: NOTES.md, source.json, the adapter and ingest docstrings and one test docstring described what Fiscal Lab's Terms of Use allow and reserve. Each now cites section 5 and its URL, and says which figures to publish is Max's call, with his decisions as recorded. source.json drops the selective quote. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Independent review, round 1 (Codex cloud task): REQUEST_CHANGES on d1526a4.
🤖 Generated with Claude Code |
This branch was successfully deployed
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.
What this adds
Max's ruling on decision d3472 was to "publish the 15 line figures" in their own PR after #267. This PR does that:
conditions.provision. Itssource_columnnames Fiscal Lab's score-table line, or the lines it sums.concept_mismatchwhere the same-input verdict is "no", andconstructedwhere it is "partly";pe_lines.py/pe_lines.json. The script readscompare.py's line matching from its syntax tree, without running it, and readstables/policyengine_by_fiscal_year.csv. Both blobs are pinned by SHA-256. It checks that every output file records the same versions, data build and run commit. Where a comparison note quotes a Fiscal Lab figure, it rewords that phrase by pattern, so no committed file holds the figure.--releasealso checks that these lines are the same in the November 21 build.fiscal-lab-comparison-<12 hex>) on the line claims, so a later pin leaves no rows from an earlier one. Any other result on a line claim survives.No other Fiscal Lab component is committed, and no raw Fiscal Lab file is.
What changes on the site
ingestedtocomputed("15 of 1363 claims computed").comparison.jsonand the PMD archives are unchanged.Checks
tests/test_fiscal_lab_memo_scores.pypasses (137 tests). New tests cover:pe_lines.jsonname the same lines;pe_linescheck;pe_lines.jsonfrom the pinned commit, which is skipped when no checkout of the comparison is present.tests/test_export_populations.py, plus the app'sbun test src,tsc -band lint, all pass.🤖 Generated with Claude Code