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
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -209,25 +209,25 @@ def format_part_details(part: PartDetails, currentPart: Optional[CurrentPart], s
209
209
{workedSolutions}
210
210
"""
211
211
212
-
ifnotquestionSubmissionSummary:
213
-
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.
214
-
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
212
+
ifquestionAccessInformation:
213
+
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.
214
+
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
215
215
{f'# Question Set {questionInformation.setNumber+1}: {questionInformation.setName};'if ((questionInformation.setNameisnotNone) and (questionInformation.setNumberisnotNone)) else''}
216
216
# Question {f' {questionInformation.setNumber+1}.{questionInformation.questionNumber+1}'if ((questionInformation.setNumberisnotNone) and (questionInformation.questionNumberisnotNone)) else''}: {questionInformation.questionTitle};
217
217
Guidance to Solve the Question: {questionInformation.questionGuidanceor'None'};
218
218
Description of Question: {questionInformation.questionContent};
219
219
Expected Time to Complete the Question: {f'{questionInformation.durationLowerBound} - {questionInformation.durationUpperBound} min;'ifquestionInformation.durationLowerBoundandquestionInformation.durationUpperBoundelse'No specified duration.'}
220
-
"""
220
+
Time Spent on the Question today: {questionAccessInformation.timeTakenor'No recorded duration'}{f'which is {questionAccessInformation.accessStatus}'ifquestionAccessInformation.accessStatuselse''}{f'{questionAccessInformation.markedDone}'ifquestionAccessInformation.markedDoneelse''};
221
+
"""
221
222
else:
222
-
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.
223
-
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
223
+
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.
224
+
Maths equations are in KaTex format, preserve them the same. Use British English spellings.
224
225
{f'# Question Set {questionInformation.setNumber+1}: {questionInformation.setName};'if ((questionInformation.setNameisnotNone) and (questionInformation.setNumberisnotNone)) else''}
225
226
# Question {f' {questionInformation.setNumber+1}.{questionInformation.questionNumber+1}'if ((questionInformation.setNumberisnotNone) and (questionInformation.questionNumberisnotNone)) else''}: {questionInformation.questionTitle};
226
227
Guidance to Solve the Question: {questionInformation.questionGuidanceor'None'};
227
228
Description of Question: {questionInformation.questionContent};
228
229
Expected Time to Complete the Question: {f'{questionInformation.durationLowerBound} - {questionInformation.durationUpperBound} min;'ifquestionInformation.durationLowerBoundandquestionInformation.durationUpperBoundelse'No specified duration.'}
229
-
Time Spent on the Question today: {questionAccessInformation.timeTakenor'No recorded duration'}{f'which is {questionAccessInformation.accessStatus}'ifquestionAccessInformation.accessStatuselse''}{f'{questionAccessInformation.markedDone}'ifquestionAccessInformation.markedDoneelse''};
0 commit comments