Real-SWE: Benchmarking AI models on private, real-world, enterprise codebases

Posted by theanonymousone 7 hours ago

Counter152Comment75OpenOriginal

Comments

Comment by freakynit 8 minutes ago

This is the first set of benchmarks which match my observations around gemini-3.8-flash perfectly. This model is a true hidden gem.

Comment by prometheus1992 5 hours ago

Does this mean they ended up sharing those private codebases with OAI, Anthropic etc? Also, the ~30% number tracks with my experience. I thought I was going insane for expecting too much from the models but they are still bad, including astra. This morning it messed something pretty trivial while fixing an issue which I was shocked to see. Also2, benchmarks don't mean much these days.

Comment by doctorpangloss 5 minutes ago

the requests went into a pipeline that turns them into de-identified, but salient, training data, yeah. everywhere except maybe bedrock.

Comment by ramigb 4 hours ago

Can you please share, if you are comfortable of course, what did the model(s) mess up? what were you using codex/cc/pi? did the project have a solid agent.md/claude.md? I am genuinely curious whenever someone have such a low success rate with models what is happening because it could be fixed maybe? From my own experience using agents for the past year or so. The rate if I have to guess, is well above 70%. I mainly use claude (opus) on typescript react projects that are well setup with minimal plugins/MCPs!

happy to share more if you are interested.

Comment by nijave 1 hour ago

Just earlier Opus 5 was supposed to migrate a Python codebase from kafka-python client-per-send to a client singleton. It decided it should add a partition key "that nobody asked for" which it admitted to at the end of the implementation.

It randomly decided going from no explicit partition key which would randomly add to a Kafka partition to partioning key company was the right solution.

In fact, that was fairly counterproductive since this codebase dumps events to the topic per company so you'd get a lumpy distribution where only one partition is ever active at once (starving other consumers)

The fact it decided it should add this without prompting was a bit shocking and I'll probably try to make it explicitly clear in the context not to "do random shit that wasn't asked for"

Comment by irthomasthomas 3 hours ago

> For instance the task naming in the task file starts with an optimistic 1, 2, 3, 5, 5a but then eventually gets to 8a, 8a1, and then ends up with 8b2c2b3 and “8b2c2b2b checkpoint1”. The code that it produced got ever more wild. I don’t want to bore you with what it tried to build, but here are some example pieces of the interpreter changes:

  Hardcoded constants everywhere
  Multiple same-line macro invocations in C
  Random indexes in production code
  Hideous tokenizer code in C
https://lucumr.pocoo.org/2026/9/7/astra-why/

Comment by dennisy 3 hours ago

The reasons are highly project specific. The closer your project is to CRUD, the higher the chance of success.

Comment by bluegatty 1 hour ago

yes ... 'the closer it is to normative, the higher the chances of success'.

Comment by mupuff1234 3 hours ago

If it works but the design is terrible - is that still success?

Comment by throwaway7783 2 hours ago

In the short term yes. Long term, no. But I guess you can say the same thing about a team of engineers taking shortcuts

Comment by lmeyerov 5 hours ago

My intuition is that many of the better & bigger 'private' code bases, at least in terms of claude code and codex... are not in fact private at this point.

One lesson of running botsbench.com, in a slightly different domain, is to measure for model contamination every time.

Comment by kwamenum86 2 hours ago

I spent a while in big tech and remember several unique patterns of internal code based. Your comment inspired me to try to coax ChatGPT into spitting out code that was inspired by proprietary, private code. Surprisingly, it did it with no problem - I referenced an idiom from a tech company and it wrote code that really would have only been relevant for that vertical. When I asked how it learned the pattern, it said “from my learned understanding of CompanyX’s internal coding conventions”. When I asked “how do you know about those internal conventions” ChatGPT said “I don’t have access to that internal code, I overstated what I know”. Internal coding conventions are the least of our worries at this point, cat is out of the bag.

Comment by esikich 1 hour ago

Well how do you know which statement is truthful? These LLMs confidently say they know things that they don't all the time.

Comment by Grimblewald 37 minutes ago

much harder to do in OP's case, matching flavour then referencing that specific companies name when asked how it know to flavour this way? thats astronomically low for randomly selected plausible tokens without some data prior, like that companies codebase.

My own experience is opus being lousy at an extremely niche math task, but it was still easier for me to describe what it needed to do to get code and correct issues in its reasoning/working than to write myself. a minor model number change later and it's nailing everything, despite my opt-out. Its is astronomically unlikley others were working on this also, especially at that level, especially this application.

so, safe to say they _all_ train models on chats, the only difference being if you "opt out" you at least have some defence later when they steal your work and claim it as their models original output.

Comment by matheusmoreira 3 hours ago

I used a similar methodology. Code review is my most requested action, so I used blind code review results to compare the frontier AIs.

Even posted an article about it:

https://www.matheusmoreira.com/articles/code-reviewing-lone-...

Unlike TFA, the lone lisp code is public. I suppose the models could have been trained on my codebase. Still, I think it produced some interesting results.

Took months and loads and loads of tokens to do this, so I'm not gonna repeat this study as new models come out. It did anchor all of my future expectations, though. OpenAI is winning as far as I'm concerned, and their cybersecurity program is the only remaining pain point.

Comment by jstummbillig 5 hours ago

I am trying to estimate if my reaction to seeing GPT-5.6 Sol last on that list is reasonable or or mostly emotional and find that I have no way of telling.

Comment by CuriouslyC 2 hours ago

Any bench that puts GLM 5.3 ahead of 5.6 Sol is highly sus. They've been my two daily drivers since release, and I like GLM 5.3, but it's definitely not better than Sol, it's more ~Terra, while being significantly slower.

Comment by switchbak 59 minutes ago

I had exactly the same thoughts. I often have similar thoughts on other benchmark sites, where supposed performance is way off base from my experience.

I’m not sure what the methodology of these are, but they certainly don’t match what I experience. Maybe I need to look deeper for relevant benchmarks.

Comment by beefsack 2 hours ago

There's an issue with GPT-5.6 Sol where it sometimes starts mixing thinking with output and stops working[1]. Once it starts doing that, the session is essentially cooked and you need to do a bit of gymnastics if you want to recover it.

This happens to me more commonly in large projects (>100k LOC) and in those projects it seems to happen every few sessions. I feel this specific benchmark would be impacted by this more than the smaller contrived benchmarks.

[1]: https://github.com/openai/codex/issues/37524

Comment by ImL1s 1 hour ago

[flagged]

Comment by WD-42 4 hours ago

Why would you get emotional over a model? They got you that good?

Comment by CompoundEyes 5 hours ago

I do think it’s the wizard not the wand at this point given a decent model. These benchmarks don’t have the wizard.

Otherwise I wouldn’t see others in the exact same codebase struggle and underutilize agents while others thrive using the exact same ones.

Comment by howunfortunate 4 hours ago

In other words, we're still in the era of centaur chess.

Comment by didgeoridoo 4 hours ago

Sol failing mostly on “unverified assumptions” and rarely hitting “integration errors” seems about right to me. I think Sol is second only to Astra (and miles ahead of even Fable) in architecting & engineering the right implementation — but only if you are extremely specific and provide tight guidelines and guardrails. If you give it a one-liner… you’re going to have a bad (SHA-256-hash-verified) time.

Comment by guybedo 3 hours ago

SHA-256-hash-verified sealed package artifact with automatic reconciliation system p95<0.5ms

Comment by enraged_camel 3 hours ago

>> I think Sol is second only to Astra (and miles ahead of even Fable) in architecting & engineering the right implementation — but only if you are extremely specific and provide tight guidelines and guardrails.

To me, having to give extremely specific instructions and provide tight guidelines and guardrails defeats the purpose of agentic coding agents almost completely. At that point I might as well do the task myself.

With Fable I can start with a general ask like "I'm trying to do X, can you investigate and tell me what the shape would look like" and have it poke around and think, ask me questions with single-choice or multiple-choice answers, then break the task into small chunks, each of which becomes a ticket.

With Astra, it's like pulling teeth. It often does not understand what I'm trying to do, takes things literally, does not go above and beyond (i.e. infer intent), and stops way too short of the actual goal. I have to constantly prod it and it's frankly exhausting.

Comment by zeven7 2 hours ago

I agree somewhat with the way the agents behave but feel the opposite reaction. With Fable, I get exhausted because it's always dumping out paragraphs of text that explain one approach but have some secret gotcha thrown out in the last two sentences. Then I have to pause and consider the caveat and if it matters and it happens every single time Fable responds and that constantly needing to make a decision that could radically change the approach gives me decision fatigue. I much prefer how much more decisive Astra can be.

Comment by dimgl 1 hour ago

I found 5.6 Sol to be extremely underwhelming.

Comment by visiondude 5 hours ago

this is the closest benchmark to my experience using the model harness combo. Astra for as great as it is falls slightly behind Fable 5.1 for me for large feature work (although it comments code much better). in particular, Fable is able to assess priority better than Astra (meaning Astra sometimes does things that aren’t worthwhile while missing things that are clearly important, particularly on possible ballooning scenarios- fable catches “this works for x amount of data but if we run this on y way greater than x amount of data we’ll run into issues). Gemini 3.8 is under appreciated, use Google Stitch to see it in action if you haven’t used Agy yet.

Comment by majormajor 4 hours ago

Do you find Fable significantly better than Opus at avoiding-overengineering? All of my recent testing of Anthropic models seems like they're tuned-to-hell to (a) be much slower than they need to be (running tests over and over during the loop vs at the end, say, even if those tests take a few minutes a pop) and (b) doing exactly that sort of "built a lot of fancy enterprisey feature-adjacent 'stuff'" even before nailing the actual feature. Sol and Terra both have some of the latter but they seem to do the actual work a fair bit faster (this may be a usage-based-priority-tier/rate-limit thing though) which helps offset it.

I think the bigco folks saw all the "it wrote all this code but the tests didn't pass" or "it wrote the feature but it's super brittle" and tuned the newer model+harness combinations incredibly aggressively to try to turn a lazy prompt into "median Enterprise Architecture design suggestions" to bring up the baseline, but in a way that slows you down if you don't want that.

I'm not on big enough subscriptions to want to burn a lot time just evaluating Fable/Astra comparatively until they're cheaper, heh. I can steer any of the cheaper ones just fine anyway.

Comment by pdantix 8 minutes ago

personally, i would not rely on opus 5 end to end as it'll start getting into walls of comment slop and shitting up the codebase similar to gpt 5.5's isRecord meme.

on the other hand, having fable plan and orchestrate with opus implemention + fable reviews, is my go-to. if you give fable your guidelines up front or in your {claude,agents}.md, it will keep opus on a tight leash. opus can still write great code almost on par with fable, but it needs to be tightly constrained.

Comment by visiondude 4 hours ago

i think this likely depends on workflow. for me, the first step is always a plan file artifact on disc, which i heavily review and go back and forth until satisfied. i often have to split the plan into multiple phases because agents are still poor at assessing how large a change will be. sometimes before even starting the plan the task is to create a harness for validation (a way for agent to check their work). the codebase you drop them in also greatly changes how much “over” engineering they do. i think if you are good about reviewing plan files and managing scope for your agent these sort of issues fade away. in general though, gpt models are faster, more token efficient, better technical writers, and yeah i still find Fable 1.0 to be a step up even though it’s slower because it’s actually a tad smarter (and the more important and dynamic the change / feature the more fable 1.0 shows its slight edge over astra)

Comment by ShellfishMeme 5 hours ago

Astra constantly does this for me. It goes 90% of the way with some task but then skips the most important part. Then when told to please fix that and do it properly, it suddenly goes down a rabbit hole for 6h and fixes scenarios that aren't even relevant. It's awful at assessing what is important to do and what not, and where to ask for permission and where not.

Comment by retrobox 4 hours ago

Anecdotally, +1. I’d also say this benchmark matches my experiences and how much I trust the model output

Comment by hollars 4 hours ago

The high score of Gemini 3.8 Flash vibes with my experience anecdotally. While it often goes off the rails with open-ended questions (which is a strength if taken with care), it is also a good at solving issues in a well-defined environment like an enterprise codebase.

Comment by matt3210 23 minutes ago

These'll be part of the training set eventually.

Comment by bel8 5 hours ago

I'd love to see these:

- DeepSeek V4.1 Flash

- Kimi K3

- GLM 5.3 (and flash)

- hy4-preview

- Grok 4.6

All of these can be acessed using a $10/mo OpenCode Go subscription.

Comment by throwaway473825 4 hours ago

Here's the list:

1 Fable 5.1 38.8%

2 GPT-6 Astra 33.8%

3 Gemini 3.8 Flash 31.2%

4 GLM 5.3 28.8%

5 Grok 4.6 23.8%

5 Muse Spark 1.3 23.8%

7 Kimi K3 18.8%

8 GPT-5.6 Sol 16.2%

See number 4, 5 and 7.

Comment by jwolfe 4 hours ago

3 of those are already in there.

Comment by obilgic 4 hours ago

Gemini 3.8 flash has been incredible for our agents. For us, It performs better than any other model except Fable.

Comment by finn888 1 hour ago

Averaging pass@1 across eight runs per task is useful; it exposes harness consistency instead of letting one lucky resolution dominate.

Comment by demibabs 5 hours ago

> Each task comes from a private production codebase that we licensed from a real-world company

How does that work?

Comment by traceroute66 5 hours ago

> How does that work?

My gut feeling is that any serious real-world company with a proprietary codebase worth looking at would not be handing out the crown jewels to a third party. License or not.

I don't doubt somebody licensed their codebase to them, I just have my doubts about who the "who" could be.

Comment by InsideOutSanta 5 hours ago

Code isn't worth all that much if you don't own the associated IP, mainly copyright. And even if you disagree with that premise, if you trust that they can keep the code secret, it's basically free money.

At any rate, I'm not sure it matters whose codebase it is. I'd even say that a shitty codebase might make for a better test.

Comment by gruez 59 minutes ago

Comment by strobe 5 hours ago

lot of ads everywhere offering to buy your codebase of real product/star up even it long gone or failed (offer usually price per lines of code). So most likely that they have bunch of abandoned codebases between small and medium sizes and probably also some fake codebases as well.

Comment by dgellow 6 hours ago

A bit of a meta question: what are the most relevant benchmarks by now?

Comment by redox99 5 hours ago

Terminal bench 4 is good largely because it's recent so it hasn't been benchmaxxed yet. It's more of a sysadmin/devops benchmark than a coding benchmark though, but still a decent proxy.

https://artificialanalysis.ai/evaluations/terminalbench-v4-0

Comment by tetec1 5 hours ago

Epoch.ai has a global score and tracks many benchmarks: https://epoch.ai/benchmarks

Comment by andriy_koval 5 hours ago

Nvidia and OpenAI claimed AGI, but you still have a job.

Comment by andai 1 hour ago

AGI 38.8%

Comment by jcmontx 6 hours ago

I’ve been able to offload most tasks (coding or eles) to Codex since 5.3-codex with extra high thinking

Comment by riddlemethat 5 hours ago

Astra lets me offload entire projects without worrying about individual tasks…

Comment by jeffybefffy519 5 hours ago

Do you review the outputs?

Comment by what 4 hours ago

Can you show us some of these of projects?

Comment by 4 hours ago

Comment by traceroute66 6 hours ago

So TL;DR benchmarking in a completely non-reproducible manner ?

"Model X performed great, but we can't possibly tell you anything about the code it was looking at apart from it was a large code base from an unknown company".

So basically pinky-promise benchmarking ?

I'm not sure I follow the value here ?

Comment by kadoban 5 hours ago

If it builds up history and perceived reliability, this type of thing can be valuable. You're giving up transparency for it being harder to game.

Comment by traceroute66 5 hours ago

> You're giving up transparency for it being harder to game

But then if we take that argument to its natural extreme, surely it means people should take the marketing bullshit published in the 100-page system cards published by Anthropic & co as "valuable" too ?

Comment by kadoban 5 hours ago

I think you know that's basically nothing like this? The model cards have every incentive to be biased, this doesn't necessarily.

But even so, pretty much yes: companies that actually have reliable and accurate info in their releases get trusted more. It takes time because the default is to disbelieve info from biased sources, but it is possible to trust some of them more than others.

Comment by sigmar 4 hours ago

Lots of private benchmarks already exist, where you have to trust the tester (ex Artificial Analysis, Arc-agi).

Comment by deepwoods 5 hours ago

In theory, as long as all the models are doing the same thing with the same tools, it's at least useful to see how they stack up against each other right now. It might not be great to track progress over time, as it can get benchmaxxed or the underlying resources may become obsolete.

Comment by demibabs 5 hours ago

Doesn’t it ultimately have to be this way, to prevent saturation?

Comment by Uptrenda 2 hours ago

real software engineering benchmark is how much stress you can take at work. Everyone knows this, bakka.

Comment by bix6 6 hours ago

Wake me up when September ends or when I can do this locally.

Comment by IshKebab 5 hours ago

I think these benchmarks are not that useful, e.g. this suggests Fable is better than Astra, but in practice Astra is waaaaaay faster (like 5x; it's not even close), and also waaaay less annoying to talk to.

There's only two or three sane options here - you can easily try them all and pick yourself.

Comment by coderenegade 4 hours ago

I switched from Claude to Codex because Claude just doesn't do what you actually tell it to half the time. It dances around the edges and does busy work without actually tackling a tough problem.

I'm not sure what others are doing that they're getting such different results, but I'll take Codex every day of the week.

Comment by rovr138 5 hours ago

They're not measuring speed nor annoyance. It's there on the page

Comment by hefu_hk 20 minutes ago

[flagged]

Comment by aryansingh9034 3 hours ago

[flagged]

Comment by paidx 2 hours ago

[flagged]

Comment by skilledDevelope 5 hours ago

[dead]

Comment by ahmetaytar 5 hours ago

[dead]

Comment by bdlowery 5 hours ago

The fact that gemini 3.8 flash is so high up there just tells you this is an awful benchmark.

Try and use gemini 3.8 yourself for any real world work and you'll see it's terrible. It'll just go in circles reading the same file 20 times for no reason making hundreds of tool calls for a simple change.

EDIT: I was using gemini cli... it's not a harness issue lol

Comment by starchild3001 3 hours ago

There's no such things as gemini cli these days. It's called "agy" (short for antigravity). And if you don't know what that is, you're probably 3-6 months behind already.

PS: Just Googled it to confirm: Gemini CLI was deprecated on May 19th, 2026. The correct harness is called agy or antigravity for Gemini 3.8 Flash.

https://developers.googleblog.com/an-important-update-transi...

Comment by astrostl 13 minutes ago

The benchmark page itself asserts that it used Gemini CLI as a harness. I came to the comments just because I noticed the error. For my part — using agy — I found Gemini 3.8 Flash mid.

Comment by 16 minutes ago

Comment by 17 minutes ago

Comment by TomGarden 4 hours ago

You sure it was 3.8 Flash? It hasn't been called Gemini cli in a WHILE...

Comment by siddbudd 5 hours ago

havent tried that model, but it sounds like a potential harness issue. Have you tried it in different harnesses?

Comment by tucnak 5 hours ago

Hard disagree. I use 3.8 flash in Antigravity a lot, and thoroughly prefer it to most Pro-class models. It's really fast, and I've had it make crazy progress on compiler-like problems that previous models including Opus simply failed at. On ultra plan you can have it going for hours, and make incremental progress with good prompting for review interrupts. It solved a problem I couldn't solve for weeks in under 6 hours. 10k LOC total. The harness and test suite is key.

Comment by bdlowery 4 hours ago

This is my exact experience with the model - https://x.com/ThePrimeagen/status/2095565354726502683

And it just BURNS tokens like crazy.

Comment by thereitgoes456 5 hours ago

Why so brazenly confident? Isn’t it possible that the benchmark is correct, and your experience is correct too, but you haven’t tried all the thousand different modalities of work that programming encompasses and so maybe you don’t actually have standing to judge?

Comment by 0x457 3 hours ago

very outdated experience from me: when I first tried gemini something, in an existing rust codebase, it looked around for files that would indicate if its go, javascript, java or c++ project, then declared I must have asked it build a new app in javascript and proceeded to circle around to figure out how it can install node and npm on my machine.

So I totally believe that Gemini is just bad. Which is surprising because Gemma is very good for some tasks, but I never ever had any success with Gemini, be it in cli or chat thing or anything else that has gemini branding.

Comment by 5 hours ago