Model/backend/export/tests
Khalim Conn-Kowlessar af5dbe325d feat(modelling): cut plan→recommendation readers onto plan_id
Rewrite the three structurally-identical m2m-join readers
(portfolio_functions.aggregate_portfolio_recommendations,
Outputs.get_recommendations_from_db, export get_recommendations) to join
PlanModel directly via recommendation.plan_id, dropping the plan_recommendations
join and its now-unused import. The writers set plan_id (prior slice), so the
rows resolve. test_export pins the export reader through the cut (its fixtures
now set recommendation.plan_id). A portfolio_functions DB characterization test
lands with the scenario consolidation (which provides the full-parity scenario
table the aggregation writes to).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-03 21:09:43 +00:00
..
fixtures adding missing csvs 2026-02-26 18:28:46 +00:00
conftest.py refactor(modelling): consolidate plan/recommendation models into infrastructure 2026-06-03 21:00:14 +00:00
test_export.py feat(modelling): cut plan→recommendation readers onto plan_id 2026-06-03 21:09:43 +00:00