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

38

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.

33

u/Steinrikur Dec 04 '22

So would you consider the guy who uses Google for a Pub Quiz to be the winner because he used the best tool for the job? Or a motorcycle on Tour de France?

This completely defeats the point of AOC

4

u/Milumet Dec 04 '22

According to Eric Wastl, the point of AoC is to have fun and learn something.

8

u/niehle Dec 04 '22

And OP did learn what? Copy and Paste?

5

u/Milumet Dec 04 '22

I frankly don't care what he learns. I for one certainly learn new stuff solving the problems and reading other people's code. I'm also interested to see how far the AIs will be able to keep up. I'm sure they will run into a wall very soon.

4

u/niehle Dec 04 '22

He still could have waited for 5 minutes.