By Mahan Kenway
Cover: Original conceptual illustration created for this article. It does not depict the benchmark or its actual interface.
A coding agent gets a bug report from an open-source project. It searches online, finds the pull request that already fixed the bug, and reproduces the solution. In a real development workflow, looking up a useful upstream fix might be sensible. In a benchmark meant to measure whether the agent can solve the problem itself, it can make the result misleading.
JetBrains says it saw this kind of answer lookup in preliminary runs of its Kotlin coding-agent evaluation. Its new Kotlin Benchmark 2.0 responds with tighter controls on public-repository tasks and a separate set of private-code tasks. The result is a useful case study in what an AI coding leaderboard can and cannot tell you.
The headline is not that private code proves agents are cheating. It is that the task, the agent's access to answers, the model, and the test environment all affect what a score actually means.
What changed in the benchmark
The new suite contains 100 Kotlin engineering tasks. Seventy come from 25 public GitHub repositories, across Android, backend, Kotlin Multiplatform, and libraries and tools. The other 30 come from private JetBrains server-side projects, according to the published methodology.
The new tasks concentrate on medium- and high-complexity work, mostly bug fixes and refactoring involving multiple files. JetBrains evaluated 13 agent-and-model configurations, repeated each evaluation three times, and allowed up to 30 minutes per task. Most configurations used their providers' “high” reasoning setting; Kimi used its recommended “max” setting. Those labels do not necessarily mean equivalent budgets across providers.
After a run, the generated changes go to a separate verifier. Its test suite checks the expected results: a successful run must make the relevant failing tests pass. JetBrains says the specifications and test environments were checked during task construction. A passed test is still a narrower outcome than a human review of security, maintainability, and whether a change fits a team's conventions.
Looking up the answer versus remembering it
The JetBrains announcement says its preliminary runs found agents locating published fixes for public issues. To make that shortcut harder in the new evaluation, JetBrains cached dependencies in advance, hid repository history and restricted agents' network access on the public tasks, apart from calls to the model. The agents were told that network access was disabled. JetBrains does not specify in the announcement how often the lookup occurred, which configurations did it, or how much it affected their scores.
Private tasks have a different setup: network access remains available by default, while repository history is still concealed. The private code and its fixes are not publicly available, according to JetBrains.
These measures address two separate concerns:
- Runtime answer retrieval: The agent finds a published solution during the test, for example through the web or repository history. Restricting those paths can help measure whether it can produce a fix without looking up the answer.
- Training-data contamination: The model may already have encountered the public issue or its fix before evaluation. Blocking the network during the run cannot erase that prior exposure. Private tasks reduce that particular exposure risk, although they do not automatically make the overall comparison causal or representative.
JetBrains plans to analyze public-task solutions for possible reproduction from memory. It has not established from the reported scores alone how much training contamination occurred. Nor does using an existing solution imply intent or wrongdoing by a model: the concern is whether the benchmark tests the ability it claims to test.
A separate Cursor research report documented examples of agents retrieving public fixes and mining repository history on other benchmarks. That is useful context, not evidence that every JetBrains configuration used the same shortcut or that every score difference has the same cause.
Read the leaderboard without inventing a cause
JetBrains' leaderboard, marked updated November 20, reports that Claude Code with Opus 5.5 resolved 75.3% of runs across the full 100-task suite, at an average reported cost of $0.84 per task. These are results for a specific agent-plus-model configuration, not the model in isolation.
For the public subset, the announcement lists Claude Code with Fable 5.1 at 86.2%, with Opus 5.5 at 84.8%. On the private subset, it reports Antigravity CLI with Gemini 3.8 Flash at 60% and OpenCode with DeepSeek V4.1 Flash at 58.9%.
Those numbers are tempting to condense into “agents fell from 86% to 60% on private code.” That comparison would be misleading: the public and private leaders are different configurations, solving different tasks. The private set contains only 30 tasks, all from JetBrains' backend projects, while the public set covers several domains. Task difficulty, project conventions, network settings and other differences could all matter. The gap alone does not measure the effect of hidden answers or prove that a model memorized anything.
The previous benchmark version used a different task collection as well, so its scores should not be read as a before-and-after measurement of model capability. A leaderboard is best treated as a shortlist, not a universal ranking.
Cost is part of the result, not the whole bill
The 2.0 leaderboard also reports average tokens, latency, steps and cost. In the full-suite snapshot, OpenCode with DeepSeek V4.1 Flash recorded 67.7% at $0.08 per task, while Claude Code with Opus 5.5 recorded 75.3% at $0.84 per task. The gap may be worth investigating if your workload resembles the benchmark, but it does not establish which setup will be cheapest for your team.
A lower average per attempted task is not the same as a lower cost per accepted fix. Real work includes retries, human review, testing, possible subscriptions or infrastructure charges, and the cost of a bad change. Rates and products also change, so check current vendor terms before estimating a budget. If a cheaper configuration needs substantially more review, its apparent savings may disappear.
How to evaluate agents on your own code
You do not need to reproduce JetBrains' entire infrastructure to make your evaluation more informative. Start with a small set of real, varied tasks that your team understands, and record the codebase, setup, agent version and outcome for each run.
- Keep some tasks private and held out. Use recent or internal issues with clear requirements, without exposing credentials or proprietary code to a service you have not approved. Private does not automatically mean representative, so include different kinds of work.
- Decide what access you are measuring. If the goal is to test independent problem-solving on a known public issue, prevent access to published fixes and future repository history. If the goal is to measure practical development assistance, allow the tools and documentation your engineers actually use. Label the two evaluations separately.
- Use isolated verification. Apply the resulting patch to a clean environment and run tests the agent cannot silently change. Inspect the diff and add checks for regressions, security and project-specific requirements. A green build is necessary evidence, not a complete quality assessment.
- Repeat and measure the whole workflow. Record failed attempts, timeouts, tokens, direct cost and reviewer effort, not just the best run. Small task sets and three runs still have substantial uncertainty.
- Compare like with like. Fix the agent configuration, task set, environment and scoring rules when making a comparison. If you change the harness, network access or task collection, describe that change rather than attributing every score movement to the model.
The deeper lesson is not to ban agents from reading the internet. It is to make sure an evaluation rewards the behavior you actually want to measure. For Kotlin teams, JetBrains' revised benchmark provides a more detailed starting point; for everyone else, it is a reminder to ask what a coding-agent score leaves out.