Skip to content

Commit

Permalink
Update generate_suggestions.py to include official example solution
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonWehrhahn committed Sep 8, 2024
1 parent cf19f1c commit 3abd7cd
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@
{format_instructions}
"""

OFFICIAL_EXAMPLE_SOLUTION = """
<Official Example Solution>
{example_solution}
"""

STUDENT_SUBMISSION = """
<Student Submission>
{submission}
Expand All @@ -103,7 +108,7 @@
{original_feedback}
"""

graded_feedback_system_message = f"{ROLE}\n\n{GRADED_FEEDBACK_TASK}\n\n{STYLE}\n\n{PROBLEM_STATEMENT}\n\n{EXERCISE_GRADING_INSTRUCTIONS}\n\n{GRADING_INSTRUCTIONS}\n\n{UML_DIAGRAM_FORMAT}\n\n{FORMAT_INSTRUCTIONS}"
graded_feedback_system_message = f"{ROLE}\n\n{GRADED_FEEDBACK_TASK}\n\n{STYLE}\n\n{PROBLEM_STATEMENT}\n\n{EXERCISE_GRADING_INSTRUCTIONS}\n\n{OFFICIAL_EXAMPLE_SOLUTION}\n\n{GRADING_INSTRUCTIONS}\n\n{UML_DIAGRAM_FORMAT}\n\n{FORMAT_INSTRUCTIONS}"
graded_feedback_human_message = f"{STUDENT_SUBMISSION}\n\n{OUTPUT_FORMAT}"

filter_feedback_system_message = f"{NON_GRADED_FEEDBACK_TASK}\n\n{FORMAT_INSTRUCTIONS}"
Expand Down

0 comments on commit 3abd7cd

Please sign in to comment.