Repository navigation
Register CenTax's childcare cliff-edge workbook raw-only - #445
Conversation
PolicyEngine/microcosm#1399 derives its CenTax parent cells from the data for the charts of Advani, Flew, Pepin-Hall and Summers (2026), Removing the £100,000 childcare cliff-edge, which arunadvani.com now publishes beside the report. Microcosm keeps only its own derivation, so the publisher's bytes belong here. - centax-childcare-cliff-edge-2026: one workbook, 194,075 bytes, sha256 8c238557..., the bytes of the copy CenTax shared on 21 October. Raw only: no build here parses it. - No licence is stated on the linking page, CenTax's report page or the workbook. Arun Advani has said PolicyEngine may use the published data, so, as for the GSGB tables, the bytes are held in R2 only and git-ignored. The manifest records the source page, the permission and the licence position. - centax joins the UK R2 publishers, so the key sits under raw/uk/centax/. - The test pins the registration and, given a local copy, the layout of the sheets microcosm reads. publish-raw has not run; the R2 location is declared only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
vahid-ahmadi
left a comment
There was a problem hiding this comment.
Thanks, María. This looks good to merge after the upload. I found nothing blocking. There are two small documentation points about the workbook itself, plus an ordering note.
What I checked at 1681b85
- I downloaded the file from
source_url. Its sha256 is8c238557…969354band it is 194,075 bytes, both matching the manifest. The server's last-modified date is 10 Nov 2026, asprovenance_notessays. - The workbook has 45 sheets. The headers and bin labels of Figures 3.1, 3.3, 3.6, 3.7 and 3.12, and the Table A.1 header, are as the test pins them.
- The new test file gives 3 passed and 1 skipped without a local copy. With the workbook placed in the package directory, it and
test_chronicle_artifacts.pygive 60 passed, andgit statusstays clean, so the ignore rule works. - The manifest follows the GSGB pattern: no licence,
storage.local: false, and the R2 key anddatasetnaming follow the same convention.centaxadded toR2_COUNTRY_PUBLISHERS["uk"]gives the key thatbuild_r2_keyproduces. - microcosm#1399 (at
428ff94) refuses any manifest with a different package id or kind, or a different sha256, so the two PRs line up.
1. Figure 3.12's "Men & Women" column repeats "Men". In all 60 rows, the "Share of Parents with Non-Working Partner (Men & Women)" value equals the "(Men)" value. microcosm#1399 already notes this (diagnose_uk_centax_parents.py), but the Chronicle data-source page is where field notes live. A line under the table would help the next reader, for example: "Figure 3.12's Men & Women column repeats the Men column in every bin; use Men and Women separately."
2. Figure 3.7 is pooled for every column, not only Scotland. Its note covers parents in England and Scotland eligible "between the 2019 and 2022 tax year". So the English columns are about four years of counts too: at the £1,000 bin, the three English groups sum to 82,820, against 19,753 for Figure 3.1's first two £500 bins (about 4.2×). The table row reads "The same by region group … and Scotland, pooled over 2018-19 to 2021-22". That could be read as England for one year and Scotland pooled. Suggested wording: "Parents in England (London, North and Midlands, South excluding London) and Scotland, all pooled over 2018-19 to 2021-22, so levels are about four years of counts; use the shares." microcosm uses Figure 3.7 for shares, so this changes no number.
Ordering note: as the description says, publish-raw hasn't run yet. Until it does, the R2 key points at nothing, and the only route to the bytes is a personal site. It would be worth uploading before (or right at) merge, so microcosm#1399's rebuild doesn't depend on arunadvani.com staying up.
CI is green: bundle, surface and checks.
Review drafted with AI assistance and checked against the code at 1681b850de8b735f525c7a67f5c20046a4ff326a.
Vahid's review of #445. Figure 3.7's note pools all four columns, England's three region groups as well as Scotland, over 2018-19 to 2021-22, so the table row no longer reads as England for one year; its levels are about four years of counts, and the page says to use its shares. Figure 3.12's "Men & Women" column repeats its "Men" column in every bin, which the page now says too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@vahid-ahmadi thanks. Both points are in at
On the ordering: |
Registers CenTax's childcare cliff-edge workbook raw-only, for PolicyEngine/microcosm#1399.
PolicyEngine/microcosm#1399 calibrates parents of 3- and 4-year-olds to CenTax's HMRC tabulations in Advani,
Flew, Pepin-Hall and Summers (2026), Removing the £100,000 childcare cliff-edge. arunadvani.com now publishes
the report's data for the charts. Publisher numbers come from Chronicle, so the workbook is registered here, and
microcosm keeps only its own derivation: each share times the build's own parent count, with the band edges aged.
What it adds
db/data/centax/childcare_cliff_edge_2026/manifest.yaml: packagecentax-childcare-cliff-edge-2026, oneworkbook (
AdvaniFlewPepinhallSummers2026_ChildcareThreshold_data.xlsx, 194,075 bytes, sha2568c238557…).The bytes match the copy CenTax shared on 21 October. The package is raw only: no build here parses it.
centaxis a new UK publisher, so the R2 key sits underraw/uk/centax/.or the workbook. Arun Advani (CenTax) has said PolicyEngine may use the published data. The manifest records
the source page, that permission and the licence position. This follows the GSGB tables.
tests/test_source_centax_childcare_cliff_edge_2026.pypins the registration. With a local copy, it also pinsthe layout of the sheets microcosm reads: the headers and bins of Figures 3.1, 3.3, 3.6, 3.7 and 3.12, and
Table A.1.
docs/data-sources/uk-centax-childcare-cliff-edge-2026.mdand a section indocs/pe-uk-source-checklist.md.Raw only, not facts
The figures are chart data with one consumer. That consumer reads them once, offline, when it rebuilds its
derived resource, and no build reads the feed for them. Parsing about 1,800 bins into facts would add concepts
and a feed re-pin for nothing a consumer needs. The other sheets are the authors' model outputs (bunching,
frictions, elasticities, costs), which no consumer binds. If a second consumer wants the bins as facts, a facts
package can follow.
In R2
chronicle publish-rawuploaded the workbook to the privateledger-rawbucket on 24 November 2026, at the key themanifest declares, and
chronicle verify-rawread it back: the same sha256 and 194,075 bytes. The manifest alreadynamed that object, so the upload changed no file in this PR.
Tests: the new file plus
test_chronicle_artifacts.py,test_source_uk_ros_high_value_sales.py,test_chronicle_geography_names.pyandtest_issue_343_uk_high_value_housing.py, 97 passed, 3 skipped.🤖 Generated with Claude Code