Skip to content

v1.91.232.0 test(judge-calibration): cookie-workflow corpus and comparison-1 result, recorded as held (GSTA-91) - #3416

Merged
capy-ai[bot] merged 9 commits into
mainfrom
capy/gsta-91-cookie-judge-schema
Oct 26, 2026
Merged

capy-ai[bot] merged 9 commits into
mainfrom
capy/gsta-91-cookie-judge-schema

Conversation

@garrytan

@garrytan garrytan commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner
{
  "schema_version": 1,
  "pr": 3416,
  "head": "084bed27c556ff4addde9ce432c892e566b117cc",
  "version": "1.91.216.0",
  "base": "main",
  "gate": {
    "pregate.json/remote_gate": {
      "pass": 9708,
      "fail": 0,
      "skip": 0
    },
    "focused": {
      "pass": 22,
      "fail": 0,
      "skip": 0
    }
  },
  "session_kind": "unattended",
  "pregate": "requires-remote cleared @55a3202aed03 (7 checks, current for 084bed27c556)",
  "requires_remote": [
    "free-tests.yml/macos-named-regressions: https://github.com/garrytan/gstack/actions/runs/40253984444",
    "windows-free-tests.yml/windows-free-shard: https://github.com/garrytan/gstack/actions/runs/40253986393",
    "pregate.json/remote_gate: remote-gate tree=55a3202aed03 tests=9708"
  ],
  "issues": {
    "fixes": [],
    "refs": [],
    "flakes": []
  }
}

What changed

Calibration README: the cookie-workflow row and note

The cookie workflow judge now has a preregistered calibration corpus and a recorded comparison-1 result. The result is held on one new false pass (a07), so the judge stays on today's request.

This PR only records the calibration. No judge request changes.

  • test/fixtures/judge-calibration/cookie-workflow/: 24 items.
    • p01 is the production bundle from buildCookieWorkflowJudgeInput. a02 and a05 are real earlier revisions. The rest are hand-edited variants rendered by the same builder.
    • Labels were preregistered and committed (0e275a5) before any request with the schema was sent.
    • A separate run (openai/gpt-6.1-sol) then labeled every item blind. A third reviewer (google/gemini-4-argon) adjudicated the two disagreements: a01 kept pass, a08 changed to fail.
  • runs/: every sample and the result. manifest.json: the pricing entry, written before dispatch as a separately funded line.
  • scripts/judge-calibration-configs.ts: the cookie-workflow config. It builds prompts with buildWorkflowJudgePrompt(COOKIE_WORKFLOW_JUDGE, …) on claude-sonnet-5-5, with median floors of 4/3/4. The new request differs from the old one only by WORKFLOW_JUDGE_RESPONSE_SCHEMA.
  • test/judge-calibration.test.ts: covers the new config and its pass rule. The cookie registration must send the schema exactly when the recorded cookie calibration lands. It doesn't land, so the registration is unchanged and 15 workflow registrations use the schema.

Why

In train-4 gate 40173759210 the cookie judge's free-text reply contained an unescaped quote, which broke the JSON parse. Structured output is the repo's fix for that shape, and a configuration may switch only after its calibration lands. The cookie configuration had no corpus until now.

Calibration (comparison 1, 2026-10-25)

216/216 calls, $2.81.

Old request New (structured output)
Flips (old-vs-old / new-vs-old) 1/22 1/23
Agreement with labels (of 24) 22 23
False passes old-a: a08; old-b: a07 a07
Parse errors 2/144 (a05, a07) 0/72
p95 latency 13.6 s 9.6 s
Held-out (flips, agreement) 1/7, 7/8

Decision: held. The only landing condition that fails is "zero new false passes", and it fails on a07.

  • a07 is a threshold-adjacent item labeled fail: no target page is chosen, yet verification and reset are scoped to the target.
  • The new request scored it 4/4/4 on all three samples. The old request did exactly the same on all three old-b samples.
  • old-a's a07 panel is incomplete, because one old sample returned invalid JSON. That's the defect the schema transport removes.
  • Because false passes are counted against old-a alone, the result counts against the new request only.

The rule is unchanged and so is this verdict. No gate exception is proposed.

Approvals

Date Ask Words Covers Pending
2026-10-25 Calibrate the cookie judge for structured output (README procedure, corpus, blind review, comparison-1) GStack Minder: "Cookie judge to structured output: approved. Follow test/fixtures/judge-calibration/README.md in full … If calibration shows the structured request disagrees with the current one, report the numbers and stop." The calibration run none
2026-10-25 Record-only PR for the held result GStack Minder: "(a), record-only PR, approved at full scope: commit the corpus, the config and the held result. The cookie judge stays on its current request." This PR none

Evidence

  • test/judge-calibration.test.ts: 20 pass, 0 fail.
  • The free-fixtures, cookie-workflow-judge-input, bun-entry-isolation, module-size-ratchet and spawnsync tripwire tests pass. cookie-workflow-judge-input needed the generated codex host docs on this machine, a launch prerequisite. typecheck is clean and typecheck:test reports none new.
  • eval:select selects no paid cases. The remote pregate result goes in a comment.

Open in Capy

garrytan and others added 4 commits October 25, 2026 16:58
…second review and adjudication; calibration config (GSTA-91)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
… dispatch (GSTA-91)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…(held: one new false pass) (GSTA-91)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@trunk-io

trunk-io Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

😎 This pull request was merged.

@capy-ai

capy-ai Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Remote free-tier pregate at 77d0f4d: 9,123 tests, 0 failed, $0.04. Selection has no paid cases (eval:select: behavioral probes none, quality judges none), so this will go READY --no-screen.

garrytan and others added 5 commits October 26, 2026 00:50
/ship Step 9 Fix-First on the cookie-workflow calibration record:
- README: scope the "no sample errored" sentence to the 2026-10-03 configurations,
  move the W2 pilot and W2 spend sentences back to the W2 paragraph, record the
  cookie UC3 prose-step trigger and that its hand-written manifest entry must
  survive manifest regeneration.
- TODOS: the cookie configuration now has a corpus and a held comparison-1; add
  its triggered prose step to the deferred prose-step entry.
- test: pin the cookie pass rule's actionability floor and validate() rejection,
  and guard that the cookie registration sends only COOKIE_WORKFLOW_JUDGE's keys
  so the calibrated request stays the request production sends.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
/ship Step 9 Fix-First, second pass:
- README: the blind-review sentence and results heading now fit the cookie corpus
  (labels predate any request with the schema; the row carries its own date and
  model), and the cookie paragraph records that both valid old-a a07 samples
  also scored 4/4/4.
- CHANGELOG: same a07 fact.
- TODOS: today's cookie request false-passes a07 and a08; the deferred prose step
  targets those.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…rded result (GSTA-91)

/ship Step 7 coverage audit:
- the cookie-workflow calibration builds exactly the prompt the cookie eval sends
  for the same bundle;
- analyze() reproduces the committed comparison-1 result from its labels,
  samples, stop record and request options (request_hash covers model and
  options only, so prompt text and bundle bytes are not pinned).

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
…232.0 (train slot 2)

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@github-actions github-actions Bot changed the title test(judge-calibration): cookie-workflow corpus and comparison-1 result, recorded as held (GSTA-91) v1.91.232.0 test(judge-calibration): cookie-workflow corpus and comparison-1 result, recorded as held (GSTA-91) Oct 26, 2026
@capy-ai
capy-ai Bot merged commit 0c6398f into main Oct 26, 2026
62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant