Skip to content

therenotomorrow/aoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent Of Code

How I spent my third and last time solving Advent Of Code for 2024. This was complicated, huge thanks to:

System Requirements

python --version 
# Python 3.13.1

Installation

pip install -U pip poetry
poetry --version
# Poetry (version 2.0.0) 
poetry install --no-root

Development

After adding some code samples run code.sh

make code

You can automate linter action before each commit by calling pre-commit

# setup pre-commit and check integrity
git config --local core.hooksPath .githooks

Testing

Test your changes with simple run test.sh

# fast unit tests to be sure that no regression was 
make test/smoke
# same as test/smoke but with creation coverage report
make test/cover
# ---------- coverage: platform darwin, python 3.13.1-final-0 ----------
# Name                                 Stmts   Miss  Cover
# --------------------------------------------------------
# ...
# --------------------------------------------------------
# TOTAL                                 1802      0   100%

Solutions

Problem Solution
Historian Hysteria day01.py
Red-Nosed Reports day02.py
Mull It Over day03.py
Ceres Search day04.py
Print Queue day05.py
Guard Gallivant day06.py
Bridge Repair day07.py
Resonant Collinearity day08.py
Disk Fragmenter day09.py
Hoof It day10.py
Plutonian Pebbles day11.py
Garden Groups day12.py
Claw Contraption day13.py
Restroom Redoubt day14.py
Warehouse Woes day15.py
Reindeer Maze day16.py
Chronospatial Computer day17.py
RAM Run day18.py
Linen Layout day19.py
Race Condition day20.py
Keypad Conundrum day21.py
Monkey Market day22.py
LAN Party day23.py
Crossed Wires day24.py
Code Chronicle day25.py

About

How I spent my third and last time solving Advent Of Code for 2024.

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages