mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
MeasureDependency(triggers, required) is a data-declared 'A requires B' edge. optimise_package gains a dependencies param: after the warm-start it injects any dependency whose triggers intersect the selected measure-types, BEFORE the whole-package re-score, so the dependency's (negative) SAP lands in the truthful figure and the undershoot/repair decision (ADR-0016). Forced — injected regardless of budget — but its cost counts toward package spend, so repair sees less headroom. Repair candidates fold in any dependency they newly trigger, so their marginal SAP-per-£ and incremental cost are truthful. The dependency never competes in the optimiser pool. Returned selected includes the injected deps. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| contingencies.py | ||
| floor_recommendation.py | ||
| optimiser.py | ||
| overlay_applicator.py | ||
| package_scorer.py | ||
| plan.py | ||
| product.py | ||
| recommendation.py | ||
| roof_recommendation.py | ||
| scenario.py | ||
| scoring.py | ||
| simulation.py | ||
| wall_recommendation.py | ||