Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

QPP+

AI-Powered Question Paper Generation Platform

QPP+ is an enterprise-grade platform that assists educational institutions in generating high-quality examination papers using Artificial Intelligence while maintaining academic standards, curriculum alignment, and institutional control.

The platform combines a modern web application with a modular AI backend to transform natural language requirements into structured, validated examination papers.


Vision

To build an intelligent examination operating system that helps universities, colleges, schools, and educational organizations automate the entire examination creation workflow—from blueprint planning to paper generation, review, approval, and export.


Platform Overview

                         QPP+ Platform

                    ┌──────────────────────┐
                    │   Teacher / Faculty  │
                    └──────────┬───────────┘
                               │
                               ▼
                     Frontend (Next.js)
                               │
                               ▼
                     REST API (FastAPI)
                               │
        ┌──────────────────────┼──────────────────────┐
        ▼                      ▼                      ▼
 Blueprint Engine      AI Generation Engine    Question Repository
        │                      │                      │
        └──────────────┬───────┴──────────────┬───────┘
                       ▼                      ▼
               Validation Engine      Future Retrieval
                       │
                       ▼
                Generated Examination
                       │
                       ▼
              Export / Review / Storage

Repository Structure

QPP+

├── backend/
│   ├── app/
│   ├── tests/
│   ├── alembic/
│   ├── requirements.txt
│   └── README.md
│
├── frontend/
│   ├── app/
│   ├── components/
│   ├── lib/
│   ├── public/
│   ├── package.json
│   └── README.md
│
├── docs/
│
└── README.md

Technology Stack

Frontend

  • Next.js (App Router)
  • TypeScript
  • React
  • Tailwind CSS
  • shadcn/ui
  • React Query

Backend

  • FastAPI
  • SQLAlchemy
  • PostgreSQL
  • Alembic
  • Pydantic v2

AI

  • Groq API
  • GPT OSS Models
  • Provider Registry
  • Provider Abstraction Layer

Platform Architecture

                  Teacher Prompt

                         │

                         ▼

              Examination Blueprint

                         │

                         ▼

             Blueprint Validation

                         │

                         ▼

              AI Prompt Generation

                         │

                         ▼

                 AI Provider Layer

                         │

                         ▼

               Generated Examination

                         │

                         ▼

                 Validation Engine

                         │

                         ▼

                  Final Examination

Core Components

Frontend

Responsible for:

  • Authentication
  • Dashboard
  • Prompt Creation
  • Examination Preview
  • Paper Editing
  • Review Workflow
  • Export Interface

Backend

Responsible for:

  • AI orchestration
  • Blueprint generation
  • Prompt construction
  • Paper generation
  • Validation
  • Constraint solving
  • Export preparation
  • Future retrieval engine

AI Engine

The AI layer is provider independent.

Application

↓

Provider Registry

↓

AI Provider

↓

Groq

Future providers can be integrated without changing application logic.


Examination Generation Pipeline

Teacher Prompt

↓

Blueprint Parser

↓

Blueprint Validation

↓

Prompt Builder

↓

AI Generation

↓

Paper Builder

↓

Constraint Validation

↓

Final Paper

Features

Current

  • AI-powered paper generation
  • Structured blueprint engine
  • Modular generation pipeline
  • Constraint validation
  • Provider abstraction
  • JSON-based examination output
  • REST API
  • Modern web interface

Planned

  • Vector search retrieval
  • Question bank management
  • Faculty review workflow
  • Approval pipeline
  • Version control
  • PDF generation
  • DOCX export
  • Analytics dashboard
  • Multi-institution support
  • Role-based access control

Design Principles

  • Modular Architecture
  • Provider Independence
  • Blueprint-Driven Generation
  • Schema Validation
  • Extensible Pipeline
  • Enterprise Scalability
  • Deterministic Processing

Development Setup

Backend

cd backend

python -m venv venv

source venv/bin/activate

pip install -r requirements.txt

uvicorn app.main:app --reload

Frontend

cd frontend

npm install

npm run dev

API Documentation

Once the backend is running:

http://localhost:8000/docs

Swagger UI provides interactive API documentation.


Project Status

Module Status
Frontend ✅ Active Development
Backend ✅ Active Development
AI Engine ✅ Working
Blueprint Engine ✅ Working
Paper Generation ✅ Working
Validation Engine ✅ Working
Retrieval Engine 🚧 Planned
Export Engine 🚧 Planned
Faculty Workflow 🚧 Planned

Long-Term Roadmap

Phase 1

  • AI Infrastructure
  • Blueprint Engine
  • Paper Generation
  • Validation

Status: ✅ Completed


Phase 2

  • Retrieval-Augmented Generation
  • Question Repository
  • Similarity Search
  • Difficulty Analysis

Status: 🚧 In Progress


Phase 3

  • Faculty Review
  • Approval Workflow
  • Paper Versioning
  • Export Engine

Status: 📋 Planned


Phase 4

  • Multi-Tenant Architecture
  • Institution Management
  • Analytics
  • AI Insights
  • Enterprise Deployment

Status: 📋 Planned


Documentation

Detailed documentation is available inside the docs/ directory.

Planned documents include:

docs/

├── ARCHITECTURE.md
├── BACKEND.md
├── FRONTEND.md
├── AI_ENGINE.md
├── PIPELINE.md
├── API.md
├── DEPLOYMENT.md
└── ROADMAP.md

License

This project is currently under active development.

License information will be added before the first public release.


Author

QPP+ Development Team

Building the next generation of AI-powered examination systems.

About

AI-powered examination generation platform with blueprint-driven paper creation, validation, and institutional workflows.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages