Skip to content

Serve household reports at /v2/reports - #4132

Draft
anth-volk wants to merge 21 commits into
v2plan/2a-202-v2-economy-reportsfrom
v2plan/3b-305-household-reports
Draft

anth-volk wants to merge 21 commits into
v2plan/2a-202-v2-economy-reportsfrom
v2plan/3b-305-household-reports

Check for households left behind after the removal commits, in its ow…

202880c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Oct 30, 2026 in 0s

87.27% (-0.11%) compared to e9cfc7e

View this Pull Request on Codecov

87.27% (-0.11%) compared to e9cfc7e

Details

Codecov Report

❌ Patch coverage is 80.88531% with 95 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.27%. Comparing base (e9cfc7e) to head (202880c).

Files with missing lines Patch % Lines
policyengine_api/fastapi_routes/dependencies.py 27.27% 16 Missing ⚠️
policyengine_api/services/v2/report_kinds/types.py 46.66% 15 Missing and 1 partial ⚠️
...gine_api/services/v2/household_reports/services.py 81.25% 11 Missing and 4 partials ⚠️
...icyengine_api/services/v2/report_kinds/services.py 80.30% 7 Missing and 6 partials ⚠️
...yengine_api/services/v2/household_reports/types.py 88.76% 9 Missing and 1 partial ⚠️
.../v2/household_reports/database_connectors/reads.py 60.00% 4 Missing and 2 partials ⚠️
...i/services/v2/household_reports/transformations.py 68.75% 3 Missing and 2 partials ⚠️
.../services/v2/household_reports/database_session.py 71.42% 3 Missing and 1 partial ⚠️
...ne_api/services/v2/household_reports/validators.py 82.60% 3 Missing and 1 partial ⚠️
...icyengine_api/services/v2/economy_reports/types.py 66.66% 2 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@                         Coverage Diff                          @@
##           v2plan/2a-202-v2-economy-reports    #4132      +/-   ##
====================================================================
- Coverage                             87.38%   87.27%   -0.11%     
====================================================================
  Files                                   286      296      +10     
  Lines                                 17144    17612     +468     
  Branches                               2760     2813      +53     
====================================================================
+ Hits                                  14981    15371     +390     
- Misses                                 1461     1520      +59     
- Partials                                702      721      +19     

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