GPT-6.2 Astra Becomes the First Model to Beat Google's 2015 Code Golf Records
GPT-6.2 Astra is the first model to beat Googlers' code golf records
In 2015, Googlers competed weekly on an internal site called go/codegolf to write the shortest passing program. Eleven years later, the author revived 32 of those problems across eight languages and gave frontier models 30 minutes per cell to golf them. GPT-6.2 Astra scores 91.9% overall, topping the 2015 human record of 87.5% on the JS/PY/C++ subset, while Gemini 4 Neon and Claude Fable 5.2 trail behind.
The rule was simple: the shortest program that passed every test case won. Undefined behavior, compiler quirks, non-standard library features, even hardcoding every test case were all allowed.
- varjag
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.
- bjin
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...)
- lgas
Why do you say there's no public training data? It's not like people don't discuss and practice code golf on the internet.
- pentakkusu
Intresting. I've seen Astra 6.2 work either of these two ways:
* super creative and intelligent, but assuming a bit too much
* super dumb, like misunderstanding in a very stupid way.
What is others' experience?
- lnxsxu
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?
- roycoding
I have a similar code golf benchmark
- lifthrasiir
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.)
- varispeed
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.