Better HN
topnewbestaskshowjobs
Log inSign up

bisonbear

78 karma · joined Sep 17, 2025 (1y ago) · 100 submissions

Building evals for AI coding agents, on your repo. http://stet.sh email ben@stet.sh
Submissions

comment 2d ago · link · parent

I have had success with specific repos since I'm able to tune tasks to be more fair. However, I'm working on making a generalized solution where this can be done more automatically for new arbitrary repos, and am still working on getting the success rate of task creation up.

My guess is there's a lot of secrecy around this since, to my limited understanding, a large part of model gains in the past 1-2 years is from scaling up RL environment creation, and what we're describing is in essence creating RL environments from repos, so there's a lot of value in keeping your methodology private.

I've been trying to write more about this, and actually am working on a post going into more detail on some of the issues I faced. I also have this post with some high level detail https://www.stet.sh/blog/benchmark-agreed-with-frontier-code

comment 2d ago · link · parent

I've been working on the same problem, seems like we ran into a lot of the same bottlenecks.

You're definitely right the grading of tasks is very challenging to do. First of all, you have to think about what it is that you even care about measuring, and then figure out how to encode that in code/llm-as-a-judge graders. For example some of the problems I ran into going down this rabbit hole:

Just use the PR tests -> these encode assumptions about naming and behavior

Tell the agent what naming and behavior to use -> prompt becomes overspecified

Use an agent to write tests -> agents are bad at writing tests

Use an agent to modify the agent patch to fit gold test signature -> this is unfair to some agent patches

Use LLM-as-a-judge instead of tests -> LLM is still noisy and biased

all to say - this is somewhat of an open domain from what I can tell, and you just have to try your best to extract some signal from the noise

comment 6d ago · link · parent

Anthropic competing with Google instead of OpenAI at the frontier is unexpected, I have been doubtful of Google DeepMind's status as a frontier lab in the past few months, but damn they've been cooking recently

comment 1w ago · link · parent

I wonder if Claude Code would do better given they just introduced code mode, which should significantly cut the number of steps required

comment 1w ago · link · parent

In MiMo's v2.6 public RL training run, they explicitly trained on 23 different harnesses in order to minimize overfitting on any single harness. I imagine that this technique has to be common in RL training runs given that model providers have little control over where their models are used.

https://mimo.xiaomi.com/rl/#overview

comment 1w ago · link · parent

In this case, I am not entirely sure how cost per pass is distinct from cost per successful task given that success is defined as pass/fail.

To illustrate the difference, the author of FrontierHarness included "Figure 3. Cost and pass rate of each harness with each model", in which we can see that Codex CLI has $0.937 cost per pass, but a $0.573 cost per task. Measuring cost per task also changes the winner to OpenCode

comment 1w ago · link · parent

These are cool results and I'm glad that tokens are being invested to eval harness capabilities.

However, I am hesitant on the correlation between pass/fail in evals which are a binary 0/1 determined by tests, and real world usage, where users can steer, run code review, and care about more than just test pass/fail.

I wrote about the problem of determining "success" for coding agents, and a lot of it boils down to the fact that agents can write dumb code that passes tests, and write smart code that fails tests, and we need to shift to rewarding quality of code and alignment with intent rather than just signal on held out tests (which is still important!)

https://www.stet.sh/blog/cost-per-successful-task

comment 1w ago · link · parent

turning it back - what's working for you?

I have grok bot setup to monitor social media + blogs in domains related to my area, so I can do reachouts based on demonstrated interest

9.

How I run my agent fleet to build my product(stet.sh ↗)

3 points · by bisonbear · 1w ago · discuss

comment 2w ago · link · parent

This article should is a good source for getting started in the space https://every.to/also-true-for-humans/how-to-create-your-own...

My 2c as someone who is working on this problem is that you can follow the 80/20 rule when making them for personal use - put in the 20% and you can make a good enough benchmark relatively easily. The remaining work is certainly valuable, and necessary to do if the benchmark is consequential, but it's a pain in the ass and hard to do correctly, so if you don't have to, don't worry about it

comment 2w ago · link · parent

There are two ways I see to do this:

1. Tell your agent to eval the skill itself (https://code.claude.com/docs/en/plugin-evals). This is easier and faster, but less accurate, and harder to extend to capture things like code quality.

2. Build your own benchmark out of work your normally do, and then eval the skill on that dataset. This is harder and more annoying (because creating benchmarks is hard) but provides deeper insight into how the skill affects the agent in known scenarios.

It also depends on what the skill is doing. If it's creating an artifact (like a report, easier to eval) then your strategy is very different than if the skill is changing agent behavior (like telling it to use cheap subagents under XYZ conditions, harder to eval).

The importance of doing this grows with the number of people using the skill. Working on my own projects, I don't usually bother. Working in an enterprise monorepo, suddenly the risk of shipping a bad skill is amplified, and evals become much more attractive.

Also note that skill behavior changes across different models. A skill built for Opus 4.8 may not be necessary on Opus 5.5. A skill built for Opus 5.5 might cause Haiku 5.5 to behave erratically.

TLDR: tell your agent to do it, and think about building your own.

comment 2w ago · link · parent

effort makes a huge difference in cost/quality. in my measurements (https://www.stet.sh/leaderboard). Luna can definitely tend to overthink on the higher reasoning effort settings. I've actually noticed that deepseek 4.1 flash max (albeit the one before 10/17) tracks close to GPT 6 Luna max in price.

also worth noting that Luna is much more attractive on the Codex subscription plans due to heavy subsidization there - if you're using Opencode, I feel like Deepseke likely makes more sense, since they serve it very very cheaply ($60 or so of usage for $10).

13.

Measuring "cost per successful PR" chose Luna 6 low as the best model(stet.sh ↗)

1 points · by bisonbear · 2w ago · 2 comments

14.

How I made a benchmark mined from my own repo that agreed with FrontierCode(stet.sh ↗)

1 points · by bisonbear · 1mo ago · discuss

15.

I ran Sol 6 vs. 6.1 on tasks from my own repo. It's cheaper and at least as good(stet.sh ↗)

1 points · by bisonbear · 1mo ago · 1 comment

comment 1mo ago · link · parent

IMO for an involved voter, this is actually a good thing. AI can both help you clearly define your priorities and policy preferences via an "interview", and can subsequently find candidates who's publicly stated positions, and past record, align most closely with your priorities.

As always, AI can be used to completely outsource critical thinking, and doing so for elections is extremely concerning. However I would hope that more people use it to make better, more informed decisions, than to blindly choose candidates

comment 2mo ago · link · parent

Pretty cool to hear about your process - I've been thinking about this space a lot so have some context about pain points here.

I've found that building a benchmark is something that's easy-ish on the surface level, but has many layers of technical complexity the deep you go down the rabbit hole.

For example, a tangent on grading. Do you use test passing and/or LLM graders? If you're using an LLM, it's fairly easy to spin up a basic LLM grader. But - is that grader calibrated? Is it biasing towards same-model agents? How many results do you need to be above the noise floor? What is it even measuring, and is that aligned with what you care about? Does it have the right information to make those judgement calls?

I'm super curious how what you've been using this workflow for? Also happy to answer any questions / discuss further!

18.

I compared Opus 4.8 vs. Opus 5 on 25 of my tasks to see what the difference was(stet.sh ↗)

19 points · by bisonbear · 3mo ago · discuss

comment 3mo ago · link · parent

Reposting my comment from the other thread https://news.ycombinator.com/item?id=49288847

They compare it to 5.6 Terra, however https://cognition.com/frontiercode puts Terra at about 1/2 the price

Also have to compare to the recent Grok 4.6 release, which appears to straight up be better AND cheaper

Hard to understand why anyone would choose 3.7 Flash under these conditions.. is Deepmind still a frontier lab?

comment 3mo ago · link · parent

They compare it to 5.6 Terra, however https://cognition.com/frontiercode puts Terra at about 1/2 the price

Also have to compare to the recent Grok 4.6 release, which appears to straight up be better AND cheaper

Hard to understand why anyone would choose 3.7 Flash under these conditions.. is Deepmind still a frontier lab?

comment 3mo ago · link · parent

Experimentation makes a lot of sense as agents need to be pleasant to work with, and power users are a willing and able cohort to do that differentiation. Agent capability is only part of the equation, as evidenced by the widespread frustration with the experience of working with Opus 5, despite it topping benchmarks and being objectively extremely powerful/competent.

However, as a self-admitted eval true believer, I remain bullish that publicly available eval capabilities will catch up to current model intelligence, and start to be able to capture more and more of the subtle components of the agent experience, such as interactivity and code maintainability. Meta and Scale have some evals in the interactivity space that seem pretty promising https://arxiv.org/abs/2606.29957 https://labs.scale.com/papers/swe-interact.

Human usability of the agent should definitely remain the top priority, but IMO we focus too much on the subjective, and not enough on the measurable/objective now, and I think/hope we'll see more companies move in the direction of Databricks

comment 3mo ago · link · parent

This approach seems fundamentally predicated on being able to evaluate coding agents on your own code by having domain specific evals. With that knowledge, you can trust the routing logic is actually improving/maintaining perf while reducing costs.

Without the insight into agent performance, any changes like this feel like a gamble to save $$ at the cost of developer productivity

I'm actually working on building generic repo-specific benchmarks at https://stet.sh ;)

comment 3mo ago · link · parent

This is the right direction (Anthropic removing 80% of the system prompt https://claude.com/blog/the-new-rules-of-context-engineering...)

However what I wonder how we make these decisions on what to remove. Certainly some subset of the skills / AGENTS.md / prompt / tools do actually help agent performance, the problem is in identifying those, throwing away the rest, and validating that this didn't actually hurt the agent performance

comment 3mo ago · link · parent

Thanks for the comment - I’ve actually been working on something to generate evals from private repos, as I 100% agree that public benchmarks are either contaminated (as OpenAI found with SWE-bench Verified), not high quality (as OpenAI found with SWE-bench Pro), or in the case of “good” benchmarks (Cognition’s Frontier Code comes to mind), non-representative of a specific repo’s work.

Sharing some challenges / learnings from the journey so far:

* Tests alone are non-representative: an agent can pass tests but write the code in a way that’s subjectively worse than another test-passing result

* However, tests are still important and the best form of deterministic evaluation we have

* Creating executable environments to run the tests is challenging, especially when considering that this should be doable for arbitrary repos

* Selecting tasks that discriminate is an art - they need to be challenging, but not too challenging, represent the variety of work that’s done in the repo, and contain tests that failed prior to the change

* LLMs / agents are very powerful at judging code - but doing so in a way that is calibrated, consistent, and representative of codebase standards requires careful rubric creation and grading

* I’ve shifted towards using agents (from “static” LLM calls) to generate the rubrics, and to later grade the rubrics. This is powerful but even more non-deterministic

comment 3mo ago · link · parent

I’ve been thinking about how we practically implement this at an organizational layer for large codebases. There’s clearly alpha to be had in optimizing AGENTS.md / skills / tools / … to improve performance, quality, and cost efficiency of an agent. The problem is defining what quality means, and providing a way for agents to optimize the harness using that lever.

The first step I see towards this is building a generic, reliable, and accurate *fitness function* for codebases - turning PRs into gradeable tasks that an agent can solve, and improve on.

I’m pretty curious how others are optimizing the coding agent harness now, as this has been a huge pain point for my company (we’re pretty much relying solely on vibes).

26.

I compared 5 popular token saving methods in Codex and found that none delivered(stet.sh ↗)

2 points · by bisonbear · 3mo ago · discuss

comment 4mo ago · link · parent

Also working on a product to build tasks from your own work for testing coding agents. Main thing I would offer is to look carefully at the agent trajectories - they love to figure out ways to cheat. Additionally, consider what "winning" means. If just using test pass rate, consider that tests might not encode what good means in your repo. I have been having success using "equivalence with merged PR" as judged by an LLM as a signal.

comment 4mo ago · link · parent

To me, this comes down to verifiability. How do we measure the quality of what an agent is doing on our codebase rather than simply measuring task accomplishment?

> Verifying quality is orders of magnitude harder than "did the tests pass"

Agree that agentic grading is the future here. Cognition's Frontier Code is probably the best large public benchmark at this. You attribute agent quality issues to RLVR's binary pass/fail, however I wouldn't be surprised if labs are already supplementing that with rubrics as rewards to train more 'tasteful' models like Fable.

What can a practitioner do? I think there's promise in turning the optimization machine to the harness itself - building out a representative dataset of tasks on your repo, grading agent quality on them across various configurations, and optimizing [AGENTS.md / SKILLS.md / workflow / model / harness / tools] on that signal. High quality grading is still very hard, but it's more tractable at smaller, repo-level scale, and you can afford slower, more expensive verification for each task. You only need it to be right about your codebase's standards.

> In fact, it's not hard to imagine that if a model could reliably tell good code from bad, it might have written the good version to begin with

Pushing back slightly - detecting slop and discriminating quality is easier than generating it (why code review is so effective), and why grading is viable at repo eval scale even if it's much harder at RL scale.

Everyone is flying blind. For example, I am genuinely interested in trying HumanLayer, but would likely want some harder evidence (beyond anecdotes) that it's actually making my agents more effective before rolling out to an enterprise team.

I'm building this harness optimization loop @ https://stet.sh if curious

29.

I ran Sonnet 5 vs. Opus 4.8 head to head on 24 tasks to see what's different(stet.sh ↗)

1 points · by bisonbear · 4mo ago · discuss

1234