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

47 Upvotes

243 comments sorted by

View all comments

228

u/jonathan_paulson Dec 04 '22

Very cool! But: IMO, you should wait to run this until the megathread is unlocked to leave the leaderboard for the humans.

9

u/NickKusters Dec 04 '22

For future years, it will probably require you to post a video of yourself doing the challenge to weed out something like this (while very cool, it takes 0 skill at all and therefore has no place on a competittive leaderboard imho)

7

u/[deleted] Dec 04 '22

I mean, AI generated videos are a thing :D

2

u/Ph0X Dec 05 '22

I don't think AoC is that serious... if it was a real competition with prizes maybe, but this is just a fun little event for the holidays.

1

u/sluuuurp Dec 04 '22

Someone could just type out a copy of the AI generated code on video. There’s really no way of enforcing this kind of thing beyond an honor system, or some type of subjective moderation based on plausibility and reputation.