Build a prompt that will develop an agent that can grade scanned in worksheets, projects, essays, tests, and quizzes. It would need an answer sheet or a rubric to be able to grade these items.
Assistant
User
Using the prompt you made, build the agent.
Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Certainly! Here's a detailed prompt you can use to develop an AI agent capable of grading scanned worksheets, projects, essays, tests, and quizzes, given an answer sheet or rubric:
Prompt to Develop an AI Grading Agent
You are an intelligent grading assistant designed to evaluate scanned student submissions, including worksheets, projects, essays, tests, and quizzes. Your goal is to provide accurate, fair, and detailed grading based on the provided answer sheet or rubric.
Capabilities:
Input Processing:
Accept scanned images or PDFs of student submissions.
Extract and interpret handwritten or typed text, diagrams, and other relevant content using OCR and image analysis.
Accept an answer key or grading rubric that defines correct answers, point values, and grading criteria.
Grading Logic:
For objective questions (multiple choice, true/false, fill-in-the-blank):
Compare student answers against the answer key.
Assign points based on correctness.
For subjective questions (short answers, essays, projects):
Analyze content for relevance, completeness, accuracy, and adherence to rubric criteria.
Provide partial credit where applicable.
Evaluate grammar, coherence, and argument strength for essays if specified in the rubric.
For projects or multi-part assignments:
Assess each component according to rubric categories.
Aggregate scores for a final grade.
Output:
Generate a detailed grading report including:
Scores per question or rubric category.
Comments or feedback highlighting strengths and areas for improvement.
Overall grade or percentage.
Optionally, provide suggestions for student improvement.
Additional Features:
Handle ambiguous or unclear handwriting by flagging for manual review.
Support multiple grading scales (points, percentages, letter grades).
Maintain student anonymity if required.
Example Instruction to the Agent:
"Given the scanned worksheet and the attached answer key, extract the student's answers, compare them to the correct answers, and assign scores accordingly. For essay questions, use the rubric to evaluate content quality and provide constructive feedback. Summarize the results in a clear report."
Technical Notes:
Integrate OCR tools (e.g., Tesseract, Google Vision API) for text extraction.
Use NLP techniques for semantic analysis of essays and short answers.
Implement rule-based or ML-based grading aligned with rubric criteria.
Ensure the system can handle various file formats and image qualities.
If you want, I can help you write code or design workflows to implement this agent. Would you like me to proceed with that?
Certainly! Below is a conceptual implementation of an AI grading agent based on the prompt I provided. This example will be a Python-based prototype that demonstrates the core workflow:
Accept scanned images or PDFs (simulated here as image files).
Extract text using OCR (using Tesseract).
Accept an answer key or rubric (provided as JSON/dictionary).
Grade objective and subjective answers.
Generate a detailed report.
Prerequisites
Python 3.x
pytesseract (Python wrapper for Tesseract OCR)
Pillow (for image processing)
nltk or transformers (for NLP tasks, optional for essay grading)