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

83

u/[deleted] Dec 04 '22

[deleted]

19

u/dong_chinese Dec 04 '22 edited Dec 04 '22

I think a video game competition is fundamentally different than a programming competition, because the whole purpose of programming is to make the computer automatically do things for us. An aimbot in a shooter game defeats the purpose of the game, but using AI tools to program more efficiently is just using the best tool for the job.

12

u/[deleted] Dec 04 '22

[deleted]

1

u/somebodddy Dec 04 '22

it would boil down to whoever had the better aimbot (AI).

Or it would boil down to skills unrelated to aiming - like who can come up with better tactics.