Repository navigation
feat(calibrate): --timeout, and the first live run of the local backend (0.2.21) - #154
Merged
Merged
Conversation
…nd (0.2.21) #139: the resident Qwen3.6-27B (Q4_K_M, llama-server) through the logit path of ADR-005, against a live Jev run on the same 112 fixtures and policy. Both arms' answers are committed beside the write-up. It does not pass. Accuracy 83.8% against 94.4%, mean Brier 0.052 worse against a limit of 0.050, AUC 0.966 against 0.986, no false allows, and 54 of 60 safe fixtures prompted on against Jev's 9. 15.7 s a fixture. The first attempt was lost to the 30 s per-fixture budget in score(), so calibrate takes --timeout <ms>. The default is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The measurement #139 asked for, and the one code change the run needed.
The run
The resident Qwen3.6-27B (
Q4_K_M, llama.cppllama-server, one slot, M4 Pro) read through ADR-005's logit path, against a livejev-1.13.0run on the same 112 fixtures and the same policy (questions 4966-c2ecb464). It is the first live run ofbackend: localagainst a general open-weights model. Write-up:docs/calibration/2026-10-12-qwen36-27b-1.md. Both arms' answers are committed, socalibrate --from a.jsonl,b.jsonlreproduces every number with no key and no model.It does not pass.
unreviewed_executionmisses the bar (16 of 19 at confidence 0.80 or above).The arms were answered 37 minutes apart, not in the same minute, and the write-up says so.
The code change
score()allowed 30 s a fixture, in code, and a timeout ends the run with nothing written. The first attempt was lost that way.calibrate --timeout <ms>sets it; the default is unchanged. Version 0.2.21 with a changelog entry.Not fixed here, filed as #152: one slow fixture still loses the whole run, and the preflight does not wait for a server that has unloaded its model.
Checks
1709 tests pass, including the flag's parsing.
gitleaksoverdocs/calibrationfinds nothing, and neither answers file holds a local path. No hook code changed.HANDOFF.mdupdated.Refs #139, #111.
🤖 Generated with Claude Code