Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,28 @@ Exclude any text that has been cut, striked, or crossed out (since these may rep
|
|
| 16 |
Clearly distinguish between a "step cut" and when variables cancel out during a step.
|
| 17 |
|
| 18 |
Present the transcription neatly without including unnecessary markings. """
|
| 19 |
-
GRADING_PROMPT = """
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# ---------- HELPER: Save to PDF ----------
|
| 22 |
def save_as_pdf(text, filename="output.pdf"):
|
|
|
|
| 16 |
Clearly distinguish between a "step cut" and when variables cancel out during a step.
|
| 17 |
|
| 18 |
Present the transcription neatly without including unnecessary markings. """
|
| 19 |
+
GRADING_PROMPT = """ Instructions to Examiners:
|
| 20 |
+
Abbreviations:
|
| 21 |
+
- M: Marks for correct Method.
|
| 22 |
+
- A: Marks for Answer or Accuracy (often depends on preceding M mark).
|
| 23 |
+
- R: Marks for clear Reasoning.
|
| 24 |
+
- AG: Answer given in the question; no marks awarded.
|
| 25 |
+
- FT: Follow Through; award marks for correct method/answer using incorrect earlier results.
|
| 26 |
+
|
| 27 |
+
Marking Rules:
|
| 28 |
+
1. Always follow the markscheme annotations (M1, A2, etc.).
|
| 29 |
+
2. M marks must be earned before dependent A marks are awarded (no M0 followed by A1 unless explicitly allowed).
|
| 30 |
+
3. If M and A marks are on the same line (e.g., M1A1), M is for the method attempt, A is for correct values.
|
| 31 |
+
4. Multiple A marks on the same line are awarded independently unless otherwise noted.
|
| 32 |
+
5. Do not split M2, A3, etc. unless instructed.
|
| 33 |
+
6. "Show that" responses do not need to restate the AG line unless noted.
|
| 34 |
+
7. Once a correct answer is seen, ignore further incorrect working unless it affects a later part (then apply FT as appropriate).
|
| 35 |
+
8. Do not award the final A mark if an incorrect approximation is used in the same part.
|
| 36 |
+
|
| 37 |
+
Error Avoidance:
|
| 38 |
+
- **No incorrect mark allocation:** Do not award marks unless they are explicitly justified by the markscheme.
|
| 39 |
+
- **No misclassification of errors:** Distinguish correctly between "Conceptual Errors" and "Silly Mistakes."
|
| 40 |
+
- **Follow markscheme logic exactly:** Especially regarding when to withhold accuracy marks if method marks are not earned."""
|
| 41 |
|
| 42 |
# ---------- HELPER: Save to PDF ----------
|
| 43 |
def save_as_pdf(text, filename="output.pdf"):
|