PROJECT 22 • DAY 13 OF 90 • ACADEMIC & POWER BI ANALYTICS

GRADELENS
WEAKNESS BI.

Question-level academic performance intelligence turning exam scripts into actionable topic weakness diagnostics — powered by 8 PostgreSQL 18 / SQLite views, a 5-page Microsoft Power BI DAX reporting layer, Confidence Blind-Spot matrices, and revision gain tracking.

Python 3.12PostgreSQL 18Power BI DAX8 SQL ViewsStreamlit 1.6633/33 Pytest
GradeLens Preview
BI & SQL LAYER
8 Views • 5 Power BI Pages
PYTEST SUITE
33 / 33 Passed
7 States
Deterministic Weakness Rules
8 SQL Views
PostgreSQL 18 / SQLite
5 PBI Pages
Certified DAX Reporting
33 / 33
Pytest Tests Passed
01 / Overview

FROM COARSE SEMESTER GRADES TO QUESTION-LEVEL DIAGNOSTICS.

Overall GPAs hide whether marks are lost to conceptual gaps, formula mix-ups, or exam time pressure. GradeLens classifies every topic transparently and measures post-revision recovery.

01

Question-Level Mistake Taxonomy

Logs difficulty, question type (MCQ/Numerical/Code), obtained marks, and error root causes (Conceptual, Formula, Calculation, Careless, Timing).

02

7-State Weakness Engine

Classifies topics deterministically into Repeated Weakness (<60% across >=2 exams), Weak, Monitoring, Strong (>=75%), Improving, Declining, or Insufficient Data.

03

Metacognitive Blind-Spot Matrix

Pairs student confidence (Low/Medium/High) with answer accuracy to pinpoint dangerous high-confidence errors.

04

Revision Gain Tracker

Directly compares topic accuracy before vs after logged revision sessions to prove study ROI.

05

8 SQL Views + Power BI DAX

Includes powerbi/export_powerbi.py feeding a certified 5-page Microsoft Power BI cohort and faculty executive report.

06

Student & Faculty Portals

Role-based Streamlit UI with CSV/Excel bulk import validators and explainable natural-language reasoning callouts.

02 / Architecture

HOW IT WORKS.

Question responses land in PostgreSQL 18 / SQLite, materialize via 8 SQL views, and feed both Streamlit engines and 5-page Power BI DAX.

STAGE 01

Ingest Scores

Manual entry, CSV/Excel or persona seed.

→
STAGE 02

8 SQL Views

PostgreSQL 18 / SQLite analytical layer.

→
STAGE 03

Weakness AI

7-state deterministic classification rules.

→
STAGE 04

Blind Spots

Confidence vs correctness calibration.

→
STAGE 05

BI & Plan

Streamlit Student/Faculty + Power BI.

03 / Screenshots

APPLICATION SCREENSHOTS.

Live screens captured from the running application. Click any image to view full size, or follow setup instructions in the GitHub repository.

04 / Technical Details

DETERMINISTIC 7-STATE TOPIC WEAKNESS ENGINE.

Key modules, rules, safety checks, and automated test results documented in the repository.

Classification State Exact Rule Threshold Diagnostic Explanation
Repeated Weakness Accuracy < 60% across >= 2 exams Flags entrenched syllabus gaps early
Strong vs Monitoring Strong >= 75% | Monitoring 60%–74.9% Separates mastery from borderline topics
Improving / Declining >= +15 pts gain or -15 pts drop Quantifies revision momentum trends
QA & Power BI Sync 5-page DAX layer + parameterized SQL 33 / 33 Pytest Passed
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in GradeLens.

RELATIONAL & SQL
PostgreSQL 18 • 8 SQL Views
BUSINESS INTELLIGENCE
Power BI (5-Page DAX Layer)
WEB WORKSPACE
Streamlit 1.66 • Plotly
PYTHON STACK
Python 3.12 • SQLAlchemy 2.1
IMPORTS & SEEDING
CSV / Excel Validation Templates
VERIFICATION
Pytest (33/33 Passed)
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for GradeLens.

Automated LMS / Moodle gradebook CSV connector.
Spaced-repetition Anki / flashcard export generated from Blind-Spot topics.
Peer-normalized percentile bands for competitive cohort exams.
PDF faculty mid-semester early intervention advisories.
Adaptive mock quiz generator weighted toward Repeated Weaknesses.
Mobile study timer sync logging active topic revision minutes.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

View the complete codebase, sample datasets, quick-launch scripts, and automated test suites on GitHub.