Local Model Evaluation Harness
A reproducible local-model recording and comparison artifact with visible coverage and confidence error. record.py writes the same {manifest,source,labels,records} contract consumed by cli.py. --baseline compares only identical label fingerprints; --min-accuracy supplies a local CI gate.
A reproducible local-model recording and comparison artifact with visible coverage and confidence error.
- record.py writes the same {manifest,source,labels,records} contract consumed by cli.py. --baseline compares only identical label fingerprints; --min-accuracy supplies a local CI gate.
- Python 3.10+
- JSON, ratios, sorting, percentiles and basic HTTP. A live recorder additionally needs an already-running loopback OpenAI-compatible model server.
- Python The standard library makes parsing, scoring, and failure handling visible without hiding the mechanism behind a framework.
Local Model Evaluation Harness in 4 stages
A reproducible local-model recording and comparison artifact with visible coverage and confidence error.
Validate prediction records
Validate unique ids, string answers, confidence in [0,1], and nonnegative latency_ms..
starter · ~2 hours · Python
recorded predictionsfinite valuesMeasure normalized exact-answer accuracy
Return correct, total, accuracy, and coverage against a complete label mapping..
core · ~2 hours · Python
accuracycoveragemissing dataMeasure confidence calibration
Compute fixed-width bin ECE weighted by bin count, retaining per-bin evidence..
core · ~2 hours · Python
calibrationECEconfidencePublish accuracy and latency together
Combine metrics with nearest-rank latency percentiles and a measurement-source label..
stretch · ~2 hours · Python
percentilesmeasurement provenance