How bkshgtm/personalizedadaptivelearning works
PAL 2.0 is a Django personalized-learning system. Its central user-to-result loop is student interaction and course data, knowledge-tracing predictions, then individualized learning paths and resource suggestions. Separate capabilities cover document/content ingestion, topic classification, knowledge-graph management, and educator analytics through the REST API. The graph emphasizes those product stages and their data models. Some connections are documented in the README or SOURCE INDEX rather than shown in excerpts; uncertain wiring is omitted rather than inferred.
Main entry points: adaptive_path_lstm.py Adaptive Path Generator · views.py REST API · tasks.py Training and Prediction Tasks · document_processor.py Document Processing
Components 23
Learning Experience
- Learning Records
core/models.py - Answer Validation
core/services/answer_validation.py - Path and Recommendation Data
learning_paths/models.py - Adaptive Path Generator
learning_paths/ml/adaptive_path_lstm.py - Path Generation Tasks
learning_paths/tasks.py
Knowledge Tracing
- Tracing Jobs and Mastery
ml_models/models.py - Interaction Preparation
ml_models/ml/django_data_preparation.py - DKT Model
ml_models/ml/dkt.py - SAKT Model
ml_models/ml/sakt.py - Training and Prediction Tasks
ml_models/tasks.py - Model Evaluation
ml_models/ml/evaluation_metrics.py
Content and Curriculum
- Knowledge Graph Data
knowledge_graph/models.py - Graph Operations
knowledge_graph/services/graph_operations.py - Upload Records
data_ingestion/models.py - Document Processing
data_ingestion/services/document_processor.py - CSV Processing
data_ingestion/services/csv_processor.py - Ingestion Tasks
data_ingestion/tasks.py - Topic Classification
topic_classification/services/classifier_factory.py - Classification Tasks
topic_classification/tasks.py - Classification Jobs
topic_classification/models.py
API and Analytics
- REST API
api/views.py
Other components
- Students
- Dissect Service
Connections 28
- Students → REST API: use
- REST API → Learning Records: reads and writes
api/views.py - REST API → Tracing Jobs and Mastery: dispatches
api/views.py - REST API → Path and Recommendation Data: dispatches
api/views.py - REST API → Answer Validation: calls
api/views.py - Answer Validation → Learning Records: reads
core/services/answer_validation.py - Training and Prediction Tasks → Interaction Preparation: prepares data
ml_models/tasks.py - Training and Prediction Tasks → DKT Model: trains
ml_models/tasks.py - Training and Prediction Tasks → SAKT Model: trains
ml_models/tasks.py - Training and Prediction Tasks → Tracing Jobs and Mastery: updates jobs
ml_models/tasks.py - DKT Model → Model Evaluation: evaluates with
ml_models/ml/dkt.py - SAKT Model → Model Evaluation: evaluates with
ml_models/ml/sakt.py - Path Generation Tasks → Adaptive Path Generator: delegates to
learning_paths/tasks.py - Adaptive Path Generator → Interaction Preparation: uses
learning_paths/ml/adaptive_path_lstm.py - Adaptive Path Generator → Learning Records: reads
learning_paths/ml/adaptive_path_lstm.py - Adaptive Path Generator → Knowledge Graph Data: uses
learning_paths/ml/adaptive_path_lstm.py - Adaptive Path Generator → Path and Recommendation Data: generates recommendations
- Graph Operations → Knowledge Graph Data: queries
knowledge_graph/services/graph_operations.py - Ingestion Tasks → Document Processing: calls
data_ingestion/tasks.py - Ingestion Tasks → CSV Processing: calls
data_ingestion/tasks.py - Ingestion Tasks → Upload Records: updates status
data_ingestion/tasks.py - Document Processing → Upload Records: reads and writes
data_ingestion/services/document_processor.py - Document Processing → Answer Validation: uses
data_ingestion/services/document_processor.py - Document Processing → Dissect Service: calls
data_ingestion/services/document_processor.py - Classification Tasks → Topic Classification: uses
topic_classification/tasks.py - Classification Tasks → Classification Jobs: updates
topic_classification/tasks.py - Topic Classification → Classification Jobs: configures from
topic_classification/services/classifier_factory.py - Topic Classification → Dissect Service: optional integration