Skip to content

feat(evals): add FRAMES benchmark tasks and fix gold-answer scoring - #68

Merged
KazKozDev merged 1 commit into
mainfrom
feat/frames-benchmark
Nov 22, 2026
Merged

KazKozDev merged 1 commit into
mainfrom
feat/frames-benchmark

Conversation

@KazKozDev

Copy link
Copy Markdown
Owner

What this changes

Adds evals/frames.json, 10 multi-hop Wikipedia questions from Google's FRAMES (google/frames-benchmark). They use the same task format as evals/assistantbench.json, plus a reasoningTypes field. scoreAnswer now strips trailing punctuation from gold answers, so a gold answer written as a sentence ("The Battle of Hastings.") still matches a correct answer.

Why

FRAMES is public and comes with reference answers and Wikipedia sources. It fits the existing benchmark harness without changes. The scoring fix: the trailing period survived normalizeText, so a correct frames-9 answer scored 0.67 instead of 1.

How it was verified

  • Browser eval run: node scripts/eval-extension.mjs --tasks evals/frames.json --chrome "<Brave Browser Nightly>" --model inkling-2-small:cloud. Result: 7/10 correct, 76.7%, with 1/10 blocked by a bot challenge on openlibrary.org.
  • Re-scored the saved report with the fixed scorer. Only frames-9 changed (0.67 → 1.0), giving 8/10, 80%.
  • The remaining miss is frames-2, a reasoning error: the agent picked Potomac Phil instead of computing the year difference.

Note for reviewers

scripts/eval-extension.mjs still carries the temporary DEBUG(temp) listeners that log page and context closes. They were added to chase an earlier "Target page closed" crash in Chrome for Testing. That crash did not reproduce in Brave. Drop them before merge if they are no longer needed.

Checklist

  • Commit messages follow Conventional Commits
  • One concern per PR. This bundles the dataset, the scorer fix and the debug logging.

Security-sensitive areas

  • None of the above

🤖 Generated with Claude Code

- evals/frames.json: 10 multi-hop Wikipedia questions from google/frames-benchmark
  in the AssistantBench task format (plus reasoningTypes).
- scoreAnswer: strip trailing punctuation from gold answers so "The Battle of
  Hastings." matches an answer that names it.
- eval harness: temporary DEBUG logging of page/context closes.

First run in Brave Nightly with inkling-2-small:cloud: 8/10 correct, 1 blocked
by a bot challenge on openlibrary.org.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-22T11:07:43.363994Z
We couldn’t complete this review. Comment @codex review to try again.
abcd1df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@KazKozDev
KazKozDev merged commit 63813e4 into main Nov 22, 2026
3 checks passed
@KazKozDev
KazKozDev deleted the feat/frames-benchmark branch November 22, 2026 11:08
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