How frozen-afk/you_know_i_test_things works
This repository presents the Santa 2026 Elf Calculator competition and provides both an interactive browser playground and a Python solver for producing and checking puzzle submissions. The browser workflow is: enter or select a puzzle, solve or edit a program, then inspect its validity and execution trace. The site also explains the planner, exposes the Python source, and guides command-line runs. The solver excerpts are partial, so internal Python call relationships not directly shown are omitted or marked unverified.
Main entry points: App.tsx Tabbed application · elf_solver.py Solver CLI · Playground.tsx Puzzle playground · CopyButton.tsx Copy control
Components 16
Web experience
- Tabbed application
src/App.tsx - Puzzle playground
src/components/Playground.tsx - Planner explanation
src/components/Approach.tsx - Source viewer
src/components/CodeView.tsx - Run guide
src/components/RunGuide.tsx - Copy control
src/components/CopyButton.tsx
Browser planner
- Puzzle presets
src/lib/examples.ts - Browser planner
src/lib/elf.ts
Python solver
- Solver CLI
solver/elf_solver.py - Program search
solver/elf_solver.py - Program verifier
solver/elf_solver.py - Submission output
solver/elf_solver.py - Synthetic puzzle generator
solver/make_synthetic.py
Solver guidance
- Planner stages
src/components/Approach.tsx
Other components
- Competition user
- Puzzle CSVs
Connections 17
- Competition user → Tabbed application: opens
- Tabbed application → Puzzle playground: renders
src/App.tsx - Tabbed application → Planner explanation: renders
src/App.tsx - Tabbed application → Source viewer: renders
src/App.tsx - Tabbed application → Run guide: renders
src/App.tsx - Puzzle playground → Puzzle presets: loads
src/components/Playground.tsx - Puzzle playground → Browser planner: solves and verifies
src/components/Playground.tsx - Puzzle playground → Copy control: renders
src/components/Playground.tsx - Source viewer → Copy control: renders
src/components/CodeView.tsx - Run guide → Copy control: renders
src/components/RunGuide.tsx - Planner explanation → Planner stages: presents
src/components/Approach.tsx - Competition user → Solver CLI: runs commands
- Puzzle CSVs → Solver CLI: supplies puzzle CSV
- Solver CLI → Program search: dispatches solve
solver/elf_solver.py - Solver CLI → Program verifier: dispatches check
solver/elf_solver.py - Program search → Submission output: writes programs
solver/elf_solver.py - Solver CLI → Program verifier: rechecks results
solver/elf_solver.py