Repository navigation
Add Extended benchmark suite - #7
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds an Extended benchmark suite alongside the existing Core suite, expanding Codexometer’s deterministic benchmark catalog while keeping the default run cost unchanged. This includes new “Hard” challenges with Go oracles and updates the TUI to switch/run suites explicitly, plus a source version bump to v0.3.0.
Changes:
- Introduces Core vs Extended suite separation, with suite-scoped task catalogs and per-suite step budgets (250K vs 2M steps per case).
- Updates the TUI benchmark controls to toggle suites (
u) and change Run All → Run Suite semantics (runs only the active suite). - Adds three new “Hard” benchmark verifiers/oracles and updates docs/tests + versioning to
v0.3.0.
Reviewed changes
Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents suite toggle, updated benchmark controls/terminology, difficulty labels, and per-suite budgets; bumps documented version to v0.3.0. |
| main_test.go | Updates expected --version output to v0.3.0. |
| internal/version/version.go | Bumps maintained fallback version to 0.3.0. |
| internal/version/version_test.go | Updates version fallback test expectation to 0.3.0. |
| internal/ui/model.go | Adds benchmark suite state, hotkey handling (u), and suite-aware task selection/run behavior. |
| internal/ui/benchmark.go | Adds suite selector control, ensures narrow-width rendering stays within allocations, updates UI text to “Run Suite”, and displays suite-specific step budget. |
| internal/ui/benchmark_test.go | Adds coverage for suite toggle behavior, narrow-width control rendering, and “Run Suite” launching only active-suite tasks. |
| internal/codex/benchmark.go | Introduces extended per-case step limit constant and renews step budget per case for Merge Ranges verifier. |
| internal/codex/benchmark_test.go | Updates catalog expectations for the expanded 7-task benchmark list. |
| internal/codex/benchmark_tasks.go | Adds suite/task IDs, tags tasks with suite + difficulty suffixes, provides BenchmarkTasksForSuite, and renews step budget per case for Core verifiers. |
| internal/codex/benchmark_extended_tasks.go | Implements Extended challenge verifiers + deterministic generators + Go reference oracles, with per-case 2M step budget renewal. |
| internal/codex/benchmark_extended_tasks_test.go | Adds acceptance/rejection/mutation tests for Extended verifiers and validates suite partitioning + labels + oracle outputs. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a separate Extended benchmark suite designed to create more separation between models and reasoning efforts without making the default Core run more expensive.
New hard challenges
Each challenge has an independent Go oracle, hand-written edge cases, reproducibly generated hidden cases, strict result-shape validation, and input-mutation detection.
Suite and interface behavior
uhotkeyaexecutes only the active suite(EASY),(MODERATE), or(HARD)on every task label and resultDocumentation and version
v0.3.0Why
The original challenges primarily exercise familiar single algorithms, so capable models can cluster around the same result. The Extended suite combines optimisation, constraint solving, and detailed state-machine rules to reward deeper planning and specification tracking.
Keeping it separate is intentional: users can still run the quicker four-task Core suite, while opting into the three more expensive reasoning challenges when they want greater result spread.
Safety and determinism
Validation
go vet ./...go test -race -cover ./...internal/codex: 85.4%internal/ui: 91.8%internal/version: 81.0%codexometer v0.3.0