Summary
in_nyc is formula-owned in PolicyEngine-US and should not be persisted as a final input, but it cannot be fixed by simply dropping the stored column from the current populace artifact. The current artifact has in_nyc and state_fips, but not county / county_str; if the stored in_nyc is removed as-is, the PE-US formula recomputes NYC as zero.
Evidence from the local audit
- Stored
in_nyc aggregate in the published US artifact: about 5.94M weighted people.
- One-column removal/recompute: formula aggregate becomes 0 because county data are missing.
- Non-NY rows were not the problem; the issue is the missing county input surface needed to recompute NYC inside NY.
Fix direction
Related: #18, #24, #25.
Summary
in_nycis formula-owned in PolicyEngine-US and should not be persisted as a final input, but it cannot be fixed by simply dropping the stored column from the current populace artifact. The current artifact hasin_nycandstate_fips, but notcounty/county_str; if the storedin_nycis removed as-is, the PE-US formula recomputes NYC as zero.Evidence from the local audit
in_nycaggregate in the published US artifact: about 5.94M weighted people.Fix direction
in_nycformula, or make an explicit PE-US/data compatibility decision ifin_nycitself is intended to be a source input.in_nycdoes not collapse NYC to zero.Related: #18, #24, #25.