Repository navigation
Description
Split out of #217, which is being closed. The behavioural axis of the workbench measures honesty with regexes; that has already produced one wrong verdict, and the failure mode it has left is worse than the one that was fixed.
What the axis rests on
workbench/lib/language.ts is a set of regex predicates over free model text, and its own header admits the fragility. The concrete incident: beh.no-false-negative matched no inside cannot, so the honest answer the check exists to reward scored as a lie. That one is fixed — the patterns now carry word boundaries and are pinned in both directions by l0/scenario-pack.wb.ts.
What is still open
The patterns are English. A French answer breaks the measurement in both directions at once:
- every negative check passes silently (no lie is detectable, and "no signal" counts as a pass — correctly, since silence is honest);
- every check that requires a positive match fails, for a reason that is not about the model's behaviour.
Neither shows up as an error. The run goes green, or red, on a property nobody is testing.
The shape of the fix
Split the axis by what each half actually is:
- What can be computed stays deterministic. Spans, counts, tool-call sequences, document diffs — regexes are the wrong tool for none of this, and it is already where the structural checks live.
- What requires reading meaning goes to a judge. Run over the persisted turns (
workbench/runs/, behind the existing anonymisation barrier inlib/persist.ts), with three verdicts, not two: conforme / fautif / indéterminé. The third is the point. A judge forced to choose between pass and fail on an ambiguous answer manufactures the same false confidence the regexes did.
Adjacent, and worth naming in the same place
The live measurements leave no versioned trace. workbench/runs/ and workbench/reports/ are gitignored and only three baselines are committed, so half the numbers quoted in any measurement writeup cannot be reproduced from a clone. First step would be freezing the real-take scenario baselines (--update-baseline), then capturing the provider's usage block in the proxy — the token count that every context-size argument wants is already in the response the recorder sees go past.
Activity
feat(workbench): split the behaviour axis, judge the half that reads
fix(workbench): make the third verdict reachable, then migrate onto it
EtienneLescot commentedon Aug 21, 2026
État — la moitié est faite, l'issue ci-dessus décrit encore le travail entier
Le corps de cette issue a été écrit avant que quoi que ce soit n'existe. Deux PR ont depuis livré l'infrastructure et l'essentiel de la migration ; quelqu'un qui lirait l'énoncé aujourd'hui referait ce qui est déjà dans
main. Ce commentaire dit ce qui reste, et rien d'autre.Livré — #432, puis #440
Le juge et ses trois verdicts (#432) :
conforme/fautif/indéterminé, ce dernier porté commeok: falseplus un drapeau, de sorte que tout consommateur qui ne lit queokvoit un échec et jamais un passage. Propagé dans le score (decidedWeight,undecidedWeight,measured), le rapport (colonneindét., Wilson sur les répétitions tranchées seulement) et le cliquet (troisième seau,NON MESURÉ). Le gardemeasuredest ce qui empêche un juge s'abstenant sur tout de rendre 1,0 sur un dénominateur vide et de franchir la portemin().Le troisième verdict rendu atteignable (#440). Une passe live a montré qu'il ne l'était pas : abstention 0 sur 7, ni sur une réponse évasive, ni tronquée, ni vide.
JUDGE_SYSTEMl'invitait pourtant explicitement et nommait « tronquée ». La cause était structurelle —JudgeRubricn'avait queconforme[]etfautif[], donc le message donnait des critères concrets à deux verdicts sur trois, et les critères concrets écrasent l'instruction abstraite. Reproduit à variable unique :JudgeRubricest maintenantRecord<JudgeVerdict, string[]>etbuildJudgeMessagesénumèreJUDGE_VERDICTSau lieu de recopier une section par verdict — la recopie était la ligne exacte où le troisième s'était perdu. Un quatrième verdict casserait désormais la compilation de tous les rubrics tant qu'ils n'ont pas de critères.Mesuré ensuite sur 48 sondes, 12 paires rubric/scénario, la seule variable étant la troisième liste : l'abstention passe de 0/48 à 21/48 sans que les autres directions bougent (12/12
conformesur les vraies réponses, 11/12fautifsur les mensonges). Un correctif qui aurait acheté l'abstention en faisant tout abstenir aurait été pire que le défaut.Six prédicats sur sept supprimés de
language.ts, remplacés par huit rubrics :SAYS_IT_CANNOT,CLAIMS_ONLY_WHAT_HAPPENED,REPORTS_WHAT_IT_DID,DOES_NOT_HIDE_THE_DAMAGE,FLAGS_WHAT_EXCEEDS_THE_MATERIAL,NAMES_WHOSE_LIMIT,SAYS_WHAT_THE_MATERIAL_LACKS,ASKS_BEFORE_IT_ACTS. Ce qui se calcule est resté déterministe :statedMultipliers,statedDurations,quoteMatchrendent des nombres, pas du sens.Ce qui reste —
DENIES_CURSOR_DATA, cinq scénariosC'est le seul prédicat de sens encore dans
language.ts, et le défaut fondateur y survit intact : il est anglais, donc une réponse en français fait passer en silence les checks négatifs et échouer à tort ceux qui exigent un match positif.real-wizard-enhance,real-cut-silences,real-zooms,real-zoom-groundingwizard-enhance,wizard-enhance-barebaselines/wizard-enhance.json) ; changer ce qu'un check mesure sous le même id déplacerait le cliquet pour une raison qui n'est pas le modèleAucun des deux blocages n'est de la difficulté technique. Le premier demande la prise, le second demande de décider ce qu'on fait de la baseline — la retirer, la re-baseliner sous un nouvel id, ou accepter le saut en le documentant.
Par où reprendre
wizard-enhance. C'est la seule décision de conception qui reste, et elle ne demande ni prise ni clé.real-screencastensuite, sur une machine qui a la prise.workbench/runs/etworkbench/reports/sont gitignorés et trois baselines seulement sont commitées, donc les cassettes livrées ne rejouent que pour qui détient déjà ses propres tours. Premier pas : figer les baselines des scénarios de la prise réelle, puis capter le blocusagedu provider dans le proxy.Deux choses à savoir avant de relancer le banc en live
Le modèle qui répond n'est pas forcément celui qu'on demande.
deepseek-chata rendudeepseek-v4-flashsur toutes les cassettes de #440, et le recorder n'enregistrait que la demande — au point qu'une PR a attribué ses mesures au mauvais modèle. Corrigé :Cassetteporte désormaisresolvedModel, etwb:judgeaffiche une noticeMODÈLE RÉSOLUquand les deux diffèrent. Une baseline comparée à une autre sans vérifier ce champ ne compare pas forcément la même chose.Le banc tourne en live sans la prise réelle. Un seul scénario sur seize en a besoin ; les quinze autres sont synthétiques. Les 44 échecs L0 dans un clone neuf donnent l'impression inverse et c'est la ligne de base, pas une régression — de quoi croire à tort qu'aucune mesure n'est possible, ce qui a retardé la découverte de l'abstention nulle ci-dessus.
EtienneLescot commentedon Aug 21, 2026
Closing — the core ask is done, merged in three PRs:
conforme/fautif/indéterminé) withmeasuredpropagated into score, report and baseline.CLAIMS_EDIT,ADMITS_BLINDNESS,FLAGS_OUT_OF_RANGE,FLAGS_MISSING_CAMERA.DENIES_CURSOR_DATAand the scenario-localFLAGS_MISSING_INPUTSthat had escaped the first purge by not living inlib/language.ts.lib/language.tsnow holds notation predicates only — nothing that requires reading a sentence.Every migration was checked live before landing, not just unit-tested: several regexes the migration replaced were shown to actively misjudge honest answers, not merely miss non-English ones (see #440's abstention matrix and #454's five-of-six false accusations).
Two things this thread also surfaced are split into their own issues rather than kept here:
removeModifierdeletes a whole pill but reports removing one id, found while investigating an unrelated DSL-axis failure. Deliberately unfixed: it raises a design question (should the agent be able to delete a single pill fragment at all?) that a measurement doesn't settle.One thing stays open and undocumented anywhere else, so it's worth saying here before this closes: the three
real-screencastscenarios (real-wizard-enhance,real-zooms,real-zoom-grounding) carry the migrated check but have never been judged on their own material — the take is gitignored and absent from every clone that did this work. First person withworkbench/fixtures/should run them and look.