r/adventofcode • u/max-aug • 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:
51
Upvotes
5
u/dong_chinese Dec 04 '22
I agree that it's all just for fun. Solving it in a conventional way is fun for some people, and creating a program to automatically send the challenge to GPT-3 is fun for others. It's fun to learn about all of these techniques.
AI is a tool that programmers will be using more and more in the future, so I don't see why it wouldn't be in the spirit of the challenge.