How siva9664/time_table_scheduler works
The product is an AI-assisted academic timetable scheduler. Administrators and faculty manage academic data or upload source documents; the backend imports and interprets that knowledge, then provides constraint-based timetable generation and viewing. The frontend also supports authentication and ingestion review. The graph includes the main API, scheduling, ingestion, and persistence layers. Some ingestion and scheduler relationships are based on the source index and README rather than complete source excerpts, so uncertain internal sequencing is not shown.
Main entry points: knowledge_ingestion.py Knowledge ingestion API · api.js API client · App.jsx App routing · timetable.py Timetable API
Components 26
Frontend
- App routing
frontend/src/App.jsx - Login
frontend/src/components/Login.jsx - Academic data management
frontend/src/components/Admin - Timetable UI
frontend/src/components/Timetable - Ingestion UI
frontend/src/components/KnowledgeIngestion - API client
frontend/src/services/api.js
Backend API
- Authentication API
backend/app/api/endpoints/auth.py - CSV import API
backend/app/api/endpoints/imports.py - Knowledge ingestion API
backend/app/api/endpoints/knowledge_ingestion.py - Timetable API
backend/app/api/endpoints/timetable.py
Knowledge ingestion
- File handling
backend/app/services/ingestion/file_handler.py - Document parsers
backend/app/services/ingestion/parsers.py - OCR engine
backend/app/services/ingestion/ocr_engine.py - AI extraction
backend/app/services/ingestion/ai_extractor.py - Deduplication
backend/app/services/ingestion/deduplicator.py - Learning rules
backend/app/services/ingestion/learning_engine.py - Ingestion persistence
backend/app/services/ingestion/mongo_writer.py
Scheduling
- Document analysis
backend/app/services/document_analysis.py - Document constraints
backend/app/services/document_constraints.py - Constraint parser
backend/app/services/ai_parser.py - Constraint solver
backend/app/services/scheduler.py
Identity and persistence
- Authentication and authorization
backend/app/core/security.py - MongoDB access
backend/app/database/database.py
Other components
- Administrator or faculty
- MongoDB
- AI model service
Connections 33
- Administrator or faculty → App routing: uses
frontend/src/App.jsx - App routing → Login: routes to
frontend/src/App.jsx - App routing → Academic data management: routes to
frontend/src/App.jsx - App routing → Timetable UI: routes to
frontend/src/App.jsx - App routing → Ingestion UI: routes to
frontend/src/App.jsx - Login → API client: calls
frontend/src/components/Login.jsx - Academic data management → API client: calls
frontend/src/components/Admin/BatchManager.jsx - Timetable UI → API client: calls
frontend/src/components/Timetable/TimetableGenerator.jsx - Ingestion UI → API client: calls
frontend/src/components/KnowledgeIngestion/DuplicateReview.jsx - API client → Authentication API: HTTP requests
frontend/src/services/api.js - API client → CSV import API: HTTP requests
- API client → Knowledge ingestion API: HTTP requests
frontend/src/services/api.js - API client → Timetable API: HTTP requests
frontend/src/services/api.js - Authentication API → Authentication and authorization: authenticates
backend/app/api/endpoints/auth.py - Authentication API → MongoDB access: reads and writes
backend/app/api/endpoints/auth.py - Authentication and authorization → MongoDB access: loads users
backend/app/core/security.py - CSV import API → Document constraints: uses
backend/app/api/endpoints/imports.py - CSV import API → MongoDB access: accesses
- Knowledge ingestion API → File handling: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → Document parsers: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → AI extraction: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → Deduplication: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → Learning rules: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → Ingestion persistence: uses
backend/app/api/endpoints/knowledge_ingestion.py - Knowledge ingestion API → MongoDB access: accesses
backend/app/api/endpoints/knowledge_ingestion.py - Document parsers → OCR engine: uses
backend/app/services/ingestion/parsers.py - Timetable API → Constraint parser: uses
backend/app/api/endpoints/timetable.py - Timetable API → Document analysis: uses
backend/app/api/endpoints/timetable.py - Timetable API → Document constraints: uses
backend/app/api/endpoints/timetable.py - Timetable API → Constraint solver: dispatches to
backend/app/api/endpoints/timetable.py - Document analysis → AI model service: analyzes with
- Constraint parser → AI model service: parses with
- MongoDB access → MongoDB: connects to
backend/app/database/database.py