Skip to content

fix: answer serial approval rounds in the eval harness - #45

Merged
elbay-malik merged 3 commits into
mainfrom
fix/serial-approvals
Nov 12, 2026
Merged

elbay-malik merged 3 commits into
mainfrom
fix/serial-approvals

Conversation

@elbay-malik

Copy link
Copy Markdown
Owner

The live S-B eval stopped after two approvals because of the harness, not the model.

  • Harness: gpt-oss-120b asks for one write per round. When the harness resumed a later round, it rebuilt the assistant message from that round alone, so it resent the earlier approval as answered but not run. The server's single-use ledger refused that as a replay, and the turn failed with a missing tool result. The harness now keeps one assistant message per step and updates it every round, like the SPA's chat state.
  • Test: harness.test.ts runs a scripted model that asks one write per round. It fails on the old harness with [1, 1, 0] approvals and passes with five rounds.
  • S-B live check: keys are compared as a set for a live model, which asks in its own order. The mock keeps the exact order.
  • ADR-0021: a correction note. With the fix, a live S-B run completed correctly but took 10 model calls and 32,997 tokens, over the 25,000 per-client daily budget. Groq's docs mark gpt-oss-120b as not supporting parallel tool use, and parallelToolCalls: true or a stronger prompt didn't change it, so neither is included.

Copilot AI lite review requested due to automatic review settings November 9, 2026 16:22

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Preview of this PR's SPA (against the production api): https://pr-45-devsprint-web.eleo-666.workers.dev

@elbay-malik
elbay-malik merged commit 1a1328b into main Nov 12, 2026
5 checks passed
@elbay-malik
elbay-malik deleted the fix/serial-approvals branch November 12, 2026 05:45

This branch was successfully deployed

1 active deployment
preview — c5ed7a77 Deployed Nov 9, 2026 by elbay-malik via preview #126
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.

2 participants