Skip to content

Answer 400 for a household calculation whose policy can't be read - #4279

Merged
anth-volk merged 6 commits into
masterfrom
fix/calculate-policy-400
Nov 13, 2026
Merged

anth-volk merged 6 commits into
masterfrom
fix/calculate-policy-400

Say the route tests' stand-in reads keys only as the US model does

344e430
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 11, 2026 in 1s

92.61% (+0.09%) compared to df394c5

View this Pull Request on Codecov

92.61% (+0.09%) compared to df394c5

Details

Codecov Report

❌ Patch coverage is 97.97297% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.61%. Comparing base (df394c5) to head (344e430).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
...icyengine_api/utils/household_policy_validation.py 98.58% 1 Missing and 1 partial ⚠️
policyengine_api/country.py 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4279      +/-   ##
==========================================
+ Coverage   92.52%   92.61%   +0.09%     
==========================================
  Files         318      319       +1     
  Lines       18137    18273     +136     
  Branches     3033     3056      +23     
==========================================
+ Hits        16781    16924     +143     
+ Misses        813      803      -10     
- Partials      543      546       +3     

☔ 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.