Skip to content

Calculate stored households through /v2/household-calculations - #4274

Merged
anth-volk merged 60 commits into
masterfrom
v2plan/c1-3-household-calculations
Nov 11, 2026
Merged

anth-volk merged 60 commits into
masterfrom
v2plan/c1-3-household-calculations

Parse each answer once with pydantic, so no body can turn a 502 or 50…

3dc1f8b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 11, 2026 in 0s

92.66% (+0.15%) compared to 8b906f8

View this Pull Request on Codecov

92.66% (+0.15%) compared to 8b906f8

Details

Codecov Report

❌ Patch coverage is 96.61017% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.66%. Comparing base (8b906f8) to head (3dc1f8b).

Files with missing lines Patch % Lines
...licyengine_api/data/v2/catalog/spm_availability.py 89.65% 4 Missing and 5 partials ⚠️
policyengine_api/fastapi_routes/dependencies.py 28.57% 5 Missing ⚠️
...gine_api/libs/simulation_household_calculations.py 97.20% 1 Missing and 3 partials ⚠️
...ne_api/services/v2/household_calculations/types.py 97.65% 1 Missing and 2 partials ⚠️
...icyengine_api/data/v2/catalog/publication_types.py 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4274      +/-   ##
==========================================
+ Coverage   92.51%   92.66%   +0.15%     
==========================================
  Files         318      329      +11     
  Lines       18137    18783     +646     
  Branches     3002     3114     +112     
==========================================
+ Hits        16779    17405     +626     
- Misses        814      824      +10     
- Partials      544      554      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.