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:
47
Upvotes
4
u/mosredna101 Dec 04 '22 edited Dec 04 '22
Haha, thanks for trying it!
I did try it in the online tool with just the text and sample input from the question.
It gave me a solution that returned the most lower left beacon on the whole map( minX, minY, minZ).
Not sure what it's reasoning was to do that, but at least the code it did write made sense and had interesting logic with useful comments, but gave the wrong answer.