How maazlab/essayevalpro works
Project type and purpose
• EssayEvalPro is a Python-based backend service (a command-line or micro-service application) that ingests student essays, runs NLP pipelines for plagiarism detection, relevancy analysis, and grammar checking, then returns a composite score. There is no separate “frontend” directory, so it’s purely backend, callable via python app.py.
File structure
• Top-level files:
• app.py – the entry point that orchestrates the workflow
• utils.py – helper functions for text processing, DB I/O, or metric calculations
• requirements.txt – lists Python NLP and DB libraries
• Data files:
• training_set.tsv – corpus for plagiarism baseline or relevancy models
• sample.txt, test.txt, *.txt/.pdf/.docx – example essays or tests
• Postman collections:
• Contract Testing.postman_collection.json, Integration Testing.postman_collection.json, etc. – indicate there may be REST endpoints under test (even if not reflected in a “routes/” folder, the author intends to expose an HTTP API).
README for additional insights
• The system performs four sequential tasks:
1. Plagiarism Detection (compare input vs. essay DB)
2. Relevancy Calculation (title vs. content alignment)
3. Grammar Mistake Analysis (NLP grammar checks)
4. Score Generation (aggregates metrics)
• Dependencies on an existing essay database or configurable new database.
Elements
• Clear component labels (e.g., “Plagiarism Detector”)
• Rectangles for services/modules
• Parallelograms for external clients