Centralised Digital-Twin Platform for Student Activity Records & Institutional NAAC Accreditation Forecasting in HEIs
Transforming higher education administration with AI OCR, predictive ML credit projections, TF-IDF skill density mapping, vector-based career alignment, and automated NAAC institutional CGPA forecasting.
Edutwin AI is an institutional digital-twin ecosystem built specifically for Higher Education Institutions (HEIs). Traditional manual certificate collection and credit auditing workflows suffer from data fragmentation, verification delays, and lack of real-time insights into institutional accreditation standards (such as NAAC).
Edutwin AI bridges this gap by deploying an intelligent, multi-role digital platform that standardizes student activity logging, automates faculty credit verification, dynamically maps department-wide skill vectors, and delivers real-time accreditation CGPA forecasting for academic leadership.
- Extracts critical activity data directly from uploaded certificates, including Event Title, Category, Organizing Body, and Date.
- Generates an AI Confidence Score (%) and suggests credit allocation to streamline faculty verification workflows.
- Implements linear regression models to analyze individual participation velocity.
- Projects expected credit accumulation by graduation, highlighting students requiring academic intervention or credit acceleration.
- Analyzes unstructured text in verified achievement logs using TF-IDF (Term Frequency-Inverse Document Frequency) classification algorithms.
- Dynamically maps department-level core competencies (e.g. Software Development, Machine Learning, Leadership, Research & Publications).
- Converts verified student skill profiles into high-dimensional vector representations.
- Evaluates Cosine Similarity against industry role matrices to output percentage job readiness and personalized skill gap recommendations.
- Computes institutional CGPA metrics (scaled from 0.00 to 4.00) in real time based on departmental student participation density and verified co-curricular achievements.
- Provides institutional leadership with actionable data breakdowns across engineering, management, and science departments.
- Dedicated, secure dashboards customized for three institutional stakeholders:
- Students: Log achievements, track credit progress, run ML projections, and view career match vectors.
- Faculty Reviewers: Audit pending student submissions, review AI confidence ratings, adjust credits, and leave feedback.
- System Admins: Institutional analytics, NAAC CGPA breakdown, departmental metrics, and system-wide audit controls.
- Automatically compiles student achievement records into shareable web portfolios with custom Natural Language Generation (NLG) summaries.
- Supports native browser print-to-PDF formatting for institutional submissions and employer sharing.
flowchart TD
subgraph Client_Layer ["Frontend Application (Vite + React 19 + TypeScript)"]
UI_Student["Student Dashboard (Log Activities & Run ML)"]
UI_Faculty["Faculty Reviewer Dashboard (Audit & Allocate Credits)"]
UI_Admin["Admin NAAC Dashboard (CGPA Analytics & Dept Metrics)"]
UI_Portfolio["Public Student Portfolio (PDF Generator & NLG Summaries)"]
end
subgraph Service_Layer ["Services & ML Analytics Engine"]
OCR["AI OCR Certificate Parser"]
ML_Proj["ML Credit Projector (Linear Regression)"]
TFIDF["TF-IDF Skill Density Engine"]
Cosine["Vector Cosine Similarity Matcher"]
NAAC_Engine["NAAC Forecaster Engine"]
end
subgraph Database_Layer ["Backend Infrastructure (Supabase Cloud)"]
Auth["Supabase Auth (JWT & Role Claims)"]
DB[("Supabase Postgres DB (Profiles & Activities Tables)")]
Storage["Supabase Storage Bucket (Certificate Documents)"]
RLS["Row-Level Security Policies"]
end
UI_Student --> Auth
UI_Faculty --> Auth
UI_Admin --> Auth
UI_Student --> OCR
OCR --> Storage
UI_Student --> ML_Proj
UI_Student --> Cosine
UI_Faculty --> DB
UI_Admin --> NAAC_Engine
NAAC_Engine --> TFIDF
DB --- RLS
| Feature / Capability | Student | Faculty Reviewer | Admin |
|---|---|---|---|
| Certificate Upload & AI OCR Extraction | β | β | β |
| View Individual Credit Velocity & ML Projection | β | β | β |
| Vector Cosine Career Skill Matcher | β | β | β |
| Audit & Verify Student Submissions | β | β | β |
| Custom Credit Allocation & Feedback | β | β | β |
| Departmental Skill Density Visualizer | β | β | β |
| Institutional NAAC Accreditation CGPA Forecaster | β | β | β |
| Public Portfolio & PDF Resume Export | β | β | β |
| Layer | Technology | Purpose & Usage |
|---|---|---|
| Frontend Framework | React 19 | Modern UI component rendering with high reactivity |
| Language | TypeScript 6 | End-to-end static type safety and contract enforcement |
| Build Tool | Vite 8 | Rapid bundling, HMR, and lightning-fast developer experience |
| Styling & UI | Tailwind CSS v4 | Design system tokens, responsive glassmorphism & 3D micro-interactions |
| Icons & Visuals | Lucide React | Clean, accessible SVG icons |
| Database | Supabase Postgres | Relational data persistence for profiles and activity records |
| Authentication | Supabase Auth | Secure authentication handling role-based state |
| Security Layer | Supabase RLS | Row Level Security enforcing strict data isolation per user |
| Storage | Supabase Storage | Public/Private cloud bucket storing student certificates |
| Hosting & CI/CD | Vercel | Edge deployment and continuous integration |
Edutwin-AI/
βββ .env # Environment configuration (Supabase keys)
βββ .gitignore # Excluded dependencies and build artifacts
βββ EDUTWIN_AI_PROJECT_REPORT.md # Comprehensive institutional research report
βββ EDUTWIN_AI_PROJECT_REPORT.pdf # Full formatted PDF project document
βββ README.md # Project documentation
βββ eslint.config.js # ESLint linting configuration
βββ index.html # HTML application shell
βββ package.json # Package dependencies & scripts
βββ public/ # Static assets & public resources
βββ src/
β βββ App.tsx # Client-side router configuration
β βββ main.tsx # Bootstrap & 3D parallax interaction engine
β βββ index.css # Custom Tailwind directives & SaaS design tokens
β βββ assets/ # App image assets & logos
β βββ components/ # Reusable UI components (Navbar, CustomButton, etc.)
β βββ lib/ # Supabase client initialization
β βββ pages/ # Role-based page views
β β βββ Activities.tsx # Student Activity Logging & OCR interface
β β βββ AdminDashboard.tsx # Institutional Analytics & NAAC Forecaster
β β βββ FacultyDashboard.tsx# Faculty Verification & Audit Panel
β β βββ Login.tsx # Authentication login view
β β βββ Portfolio.tsx # Public Student Portfolio & PDF Export
β β βββ Profile.tsx # User profile settings & register metadata
β β βββ Register.tsx # Student & Faculty registration view
β β βββ StudentDashboard.tsx# Student overview & ML credit predictor
β βββ services/ # API & database service layer
β β βββ activityService.ts # Activity CRUD, metadata serialization & joins
β β βββ authService.ts # User authentication handling
β β βββ profileService.ts # User profile fetching & upserting
β β βββ storageService.ts # Certificate document storage uploads
β βββ types/ # Centralized TypeScript interface definitions
β βββ index.ts # Core types (Profile, Activity, NAACSummary, etc.)
βββ supabase_setup.md # SQL database schemas, triggers & RLS policies
βββ tsconfig.json # TypeScript compiler configuration
βββ vercel.json # Vercel deployment configuration
βββ vite.config.ts # Vite build & plugin configurations
Ensure you have the following installed on your machine:
- Node.js (v18.0.0 or higher)
- npm (v9.0.0 or higher) or pnpm / yarn
- A Supabase account (Free tier works perfectly)
git clone https://github.com/Mugilan-md/Edutwin-AI.git
cd Edutwin-AInpm installCreate a .env file in the project root directory:
VITE_SUPABASE_URL=https://your-supabase-project-id.supabase.co
VITE_SUPABASE_ANON_KEY=your-supabase-anon-public-key- Open your Supabase Project Console.
- Navigate to the SQL Editor.
- Copy the database setup script from
supabase_setup.md. - Run the query to create tables (
profiles,activities), enable Row Level Security (RLS), and apply policies.
npm run devOpen your browser at http://localhost:5173.
To compile the TypeScript project and bundle production artifacts:
npm run buildEdutwin AI enforces security at both the application level and database layer using Supabase Row Level Security (RLS):
- Profiles Table:
SELECT: Public access to view student profiles for portfolio generation.INSERT/UPDATE: Users can only edit their own profile matchingauth.uid().
- Activities Table:
SELECT: Students can view their own activities; Faculty and Admins can view all pending/approved activities.INSERT: Students can insert activities bound tostudent_id = auth.uid().UPDATE: Faculty and Admins can update status, credits, and feedback.
Distributed under the MIT License. See LICENSE for details.