Skip to main content

Packs

A pack is the specification a run executes: corpus, rubrics, evaluators, thresholds, decision policy, and requalification triggers. The runner does not choose those bounds. etalon qualify --pack takes the pack directory. etalon pack validate checks that directory against the schema and the runner’s pack rules. This repository is the open-source runner. The packs checked in here are public fixtures under the runner’s Apache-2.0 licence. Each one below is exactly one of: an example you can run, or a commercial pack you can buy. Proposed packs are not included and are not offered from this tree. Document classification, field extraction, tool-argument extraction, personal-data handling, confidential-context leakage, prompt-injection resistance, and scope-and-refusal are not packs in this repository. This release does not include them.

Demonstration pack and commercial contact-routing pack

These are different packs. A run of one is not evidence for the other. examples/contact-routing reuses the id coyos.fs.contact-routing at version 0.3.1. That reuse gives the tests and the walkthrough a complete routing example. It does not make the synthetic files the commercial pack. Case text, thresholds, and the judge calibration record in this repository are the fixture’s. They are not the licensed corpus.

examples/demo-pack

Pack id etalon.demo.ticket-routing, version 0.1.1. Synthetic ticket classification. Every case is invented. The pack does not declare a judge. Qualification scoring does not send the calibration corpus to the endpoint. mock_endpoint.py in this directory is the local fixture. etalon pack init --from demo copies it with the pack. serving.yaml describes that fixture (engine: etalon-mock). It is not a GPU serving stack. Weight hashes stay unavailable unless you pass --model-index. python3 examples/demo-pack/build_corpus.py rewrites corpus/*.jsonl. The quickstart runs this pack with --model etalon-demo-baseline.

examples/contact-routing

Pack id coyos.fs.contact-routing, version 0.3.1. Public synthetic fixture for the customer test pack instructions and for runner tests. Labels are billing, access, technical, security, and spam. Behaviour is classify, abstain, or escalate. Reference evaluators score the qualification metrics, including the critical misroute dimension. The rubric judge routing_judge uses transport: typesafe. Live use needs TYPESAFE_API_KEY and etalon[typesafe]. See TypeSafe judge. Start the fixture with this pack’s corpus so the scripted replies match the case text:
examples/mock_endpoint.py is a launcher for examples/demo-pack/mock_endpoint.py. Both serve this pack when you pass --pack. python3 examples/contact-routing/build_corpus.py rewrites that pack’s corpus. The model ids for this fixture are listed below.

Fixture model ids

examples/mock_endpoint.py serves scripted profiles, not weights. --model selects one. Each profile produces a stated decision on a completed capture. With the default pack (examples/demo-pack): With --pack examples/contact-routing: The contact-routing judge is TypeSafe Jev (transport: typesafe), not a fixture chat model. Without TYPESAFE_API_KEY the judge fails and the run is INDETERMINATE. CI mocks the SDK. The mock endpoint also serves etalon-judge-uncertain and etalon-judge-fault for packs that select the endpoint judge transport; neither public fixture does. python3 examples/run_degradation.py prints the demo profile table and exits non-zero if a row’s status or reason class drifts. pytest runs the same gate. The harness does not measure a real quantized model. The int4 serving file (examples/scenarios/serving-int4.yaml) records a quantization name on the fingerprint; the quantized fixture’s decision change is the scripted label-accuracy miss. If these profiles stop separating, the pack thresholds are what to change.

What a pack directory contains

pack.yaml is the manifest. It names the pack id and version, the intended use, the out-of-scope list, the OpenAI-compatible interface path, coverage dimensions, sampling defaults, reproducibility settings, mandatory fingerprint fields, and the artifact paths. The public fixtures point those artifacts at: content_sha256 in pack.yaml may be null on disk. etalon pack validate computes the content hash and prints it. That hash is what the bundle records. Coverage in this runner is value-presence. A pack that sets coverage.model to anything else is rejected. The default, when the field is omitted, is value_presence. A pack that declares a judge must name transport as endpoint, offline-mock, typesafe, or jev, and must list judge_uncertainty under indeterminate_when. A critical risk dimension scored only by a judge is rejected. Reference or deterministic evaluators have to cover it. See Judges.

Validate

Exit 0 means the pack matched the schema and the pack rules. Exit 1 means it did not. The text report names the failing path.

Request parameters and response completeness

Optional request_extras in pack.yaml supplies backend-specific JSON fields, for example reasoning_effort: none or chat_template_kwargs: {enable_thinking: false}. qualify --extra-body '{"reasoning_effort":"none"}' merges over pack extras by key (nested objects are replaced, not deep-merged). {} merges nothing and leaves pack extras in place; it does not clear them. The effective extras are recorded under fingerprint.sampling.request_extras and in every captured request. Changes fire the existing sampling_parameters trigger. These are requested settings; the runner cannot prove a backend honored them. Model, messages, sampling, streaming and response-count fields are reserved. Credential-like keys are rejected, including aliases such as x-api-key, openai_api_key, api_token, and bearer, including when nested. Credentials belong in the existing environment configuration, never in extras. For check, resupply the pack or serving sampling configuration plus any --extra-body override. Extras supplied to check replace the extras object; use {} to explicitly clear it. Older bundles without extras mean {}. --extra-body alone is an error: extras cannot attest the other sampling values, and a check that ignored them would hide sampling drift. A serving config may declare request_extras under sampling or at the document root, the same place as pack.yaml. When both are present, the value under sampling is used. Omitting extras while re-observing sampling records {}. finish_reason: length is scored as truncated for applicable tests even if the partial output parses. It remains in the aggregate denominator as an applicable miss. A non-judge evaluator that raises on that partial text is not recorded as required_evaluator_failed, including when another evaluator on the same test was not applicable, so the crash does not also force INDETERMINATE. Etalon neither increases the budget nor retries with a different configuration automatically. The raw response preserves finish reason, reasoning and usage when provided. The json_object evaluator supports optional config.allowed_values, a mapping from field names to nonempty string lists, e.g. allowed_values: {label: [incident, request, question, complaint]}. Invalid values fail with invalid_value. This is separate from whether an allowed label matches the reference.

Challenge gates

Challenge results are informational unless qualification.yaml explicitly adds:
This applies an observed failure-rate limit to that metric’s challenge population, separately from the qualification population. One event exceeds a zero maximum. Insufficient challenge samples are INDETERMINATE unless a completed hard failure already decides NOT_QUALIFIED. Reports state when challenge results are informational. Only one judge evaluator is currently supported per pack; validation rejects multiple judges to avoid associating a test with the wrong judge evidence.

Class-specific qualification requirements

Reports include first-pass per-class support, precision, recall, and confusion matrices for qualification and challenge separately. Missing, invalid, truncated, and endpoint-error responses have separate columns. A class with no predictions has undefined precision, not zero or one. Repeated passes are excluded from these descriptive counts. Class names come from the corpus reference labels. To gate qualification on one class, add a reference evaluator and test:
Add this metric to thresholds.yaml:
Then add matching threshold and mandatory requirement entries in thresholds.yaml and qualification.yaml, with a written methodology rationale. The existing Wilson-bound decision rules apply, so a high overall accuracy cannot compensate for missing a mandatory class requirement. Choose sample sizes and thresholds for the use case; the example minimum is not a recommendation. class_precision uses the same configuration but applies only to responses predicted as that class. Validation requires population: applicable to prevent dilution by other classes.