mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
"One scorer, two harnesses" (ADR-0030): the committed gate, the local script, and the future battle-test must run the *same* scoring. Extract it: - domain/epc_prediction/validation.py — `iter_predictions` (the single leave-one-out orchestration: latest-per-address hold-out, SAP-10.2 target filter, all-vintage source) + `evaluate_component_accuracy` (calculator-free ComponentAccuracy aggregation, the primary signal). Unit-tested. - harness/epc_prediction_corpus.py — `load_corpus(dir)` IO: corpus dir -> Comparable cohorts (maps payloads, carries address + registration_date). validate_epc_prediction.py now just loads + calls the scorer for the component section and iterates iter_predictions for the calculator-floored end-to-end. Identical numbers (181 targets, SAP MAE 6.34) — behaviour-preserving. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| eon | ||
| analyse_api_sap_clusters.py | ||
| decompose_api_cost_error.py | ||
| download_cotality_evidence.py | ||
| elmhurst_input_sheet.py | ||
| eval_api_sap_accuracy.py | ||
| fetch_2026_epc_sample.py | ||
| fetch_cohort2_api_jsons.py | ||
| fetch_epc_bulk_sample.py | ||
| fetch_epc_dump.py | ||
| fetch_epc_prediction_corpus.py | ||
| historic_epc_demo.py | ||
| init_db.py | ||
| profile_api_error.py | ||
| rename_sharepoint_files.py | ||
| run_audit_generator_local.py | ||
| run_modelling_cohort.py | ||
| run_modelling_e2e.py | ||
| run_property_report.py | ||
| sero_address_list.csv | ||
| validate_epc_prediction.py | ||