TopicTrace: Concept-Level Learning Gap Detector and Adaptive Revision Planner

5 min read
Rs. 22000 only

Share this project:

Machine Learning

Most student performance systems only predict a final result, such as pass or fail. By the time that prediction is made, it is often too late to act, and it does not tell the student what to study. A student who scores 55% in a course may be strong in some topics and very weak in others, but a single grade hides this. 

This project, “TopicTrace”, shifts the focus from predicting a grade to tracing understanding at the topic level. Using quiz, assignment, and exam data tagged by course topic, the system estimates how well each student knows each concept, tracks how that knowledge changes over time, and forecasts which topics the student is likely to fail in upcoming assessments. Students with similar learning patterns are grouped by clustering, and the system explains every prediction in plain language (for example, “Weak in Loops and Arrays; low quiz attempts in Week 4”). 

Based on these findings, the system generates a personalised revision plan that schedules weak topics using spaced repetition and a forgetting-curve model, and recommends a priority order based on exam weightage and available study time. A dashboard gives teachers a topic-level heatmap of the class, showing which concepts need re-teaching, and gives students a personal knowledge map and weekly study plan.

Functional Requirements 

0. Dataset: 

o Collect topic-tagged assessment data: quiz/assignment/exam scores, question-totopic mapping, attempt timestamps, and attendance. 

o Possible sources: open datasets such as the Open University Learning Analytics Dataset (OULAD), ASSISTments, or EdNet, and/or a small dataset collected from a course (with anonymised student IDs). 

1. Data Pre-processing: 

o Clean the data: handle missing scores, duplicate attempts, and inconsistent topic labels. 

o Map each question or assessment item to a course topic and prerequisite topic. 

o Engineer features such as topic accuracy, attempts per topic, time gap between attempts, score trend, and attendance rate. 

o Normalise numeric features, encode categorical variables, and split the data by student into training and testing sets. 

2. Machine Learning Models: 

o Knowledge tracing: implement Bayesian Knowledge Tracing and/or an Elo-based mastery model to estimate topic mastery per student. 

o Prediction: apply Logistic Regression, Random Forest, and Gradient Boosting (XGBoost) to predict the chance of failing the next topic assessment. 

o Clustering: use K-Means to group students into learning profiles (e.g., consistent, last-minute, struggling-but-improving). 

o Evaluate with accuracy, precision, recall, F1-score, and AUC; compare models and select the best for deployment. 

o Explainability: use SHAP to show which factors drive each prediction. 

3. Revision Planner Module: 

o Rank weak topics by mastery gap, exam weightage, and prerequisite dependency. 

o Generate a weekly study schedule using spaced-repetition intervals based on a forgetting-curve estimate. 

o Allow the student to enter available study hours and exam date, and adjust the plan accordingly. 

4. Dashboard Development: 

o Teacher view: class topic heatmap, list of at-risk students, topics needing reteaching, and learning-profile distribution. 

o Student view: personal knowledge map, mastery progress over time, predicted weak topics, and the weekly revision plan. 

o Role-based login for teachers and students, with anonymised data handling. 

5. Recommendations: 

o Early alerts for students predicted to struggle in an upcoming topic. 

o Plain-language explanation of the reasons behind each alert. 

o Suggested actions such as practice quizzes, revision of prerequisite topics, or extra tutorial sessions.

    Tools & Technologies
  • Operating System: Windows OS
  • Programming Language: Python
  • Libraries: scikit-learn, Pandas, NumPy, XGBoost, SHAP, Matplotlib, Plotly/Dash
  • Database: MySQL / PostgreSQL / SQLite
  • Frameworks: Flask or Django for backend integration
  • Visualization Tools: Power BI or Tableau (optional for extended dashboards)

Share this project:

Faisal Mehmood

Faisal Mehmood Expert in CS619 Final Year Projects and software development.

View all projects