You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/agents/utils/parse_json_to_prompt.py
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -202,22 +202,22 @@ def format_part_details(part: PartDetails, currentPart: Optional[CurrentPart], s
202
202
{f"Time spent on this part: {currentPart.timeTakenPartifcurrentPart.timeTakenPartisnotNoneelse'No recorded duration'}"ifcurrentPart.id==part.publishedPartIdelse''}
203
203
Part Content: {part.publishedPartContent.strip() ifpart.publishedPartContentelse'No content'};
204
204
{responseAreas}
205
-
{f'Final Part Answer: {part.publishedPartAnswerContent}'ifpart.publishedPartAnswerContentelse'No direct answer for this part.'}
205
+
{f'Final Part Expected Answer: {part.publishedPartAnswerContent}'ifpart.publishedPartAnswerContentelse'No direct expected answer for this part.'}
206
206
{workedSolutions}
207
207
"""
208
208
else:
209
209
returnf"""
210
210
# Part ({convert_index_to_lowercase_letter(part.publishedPartPosition)}):
211
211
Part Content: {part.publishedPartContent.strip() ifpart.publishedPartContentelse'No content'};
212
212
{responseAreas}
213
-
{f'Final Part Answer: {part.publishedPartAnswerContent}'ifpart.publishedPartAnswerContentelse'No direct answer for this part.'}
213
+
{f'Final Part Expected Answer: {part.publishedPartAnswerContent}'ifpart.publishedPartAnswerContentelse'No direct expected answer for this part.'}
questionDetails=f"""This is the question I am currently working on. I am currently working on Part ({convert_index_to_lowercase_letter(questionAccessInformation.currentPart.position)}). Below, you'll find its details, including the parts of the question, my responses for each response area, and the feedback I received. This information highlights my efforts and progress so far. Use this this information to inform your understanding about the question materials provided to me and my work on them.
220
+
questionDetails=f"""This is the question I am currently working on. I am currently working on Part ({convert_index_to_lowercase_letter(questionAccessInformation.currentPart.position)}). Below, you'll find its details, including the parts of the question, my responses for each response area, the expected correct answers, and the feedback I received. This information highlights my efforts and progress so far. Use this this information to inform your understanding about the question materials provided to me and my work on them.
221
221
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
222
222
{f'# Question Set {questionInformation.setNumber+1}: {questionInformation.setName};'if ((questionInformation.setNameisnotNone) and (questionInformation.setNumberisnotNone)) else''}
223
223
# Question {f' {questionInformation.setNumber+1}.{questionInformation.questionNumber+1}'if ((questionInformation.setNumberisnotNone) and (questionInformation.questionNumberisnotNone)) else''}: {questionInformation.questionTitle};
@@ -227,7 +227,7 @@ def format_part_details(part: PartDetails, currentPart: Optional[CurrentPart], s
227
227
Time Spent on the Question today: {questionAccessInformation.timeTakenor'No recorded duration'}{f'which is {questionAccessInformation.accessStatus}'ifquestionAccessInformation.accessStatuselse''}{f'{questionAccessInformation.markedDone}'ifquestionAccessInformation.markedDoneelse''};
228
228
"""
229
229
else:
230
-
questionDetails=f"""This is the question I am currently working on. Below, you'll find its details, including the parts of the question, my responses for each response area, and the feedback I received. This information highlights my efforts and progress so far. Use this this information to inform your understanding about the question materials provided to me and my work on them.
230
+
questionDetails=f"""This is the question I am currently working on. Below, you'll find its details, including the parts of the question, my responses for each response area, the expected correct answers, and the feedback I received. This information highlights my efforts and progress so far. Use this this information to inform your understanding about the question materials provided to me and my work on them.
231
231
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
232
232
{f'# Question Set {questionInformation.setNumber+1}: {questionInformation.setName};'if ((questionInformation.setNameisnotNone) and (questionInformation.setNumberisnotNone)) else''}
233
233
# Question {f' {questionInformation.setNumber+1}.{questionInformation.questionNumber+1}'if ((questionInformation.setNumberisnotNone) and (questionInformation.questionNumberisnotNone)) else''}: {questionInformation.questionTitle};
0 commit comments