|
Download docs/evaluation-state-policy.md from ai-dynamo/aisim-data: direct link, hf CLI and curl.
- Browser
- Download file 3.82 kB
-
https://huggingface.co/datasets/ai-dynamo/aisim-data/resolve/main/docs/evaluation-state-policy.md
- Command line
-
hf download hf://datasets/ai-dynamo/aisim-data/docs/evaluation-state-policy.md
-
curl -L -o evaluation-state-policy.md https://huggingface.co/datasets/ai-dynamo/aisim-data/resolve/main/docs/evaluation-state-policy.md
3.82 kB
| # Evaluation State Policy | |
| FPM Gym must classify measurement availability independently from AISim | |
| prediction outcomes. Measurement parsing and state derivation belong in FPM | |
| Gym; the Hugging Face repository remains the source for FPM and measurement | |
| artifacts. | |
| The measurement record contracts are defined in | |
| [measurement protocols](measurement-protocols.md) and the corresponding files | |
| under `schemas/`. | |
| A bundle with summary-only evidence has no measurement protocol. It declares | |
| an `evidence_format_id` and is reported as `supporting_evidence_only`; it is not | |
| a measured point. An unknown protocol is an incompatible contract and must | |
| fail validation. | |
| ## Measurement states | |
| | State | Meaning | Evaluation treatment | | |
| | --- | --- | --- | | |
| | `measured` | The point completed with a finite, positive measured latency. | Eligible for AISim evaluation. | | |
| | `measurement_unavailable` | A point in an explicit intended grid was skipped, failed, or produced invalid timing. | Report as a measurement-coverage gap; do not include it in prediction coverage or accuracy. | | |
| | `excluded` | A record is not an evaluation sample under an explicit rule, such as warmup, calibration, an empty heartbeat, a superseded duplicate, or a configuration mismatch. | Exclude from all denominators and report the reason. | | |
| Absence alone does not establish `measurement_unavailable`. The measurement | |
| artifact must declare an intended grid, skipped point, missing phase, or | |
| equivalent evidence. Without that evidence, an absent coordinate is unknown | |
| and must not be counted as a gap. | |
| ## Prediction states | |
| A configuration may contain validated measurements with `fpm: []`. Its missing | |
| self-benchmark library is a predictor-data limitation, not a reason to discard | |
| the measurements. A consumer may evaluate another supported predictor (for | |
| example, operator-level or regression); availability must be checked separately. | |
| Pre-grouped incomplete rank lists remain supporting evidence and are not scored | |
| as complete-iteration truth. | |
| Prediction states apply only to points whose measurement state is `measured`. | |
| | State | Meaning | Evaluation treatment | | |
| | --- | --- | --- | | |
| | `predicted` | AISim returned a finite, positive latency. | Include in prediction coverage and accuracy. | | |
| | `prediction_unsupported` | AISim returned no result for the measured point. | Include in the prediction-coverage denominator, but not accuracy. | | |
| | `prediction_error` | AISim attempted the point but failed or returned an invalid value. | Include in the prediction-coverage denominator, but not accuracy. | | |
| | `not_evaluated` | The point was not requested in this evaluation run. | Do not treat it as a coverage failure. | | |
| ## Filtering rules | |
| - FPM Gym parsers must version and document every exclusion rule. | |
| - Each excluded or unavailable point must retain a machine-readable reason. | |
| - Warmup, calibration, empty scheduler heartbeats, and superseded retries may | |
| be excluded when they are explicitly identifiable in the source artifact. | |
| - A planned point with invalid timing or a benchmark failure is | |
| `measurement_unavailable`, not `excluded`. | |
| - A missing or failed AISim result is a prediction state, not a measurement | |
| state. | |
| - Never exclude a point because its prediction error is large. | |
| - Never infer an unavailable point from an undeclared workload coordinate. | |
| ## Metric denominators | |
| - Measurement coverage requires an explicit intended grid. Its denominator is | |
| intended points minus explicitly excluded points. | |
| - Prediction coverage uses measured points selected for the evaluation. | |
| - Accuracy uses only points with both a valid measurement and a valid AISim | |
| prediction. | |
| When raw measurement evidence is unavailable, a retained truth-only derivative | |
| may serve as the measurement artifact only when its source and content hashes | |
| are recorded. | |