geoprior.scripts.update_ablation_records#
Update ablation_record using post-hoc calibrated metrics.
Why this script#
Older ablation JSONL rows may store point/interval metrics in SI units (e.g., meters) or store uncalibrated interval metrics.
This script patches each JSONL row by reading the authoritative run artifacts:
geoprior_eval_phys_<TS>_interpretable.json(preferred)geoprior_eval_phys_<TS>.json(fallback)*eval_diagnostics*_calibrated.json(fallback)
Outputs#
For each input ablation JSONL:
writes a sibling file
ablation_record.updated.jsonlnext to the original and does not overwrite by defaultoptionally exports a combined table as CSV and JSON under
scripts/out
Functions
|
|
|
Classes
|
- class geoprior.scripts.update_ablation_records.PatchInfo(ok: 'bool', reason: 'str' = '', ts: 'str' = '', run_dir: 'str' = '', phys_json: 'str' = '', eval_diag: 'str' = '')[source]#
Bases:
object