Back to Portfolio
PRIMARY FEATURED PROJECT

Eveloo: AI-Powered Exam Analytics Platform

A future-ready multi-exam preparation system focused on helping NEET aspirants improve performance through mock tests, personalized telemetry, and mistake analytics.

Next.jsNestJSPostgreSQLPrismaRedisAWSOpenAIPython

1. Problem Statement

Preparing for high-stakes competitive examinations like NEET requires more than just reading material. Aspirants face a core feedback loop failure: they take mock exams, see their score, but lack detailed telemetry on **why** they failed specific sub-topics, **how** their timing profile affected their performance, and **which** patterns lead to recurring mistakes.

Existing platforms treat assessment statically. There is no automated framework to track specific weak sub-topics over multiple exams, analyze speed-to-accuracy correlation, and dynamically generate targeted follow-up tests to patch conceptual gaps.

2. Product Thinking

Our core vision was to create a **high-agency feedback loop**. Instead of generic test series, Eveloo acts as an adaptive learning companion. Every interaction yields deep telemetry.

  • Granular Sub-Topic Mapping: Mapping questions not just to "Physics" or "Mechanics", but to exact sub-nodes (e.g., "Rotational Inertia of Hollow Spheres") to pinpoint weaknesses.
  • Time-based Telemetry: Measuring time spent per question. Answering correctly in 15 seconds is a core strength; taking 180 seconds to get it right indicates a lack of conceptual fluency.
  • The "Mistake Vault": A centralized record of incorrect answers, categorizing mistakes (silly error, formula lapse, conceptual gap) to enable adaptive re-testing.

3. System Architecture

Eveloo utilizes a decoupled architecture to separate real-time exam operations from heavy analytics and AI tasks. Below is a high-level representation:

[Client UI: Next.js 15] ──(HTTPS/SSE)──> [NestJS Backend Engine]
│
├──> [Redis Cache: Session & Active Tests]
│
├──> [PostgreSQL DB: Prisma ORM]
│
└──> [Async Task Workers: Python / LangChain RAG]

To maintain 99.9% uptime during high-concurrency exam windows, test states are periodically synchronized to a **Redis cache cluster** before hitting the **PostgreSQL database**. If a user loses connection mid-exam, their progress is instantly hot-restored from Redis.

4. Database Design

The relational layout is optimized to record rich exam metadata and performance logs. Below is a subset of the **Prisma Schema** representation:

model User {
  id        String   @id @default(uuid())
  email     String   @unique
  name      String?
  attempts  Attempt[]
}

model Question {
  id          String   @id @default(uuid())
  examType    String   // NEET, JEE, etc.
  subject     String
  chapter     String
  subTopic    String
  difficulty  String
  content     String   // MDX or JSON structure
  answer      String
}

model Attempt {
  id          String   @id @default(uuid())
  userId      String
  user        User     @relation(fields: [userId], references: [id])
  score       Int
  totalTime   Int      // in seconds
  logs        ResponseLog[]
}

model ResponseLog {
  id          String   @id @default(uuid())
  attemptId   String
  attempt     Attempt  @relation(fields: [attemptId], references: [id])
  questionId  String
  selected    String
  isCorrect   Boolean
  timeSpent   Int      // time spent in seconds
}

5. Technical Challenges & Solutions

Challenge 1: Real-time telemetry ingestion. Recording precise seconds spent on each question created high-frequency database writes (e.g., 5000 concurrent students clicking through questions).
Solution: Implemented a batch-buffering queue. Client-side state tracks seconds-per-question in memory and flushes payloads back in 30-second heartbeats or during exam navigation, avoiding database locks.

Challenge 2: Multi-exam flexibility. Scaling structure from NEET format to other formats (e.g. JEE, UPSC) without restructuring codebases.
Solution: Formulated a polymorphic metadata schema. Subjects, marking rules, and section distributions are treated as configuration profiles loaded dynamically depending on the active exam identifier.

6. Analytics Design

The analytics dashboard uses advanced visualizations built using SVG & lightweight client charts. Key highlights:

  • Accuracy-to-Velocity matrix: A scatter plot mapping questions by speed (X) and accuracy (Y) to show if speed increases error rates.
  • Weak Topic Priority Index: Calculated as: (1 - accuracy) * topic_weight, ensuring topics representing high weightage in exams get flagged first.

7. Future Roadmap

The next iteration of Eveloo targets AI-driven automated remediation:

  • AI-Powered Question Extraction: Scraping NCERT textbooks and PDF archives using LangChain & RAG to formulate unique mock exams matching exactly the latest pattern.
  • Predictive Analytics: Implementing rank predictive models based on aggregate mock scores.
  • AI Study Assistants: A conversational agent that can review a student's mistake vault and explain the underlying formulas and concepts in an interactive session.