GPT-6.2 Astra is the first model to beat Googlers' code golf records
Back in 2015, when I was still at Google, there was a small group of code-golf enthusiasts spending hours trying to save just one byte on their solutions for weekly code-golf problems. No matter how hard you tried, there always seemed to be another Googler who found a shorter solution. And once a problem entered the challenge phase and every solution became public, it was always astonishing to read how brilliant other people's solutions were.11 years later, LLMs are evolving fast. A recent OpenAI post ("Perplexity and Intelligence", https://openai.com/index/perplexity-and-intelligence/) described researchers watching a model solve open math problems one after another in a Slack thread. I started to wonder: how would frontier models compete with the records that a small group of brilliant minds created with hours of effort each week?So I built this benchmark. Frontier models do find a lot of new approaches (and very brilliant ones) to solve these problems. For example, in two problems ("Surviving Queens" and "The Rolling Dice"), frontier models use complex numbers to solve them in Python and Ruby (both languages have built-in complex number support). And for the "(-5)-Smooth Numbers" problem, where you have to write code to list the first n positive integers of the form (-2)^x⋅(-3)^y⋅(-5)^z, most solutions build them with nested loops or by growing a set, then sort. GPT-6.2 Astra gets them all from powers of 4, and earns a sole best with this brilliant solution: g=lambda n:sorted(4**i%(2**999-5)%(2**49-3)for i in range(7000))[:n] There is a dedicated section for this: https://bjin.github.io/go-codegolf-benchmark/#why/finding-a-...It's nice to see GPT-6.2 Astra become the first frontier model to beat the human records in code golfing. Along with other frontier models, it finds a lot of interesting solutions that Googlers back in 2015 didn't. On the other hand, I also believe code golfing can be a good benchmark (not a comprehensive one, of course) for frontier models.Code golfing rewards thinking differently, because a shorter solution usually comes from looking at the problem from a different angle. It also rewards running experiments, not just thinking: writing a search program to find a shorter expression, or exploring lesser-known features and functions in the target compiler, interpreter, or library. Human code golfers do this a lot, and no public training data tells a frontier model how to do so.
420 points by - 118 comments
I too felt the updated Astra was the first model that finally beats me squarely at any programming task. Previously despite the agents' speed and breadth there always were some mind benders where I'd come up with a better/more correct/more elegant solution. But since this month it appears even that advantage has evaporated.
I tagged all our battles with Jev and Astra is actually #1 if you remove writing / discussion and last place on those categories
p-val on diff between these two is p=0.0002, so we can say for sure it's better at coding than writing + discussion.This doesn't really speak well of a lot of tech discourse. People are testing these models based on less hardcore technical challenges. (This fits with this code golf benchmark, too.)
Even opus understands what it says and if it had feelings I’d say it understands that it is a lesser being than astra. The deference it exhibits when presented with astra’s commentary on its work is like professor-student, XIX century.
(I found opus to be the only interface through which I can talk with astra and not go insane)
In the aggregate, we have Fable 5.2 as #1 at Elo 1061 and Astra as #7 (below DeepSeek Flash! Though within margin of error.) This is based on a lot more votes than the above. 244 for Fable 5.2 (https://agentduel.com/leaderboard/models/anthropic/claude-fa...)and 144 for Astra 6.2 (https://agentduel.com/leaderboard/models/openai/gpt-6.2-astr...).
In general, the 6.2 series (Astra and Sol) seem tuned for cost cutting, both are spending a lot less per battle than their predecessors.
I'm just saying be careful resolving "it" in the parent of this message, and the parent's parent.
I've heard the message that they over-engineer (OpenAI models), but I'd rather know about the issues, and actively choose the trade-off, than to not know about it at all.
I'm about 90% Anthropic, 10% OpenAI for usage, where before Opus 5.5 I was 100% OpenAI. Fable is good, but Opus 5.5 is really all you need to get the job done.
So everyone’s a winner , you get a car you get a car
The thing I find it very hard to calibrate on, though, is comments, including documentation comments on classes and methods. It tends toward the extremes of either commenting everything in the
style or of just dumping out thirty lines of optimized bit-banging with no explanation of what that code even sets out to achieve. Maybe somebody has a good solution for this?I sure hope all of the devs who unwittingly/unwillingly trained this model are compensated.
Still, every day with Astra is a day of not having to read claudism comments, which is a good day.
Clicking model's cell (either in heatmap or each problem's full scoreboard) will display solution code for this cell.
Another astonishing solution by GPT-6.2 Astra is its Python solution for Game of Life, where you need to write a function to determine the next state of a 01 grid in Conway's Game of Life. This solution is 103 byes (20 bytes less than Googlers' record)
(link to the solution with full scoreboard: https://bjin.github.io/go-codegolf-benchmark/#problems/04/sc...)The really smart part is the way it uses recursive calls with branches with an implicit test `a<p` to check whether we are in the recursively called branch or not. Most people would have probably created a second function instead of a branch to do the counting, which would have incurred the heavy golf cost of having to type `lambda` to declare it, or passed an explicit flag to the recursive call, which also incurs character penalties.
https://codegolfbench.com/
* super creative and intelligent, but assuming a bit too much
* super dumb, like misunderstanding in a very stupid way.
What is others' experience?
I find Astra (extra high) having problems writing basic, understandable, coherent English when working with legal texts. It seems massively behind much older and supposedly less capable models.
But even Fable pumps out some quirky sentences that seem to over-compress concepts in the case. I have to edit as I would for the work of a third- or fourth year associate. Still, the overall structure is solid: it understands addressing concessions first, then dropped arguments, then grounds in the order that appellee defends, then residual/tipsy-coachman grounds that the order rejected or ignored. It's expensive though.
For rewriting/outlining/summarizing (typically bad) writing on the web, though, I've found Luna to be a sweet spot between solid, understandable prose; good organizational bones; instruction-following; and price.
I mean wordy both in length and diction. Summarizing a recent article about what jobs people should train for in the AI age rendered "physical work" as "sensimotor", which wasn't in the article. When I'm trying to get the gist of something for which I haven't yet built up my own context, that's a hindrance. And at 5x – 19x the cost of Luna for the same thing, "sensimotor" was truly a 5¢ word!
Luna has been serviceable and it's essentially free.
I've moved from Flash to Hydrogen over the last few days, and while I don't have any real data, it seems to do what it says on the tin.
With that said, it’s a very capable model for complex math and programming problems, and I have no doubt its solution is novel and not just “mashing the training data together”.
Here is data from our battle system (open source, built on OpenCode https://github.com/bottomless/agent-duel)
Fwiw, in Elo, Astra is roughly the same as before. Sol 6.2 took a huge dive though.(Astra 6.2 data: https://agentduel.com/leaderboard/models/openai/gpt-6.2-astr...) (Astra 6 data: https://agentduel.com/leaderboard/models/openai/gpt-6-astra)
They can, and that means it does very well on an old benchmark and very poorly on a new benchmark, and everyone points and says "ah, you tried to trick us! Your model must be terrible.".
Instead small assembler has utility because it uses less cache.
On other side, speed golf is the best thing.
And things that play (humans), it's a useful diversion.
The sport gives you an incentive to learn a language, library, or algorithm more deeply and to discover new ways to think about how they work. It's very useful.
Part of the fun is also doing things you're not supposed to do. Not only does it become unreadable, but you often are abusing dark corners of the language and implementation.
I took that opportunity to learn a bit of assembly. I’m guessing it was 100 lines of code, COM size was ~100 bytes and it could do the whole test in less than 100ms. I got second place to a turbo pascal entry that had a much larger binary, took 5-10 seconds but it was maybe ten lines of very readable code.
Made me realize that folks really value readability (and to ask how metrics are weighted )
e: Autocorrect did the worst thing you could do to Barth's name.
You can mitigate the unreadability in many ways. For example c++ allows to generate magic numbers using constexpress, where the code itself is clear and human readable.
You can create a loop to calculate a lookup table and store it into a small number of uint64. The code shows what the magic numbers mean, and can be debugged.
Incidentally, in my experience, the strongest human competition usually is in Python.
I mean, the amount of Haskell code in the training data must be microscoptic compared to the amount of Python or JavaScript code..
Thanks to some expert code golfing, we know that:
What those machines show is that the theories in question are not enough to prove any upper bound for BB(200) (unless the theory is inconsistent), which you can interpret as some form of "unsolvable". But BB(200) still "exists", and it is a concrete integer: every specific machine either halts or doesn't halt, regardless of whether our specific theory is enough to prove either way. So out of the finite set of halting machines, one will take the longest and that will determine BB(200).
That's my understanding of the matter anyway, but I'm not an expert on decidability / logic.
Well, split the work, be that reverse engineer: extract the proprietary protocols or file formats yourself and present it to the LLM as specification for a new product (so the LLM is in the 'clean room').
> if you want to take control of devices or games that you bought, but no longer work because some cloud dependency is now offline.
Yeah, I understand the frustration (been there), but re-creating those is bound to violate some IP rights, no?
I have wrote a dedicated section about this: https://bjin.github.io/go-codegolf-benchmark/#about/thinking...
If anything, it'd make the situation clear with hard numbers.
still gpt has its core value but its clear that OpenAI is moving away from the prosumer subs and towards profitability, I expect more generosity to be cut and all of this would be fine and dandy if OpenAI had anything that could seriously compete with Opus 5.5, it still falls behind unless your work is in science or math.
pretty sure it's a far better deal now than before
However intelligence may be overrated: clear explanation lends itself more strongly when a model can exhibit theory of mind etc. So this would be one benchmark of many
[1]: http://prize.hutter1.net