Skip to content

AI-Powered Personalized Remediation System with Multi-Engine Practice Generation - #109

Open
02Tirtha wants to merge 17 commits into
vicharanashala:mainfrom
02Tirtha:main
Open

AI-Powered Personalized Remediation System with Multi-Engine Practice Generation#109
02Tirtha wants to merge 17 commits into
vicharanashala:mainfrom
02Tirtha:main

Conversation

@02Tirtha

Copy link
Copy Markdown

🚀 AI-Powered Personalized Remediation System

Overview

This PR introduces a comprehensive Personalized Remediation System that automatically generates concept-specific practice questions for students based on their incorrect answers in assessments.

After a Diagnostic Test or Level Worksheet evaluation, the system identifies incorrect responses, detects the underlying learning concept, and generates 5 personalized practice questions to help students strengthen their understanding of that concept.

The implementation combines deterministic generation with AI-powered content generation to ensure remediation is always available, even when external AI services are unavailable.


✨ Highlights

  • ✅ Automatic remediation generation after assessment evaluation
  • ✅ AI-powered concept detection using a Concept Dictionary
  • ✅ Smart routing between multiple generation engines
  • ✅ Generates 5 personalized practice questions per incorrect answer
  • ✅ Background asynchronous generation pipeline
  • ✅ Guaranteed fallback mechanism for high reliability
  • ✅ Remediation Ledger for storing generated practice
  • ✅ Frontend Remediation Notes page for teachers and students

🏗️ Architecture

Evaluation Engine (Python)
            │
            ▼
   Remediation Service
            │
            ▼
     Smart Generative Engine
            │
     ┌──────┼──────┐
     ▼      ▼      ▼
 Numeric  Matrix  Gemini AI
            │
            ▼
 Blueprint Engine (Fallback)

⚙️ Workflow

  1. Student submits a Diagnostic Test or Level Worksheet.
  2. Evaluation Engine identifies incorrect answers.
  3. Remediation Service creates a remediation ledger.
  4. Original questions are mapped to learning concepts.
  5. Smart Router selects the best generation engine:
    • Numeric Engine
    • Matrix Engine
    • Gemini AI
  6. If AI generation fails, Blueprint Engine generates deterministic practice questions.
  7. Five personalized practice questions are stored and displayed in the Remediation Notes page.

🧠 Generation Engines

Numeric Engine

Generates arithmetic and calculation-based practice questions such as addition, subtraction, multiplication, division, fractions, measurements, place value, and comparisons.

Matrix Engine

Generates classification, matching, odd-one-out, pattern recognition, and visual reasoning exercises.

Gemini AI

Handles complex language-based, tracing, clock, tally, geometry, and other advanced educational question types.

Blueprint Engine

Provides deterministic concept-based question generation and serves as a reliable fallback whenever AI generation is unavailable.


💡 Key Features

  • Automatic concept detection
  • Personalized concept-wise remediation
  • AI + Rule-based hybrid generation
  • Background asynchronous processing
  • Guaranteed fallback mechanism
  • Remediation status tracking
  • Human-readable remediation hints
  • Frontend remediation notes with generated practice questions

📂 Major Components

  • RemediationService
  • GenerativeEngine
  • BlueprintEngine
  • NumericEngine
  • MatrixEngine
  • ConceptDictionary
  • RemediationLedger
  • RemediationNotesView

🎯 Benefits

  • Personalized learning for every student
  • Immediate practice after evaluation
  • Reduced teacher effort
  • Reliable remediation generation with fallback support
  • Easily extensible for new concepts and question types

@02Tirtha
02Tirtha marked this pull request as draft August 4, 2026 17:13
@02Tirtha
02Tirtha marked this pull request as ready for review August 4, 2026 17:14
@02Tirtha
02Tirtha marked this pull request as draft August 4, 2026 17:14
@02Tirtha
02Tirtha marked this pull request as ready for review August 5, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant