Skip to content

Mexbow/Guarded-Exam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guarded Exam – AI-Powered Plagiarism Detection & Auto-Grading

Guarded Exam is a web-based exam submission system designed to enhance academic integrity using advanced Natural Language Processing (NLP). It automatically detects AI-generated answers and grades student submissions based on semantic similarity to model answers—without intrusive monitoring.


🚀 Features

  • ✍️ Exam Form Interface – Simple, secure web form for student answers.
  • 🤖 AI Detection Module – Identifies GPT-like AI-written content using fine-tuned transformer models.
  • 🧠 Similarity Scoring – Automatically grades answers based on semantic similarity to tutor-provided answers.
  • 📊 Instructor Dashboard – View results, detection outcomes, and grades.
  • 🐳 Dockerized Deployment – Fully containerized via Docker and Kubernetes for easy scaling and reproducibility.

🧱 Architecture

  • Backend: Django
  • Frontend: HTML/CSS
  • Models:
    • RoBERTa-large OpenAI Detecor, GPT-2 (AI Detection)
    • DeBERTa-v3-zero-shot, DeBERTa Cross-Encoder (Similarity Scoring)
  • Database: SQLite
  • Deployment: Docker + KinD (Kubernetes in Docker)

🛠️ Installation

# Clone the repository
git clone https://github.com/Mexbow/Guarded-Exam.git
cd guarded-exam

# Build and start containers
docker-compose up --build

Or deploy via Kubernetes:

# Load Docker images into KinD
kind load docker-image guarded-exam-api

# Apply Kubernetes manifests
kubectl apply -f k8s/

🧪 Testing & Results

Module Metric Score
AI Detection Accuracy 98.8%
Similarity Model Accuracy 93.0%
False Positives AI Detection < 3%
False Positives Similarity Model < 10%

All models were fine-tuned on large-scale datasets such as AI vs Human Text, Quora Question Pairs, and SciTLDR.


📦 Datasets Used

  • AI vs Human Text (Kaggle)
  • DAIGT-v2 Dataset
  • Human vs LLM Text Corpus
  • Quora Question Pairs
  • STSB Multi-MT
  • AllenAI SciTLDR

📜 License

This project is licensed under the MIT License. See the LICENSE file for more details.


🙏 Acknowledgements

  • Hugging Face Transformers
  • Django REST Framework
  • Docker & Kubernetes community
  • Our supervisors at FCAI-HU

📷 Images

  • Front Page: image
  • Admin View: image
  • Teacher View: image image image image
  • Student View: image image

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors