InvarLock 0.17.0: Plan the Comparison, Explain the Result
Check judge-evaluation precision before collection, explore exact-match sensitivity, and rehearse reassessment while preserving earlier evidence.
A useful comparison starts with an answerable question and ends with a result someone can explain.
Before collecting more evaluation results, a team needs to know whether its plan can answer the review question. After the comparison, it needs to explain a borderline result and preserve what was originally assessed if new evidence arrives.
InvarLock 0.17 adds a precision planner, a sensitivity helper and worked reassessment examples for those stages, alongside the existing evaluation, verification and reporting workflow.
At a glance — v0.17 release snapshot
- Judge preflight checks whether a planned evaluation can meet its precision requirement before collection.
- Exact-match sensitivity explores how many hypothetical answer changes could alter a verdict.
- Reassessment and correction examples keep the earlier evidence and its verification receipt intact.
- Score-contribution guidance and clearer diagnostics help explain results and delivery problems.
- The same
evaluate→verify→reportworkflow carries the comparison through review.
Check precision before collecting judge ratings
Suppose a team wants the uncertainty interval around a judge-scored comparison to be no wider than 0.32. How many independent cases should it plan? Tightening that requirement to 0.18 changes the answer considerably.
With ratings from 0 to 1, alpha 0.05 and a comparison-family size of four, the released planner requires 397 independent units to guarantee the first width and 1,254 for the second. In this example, each case is its own independent unit. These are planning calculations, not measured judge performance.
Plan the number of independent cases
- Width at most 0.32: 397 units
- The smallest unit count that guarantees this paired-effect interval width under the example settings.
- Width at most 0.18: 1,254 units
- The stricter width requirement needs more independent units. Here each case is its own unit.
v0.17 planning calculation: ratings 0–1, alpha 0.05, comparison-family size four. Assumes complete independent units. Repeated ratings within a unit do not add units; this does not predict a pass or judge accuracy.
Run preflight on the prepared judge request before collecting ratings:
invarlock evaluate judge-request.yaml --preflight --json
The forecast distinguishes three answers:
| Planning result | What it tells the team |
|---|---|
within_limit | Every possible score outcome meets the declared width requirement. |
unattainable | No score outcome can meet that requirement with the planned units. |
not_guaranteed | The forecast cannot guarantee the width; this can also occur at a rounding boundary. |
The separate minimum-unit requirement still applies. Meeting the width requirement does not predict a passing comparison or establish judge accuracy. Preflight makes no provider calls; the judge preflight reference explains the inputs and limits.
See how four hypothetical answer changes affect a verdict
Two models can have the same accuracy while differing on individual cases. The released sensitivity example uses 100 synthetic pairs: both sides score 75%, with three baseline-only successes and three candidate-only successes. Its paired 95% interval is −5.41 to +5.41 percentage points, which clears a −10 pp lower-bound requirement.
The Python helper asks how many candidate outcomes would have to flip to change that verdict while keeping the baseline, policy and record count fixed. It rules out one, two and three changes, then finds a four-change example. Turning four shared successes into candidate failures lowers candidate accuracy to 71%. The interval's lower bound moves to −10.59 pp, below the same requirement.
Four hypothetical flips cross the same policy boundary
- Original: 75% correct, policy pass
- Candidate and baseline both score 75% on 100 synthetic pairs. Paired 95% interval: −5.41 to +5.41 pp; the lower bound clears −10 pp.
- After four flips: 71%, would fail
- Four shared successes become candidate failures. Interval: −10.59 to +2.52 pp; the lower bound misses the same requirement.
- Exact minimum: four changes
- The helper rules out one, two and three changes under the fixed baseline, policy and record count.
Actual v0.17 documentation-example output using synthetic outcomes. Hypothetical edits do not modify the original evidence or official verdict and do not estimate rerun risk.
This gives a reviewer a concrete explanation of the boundary. It is not a probability that a future rerun will fail. The decision semantics guide contains the small Python example and its supported native exact-match scope.
The search is bounded. If it stops before finding and establishing a minimum, it reports a lower bound rather than claiming an exact answer. It can also establish that no flip is possible under the fixed edit model. A separate score-contribution recipe helps inspect additive score changes while preserving the declared unit weights.
Preserve the earlier assessment when evidence changes
New observations and a correction to old observations need different explanations. The hosted-service guide includes offline examples of both:
| Situation | What the example preserves | What the reviewer learns |
|---|---|---|
| Later observations regress | Assessment A and its receipt stay unchanged; B has its own evidence and receipt. | The later window fails the same policy. That does not erase A's historical pass or explain what caused the change. |
| An earlier import mapped answers incorrectly | The original assessment, source export, correction record and verified replacement remain available. | The earlier pass relied on a mapping error. The two dependent decisions in the supplied example graph need review. |
Scroll horizontally to see every column.
Both examples use 32 synthetic cases and make no service calls. They rehearse the handoff and review history; they are not a fresh service-quality study. Preserving an erroneous assessment does not justify continued reliance on it, and the example does not automatically revoke approvals or discover unknown consumers.
See the report a reviewer receives
The report explains the recorded policy result, puts baseline and candidate scores beside the uncertainty interval, and shows the requirements that determined the verdict. The excerpt below uses the v0.17.0 renderer on the same retained Ministral 3 8B quantization comparison shown in the v0.16 announcement.
Read the result in the v0.17 report
- 179 → 181 matched answers
- Ministral 3 8B baseline and quantized candidate: 44.75% → 45.25% accuracy on 400 paired cases, a +0.5 pp change.
- Paired 95% interval: −1.12 to +2.119 pp
- The report explains how to read the interval and the −2 pp lower-bound requirement. The interval includes zero, so it does not demonstrate improvement.
- All five requirements pass
- The lower bound, record count, interval width and both accuracy floors meet the recorded policy.
Actual v0.17.0 report rendering of the original saved comparison, with no model rerun. These display improvements arrived during v0.16.x. Rendering does not provide independent recipient acceptance or deployment approval.

Compared with that original v0.16.0 view, the report adds matched-answer counts, a clearer explanation of the policy outcome, and guidance for reading the interval and its calculation. It also keeps a consistent light appearance. These display improvements arrived during v0.16.x and remain in v0.17. The new sensitivity helper and score-contribution recipe produce separate analyses; they are not panels in this report.
Upgrade and check your workflow
Install the release with Python 3.12 or newer:
python -m pip install "invarlock==0.17.0"
Later patch releases: v0.17.1–v0.17.3 raised dependency security floors, corrected answer-availability handling in captured comparisons, and added client review packages. v0.17.4 adds strict Ed25519 signature checks, higher-precision target-loss calculation, a final file-inventory check before publication, and enhanced client review handoffs. The command above preserves the v0.17.0 setup. For new work, follow the maintained runtime setup guide.
Use the matching CPU quickstart to verify retained evidence and produce a report without running a model. Optional dependencies use the same distribution's diagnostics, vision-text and judge extras.
The release also improves failure explanations and optional numerical diagnostics. Diagnostics now cap the intermediate covariance allocation at 128 MiB by default; this is not a total process-memory limit. Wide inputs can use the smaller-Gram method. Diagnostics remain advisory and do not determine the policy verdict. The release record includes dependency and security updates.
What this release still leaves to review
Use preflight to check whether the planned evidence can answer the question, sensitivity to explain a fixed result, and reassessment when observations change. The assumptions belong to each method: complete independent units for planning, a fixed edit model for sensitivity, and an explicit history for corrections. Review judge accuracy and workload relevance separately when they matter to the decision.
Sources
Website documentation explains the maintained workflow. This article describes v0.17.0; the tagged records preserve its release scope. The report excerpt uses the v0.17.0 renderer with the original saved Ministral comparison; it is not a new evaluation. The installation note points separately to later patch releases.
- Judge measurements and precision planning
- Decision semantics and exact-match sensitivity
- Score-contribution recipe
- Hosted-service reassessment
- Diagnostics
- Reports and independent verification
- Getting started
- Ministral comparison report (unchanged since v0.15.0)
- Tagged v0.17.0 report renderer
- InvarLock v0.17.0 release record
- InvarLock v0.17.1 release record
- InvarLock v0.17.3 release record
- Tagged v0.17.0 changelog
- Tagged precision-planning reference
- Tagged exact-match sensitivity example
- Tagged reassessment and correction example
More in Release
Explore nearby related posts.
Release note
InvarLock 0.16.0: Native, Captured and Judge Evidence
Compare saved evaluator answers through the main commands, collect judge ratings under a declared rubric, and read the result beside the checks that explain it.
Release note
InvarLock 0.15.0: Replayable Deployment Evidence and Bounded Decisions
InvarLock 0.15 adds replayable deployment evidence, an absolute accuracy floor, four retained evaluator journeys, and a protected consumer example.
Release note
InvarLock 0.14.0: Evaluator Evidence In, Recipient Policy Out
v0.14 normalizes external evaluator records, then hands a signed technical receipt to recipient-owned trust and acceptance rules.