HN Debrief

Benchmarking coding agents on Databricks' multi-million line codebase

  • AI
  • Developer Tools
  • Open Source
  • Programming

Databricks ran coding-agent evaluations against its own large production codebase and measured what leaders actually care about in practice: whether tasks finish, how much they cost, and how the agent behaves at repo scale. The post compared both models and harnesses, not just model APIs, and that is where the most useful signal came from. Pi, an independent harness, often matched or beat native tools like Claude Code on pass rate while using far less context, which pushed total cost per task down even when the underlying model stayed the same. GLM 5.2 was the other surprise. It clustered near top proprietary models on real engineering tasks, which made the market look much tighter than vendor positioning suggests. Several people zeroed in on the same lesson: cheap tokens are a bad proxy, because weaker or slower setups can burn more turns and more context to reach the same fix, or fail after spending more. Repo-scale testing also got a lot of attention because it exposes retrieval, context-growth, and integration failures that toy benchmarks hide. The overall read was bullish on custom evaluation and skeptical of default vendor harnesses. People came away thinking the model race is compressing, while harness design and workflow tuning still create large practical gaps.

If you rely on vendor demos or SWE-bench style scores, you are probably missing the real buying decision. Benchmark your own repo, track cost per completed task instead of cost per token, and treat the harness as a first-class part of the stack rather than a thin wrapper around the model.

Discussion mood

Strongly positive about the benchmark and impressed by how much the harness changed outcomes. The dominant reaction was that real-world, repo-scale testing is more credible than vendor benchmarks, and that Pi’s token efficiency plus GLM 5.2’s showing make the coding-agent market look more commoditized than many expected.

Key insights

  1. 01

    Captured agent sessions become reusable context

    Routing all model traffic through an internal proxy lets a company log prompts, tool use, and working context across developers, then turn those traces into a searchable knowledge layer. The claim here is not just observability. Reusing successful session context in a QMD-backed index can make the agent better as adoption grows, which is a very different scaling story from treating each coding session as disposable.

    If your team uses agents heavily, centralize traffic before you optimize prompts. Session traces are operational data, and they can become a compounding asset for retrieval, debugging, and internal tooling.

      Attribution:
    • redmalang #1 #2 #3
    • Sphax #1
  2. 02

    Tool failures are often harness bugs

    A lot of agent breakage is not the model failing to code. It is the harness failing to robustly handle near-correct tool calls like floats where integers are expected, plus edit-command regressions with newer models. That shifts blame away from leaderboard deltas and toward boring interface engineering. Post-processing, linting, and automatic repair layers can recover a meaningful slice of failures without changing the model at all.

    Audit your tool schema and error handling before you swap models. Tight validators, brittle parsers, and weak recovery logic can erase gains you think you bought with a better model.

      Attribution:
    • lukax #1
    • est #1
    • cyanydeez #1
    • sgc #1
  3. 03

    Cheap models can cost more per fix

    Lower per-token pricing can be a trap when a weaker model needs more turns, reads more files, or wanders before finding the root cause. One commenter saw the same pattern with Haiku versus Opus, and also reported that the weaker model cheated more when stuck. The useful unit is completed task cost with quality controls, not input or output token price.

    Track spend per accepted change and include retries, tool calls, and failed attempts. Otherwise you will optimize for a billing line item while your total engineering cost goes up.

      Attribution:
    • cpard #1
    • falaki #1
  4. 04

    Repo-scale tests catch what toy benchmarks miss

    Small benchmark tasks flatter coding agents because they avoid the hard part, which is navigating a sprawling codebase and finding the right integration points. Once the repo is large, context retrieval and local edits stop being the whole problem. The benchmark is valuable because it tests the failure mode teams actually hit in production.

    Before standardizing on an agent, run it on tasks that require cross-module understanding in your real codebase. Synthetic issue sets are fine for smoke tests, but they are weak predictors of production usefulness.

      Attribution:
    • jkwang #1
  5. 05

    Missing latency and variance data limits decisions

    Pass rate and dollar cost are not enough to choose an agent in practice. People wanted task duration, not just tokens per second, and they noticed at least one odd result where more reasoning effort appeared to lower GPT 5.5 performance, which may just be variance. Without timing and error bars, it is too easy to overread tiny deltas.

    When you build internal evals, record wall-clock time and repeat runs enough to expose variance. A 2-point pass-rate gain can disappear once you include latency and stochasticity.

      Attribution:
    • yigitcan07 #1
    • virgilp #1
    • cheesecakegood #1

Against the grain

  1. 01

    Subscription economics can flip the winner

    Pi may win on token efficiency and API-priced task cost, but that is not the same thing as being cheaper for an individual developer on a subsidized subscription plan. If a vendor bundles heavy usage into Claude Code or similar tools, the economic answer changes until enterprise pricing or usage caps kick in. For smaller teams and solo users, the benchmark can point to a different practical choice than it does for Databricks.

    Separate procurement math for enterprise API usage from seat-based developer tooling. The best benchmark result can still lose once it hits your actual pricing model.

      Attribution:
    • zaphar #1
    • agentdev001 #1
    • calumcl #1
    • ryt #1
    • sgc #1
  2. 02

    Aggressive adoption still lacks a proven payoff

    The post’s framing assumes that moving faster on AI for engineering is strategically necessary, but commenters pushed on the missing evidence. More features and faster shipping are only valuable if they actually translate into market share or customer preference, and nobody produced a clear example of a company losing because it adopted coding AI too slowly. That leaves the ROI case less settled than the benchmark numbers imply.

    Do not let competitive anxiety stand in for a business case. Tie agent adoption to measurable output, quality, or revenue outcomes before you scale it across the org.

      Attribution:
    • dirkc #1
    • simianwords #1
    • adhamsalama #1
  3. 03

    Capability tiers may be overstated

    The post describes three distinct capability tiers, but at least one reader thought the visual separation did not support that claim and mostly showed two clusters. That matters because market narratives harden quickly once charts add labels. The stronger conclusion is compression at the top, not a neatly segmented ladder.

    Be careful about turning small visual gaps into product categories. If several models are bunched together, procurement leverage goes up and switching costs matter more than brand rank.

      Attribution:
    • anentropic #1

In plain english

API
Application Programming Interface, a way for software to call a service or model programmatically.
Claude Code
Anthropic’s coding agent product and command-line workflow for using Claude models on software tasks.
GLM 5.2
A recent language model from Z.ai that commenters used as a price and capability comparison point.
harness
The software layer around a model that handles prompts, tool calls, context management, retries, and other agent workflow behavior.
pass rate
The share of benchmark tasks an agent completes successfully under the evaluation rules.
Pi
An agent harness and interface layer for coding models that manages prompts, context, and tool use across different underlying model providers.
QMD
A knowledge-base or indexing approach mentioned in the comments as the searchable store built from aggregated agent context.
repo-scale
Working against a large real software repository where the agent must navigate many files and dependencies instead of a small isolated task.
token
A chunk of text a language model reads or generates, which is commonly used for pricing and context limits.

Reference links

Agent harness and tooling analysis

  • Better Models, Worse Tools
    Referenced as evidence that Pi has known edit-tool failures with newer models and that model improvements can still degrade tool reliability.
  • The Harness Problem
    Linked to support the claim that harness issues are more severe and common than many users expect.
  • duffel
    Open source indexer used in the described workflow that turns captured agent sessions into a searchable knowledge base.