Overview
Develop a template/script for Advent of Code 2025 that:
- Automatically fetches the input file for a given problem and day from the Advent of Code website using the user's session cookie.
- Provides an easy-to-use structure or harness for testing solutions locally with provided examples and real input.
- Offers automated solution submission to Advent of Code site, capturing and displaying the result/status.
Features
- Input Automation
- Fetch input file for a specific year and day based on user/session info.
- Store inputs in a local directory for later runs.
- Testing
- Integrate simple testing (using built-in asserts or a lightweight test framework) for checking solutions on sample input/output before running on real input.
- Optionally allow user to provide more test cases.
- Submission Automation
- Script to automatically submit answers to Advent of Code and process response, including handling of wrong-right answers, wait times, and reporting result to the user.
- Documentation & Setup
- Instructions for configuring the session cookie securely.
- Example usage to illustrate the workflow, e.g.,
python solve.py 2025 1 or similar.
Implementation Suggestions
- Choose Python for initial script (or make language-agnostic if practical).
- Separate configuration for session cookie/token to avoid accidental leaks.
- User prompts or CLI arguments for year, day, and part selection.
Benefits
- Saves time fetching/copying input and submitting answers manually.
- Reduces repeated boilerplate for new days/problems.
- Makes testing, development, and submission more reliable and streamlined.
Notes
This would improve usability, automation, and accelerate the workflow for Advent of Code 2025.
Overview
Develop a template/script for Advent of Code 2025 that:
Features
python solve.py 2025 1or similar.Implementation Suggestions
Benefits
Notes
This would improve usability, automation, and accelerate the workflow for Advent of Code 2025.