Skip to content

Lunik/adventofcode

Repository files navigation

adventofcode

Tests

Tests & performance report

Challenge source

Setup

make install

Solutions

Solution algorithm can be found in adventofcode/solutions folder.

Execute solution and profiler :

PYTHONPATH=".:$PYTHONPATH" ./venv/bin/python3 adventofcode/solutions/yXXXX/dYY/partZ.py

/!\ Solution values found in adventofcode/tests are only valid for my test input stored next to solutions code in input.txt files.

Test

make test

or

make test-2021

lint

make lint

Render html result

make render

Then open docs/index.html