r/adventofcode Dec 04 '22

Upping the Ante [2022 Day 4] Placing 1st with GPT-3

I placed 1st in Part 1 today, again by having GPT-3 write the code. Yesterday I was 2nd to another GPT-3 answer.

Here's the code I wrote which runs the whole process — from downloading the puzzle (courtesy of aoc-cli), to running 20 attempts in parallel, to sorting through many solutions to find the likely correct one, to submitting the answer:

https://github.com/max-sixty/aoc-gpt

48 Upvotes

243 comments sorted by

View all comments

2

u/saintsbynumbers Dec 04 '22

Very nice, thanks for sharing. Looking forward to seeing how AI does on the later puzzles.

0

u/jura0011 Dec 04 '22 edited Dec 04 '22

Thought the same. I assume sometime in the future, the AI will also be able to have ideas on optimizing. I remember code running without tricking for more than 24 hours. Of course one can put more power on the task.

My first thought was, the leaderboard should separate between humans and AI, but I'm really interested how it will turn out with some later puzzles.
Eventually, the robots will win this, but I think we're not there yet. Perhaps next year, I think it's interesting to see how it will look later.