Model/backend/app/db
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
..
functions feat(modelling): cut plan→recommendation readers onto plan_id 2026-06-03 21:09:43 +00:00
models refactor(modelling): consolidate plan/recommendation models into infrastructure 2026-06-03 21:00:14 +00:00
__init__.py Adding database connection to fastapi 2023-07-31 11:02:22 +01:00
base.py fixing typing issues 2026-02-26 12:45:52 +00:00
connection.py map survey to model 🟥 2026-01-28 18:06:18 +00:00
utils.py uploading plan and recommendations wip 2023-08-10 18:26:41 +01:00