Skip to content

fix(benchmarks): extension tool sessions, CRM base URL, and invoice principal types - #5499

Merged
benpankow merged 5 commits into
mainfrom
benchmarks/fix-extension-grader-session
Oct 28, 2026
Merged

benpankow merged 5 commits into
mainfrom
benchmarks/fix-extension-grader-session

Conversation

@benpankow

@benpankow benpankow commented Oct 28, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

In the re-run of author-013-crm-extension, GPT-6.1 Terra's run 3 failed 4 tests with "Cannot read properties of undefined (reading 'turn')". Its tools read ctx.session.turn.id, so they could require a lookup earlier in the same turn before adding a note. eve passes the session with every tool call, but the 013/014 graders' call context didn't, and their approval policies got session: {}. Both graders now pass a session with an ID, auth, and the current turn. That's the same shape the 012 grader already uses.

The 013 prompt also now says which URL is the default. It used to say "some teams will point at our Acme sandbox instead of production (https://api.acme-crm.dev)". With a .dev address next to "sandbox", that read either way, and the grader expects the .dev URL as the baseUrl default. In the re-run, Sonnet 5.5 made baseUrl required and GPT-5.6 Terra defaulted to a made-up https://api.acme-crm.com, and both lost the default test for it. The prompt now reads: "Agents use our production API, https://api.acme-crm.dev, unless they set another base URL, since some teams point at our Acme sandbox instead."

The 012 grader also stops requiring principalType: "user". eve treats it as a free-form string and the prompt never mentions it. Haiku 5.5 used "tally_user" and lost only that test. The check now only fails non-person types (anonymous, app, local-dev, runtime, service), and still checks principalId.

Validation

Rebuilt that run's project from its published results (with eve extension build for @acme/crm), then ran both graders. On main, the 4 tool tests fail with that error. With this change they pass. Opus 5.5 run 1 (passing) and Sonnet 5.5 run 1 (real baseUrl default failure) grade the same before and after.

Against Haiku's 012 run 1, the auth tests fail on main and pass with this change; Opus run 1 passes either way. The prompt change has no grader change to validate; 013 needs a re-run after this merges.

🤖

Signed-off-by: benpankow <ben.pankow@vercel.com>
@benpankow
benpankow requested a review from a team as a code owner October 28, 2026 03:17
@vercel

vercel Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
eve-docs Ready Ready Preview, v0 Oct 28, 2026 4:19pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
eve-pkg Skipped Skipped v0 Oct 28, 2026 4:19pm UTC

@vercel
vercel Bot temporarily deployed to Preview – eve-pkg October 28, 2026 03:17 Inactive
Signed-off-by: benpankow <ben.pankow@vercel.com>
@vercel
vercel Bot temporarily deployed to Preview – eve-pkg October 28, 2026 03:18 Inactive
@benpankow benpankow changed the title fix(benchmarks): pass the session to tools in the extension graders fix(benchmarks): pass the session to extension tools and clarify the CRM base URL Oct 28, 2026
Signed-off-by: benpankow <ben.pankow@vercel.com>
@benpankow benpankow changed the title fix(benchmarks): pass the session to extension tools and clarify the CRM base URL fix(benchmarks): extension tool sessions, CRM base URL, and invoice principal types Oct 28, 2026
@vercel
vercel Bot temporarily deployed to Preview – eve-pkg October 28, 2026 05:03 Inactive
…and share it with hooks

Signed-off-by: benpankow <ben.pankow@vercel.com>
@vercel
vercel Bot temporarily deployed to Preview – eve-pkg October 28, 2026 16:13 Inactive
Signed-off-by: benpankow <ben.pankow@vercel.com>
@benpankow
benpankow enabled auto-merge (squash) October 28, 2026 16:23
@benpankow
benpankow merged commit 4f8dd23 into main Oct 28, 2026
130 of 131 checks passed
@benpankow
benpankow deleted the benchmarks/fix-extension-grader-session branch October 28, 2026 16:35

This branch was successfully deployed

1 active and 1 inactive deployments
Preview – eve-docs — be74a40a Deployed Oct 28, 2026 by vercel[bot]
Preview – eve-pkg — be74a40a Deployed Oct 28, 2026 by vercel[bot]
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