Skip to content

Upgrade PolicyEngine.py, compact SPM provenance, and deploy UK credentials - #3855

Merged
anth-volk merged 22 commits into
masterfrom
feat/policyengine-6-1-2-api
Oct 5, 2026
Merged

anth-volk merged 22 commits into
masterfrom
feat/policyengine-6-1-2-api

Explain legacy SPM result recalculation

c04d6a5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 5, 2026 in 0s

87.56% (+41.79%) compared to 0ebfc08

View this Pull Request on Codecov

87.56% (+41.79%) compared to 0ebfc08

Details

Codecov Report

❌ Patch coverage is 79.80769% with 63 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.56%. Comparing base (0ebfc08) to head (c04d6a5).

Files with missing lines Patch % Lines
policyengine_api/spm.py 84.12% 10 Missing and 10 partials ⚠️
policyengine_api/services/report_output_service.py 57.14% 12 Missing and 3 partials ⚠️
policyengine_api/worker_spm_release.py 75.86% 10 Missing and 4 partials ⚠️
...engine_api/runtime_cache/household_calculations.py 78.26% 2 Missing and 3 partials ⚠️
...gine_api/services/household_calculation_service.py 71.42% 2 Missing and 2 partials ⚠️
policyengine_api/services/simulation_service.py 91.66% 2 Missing ⚠️
policyengine_api/worker_spm.py 80.00% 1 Missing and 1 partial ⚠️
policyengine_api/services/v2/reports/types.py 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3855       +/-   ##
===========================================
+ Coverage   45.76%   87.56%   +41.79%     
===========================================
  Files         182      198       +16     
  Lines       10812    12211     +1399     
  Branches     1837     2159      +322     
===========================================
+ Hits         4948    10692     +5744     
+ Misses       5456      922     -4534     
- Partials      408      597      +189     

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