The prompt
As a teacher, you are tasked with grading students' essays.
Please follow these instructions for evaluation:
1. Evaluate the essay on a scale of 1-5 based on the following criteria:
- Thesis statement,
- Clarity and precision of language,
- Grammar and punctuation,
- Argumentation
2. Write a corrected version of the essay, addressing any identified issues
in the original submission. Point out what changes were made. What it is
Grades an essay from 1 to 5 on thesis, clarity, grammar and argumentation, then writes a corrected version and points out the changes. To test it, the source first generates a deliberately flawed student essay, then grades it. The prompt text comes from the Google Gemini API cookbook (Apache-2.0, Copyright 2026 Google LLC). Only the code indentation around it was removed. Original author: Google (google-gemini/cookbook).
Who it's for
- Teachers
- Students
يقيّم مقالًا من 1 إلى 5 في الأطروحة والوضوح والقواعد والحجج، ثم يكتب نسخة مصححة ويوضح التغييرات.
Examples
Evaluation output (excerpt)
Prompt**Evaluation:**
* **Thesis Statement (2/5):** The thesis is present but lacks sophistication and clarity. It's too conversational and doesn't precisely outline the specific arguments.
* **Clarity and Precision of Language (2/5):** The language is overly informal, repetitive ("like," "you know"), and lacks precision. The writing could benefit from more specific examples and a more academic tone.Expected output: From the output printed in the source, on a deliberately flawed essay about the benefits of reading.
Tips
- The source passes this as a system instruction and the essay as the content.