About
## The problem it solves
## The Problem
Universities, polytechnic institutes, government training boards, and corporate learning academies spend heavily on faculty development and student capacity-building programs, yet these programs are fundamentally inefficient:
- **One-size-fits-all curricula** — training is scheduled without an objective diagnosis of each participant's real baseline competency.
- **Fragmented records** — progress, attendance, materials, and quiz scores live in disconnected systems.
- **Manual assessment** — evaluations rely on repetitive hand-written question banks instead of dynamic, difficulty-calibrated tests.
- **Unverifiable credentials** — certificates have no tamper-proof issuance or cryptographic verification record.
## How CampusPilot AI Solves It
CampusPilot AI is an end-to-end **competency intelligence platform** built on Next.js 14, TypeScript, PostgreSQL, and Prisma, with an AI layer powered by NVIDIA NIM (Llama 3.1 70B / Nemotron, with a local heuristic fallback).
- **5-Tier Competency Matrix** — maps every technical domain from Level 1 (Novice) to Level 5 (Expert), with radar telemetry and deficit badges showing exact gaps (Current: L2 → Target: L4).
- **AI MCQ Assessment Studio** — trainers paste syllabus text and the AI synthesizes Bloom's Taxonomy-aligned multiple-choice questions with rationales, published to a course in one click.
- **Personalized Recommendations** — an algorithm scores courses and faculty trainers and matches them to each learner's specific gaps with an explainable rationale (e.g. 96.5% match).
- **Cryptographically Verifiable Certificates** — passing an assessment automatically issues a certificate with an immutable SHA-256 hash and a verification code (CP-AI-2026-XXXX).
- **Context-aware AI Copilot** — an AI tutor grounded in the learner's actual enrollments, scores, and gaps.
## Who It Is For
Universities and faculty development centres (role-based workspaces for Trainees, Trainers, and Admins), aligned with NEP 2020 goals around Continuous Professional Development, Outcome-Based Education, and micro-credentialing. It makes capacity building measurable, personalized, and auditable — and makes credentials that anyone can independently verify.
## Challenges we ran into
## Challenges We Ran Into
**1. Making AI output trustworthy and structured.** Generating MCQs from raw syllabus text initially produced inconsistent formats. We solved this by constraining the NVIDIA NIM prompts to a strict JSON schema, validating the response server-side, and adding a **local heuristic fallback engine** so the generator still works when the external API times out or a key is missing.
**2. Grounding the AI copilot in real learner data.** A generic chatbot gave generic answers. We built a context-injection layer that reads the learner's enrollments, competency scores, and computed gaps from PostgreSQL and feeds that into every prompt, so answers reference their actual courses and deficits.
**3. A modal that clipped behind the navbar.** Early modals were cut off by the header on small screens. We replaced the ad-hoc approach with a centralized React Portal modal system rendered via `createPortal(..., document.body)` at `z-[100]`, with a full-screen blurred backdrop, body scroll lock, and Escape-key handling.
**4. Closing the loop from a passed quiz to a verified credential.** Getting assessment submission to update competency levels and issue a certificate atomically was tricky. We moved the grading, competency upgrade, and SHA-256 certificate generation into a single server-side flow so a pass reliably produces an immutable, verify-able credential.
**5. Fast role-switching for demos.** TanStack-style heavy state and full page reloads made role switches slow. We added an intelligent `sessionStorage` cache and a lightweight Auth Context, giving sub-100ms transitions between Trainee, Trainer, and Admin workspaces.
Screenshots
Team
From the public Devfolio project page. Votes, swipes and the judge score are hackfeed's own.











