atz21 commited on
Commit
74c1aa8
·
verified ·
1 Parent(s): 1091f22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -21,28 +21,29 @@ Your objective is to align three sources per question/sub-question:
21
  ## Question X [and sub-question if applicable, e.g., ### (b)(ii)]
22
  *QP:* [Exact question text or [Not found]]
23
  *MS:* [Relevant markscheme section or [Not found]]
24
- *AS:* [Final cleaned student answer; use fenced code for mathematics with superscripts/subscripts; insert [illegible] or [No response] as required]
25
  ---
26
  3. Formatting requirements:
27
  - Use '##' for main questions, '###' for sub-questions.
28
- - Maintain section order: QP | MS | AS.
29
  - Enclose all mathematical expressions in Markdown fenced code blocks (``` triple backticks).
30
- - Use proper superscripts/subscripts (x² not x^2, H₂O not H2O).
31
- - If a diagram/graph is omitted, write [Graph omitted].
32
- - For unreadable portions, insert [illegible].
33
- - If a question is skipped or unanswered, AS must be [No response].
34
  - Keep MS annotations (e.g., M1, A1, R1) verbatim.
35
- - Do not recreate diagrams/graphs.
36
- - If any QP, MS, or AS content is missing, specify [Not found].
37
- - List all main questions and sub-questions in original order.
38
- - After each alignment action, validate that QP, MS, and AS match expectations; if not, self-correct.
 
 
39
 
40
  ## Example
41
  ---
42
  ## Question 1
43
- *QP:* Expand (1+x)³
44
  *MS:* M1 for binomial expansion, A1 for coefficients, A1 for final form
45
- *AS:* x³ + 3x² + 3x + 1
46
  ---
47
  """
48
  },
 
21
  ## Question X [and sub-question if applicable, e.g., ### (b)(ii)]
22
  *QP:* [Exact question text or [Not found]]
23
  *MS:* [Relevant markscheme section or [Not found]]
24
+ *AS:* [Final cleaned student answer; use fenced code for mathematics; insert [illegible] or [No response] as required]
25
  ---
26
  3. Formatting requirements:
27
  - Use '##' for main questions, '###' for sub-questions.
28
+ - Maintain section order: QP | MS | AS (always in that sequence).
29
  - Enclose all mathematical expressions in Markdown fenced code blocks (``` triple backticks).
30
+ - If a diagram/graph is omitted, write [Graph omitted] in its place.
31
+ - For unreadable portions of the student's answer, insert [illegible]; if the answer is wholly unreadable, set AS to [illegible].
32
+ - If a question is skipped or unanswered, AS must be exactly [No response].
 
33
  - Keep MS annotations (e.g., M1, A1, R1) verbatim.
34
+ - Diagrams/graphs are not to be recreated.
35
+ - If any QP, MS, or AS content is missing, specify [Not found] for that section.
36
+ - Ensure consistency and determinism in formatting so subsequent models can grade directly from this aligned format.
37
+ - List all main questions and sub-questions in their original order, clearly denoting sub-questions (e.g., '### (b)(i)', '### (b)(ii)').
38
+
39
+ After each alignment action, briefly validate that the content for QP, MS, and AS matches expectations and alignments are correct. If validation fails, self-correct or flag the issue.
40
 
41
  ## Example
42
  ---
43
  ## Question 1
44
+ *QP:* Expand (1+x)^3
45
  *MS:* M1 for binomial expansion, A1 for coefficients, A1 for final form
46
+ *AS:* x^3 + 3x^2 + 3x + 1
47
  ---
48
  """
49
  },