How euribates/advent_of_code_2024 works
Main Components
a. Template System:
• Cookiecutter-aoc template directory as a central component
• How it generates the structure for new daily challenges
b. Daily Solution Structure (repeated pattern):
• Core Module (core.py)
• Part One Solution (part_one.py)
• Part Two Solution (part_two.py)
• Test Components (test_core.py)
• Input/Sample Data Management
c. Special Components:
• Godot integration (specifically for day_04)
• Demo scripts (found in day_15 and day_16)
[Project Root]
• [Template System]
• [Day Template Structure]
• [Common Pattern]
• [Core Logic]
• [Part Solutions]
• [Testing Framework]
• [Daily Implementations]
• [Standard Days]
• [Special Days]
Relationships
• Template generation flow (cookiecutter → daily structure)
• Dependency relationships between core.py and part solutions
• Test coverage relationships
• Data flow from input files to solutions
Important Details to Highlight
a. File Structure Pattern:
• How each day follows the same basic structure
• Modular approach with separate core logic and solutions
b. Testing Framework:
• How test files relate to core implementation
• Sample data usage in testing
c. Special Cases:
• Day_04's Godot integration
• Demo implementations for days 15-16
Special implementations and variations
Remember to include a notes section explaining:
• The encrypted nature of input files (.gpg)
• The relationship between sample files and test cases
• Any day-specific variations or special requirements