Repository navigation
v0.15.1: B01003 total fallback; Michigan 2015-2019 population covariance - #14
Merged
Merged
Conversation
…ile is rejected or 404 census.gov's firewall rejects the 2015-2019 Michigan tract B01003 VRE file for every client (support ID 13979921158196382640). B01001 line 1 (Total:) is the same total population: on the 2015-2019 New York tract files (4,918 tracts) ESTIMATE, MOE and all 80 replicates are identical (0 differing cells). fetch_vre now, for this verified pair only (VRE_TOTAL_FALLBACKS), fetches the B01001 file of the same release/geography/state when the B01003 file is rejected or 404, and returns its line 1 relabelled as B01003_001 (title Total). Never silent: a warning, attrs['substitution'] (requested URL, reason, support ID / HTTP status, source table and URL, SHA-256 of the file read, verification statement) and attrs['notes']; source_url/sha256 name the file actually read. Manifest replicate records and methods text, and the covariance study's file list, carry the substitution. Other B01003 lines (new lines= argument), other tables, other failures, allow_substitute=False, or an unavailable B01001 raise the original error. Tests: offline rejection/404/both-unavailable/non-total/identical-pair cases; live (CENSUS_LIVE_TESTS=1) re-check of the line-1 identity on NY 2019 tracts.
…B01001 total Rerun of scripts/acs_error_covariance.py (--tract-years 2024 2019). The firewall-blocked B01003_26 2019 file now comes from B01001_26 line 1 (fetch_vre substitute); the report lists it under 'Substituted files' with the B01001 SHA-256 and the verification basis, and no file is unavailable any more. Michigan 2019 population: order 1 within county -0.075 [-0.103, -0.046] (2024: -0.081), across county -0.005 [-0.014, 0.004], aggregation ratio 0.000, split-half pair reliability 0.64 (2024: 0.67); same pattern as New York 2019 (-0.042, 0.000, 0.60). Conclusions unchanged; Findings 6 and the C2 limits updated. README notes the substitute.
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.
Patch release.
Local: 1194 passed (3.14), 1190 passed (3.10).