Skip to content

Serve economy reports and simulations from the detailed-save tables at /v2/reports and /v2/simulations - #4281

Merged
anth-volk merged 49 commits into
masterfrom
v2plan/c1-8-simulations-and-reports
Nov 12, 2026
Merged

anth-volk merged 49 commits into
masterfrom
v2plan/c1-8-simulations-and-reports

Merge master into v2plan/c1-8-simulations-and-reports

50c354a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 12, 2026 in 1s

93.19% (+0.26%) compared to c4419dc

View this Pull Request on Codecov

93.19% (+0.26%) compared to c4419dc

Details

Codecov Report

❌ Patch coverage is 96.80625% with 45 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.19%. Comparing base (c4419dc) to head (50c354a).

Files with missing lines Patch % Lines
policyengine_api/fastapi_routes/dependencies.py 40.00% 12 Missing ⚠️
.../stored_reports/economy_results/transformations.py 92.00% 1 Missing and 11 partials ⚠️
...yengine_api/services/v2/stored_reports/services.py 93.61% 2 Missing and 1 partial ⚠️
..._api/services/v2/stored_reports/transformations.py 90.00% 1 Missing and 2 partials ⚠️
...ngine_api/services/v2/stored_reports/validators.py 89.65% 2 Missing and 1 partial ⚠️
...ine_api/services/v2/stored_simulations/services.py 91.17% 2 Missing and 1 partial ⚠️
...olicyengine_api/libs/simulation_service_answers.py 97.26% 0 Missing and 2 partials ⚠️
...ine_api/services/v2/simulation_service/services.py 91.66% 2 Missing ⚠️
...ngine_api/services/v2/user_simulations/services.py 90.00% 1 Missing and 1 partial ⚠️
...licyengine_api/fastapi_routes/v2/reports/routes.py 98.41% 0 Missing and 1 partial ⚠️
... and 2 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4281      +/-   ##
==========================================
+ Coverage   92.93%   93.19%   +0.26%     
==========================================
  Files         330      357      +27     
  Lines       19154    20468    +1314     
  Branches     3096     3235     +139     
==========================================
+ Hits        17800    19076    +1276     
- Misses        800      824      +24     
- Partials      554      568      +14     

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