Top
Best
New

Posted by bjin 3 days ago

GPT-6.2 Astra is the first model to beat Googlers' code golf records(bjin.github.io)
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.

261 points | 78 comments
varjag 5 hours ago|
Interesting.

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.

seizethecheese 2 hours ago||
You know, I've been down on Astra because it's doing badly on our leaderboard (https://agentduel.com/leaderboard), but I just completed an analysis and actually it's just bad at chatting.

I tagged all our battles with Jev and Astra is actually #1 if you remove writing / discussion and last place on those categories

  Win rate in coding: 65% (47/72)
  Win rate in writing + discussion:  30% (14/47)
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.)

holoduke 3 hours ago|||
Curious on how it compares to fable 5.2
chrisgarand 2 minutes ago|||
In my experience, Opus 5.5 and Fable 5.2 are significantly easier to use (the 'it just works' concept), but Astra (6, and 6.2) are better at catching issues, and providing feedback.

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.

seizethecheese 2 hours ago|||
It's a lot more expensive and slower per task. We have 13 battles of Fable 5.2 head to head against Astra 6.2. Fable was more expensive in 11 out of 13 and slower in 12 out of 13. Win rate was pretty close, so we don't have signal there. (Votes through our open source battle system on top of OpenCode https://github.com/bottomless/agent-duel.)

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.

camkego 23 minutes ago||
I was a bit confused how "it" in this message: "Curious on how it compares to fable 5.2", meaning Astra, was changed to a reference to Fable in the reply: "It's a lot more expensive and slower per task.",

I'm just saying be careful resolving "it" in the parent of this message, and the parent's parent.

seizethecheese 4 minutes ago||
Good point. I can’t it (sic) now, unfortunately
lightbendover 3 hours ago|||
Astra 6.2 isn’t a hugely popular model amongst tech influencers but I have been pulling off some feats with it. Nice to see others not out on it.
dawnerd 34 minutes ago|||
In our testing it fails to follow directions and gets a lot wrong. I think a lot of people praising it are just getting okay with bad output.
hexapus 4 hours ago|||
Well, that's what happens when your code is used to train the models, regardless of whether or not you knew/consented, I guess.

I sure hope all of the devs who unwittingly/unwillingly trained this model are compensated.

santoshalper 3 hours ago||
I am sure we will be compensated with gratitude and goodwill from all the newly minted billionaires.
techpression 2 hours ago||
Today it failed a very simple conditional statement and added playwright as a dependency to write a regression test for it… I caught it and I will continue using it, but still surprised at the bug and lack of following directions (they’re quite clear about dependencies in this project).

Still, every day with Astra is a day of not having to read claudism comments, which is a good day.

bjin 3 hours ago||
Some footnote to emphasize a bit: Select a competitor (both model or human) will show heatmap for its results for each problem and for each language. Each problem also have a full scoreboard.

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)

    g=lambda a,p=['z'*99]:[a<p and`g(zip(*r))`[1::3]or+(4<`r*2`.count('1',4)<8)for r in zip(a,p+a,a[1:]+p)]
(link to the solution with full scoreboard: https://bjin.github.io/go-codegolf-benchmark/#problems/04/sc...)
seizethecheese 2 hours ago|
Cool you turned this around so fast after people asked for this info in the thread. The code golf itself is incomprensible to me.
roycoding 2 hours ago||
I have a similar code golf benchmark

https://codegolfbench.com/

lnxsxu 5 hours ago||
the powers of 4 trick clicked for me when i tried it with 15. 4*524 is 2*(999+49). the first modulo turns 2*999 into 5 and the second turns 2*49 into 3. so you start with a huge power of 4 and out comes 5*3. has anyone seen this trick used in another golf problem?
lifthrasiir 3 hours ago||
http://golf.horse/ has been also dominated by agents recently. (Note that golf.horse itself is NOT strictly about the code golfing, though most past submissions are done by code golfing.)
nerdo 1 hour ago||
Would love to see it invent something like a Hospelian Transform: https://www.exploit-db.com/exploits/13105
jere 4 hours ago||
FWIW I saw big reductions from other models (Gemini 4, Opus 5.5) on a problem from last year (after a few of us had iterated on it 50 times and it had seen no progress for a year and I thought there was surely nothing more to wring out of it).
varispeed 2 days ago||
Can't they just train the model on solutions to make them win benchmarks?

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.

treetalker 5 hours ago||
Agreed. I have been a fan of Fable for legal (litigation) drafting. Fable 5.2 (High) did well with a recent appellate reply brief.

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.

WarmWash 4 hours ago|||
Gemini models are unmatched for communicating
basch 4 hours ago|||
The last gen got kind of quirky and cute, but the latest gen are very tolerable and pleasant to work with again. Google gets slept on and dismissed for the brain drain but theres clearly enough talent and money left to continue to push the frontier.
treetalker 4 hours ago|||
I like them fairly well. I haven't tried them for legal work. For the use I described, they're a bit too wordy.

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.

flyinglizard 4 hours ago|||
Try Gemini Flash 3.8 if you get the chance. I run a medium scale operation where I use Flash to convert LLM-ese output by other models into clear English with human friendly formatting rules. It's better than other models I've tested (including Luna).
nameiscubanpete 3 hours ago|||
I would give Gemini 4 Neon (High) a try. I've found it to be the best model for social reasoning and literary prose. I use it for my "Oracle Bot", which performs I Ching readings and synthesizes the output with my personal journal entries.
pegasus 4 hours ago|||
Better than Gemini Hydrogen too? I believe that's (roughly) taking the spot of Flash in Google's latest lineup.
nameiscubanpete 3 hours ago||
On Antigravity "Gemini 3.8 Flash" now has a label "Leaving Soon" with a note: "Use Hydrogen for better quality with lower quota usage. Leaving on Nov 30".

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.

gpt5 5 hours ago|||
Astra is definitely a step back in writing, or even explaining clearly what it’s trying to do. In my opinion it’s one of the worst model releases by OpenAI, especially in the face of how incredible Opus and Fable are.

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”.

blackhaz 5 hours ago||
I think I agree. My agents began to fail miserably in many tasks, especially if the instructions are not straightforward and tasks require investigation. Lazy, kafkaesque, missing the point, dissolving in endless token-burning bureaucracy. 6.2 feels like a regression compared to GPT-6 Astra.
seizethecheese 4 hours ago||
I think the reason might be that OpenAI seems to have tuned them to reduce cost.

Here is data from our battle system (open source, built on OpenCode https://github.com/bottomless/agent-duel)

  Time per task (compared to opponents):

  Astra 6.2: 0.68x
  Astra 6:   1.08x

  (A 37% drop in the time ratio compared to Astra 6)

  Cost per task (compared to opponents):

  Astra 6.2: 3.65x
  Astra 6:   5.76x

  (A 37% drop in the cost ratio compared to Astra 6)
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)

onion2k 5 hours ago||
Can't they just train the model on solutions to make them win benchmarks?

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.".

morgan_J 2 hours ago||
Very relatable. Sometimes you have to explicitly ask models for boring, readable code instead of clever one-liners.
jiggawatts 5 hours ago|
Where are the submissions linked? I just see the scores…
varkokonyi 4 hours ago||
You have to open the table and click on the number in the cell. It's not obvious it's clickable
More comments...