Skip to content

Prepare elf v1.2.2 with a simpler puzzle template, Python cookbook, and Ubuntu CI - #10

Merged
cak merged 24 commits into
mainfrom
feat/update-template-and-fixes-for-1.2.2
Dec 2, 2026
Merged

cak merged 24 commits into
mainfrom
feat/update-template-and-fixes-for-1.2.2

Conversation

@cak

@cak cak commented Dec 2, 2026

Copy link
Copy Markdown
Member

This PR prepares elf v1.2.2 with an improved Advent of Code workflow and more reliable CI.

  • Simplifies generated puzzle files into four interactive cells with inline sample input, optional expected answers for both parts, and submission blocks that stay commented by default.
  • Adds optional helpers for extracting integers, grid neighbors, Manhattan distance, and puzzle MD5 hashing.
  • Adds a Python Advent of Code cookbook with practical examples for parsing, collections, grids, search, math, optimization, and debugging.
  • Improves input caching, submission cooldown handling, redirect behavior, leaderboard credential isolation, and guess history.
  • Runs the Python 3.11–3.14 test matrix on Ubuntu. Lint, formatting, and type checks run once, with dependency caching, timeouts, hang tracebacks, and cancellation of superseded runs.
  • Removes macOS and Windows jobs from CI. Their timeout cause remains unverified because GitHub Actions logs were unavailable,

cak added 23 commits December 2, 2026 10:58
… request handling and add test for submission redirect behavior
…file writing logic, and add tests for input handling
…e error reporting, and ensure proper input validation
…nhance cache reading, and improve error handling in leaderboard fetching
…new features, changes, fixes, security updates, and upgrade instructions
… and part, enhance instructions for setup and submission
…lanations for puzzle input handling, parsing, collections, iteration, graphs, and more
…up-python, quarto, upload-artifact, download-artifact, and deploy-pages
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

📚 Preview this PR's docs locally

Fetch the just-built site and open it in your browser:

# this exact build
great-docs preview --run 46968243590

# or always the latest build for this PR
great-docs preview --pr 10
Auth & tips
  • Requires great-docs: pip install great-docs (or run via pipx/uvx).
  • Auth: run gh auth login then add --use-gh, or set GITHUB_TOKEN (needs Actions: read).
  • Jump to a page: add --path reference/index.html.
  • Latest vs exact: --pr <n> grabs the newest build; --run <id> pins this one.
  • Re-download: --refresh ignores the local cache.

@cak
cak merged commit 88a3aad into main Dec 2, 2026
16 checks passed
@cak
cak deleted the feat/update-template-and-fixes-for-1.2.2 branch December 2, 2026 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant