Emotion Aware Code Tutor Using LLM ,Eye Gaze and Typing Pattern
Key points
From the paper's conclusion- A web application using Python and Django with SQLite stores user and coding-related information, and a local Qwen2.5-Coder:3B model generates coding questions and provides hints.
- The system monitors facial expressions, eye-gaze direction, and typing activity to understand the learner's behavioural state and provides immediate feedback after code submission.
- Combining behavioural information with AI-based coding assistance provides a more interactive and personalized coding-learning environment.
Abstract
Learning programming is not only about writing correct code.Students may become confused, lose focus or feel confident while solving a problem, but most coding platforms do not consider these changes.This paper presents an Emotion-Aware Code Tutor that combines coding practice with behavioural monitoring and AIbased assistance.The system is developed as a web application using Python and Django, with SQLite used for storing user and coding-related information.A local Qwen2.5-Coder:3Bmodel through Ollama is used to generate coding questions, provide hints, and evaluate submitted programs.During coding, the system monitors facial expressions, eye-gaze direction and typing activity to understand the learner's current behavioural state.When the learner appears to be struggling, the system provides basic hints, while a confident state can lead to a more challenging hint.The platform also records coding attempts, scores, hints used, gazeaway events, evaluation feedback, and performance history.The system provides immediate feedback after code submission and helps learners understand their programming mistakes.The stored performance information can be used to review progress and identify areas that need improvement.By combining behavioural information with AI-based coding assistance, the system reduces the limitation of conventional coding platforms that provide the same type of support to all learners.The developed approach provides a more interactive and personalized coding-learning environment and demonstrates the potential of combining LLM assistance with learner behaviour analysis.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- A web application using Python and Django with SQLite stores user and coding-related information, and a local Qwen2.5-Coder:3B model generates coding questions and provides hints.
- The system monitors facial expressions, eye-gaze direction, and typing activity to understand the learner's behavioural state and provides immediate feedback after code submission.
- Combining behavioural information with AI-based coding assistance provides a more interactive and personalized coding-learning environment.
Readers' thoughts
No reader thoughts yet.
Related papers
- A real-time multimodal attention monitoring system for online learning: integrating behavioral, affective, and activity indicators to support adaptive teachingFrontiers in Education · 2026
- Social-Qwen: From Individual Nonverbal Cues and Emotion to Multiparty Social Dynamics Understanding with Instruction TuningarXiv · 2026
- TutorLoop: Regulating Student Learning Behaviors via Sensor-in-the-Loop Generative FeedbackarXiv · 2026
- Visible Reasoning Is Not a Universal Optimizer: Persona- and Thinking-Dependent Effects in Analytics Code GenerationarXiv · 2026
- VisCodeBench: a new benchmark dataset for Text-to-Vis reflecting real-world practicearXiv · 2026
- Gazeful: A human-centered end-to-end eye-tracking workflow from recording to interactive analysisSoftwareX · 2026