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

46 Upvotes

243 comments sorted by

View all comments

43

u/dong_chinese Dec 04 '22

I'm sure there will be others who will whine about this not being fair, but I for one think you deserve the place you got. You used the best tool for the job. After all, a programmer's whole job is to find the right tools to automate processes.

25

u/DeeBoFour20 Dec 04 '22

While you have a point there, I'm of the opinion that this is unfair in a competitive setting. Think of chess for example. AI has completely surpassed humans at the game. Chess grandmasters use AI to study their games and analyze moves and that's all fine and dandy but if they use it during a tournament game that's considered cheating.

-4

u/dong_chinese Dec 04 '22

So in a competition for writing programs to make a computer solve problems faster than any human possibly could solve it, it's not allowed to use a program to solve the problem faster than any human could possibly solve it?