How julia-fortunato/paradigmas-trabalho-final works
This repository is both a playable Sudoku example and a course-delivery toolkit. The player workflow runs from the Elm interface through HTTP to FastAPI, across the embedded Janus bridge to Prolog, then returns results for display. The graph also preserves the substantial instructor scripts identified in the source index. Elm module details and several script interactions are based on README documentation or source-index references; unsampled internals and unsupported links are omitted.
Main entry points: Main.elm Game state and view · rubrica.py Grade rubric · main.js Elm bootstrap · baixar.py Fetch submissions
Components 16
Sudoku game
- Game state and view
frontend/src/Main.elm - Board rules
frontend/src/Sudoku.elm - HTTP client
frontend/src/Api.elm
API and solver
- HTTP API
backend/app/main.py - Prolog bridge
backend/app/prolog.py - Sudoku predicates
backend/prolog/sudoku.pl
Instructor tools
- Fetch submissions
scripts/baixar.py - Repository metrics
scripts/metricas.py - Grade rubric
scripts/rubrica.py - Aggregate 360 reviews
scripts/agregar_360.py - Validate submissions
scripts/validar_entrega.py - Audit submissions
scripts/auditar.py
Interface and styling
- Elm bootstrap
frontend/src/main.js - Themes and styles
frontend/src/style.css - Simple styles
frontend/src/style-simples.css
Other components
- Player
Connections 14
- Player → Game state and view: plays through
README.md - Game state and view → Board rules: uses board rules
README.md - Game state and view → HTTP client: requests actions
README.md - HTTP client → HTTP API: sends HTTP
README.md - HTTP API → Prolog bridge: calls
backend/app/main.py - Prolog bridge → Sudoku predicates: queries predicates
backend/app/prolog.py - Elm bootstrap → Game state and view: initializes
frontend/src/main.js - Elm bootstrap → Themes and styles: imports
frontend/src/main.js - Elm bootstrap → Simple styles: optional style
frontend/src/main.js - Fetch submissions → Repository metrics: uses
scripts/baixar.py - Fetch submissions → Validate submissions: uses
scripts/baixar.py - Grade rubric → Repository metrics: uses metrics
scripts/rubrica.py - Grade rubric → Aggregate 360 reviews: references
scripts/rubrica.py - Grade rubric → Validate submissions: uses
scripts/rubrica.py