Prompt for Developing an Automated Grading Agent
Objective:
Build an AI agent capable of autonomously grading scanned worksheets, projects, essays, tests, quizzes, and other student submissions. The agent must use provided answer keys, rubrics, or scoring guidelines to evaluate submissions accurately and provide detailed feedback.
Core Functionalities
-
Input Handling:
- Accepts scanned documents (e.g., PDF, images) or digital files (e.g., Word, Google Docs) of student work.
- Requires an answer key (for objective assessments) or a rubric (for subjective evaluations) as a reference for grading.
-
Grading Logic:
- Objective Assessments (e.g., tests, quizzes):
- Automatically matches student answers to an answer key.
- Scores multiple-choice, true/false, or fill-in-the-blank questions.
- Identifies partial credit opportunities (e.g., multi-step math problems).
- Subjective Assessments (e.g., essays, projects):
- Uses rubrics (structured criteria like clarity, organization, evidence, creativity) to evaluate written or project-based work.
- Analyzes text, images, or multimedia submissions for alignment with rubric criteria.
- Applies natural language processing (NLP) to assess grammar, coherence, and key concepts in essays.
-
Feedback Generation:
- Provides actionable feedback for each submission, highlighting strengths, weaknesses, and areas for improvement.
- For rubric-based grading, specifies which criteria were met or missed.
-
Adaptability:
- Supports diverse rubric formats (e.g., tables, bullet points, free-text descriptions).
- Adapts to different subject areas (math, English, science, etc.) based on provided rubrics or answer keys.
-
Error Handling:
- Flags ambiguous or incomplete submissions for human review.
- Detects potential grading discrepancies (e.g., conflicting rubric criteria) and alerts users.
Technical Requirements
-
OCR and Text Extraction:
- Uses optical character recognition (OCR) to extract text from scanned images (e.g., handwritten worksheets).
- Processes digital text smoothly and handles formatting variations.
-
Rubric Parsing:
- Automatically reads and interprets rubrics in structured formats (e.g., Excel tables, PDFs with clear criteria).
- Maps rubric criteria to grading metrics (e.g., "Thesis Statement: 20% of grade").
-
Machine Learning/NLP Integration:
- Leverages pre-trained models (e.g., BERT for text analysis) to evaluate essay quality.
- Trains on labeled data (e.g., past graded essays) to refine subjective grading accuracy.
-
Scalability:
- Handles high-volume grading (e.g., thousands of submissions per day).
- Batch-processing capability for efficiency.
-
User Interface:
- A dashboard for educators to upload submissions, rubrics, and review graded outputs.
- Exportable results (e.g., CSV files with scores and feedback).
Grading Workflow Example
- Step 1: Educator uploads a scanned math test and an answer key (e.g., "Problem 1: 42, Problem 2: x=5").
- Step 2: Agent OCRs the test, matches answers to the key, and scores each question.
- Step 3: For an essay, the educator provides a rubric with criteria like "Thesis (20%), Evidence (30%), Clarity (25%), Grammar (25%)".
- Step 4: Agent analyzes the essay text, assigns scores per rubric category, and generates feedback (e.g., "Weak evidence: Only one source cited").
- Step 5: Final scores and feedback are presented in a report, with options to manually adjust grades if needed.
Security and Compliance
- Ensures data privacy (e.g., FERPA compliance for student information).
- Encrypts submissions and grading outputs.
- Maintains audit logs for transparency in grading decisions.
Success Metrics
- Accuracy: 95%+ alignment with human-graded samples for objective assessments.
- Feedback Quality: Clear, actionable insights for subjective evaluations.
- User Satisfaction: Educators save ≥50% time on grading compared to manual processes.
Optional Enhancements
- Integration with learning management systems (LMS, e.g., Canvas, Moodle).
- Real-time grading updates for timed quizzes.
- AI-generated study recommendations based on common errors.
This prompt provides a framework for building an adaptable, reliable grading agent that reduces educator workload while maintaining educational rigor. The agent must prioritize accuracy, flexibility, and user-friendly design to meet diverse classroom needs.