How ragntune/llm-crossword works
This repository is a crossword challenge scaffold, not a completed LLM solver. Its runnable example loads and edits a puzzle and makes a separate Azure OpenAI greeting call; puzzle parsing, grid state, puzzle authoring, and Guardian puzzle downloading are implemented as distinct paths. The README describes the intended clue-answering and conflict-resolution workflow and four puzzle levels, but no solver implementation is shown. Edges are limited to excerpted calls and documented inputs; the downloader’s external fetch relationship is shown as unverified.
Main entry points: crossword.py Grid and Clue State · main.py Interactive Demo · utils.py Puzzle Loader · create.py Puzzle Creator
Components 11
Runnable Example
- Interactive Demo
main.py
Puzzle Model
- Puzzle Loader
src/crossword/utils.py - Grid and Clue State
src/crossword/crossword.py - Puzzle Types
src/crossword/types.py - Puzzle Errors
src/crossword/exceptions.py
Puzzle Sources
- Puzzle Creator
src/create.py - Sample Puzzles
data - Guardian Fetch and Export
src/download.py
Other components
- Developer
- Azure OpenAI
- Guardian Website
Connections 10
- Developer → Interactive Demo: runs
README.md - Interactive Demo → Puzzle Loader: loads puzzle
main.py - Puzzle Loader → Grid and Clue State: creates or validates
src/crossword/utils.py - Grid and Clue State → Puzzle Types: uses models
src/crossword/crossword.py - Grid and Clue State → Puzzle Errors: raises
src/crossword/crossword.py - Puzzle Loader → Sample Puzzles: reads JSON
src/crossword/utils.py - Puzzle Creator → Puzzle Types: builds entries
src/create.py - Puzzle Creator → Grid and Clue State: constructs puzzle
src/create.py - Guardian Fetch and Export → Guardian Website: fetches clues
src/download.py - Interactive Demo → Azure OpenAI: requests greeting
main.py