# A benchmark mined from our repository agreed with FrontierCode

Stet publishes a public search API over its indexed pages; the guide is at https://www.stet.sh/agents/agent-access.

Source: https://www.stet.sh/blog/benchmark-agreed-with-frontier-code
Source observed: 2026-11-15T21:03:03.361Z
Last checked: 2026-11-19T11:08:35.85+00:00
Indexed: 2026-11-15T21:07:04.507+00:00

---

# A benchmark mined from our repository agreed with FrontierCode

**October 19, 2026 · 9 min read** · [Ben, Founder, Stet](https://www.stet.sh/about)

We built a coding-agent benchmark from our own Git history rather than relying only on public boards. Across 24 mined tasks, rankings for 10 shared model-and-effort configurations correlated with FrontierCode at **0.96 Spearman**, with **42 of 45 model pairs** in the same order. FrontierCode contains 150 private tasks requiring upwards of 40 maintainer-hours each; our tasks were mined automatically from Git history. These results describe another repository, not yours: [we run the same comparison on your codebase](https://www.stet.sh/private).

## Why benchmark a specific repository?

- **A team ships a complete harness, not a bare model.** Public boards test models in their own harnesses on someone else’s code. A real setup combines the model, harness, `AGENTS.md`, skills, reasoning effort, and repository context.
- **Relative rankings can transfer while costs do not.** Most models cost **3.5× to 5× more per task** on our repository than FrontierCode reports. On this board, GPT-6.1 Sol medium scored **65.3** versus Claude Opus 5 medium at **65.1**, while costing **$1.10** versus **$6.78** per task.
- **Different code slices need different models.** A scoped bug fix under 150 lines that Haiku 5.5 or GPT-6.1 Sol solves at Opus 5 quality should not automatically go to a $7 model.

A useful evaluation must represent everyday work rather than only the hardest puzzles, so model routing can target a quality, cost, and speed Pareto frontier.

## Qualifying tasks

A good task must discriminate: some configurations should solve it while others fail or produce noticeably worse code, with room for judgment about the patch. We turn candidate tasks into fair tests in hermetic containers at the starting commit, using the repository’s exact dependencies and toolchain.

- **Discriminating check:** PR tests fail on the starting commit and pass after the reference fix, while existing tests continue to pass.
- **Anti-cheating isolation:** reflogs, commit history, leftover build artifacts, and network calls cannot reveal the answer.
- **Prompt balance:** the prompt gives enough context for a valid solution without leaking the fix, while disclosing function or flag names imported by hidden tests.

## Running agents as a controlled experiment

Every configuration receives the same task snapshot, prompt, and isolated container sandbox. Only the model, native harness, and reasoning effort change. For each trial we capture the generated patch, token usage, dollar cost, and wall-clock time. Infrastructure failures—timeouts, dropped streams, missing binaries—must be separated from implementation failures and recovered in place rather than all being treated as a model score of zero. [Anthropic documents how infrastructure configuration can affect benchmark results.](https://www.anthropic.com/engineering/infrastructure-noise)

## Grading

We grade correctness and code quality in layers:

1. **PR tests (Fail-to-Pass and Pass-to-Pass):** hidden PR tests pass without breaking existing tests.
2. **Adapted tests:** an LLM rewrites the adapter so valid alternatives with different helper or option structures can run deterministically. The adapter is checked against both the starting code and reference fix and audited three times against weakening.
3. **Equivalence judge:** an LLM decomposes the reference fix into obligations and checks whether the patch satisfies them. This adds evidence below raw test passes; it never converts a broken build into a pass.
4. **Code-review checklist and footprint:** a 19-item checklist evaluates abstraction choice, conventions, and maintainability, alongside a footprint check for unnecessary churn.

For example, GPT-6 Sol medium fixed Cargo offline mode when Rust crates were installed at container runtime. It failed the raw PR unit test because it structured the check differently, passed the adapted test, and independently satisfied every equivalence obligation—credit that a binary SWE-bench-style harness would have scored zero.

The judges have their own measured error modes:

- Rejudging the same patch flips about **10%** of checklist items.
- Increasing judge reasoning effort flipped **4 of 18** verdicts from pass to fail.
- Mixing judge models across configurations reversed a head-to-head ranking.
- Pairwise judging used **13% more input tokens** and changed zero rankings.

### Stet compared with FrontierCode

| Stet | FrontierCode | Difference |
|---|---|---|
| PR tests: fail before, pass after | Classical hidden tests and command checks; reverse-classical agent-written tests must fail on unfixed code | FrontierCode tasks are maintainer-curated; ours come from PRs. Reverse-classical has no Stet counterpart. |
| Adapted tests: LLM rewrite checked against start and reference, audited for weakening | Adaptive classical grading patches tests or app code | Same idea reached independently; FrontierCode publishes no equivalent weakening guard. |
| Equivalence judge: obligations add evidence only | No direct counterpart; authors write valid alternatives during authoring | FrontierCode catches alternatives by hand; we catch them during grading. |
| Checklist judge | LLM reviews the diff against maintainer-written criteria | Per-task criteria versus our generic checklist. |
| Footprint: size alone is not penalized | Scope criteria, allow/deny lists, diff limits; large diffs penalized | Opposite size choice. |
| Correctness, quality, footprint; ties within judge noise | Blockers and non-blockers; failed blocker scores 0, all blockers pass scores 70–100% | Both separate whether code works from whether it is good. |

## From scores to actionable rankings

Mean score alone misses per-task head-to-head strength. SWE-2 Max ranks first overall at **66.4**, versus GPT-6.1 Sol medium at **65.3**, but wins only **10 of 24** tasks against it, with **8 ties and 6 losses**, while running about **5.8× slower**. SWE-2 cost is not published. Pairwise task records show when a cheaper model is sufficient.

## Agreement with FrontierCode and CursorBench

For 10 shared configurations:

- **Quality:** **0.96 Spearman**, 42 of 45 pairs ordered identically. Resampling across 24 tasks gives **0.78–0.98** agreement; coarse model tiers alone give about **0.87**.
- **Cost:** **0.94 Spearman**. Both boards identify the same Pareto value workhorses: GPT-6.1 Sol medium, GPT-6 Luna max, Claude Haiku 5.5 low, and GPT-6 Luna low.

| Stet rank | Configuration | Stet score | FrontierCode rank | FrontierCode score | Stet cost/task |
|---:|---|---:|---:|---:|---:|
| 1 | GPT-6.1 Sol medium | 65.3 | 2 | 60.4 | $1.10 |
| 2 | Claude Opus 5 medium | 65.1 | 1 | 63.6 | $6.78 |
| 3 | Grok 4.7 high | 63.2 | 3 | 59.4 | $5.76 |
| 4 | Claude Haiku 5.5 max | 58.6 | 4 | 58.4 | $3.85 |
| 5 | GPT-6 Sol medium | 57.6 | 5 | 57.1 | $3.01 |
| 6 | GPT-6 Luna max | 50.0 | 7 | 56.1 | $0.37 |
| 7 | DeepSeek V4.1 Flash max | 47.8 | 6 | 56.6 | $0.49 |
| 8 | Claude Haiku 5.5 low | 41.3 | 9 | 48.2 | $0.25 |
| 9 | Claude Opus 4.8 medium | 40.2 | 8 | 55.4 | $7.05 |
| 10 | GPT-6 Luna low | 21.2 | 10 | 39.1 | $0.05 |

Scores are Stet’s 24-task board from our Git history, one attempt per task in each model’s native harness. FrontierCode scores are Cognition’s published scores for the same model and effort; DeepSeek V4.1 Flash is matched across efforts (max on Stet, high on FrontierCode). Ranks include only these 10 shared configurations. The Stet board was generated **October 17, 2026**.

Including SWE-2 Max across 11 shared configurations yields **0.95** correlation, with **51 of 55** pairs matching. The top three are identical on both boards: GPT-6.1 Sol medium, Claude Opus 5 medium, and Grok 4.7 high. FrontierCode 1.1 Extended was the comparison, with its leaderboard observed **October 13, 2026**; FrontierCode 2.0 launched **October 27, 2026**. [Footnote](https://www.stet.sh/blog/benchmark-agreed-with-frontier-code#user-content-fnref-fc)

On our board, the cost/quality frontier includes GPT-6 Luna low (**21.2, $0.05**), Claude Haiku 5.5 low (**41.3, $0.25**), GPT-6 Luna max (**50.0, $0.37**), and GPT-6.1 Sol medium (**65.3, $1.10**). Claude Opus 4.8 medium is the priciest at **$7.05**. Costs are mean coding costs from recorded token usage at standard API rates; DeepSeek’s mean covers 23 tasks with recorded cost.

Only four configurations overlap with CursorBench, producing **0.20** correlation; across 58 shared configurations, FrontierCode and CursorBench agree at **0.85**.

## Conclusion

We use repository-specific evaluation to measure which model, reasoning effort, and `AGENTS.md` setup sits on the quality, cost, and speed Pareto frontier for a codebase. [Evaluate your own repository with Stet.](https://www.stet.sh/private) For questions, contact **ben@stet.sh**.

### Compare on our leaderboard

- [GPT 6.1 Sol medium vs Opus 5](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-opus-5)
- [GPT 6.1 Sol medium vs Grok 4.7 High](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-grok-4-7-high)
- [GPT 6.1 Sol medium vs Haiku 5.5 max](https://www.stet.sh/leaderboard/compare/gpt-6-1-sol-medium-vs-haiku-5-5-max)
- [Methodology](https://www.stet.sh/methodology)

---

[Read this page’s summary](https://www.stet.sh/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fblog%2Fbenchmark-agreed-with-frontier-code&trace=t_5da45423e484)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Stet’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.stet.sh/agents/agent/faq?q={question}&trace=t_5da45423e484`

[Tool guide and examples](https://www.stet.sh/agents/agent-access) · [OpenAPI](https://www.stet.sh/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.stet.sh/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.stet.sh%2Fblog%2Fbenchmark-agreed-with-frontier-code). Opening a form does not execute a tool.