mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| tasks | ||
| tests | ||
| __init__.py | ||
| address_functions.py | ||
| already_installed_functions.py | ||
| bulk_address_uploads_functions.py | ||
| condition_functions.py | ||
| energy_assessment_functions.py | ||
| epc_functions.py | ||
| funding_functions.py | ||
| inspections_functions.py | ||
| magic_plan_functions.py | ||
| materials_functions.py | ||
| non_intrusive_surveys.py | ||
| portfolio_functions.py | ||
| property_functions.py | ||
| recommendations_functions.py | ||
| solar_functions.py | ||
| uploaded_files_functions.py | ||
| whlg_functions.py | ||