How beccaovels/refl-ed-by-baskom-joints-2026 works
Refl-Ed is a browser-based micro-teaching rehearsal app for Indonesian teachers. A teacher selects a lesson and materials, rehearses in a video-call-style room, receives live transcription and AI-student interaction, then reviews an evidence-based report and progress history. The graph preserves the documented scheduling, material, live-signal, and reporting capabilities. Some route and service implementations were not sampled; uncertain connections are omitted or marked dashed.
Main entry points: main.py FastAPI application · db.py Application database · Room.jsx Practice room · sessions.py Session lifecycle
Components 26
Teacher experience
- App navigation
frontend/src/App.jsx - Practice room
frontend/src/features/simulator/room/Room.jsx - Audio recorder
frontend/src/features/simulator/audio/recorder.js - Camera signals
frontend/src/features/simulator/vision/index.ts - Material upload
frontend/src/features/setup/MaterialUploader.jsx - History and trends
frontend/src/lib/data.js - Browser API client
frontend/src/lib/api.js
Application API
- FastAPI application
backend/app/main.py - Session lifecycle
backend/app/api/sessions.py - Audio endpoint
backend/app/api/audio.py - Signal endpoint
backend/app/api/signals.py - Materials endpoint
backend/app/api/materials.py - Report endpoint
backend/app/api/reports.py - Practice schedule
backend/app/api/schedule.py
Rehearsal and feedback
- AI student
backend/app/services/questions.py - Speech transcription
backend/app/services/stt.py - Material retrieval
backend/app/services/rag.py - Example reading
backend/app/services/examples.py - Evidence-based scoring
backend/app/services/scoring.py - Language model gateway
backend/app/services/llm.py
Identity and state
- User ownership checks
backend/app/core/auth.py - Application database
backend/app/core/db.py - Domain records
backend/app/models.py
Other components
- Teacher
- LLM provider
- Speech provider
Connections 36
- Teacher → App navigation: uses
README.md - App navigation → Practice room: routes to
frontend/src/App.jsx - Practice room → Audio recorder: uses
frontend/src/features/simulator/room/Room.jsx - Audio recorder → Browser API client: sends audio
frontend/src/features/simulator/audio/recorder.js - Practice room → Browser API client: calls
frontend/src/features/simulator/room/Room.jsx - Practice room → Camera signals: collects signals
frontend/src/features/simulator/room/Room.jsx - Teacher → Material upload: uploads materials
README.md - Material upload → Browser API client: submits materials
- App navigation → History and trends: loads and saves
frontend/src/App.jsx - Browser API client → FastAPI application: HTTP requests
README.md - FastAPI application → Session lifecycle: registers route
backend/app/main.py - FastAPI application → Audio endpoint: registers route
backend/app/main.py - FastAPI application → Signal endpoint: registers route
backend/app/main.py - FastAPI application → Materials endpoint: registers route
backend/app/main.py - FastAPI application → Report endpoint: registers route
backend/app/main.py - FastAPI application → Practice schedule: registers route
backend/app/main.py - Session lifecycle → AI student: requests capstone
backend/app/api/sessions.py - Session lifecycle → Report endpoint: starts report
backend/app/api/sessions.py - Audio endpoint → Speech transcription: transcribes audio
- Signal endpoint → Domain records: stores measurements
- Materials endpoint → Material retrieval: indexes material
backend/app/api/materials.py - Materials endpoint → Example reading: reads examples
backend/app/api/materials.py - Example reading → Material retrieval: indexes page text
backend/app/services/examples.py - AI student → Material retrieval: retrieves context
backend/app/services/questions.py - AI student → Language model gateway: generates questions
backend/app/services/questions.py - Report endpoint → Evidence-based scoring: builds report
backend/app/api/reports.py - Evidence-based scoring → Language model gateway: requests analysis
backend/app/services/scoring.py - Language model gateway → LLM provider: calls provider
backend/app/services/llm.py - Speech transcription → Speech provider: transcribes remotely
- FastAPI application → Application database: initializes
backend/app/main.py - Application database → Domain records: creates tables
backend/app/core/db.py - User ownership checks → Application database: loads user records
backend/app/core/auth.py - Session lifecycle → User ownership checks: checks ownership
backend/app/api/sessions.py - Materials endpoint → User ownership checks: checks ownership
backend/app/api/materials.py - Practice schedule → Application database: stores plans
- Report endpoint → Application database: stores reports
backend/app/api/reports.py