Inspiration

University teachers spend hours reading lecture notes, drafting questions, formatting assessments, and grading responses across separate tools. QuizGenius brings PDF-to-quiz creation, course-scoped publishing, student attempts, grading, and result tracking into one web workflow—while keeping teachers in full control of final review and academic quality.

What it does

  • PDF-to-Quiz Generation: Teachers upload PDFs or lecture notes (processed temporarily in memory) and configure difficulty, marks, time limits, and question types (MCQ, short answer, long answer, and step-based math).
  • Course-Scoped Review & Delivery: Teachers review, edit, and publish quizzes specifically for their enrolled course or class students—whether in universities, schools, or tuition centers—using course enrollment or join codes (e.g., QZ-XXXX).
  • Student Attempts & Grading: Registered students access only their relevant teacher's and course's quizzes, complete timed attempts, and view instant scores and feedback. Objective and step-based questions are graded automatically, while descriptive answers receive AI-assisted evaluation.
  • Teacher Dashboard, Quotas & Export: Teachers monitor attempts, inspect answer-level breakdowns, export results as CSV, and manage usage under subscription-based limits.

How we built it

  • Frontend: React 18, TypeScript, Vite, Tailwind CSS, Framer Motion, and Lucide React — deployed on Vercel at quizgenius.site.
  • Backend: Python 3.12, FastAPI, Uvicorn, SQLAlchemy ORM, and JWT authentication with bcrypt password hashing — deployed on Render.
  • Database: Neon PostgreSQL for production records, with SQLite for local development.
  • AI & PDF Processing: PyPDF2 for PDF text extraction, Groq API (LLaMA-3.3-70B) for quiz generation, and Google Gemini API for AI-assisted descriptive evaluation.
  • Source Code: Publicly available on GitHub.

Challenges we ran into

  • Structured AI Output: Maintaining reliable JSON quiz generation across mixed question types while handling external AI API errors and rate limits gracefully.
  • Balanced Grading: Combining automated scoring with teacher review so descriptive feedback stays useful without replacing educator judgment.
  • Production Hardening: Migrating from local SQLite to Neon PostgreSQL, securing environment secrets and CORS, managing temporary in-memory uploads, enforcing course-level access isolation, and fixing responsive mobile menu layering.

Accomplishments that we're proud of

  • Deployed a live, end-to-end working web MVP at quizgenius.site requiring zero local setup.
  • Completed live usability testing with 5 external users across registration, quiz joining, attempts, results, and mobile responsiveness.
  • Recorded 103 registered student accounts, 48 quizzes, 279 questions, 52 attempts, 163 answers, and our first live paid subscription (PKR 1,500).

What we learned

  • Designing a human-in-the-loop AI workflow where teachers verify generated drafts is essential for classroom trust.
  • Scoping quiz visibility by teacher and course makes the platform practical for real classrooms and tuition centers.
  • Production readiness—database migration, error handling, usage quotas, and mobile UX—matters just as much as the core AI feature.

What's next for QuizGenius

  • Running a structured university campus pilot to validate repeat teacher usage and pricing.
  • Adding stronger AI review controls, retry/fallback handling, and automated monitoring.
  • Expanding with a reusable question bank, institutional multi-tenancy, and integrated billing.

Development Disclosure

  • Built before Nov 21, 2026: Early development-phase QuizGenius MVP with basic PDF-to-quiz generation, open free usage, and a flat delivery flow where generated quizzes were accessible to all students globally, alongside Vercel/Render/Neon deployment.
  • Added/Improved during Global AI Builder's Challenge (Nov 21–28, 2026): Rebuilt quiz delivery into a teacher- and course-scoped workflow (so only students enrolled with a specific teacher/course can access and attempt relevant quizzes across schools, classrooms, or tuition centers), added subscription-based usage limits, and resolved core development-phase bugs and UI issues.

AI Disclosure

QuizGenius uses the Groq API (LLaMA-3.3-70B) for PDF-to-quiz generation and the Google Gemini API for AI-assisted descriptive answer evaluation and feedback. Teachers review and approve all AI-generated questions and evaluations before use.

Built With

Share this project:

Updates

Submission history