Metria 0.1.4¶
This Alpha patch release fixes evidence handling in isolated vLLM verification, artifact-cache downloads, top-k KL scoring and task-check validation. It also ships two staged capabilities for native qualification. Qualified verification profiles, saved-report schemas, and existing method identities retain their scope.
The base package remains dependency-free and supports Python 3.10–3.14. Native backend extras and the development workspace require Python 3.11 or newer.
Fixes¶
- An isolated vLLM verification worker that leaves an unreadable run record, or
one requested by a different recipe, now produces a complete
EXECUTION_FAILEDbundle with exit status5. The untrusted file is retained as<role>.run.json.invalidfor inspection and never stands in for the run record. Previously the supervisor raised, published noverification.json, and exited2as an invalid configuration. - Concurrent artifact downloads preserve a competing cache entry: matching content is verified and reused, invalid content is rejected, and existing links are retained rather than replaced.
- Top-k KL divergence is computed in log space, so extreme but finite probabilities remain scoreable. Token chunk allocation is bounded by the requested number of chunks.
- Conversion receipt home paths expand consistently, and dangling receipt links are rejected before native conversion. Invalid or overflowing download and conversion deadlines are reported as input errors.
- Strict JSON-object task checks reject outputs whose numeric exponents decode to infinity, including nested values.
Staged capabilities¶
These are implemented and unit-tested but have no retained native
qualification. Their results are labeled "qualification": "staged", no
policy target consumes them, and the qualified metria verify profiles reject
the inputs that enable them. See staged capabilities.
- Trajectory KL divergence (
metria.trajectory_kld0.1.0) measures how far the next-token distribution moved over decode steps whose context is identical in both runs. It needs the opt-intools/qualification/staged/llamacpp-topk-capture.patch, layered on the unchanged qualified capture patch so existing provider pins still reproduce. - vLLM
vllm.schedulerandvllm.cache_layouttreatments pass engine arguments and read them back after construction, failing on contradiction. Preflight blocks them unless a run overrides thevllm.staged_treatmentscapability check.
Maintenance¶
Every script lock is audited and citation metadata is schema-validated in CI. Package author metadata no longer includes a personal account name.
Scope¶
Historical qualification records keep their original runtime, model, device, and source pins. This patch does not expand native qualification. Positive FP8 KV-cache qualification still requires SM89 or newer hardware; see FP8 hardware boundary.
See the installed workflow, runtime qualification, and release procedure.