Model/domain/property_baseline
Khalim Conn-Kowlessar b24e4d46e4 refactor(baseline): clearer divergence-threshold constant names
PR feedback: the threshold constants were obscure. Rename to state intent —
_SAP10_2_FLOOR -> _MIN_TRUSTED_SAP_VERSION, _SAP_ABS_TOL ->
_MAX_SAP_SCORE_DIVERGENCE, _REL_TOL -> _MAX_RELATIVE_DIVERGENCE — matching
the existing _log_divergence vocabulary, and fold the rationale into the
comments: the calculator emits a continuous SAP score vs the lodged rounded
integer, so a gap up to 0.5 is rounding, beyond it a genuine disagreement
worth recording; CO2/PEUI are not rounded so they get a 1% relative band.
Behaviour unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 17:21:27 +00:00
..
__init__.py refactor(property-baseline): rename baseline → property_baseline aggregate (PR #1139 review) 2026-06-01 14:54:59 +00:00
bill.py feat(baseline): BillDerivation prices an energy breakdown at Fuel Rates (ADR-0014) 2026-06-02 09:38:44 +00:00
bill_derivation.py feat(baseline): BillDerivation prices an energy breakdown at Fuel Rates (ADR-0014) 2026-06-02 09:38:44 +00:00
calculator_rebaseliner.py refactor(baseline): clearer divergence-threshold constant names 2026-06-02 17:21:27 +00:00
performance.py refactor(baseline): Performance.from_sap_result replaces the loose mapper 2026-06-02 13:59:25 +00:00
property_baseline_performance.py refactor(property-baseline): rename baseline → property_baseline aggregate (PR #1139 review) 2026-06-01 14:54:59 +00:00
rebaseliner.py feat(baseline): CalculatorRebaseliner — calculator goes load-bearing (ADR-0013 amend) 2026-06-02 10:04:24 +00:00
sap_fuel.py feat(baseline): SAP fuel-code -> Fuel mapping for billing (ADR-0014) 2026-06-02 09:50:10 +00:00