Skip to content

haesleinhuepf/git-bob-advent-of-code

Repository files navigation

Advent of code - solved using an LLM

This repository documents how one can solve Advent of Code 2024 (AOC) using git-bob and the Large Language Model (LLM) Claude-3.5-Sonnet from Anthropic. After solving AOC1 during a github issue discussion I decided to approach all AOCs this year like this. Hence, I created a repository for only this. You find the discussions I had with the LLM and the resulting AOC solutions in the list of issues of in this repository. As the submission times of question and answers are saved, we can later measure how long it took to solve the individal AOC puzzles.

How this was done

When approaching the AOCs, I created an issue with the full text of the AOC and a statement where to find the input data (typically aoc*.txt). Then, I added the trigger git-bob try to implement this. In case the solution was wrong, I copied over the error message, and asked git-bob try again. Once all AOCs are solved, I will add some statistics about how long it took to generate the code to solve the AOCs.

About

Solving the Advent of Code with LLMs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published