Skip to content

Simplify and rank benchmarks - #9

Merged
merefield merged 4 commits into
mainfrom
agent/benchmark-ranking
Aug 12, 2026
Merged

merefield merged 4 commits into
mainfrom
agent/benchmark-ranking

Conversation

@merefield

@merefield merefield commented Aug 12, 2026 •

Copy link
Copy Markdown
Owner

What changed

  • replace the Core/Extended split with one unified seven-challenge benchmark catalog
  • remove the suite toggle, u hotkey, suite state, suite metadata, and difficulty suffixes from terminal task names
  • rename the destructive full-catalog action to Run All and retain its exact turn count plus two-step confirmation
  • anchor the previous/next selector buttons around a responsive cell sized for the longest challenge name, keeping render and click coordinates stable as selection changes
  • add a sortable overall RANK column for each model/reasoning-effort combination
  • add responsive, clickable Cost/Balanced/Speed weighting controls plus a w cycling hotkey; changing them recomputes existing ranks immediately
  • compute ranking once per render and reuse it for display and Rank sorting; column sizing derives its maximum label from the distinct model/effort combinations without ranking the results
  • move Easy/Moderate/Hard guidance into one README challenge table and document the ranking algorithm and measurement caveats
  • bump the maintained minor version from 0.4.0 to 0.5.0

Ranking

Ranking aggregates every completed result row for a model/reasoning-effort combination. More passes dominate, followed by fewer failures. Within each identical pass/failure tier, Codexometer independently ranks total API-equivalent cost and total wall time, then combines the two ordinal ranks at 75/25 for Cost mode, 50/50 for Balanced, or 25/75 for Speed. This tier isolation prevents a failing combination from changing the efficiency trade-off between fully correct peers. Token usage remains visible but no longer affects rank. Missing or invalid cost receives the last cost-axis rank in its correctness tier rather than appearing artificially cheap; exact weighted-score ties share a rank, and ranks are provisional while results are still arriving.

The README now specifies the grouping key, aggregation and validation rules, competition ranking, exact formulas (3C + T, C + T, and C + 3T), final correctness-first comparison, missing-cost consequences, token independence, and provisional in-progress behavior.

Why

The suite split consumed control space and added selection state without changing how an individual challenge was evaluated. A single catalog makes challenge navigation and full runs easier to understand. Compact terminal names reclaim room for ranking, while difficulty remains available where its meaning can be properly explained.

The anchored selector prevents the arrow controls and their mouse hit targets from shifting when task-name lengths differ.

Validation

  • go test ./...
  • go test -race -cover ./...
  • go vet ./...
  • rebuilt the local binary and Darwin, Linux, and Windows distributions for amd64 and arm64
  • regression coverage for unified ordering/names, exact Run All turn/task selection, stable selector coordinates and hit testing, correctness precedence and tier isolation, independent cost/time ranks, all three weighting modes, token independence, displayed-order hotkey cycling, immediate mouse/hotkey recomputation, responsive click surfaces, rank sorting, incomplete measurements, and exact ties
  • regression coverage that Rank sorting reuses the supplied, mode-specific ranking map
  • confirmed the rebuilt local binary reports codexometer v0.5.0

@merefield
merefield marked this pull request as ready for review August 12, 2026 12:33
@merefield
merefield requested a lite review from Copilot August 12, 2026 12:33

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.

Pull request overview

This PR streamlines Codexometer’s benchmark UX by unifying the benchmark catalog (removing the Core/Extended suite split) and adding an overall per-model/per-effort ranking system with adjustable cost/time weighting, alongside associated documentation and a minor version bump.

Changes:

  • Consolidates benchmarks into a single 7-challenge catalog and removes suite state/toggle, renaming the destructive full-catalog action to Run All.
  • Adds an overall RANK column plus rank-weight controls (Cost/Balanced/Speed) with a w hotkey, and makes rank sortable in the result matrix.
  • Updates README benchmark docs (difficulty table + ranking algorithm details) and bumps the maintained version to 0.5.0.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates keybindings, unified benchmark catalog docs, difficulty table, and ranking algorithm documentation; bumps documented version to v0.5.0.
main_test.go Updates --version output expectation to v0.5.0.
internal/version/version.go Bumps maintained fallback version to 0.5.0.
internal/version/version_test.go Updates fallback version test to 0.5.0.
internal/ui/model.go Removes suite state/hotkey, adds rank mode state and w cycling hotkey, and wires rank buttons into footer actions.
internal/ui/benchmark.go Removes suite selector UI, anchors selector width to longest task name, adds rank column + ranking computation + rank sorting + rank-weight controls.
internal/ui/benchmark_test.go Updates benchmark UI tests for unified catalog/run-all behavior, anchored selector, and new ranking/rank-weight behavior.
internal/codex/benchmark.go Renames extended step-limit constant to hard step-limit naming.
internal/codex/benchmark_tasks.go Removes suite metadata from tasks; compacts task names; unifies catalog; renames step-budget renew helper.
internal/codex/benchmark_extended_tasks.go Updates hard-task verifiers to use the renamed hard step-budget renew helper.
internal/codex/benchmark_extended_tasks_test.go Renames “Extended” verifier tests to “Hard” and updates catalog/name expectations.
Suppressed comments (1)

internal/ui/benchmark.go:563

  • sortedBenchmarkResults always computes benchmarkRankings(results) even when a precomputed rankings map is supplied and/or when the active sort column doesn’t use rank. This adds avoidable O(n log n) work to every render/sort and is especially noticeable as the result matrix grows.
	rankings := benchmarkRankings(results)
	if len(suppliedRankings) > 0 {
		rankings = suppliedRankings[0]
	}

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread internal/ui/benchmark.go Resolved
@merefield
merefield merged commit 726176b into main Aug 12, 2026
6 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.

2 participants