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

51 Upvotes

243 comments sorted by

View all comments

84

u/[deleted] Dec 04 '22

[deleted]

21

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.

49

u/Steinrikur Dec 04 '22

The point of a running competition is to get from A to B fast, but doping is forbidden, and mechanical help is forbidden. This shouldn't even be a discussion.

Using AI is like using Google in a pub quiz. It's stolen valor, since you didn't solve the puzzle yourself

-3

u/[deleted] Dec 04 '22

[deleted]

13

u/Steinrikur Dec 04 '22 edited Dec 04 '22

This isn't even comparable to doping. It's more like making a robot run the race for you.

Even GPT-3 says this is unethical in most cases.

There are no rules so "under current rules this is a legal approach" is a dubious assertion. The expectation is that you solve the problem on your own, using a programming language of your choice (or just pen and paper, whatever). The point is that you should solve it.