PROJECT 15 • DAY 5 OF 90 • EDTECH EARLY WARNING

ATTENDANCE
INTELLIGENCE.

A 4-portal Django 5.1.15 period-wise attendance intelligence and early-warning system built over 22 normalized models — delivering closed-form recovery projections, What-If simulators, idempotent parent absence alerts, OD workflows, and ML risk explainability.

Python 3.12Django 5.1.1522 ORM ModelsChart.js 4.4Scikit-Learn25/25 Tests
Student Attendance Intelligence Preview
PORTALS & SCHEMA
4 Portals • 22 Models
TEST SUITE
25 / 25 Passed
4 Portals
Admin • Faculty • Student • Parent
22 Models
Period-Level Relational DB
S = ceil(...)
Exact Recovery Formula
25 / 25
Automated Tests Passed
01 / Overview

INTERVENING BEFORE DEBARMENT BECOMES MATHEMATICALLY IMPOSSIBLE.

Whole-day attendance masks period skips until exam week. This system logs period-by-period sessions, notifies parents immediately, and tells students the exact consecutive classes needed to recover.

01

4 Role-Scoped Portals

Dedicated experiences for Admin (analytics & policy), Faculty (timetable rollup & approvals), Student, and Parent.

02

Exact Recovery Formula

Computes exact consecutive classes S = max(0, ceil((T*N - P)/(1-T))) required to hit target threshold T, handling edge cases safely.

03

What-If Recovery Simulator

Lets students model upcoming attend/miss scenarios interactively per subject alongside Safe (>=80%)/Warning/Critical tiers.

04

Idempotent Parent Alerts

Dispatches deduplicated absence notifications and collects structured parental absence explanations.

05

OD, Leave & Dispute Audits

Tracks symposium/hackathon On-Duty applications and roll-call edits with mandatory faculty edit reason trails.

06

Decision Tree & Excel Sync

Pairs explainable rule-based velocity flags with a Scikit-Learn Decision Tree risk service and formula-safe OpenPyXL exports.

02 / Architecture

HOW IT WORKS.

Centralized calculation, risk, notification, ML, and OpenPyXL services power all 4 Django role views over 22 ORM tables.

STAGE 01

Period Roll

Faculty marks period attendance & OD.

→
STAGE 02

Recovery Math

Compute period % & consecutive target S.

→
STAGE 03

Risk Engine

Velocity rules + Decision Tree score.

→
STAGE 04

Parent Alerts

Idempotent absence notifications sent.

→
STAGE 05

4 Portals

Admin BI, Student What-If & Excel export.

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

RECOVERY MATHEMATICS & GOVERNANCE CONTROLS.

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

Engine Component Mathematical / Policy Rule Verified Behavior
Calculation Engine S = max(0, ceil((T * N - P) / (1 - T))) Handles 0-session & 100%-target guards
Risk Classification Safe >= 80% | Warning | Critical tiers Early absence velocity alerts
Audit & Disputes Mandatory reason log on faculty edits Prevents silent roll-call tampering
Test Suite tests/ covering formulas, portals & Excel 25 / 25 Passed (100%)
05 / Tech Stack

CORE TECHNOLOGIES.

Frameworks, databases, visualization tools, and testing libraries used in Student Attendance Intelligence.

BACKEND FRAMEWORK
Django 5.1.15 • Python 3.12
RELATIONAL DATA
22 Normalized ORM Models
ML & ANALYTICS
Scikit-Learn • Chart.js 4.4
IMPORTS & EXPORTS
OpenPyXL (Formula-Safe)
DESIGN SYSTEM
Warm Ivory & Forest Green
VERIFICATION
25 / 25 Tests Passed
06 / Next Steps

FUTURE ENHANCEMENTS.

Upcoming improvements planned for Student Attendance Intelligence.

SMS/WhatsApp gateway webhook adapter for offline parent alerts.
Academic timetable clash & holiday calendar sync importer.
Departmental semester-end accreditation PDF compliance bundle.
Student burnout correlation view across early-morning labs.
QR/NFC rotating classroom check-in token verification plugin.
REST API endpoints for campus mobile companion apps.
OPEN-SOURCE PROJECT • GITHUB.COM/RAGURAMRRP

EXPLORE SOURCE & DOCS.

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