File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -152,6 +152,12 @@ def parse_json_to_prompt( questionSubmissionSummary: Optional[List[StudentWorkRe
152
152
questionSubmissionSummary = [StudentWorkResponseArea (** submissionsSummary ) for submissionsSummary in questionSubmissionSummary ]
153
153
questionInformation = QuestionDetails (** questionInformation )
154
154
155
+ # TODO: ONLY FOR EXPERIMENT, REMOVE LATER
156
+ # if set number is even (2 or 4), then allow context, else do not allow context
157
+ if questionInformation .setNumber is not None :
158
+ if (questionInformation .setNumber + 1 ) % 2 != 0 :
159
+ return "You are unaware of the question details. Ask me about the question I am working on such that you can help me. Use British English spellings."
160
+
155
161
def format_response_area_details (responseArea : ResponseAreaDetails , studentSummary : List [StudentWorkResponseArea ]) -> str :
156
162
submissionDetails = "\n " .join (
157
163
[
You can’t perform that action at this time.
0 commit comments