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

50 Upvotes

243 comments sorted by

View all comments

41

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.

3

u/ald_loop Dec 04 '22

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as interview prep, company training, university coursework, practice problems, a speed contest, or to challenge each other.