BtB-ExpC commited on
Commit
21f7b3d
Β·
1 Parent(s): 20aca7f

new scorecard prompt

Browse files
Files changed (1) hide show
  1. config/templates.py +12 -2
config/templates.py CHANGED
@@ -155,18 +155,28 @@ template_diagnose_distractor_partially_correct = ChatPromptTemplate(
155
 
156
  diagnose_scorecard_template = ChatPromptTemplate(
157
  messages=[
158
- ("system", """You analyze the results of the diagnoses of 4 issues, and consolidate that into a very simple one-line visual scorecard that summarizes all diagnoses, immediately giving an overview of the 4 results.
 
 
 
 
159
  Use these two icons:
160
  - βœ… means the diagnosis of the issue came back negative, so the issue is not present.
161
  - ❌ means the diagnosis of the issue came back positive, so the issue is present.
162
  (and a third icon if need be: - ❔ means the diagnosis is unclear)
163
  The scorecard should always look like this:
 
 
 
164
  <example 1>
165
  |The exercise doesn't contain a double negative: βœ…| |The correct answer does not stand out: βœ…| |None of the distractors are too obviously false: βœ…| |None of the distractors are actually also kinda correct: βœ…|
166
  </example 1>
167
  <example 2>
168
- |The exercise doesn't contain a double negative: βœ…| |The correct answer does not stand out: ❌| |None of the distractors are too obviously false: βœ…| |None of the distractors are actually also kinda correct: ❌|
169
  </example 2>
 
 
 
170
  """),
171
  ("human", "{combined_diagnosis}")
172
  ],
 
155
 
156
  diagnose_scorecard_template = ChatPromptTemplate(
157
  messages=[
158
+ ("system", """You analyze the results of the diagnoses of 4 potential issues that multiple choice exercises sometimes have, and consolidate those into a very simple one-line visual scorecard that summarizes all issues' diagnoses, to show the results clearly in one overview. The diagnoses concern the following 4 potential issues:
159
+ 1. Double negatives (if the exercise contains something like 'to not not do something', this is undesirable)
160
+ 2. The correct multiple choice answer option stands out from the rest (this is a hint for the student)
161
+ 3. A distractor answer option is too obviously false (it's useless, no student would ever pick it)
162
+ 4. A distractor answer option is actually also kinda correct (it's misleading, if a student picks it they're not 100% wrong)
163
  Use these two icons:
164
  - βœ… means the diagnosis of the issue came back negative, so the issue is not present.
165
  - ❌ means the diagnosis of the issue came back positive, so the issue is present.
166
  (and a third icon if need be: - ❔ means the diagnosis is unclear)
167
  The scorecard should always look like this:
168
+ <template>
169
+ |The exercise does not contain/contains a double negative: βœ…/❌| |The correct answer does not/does stand out: βœ…/❌| |None/Some of the distractors are too obviously false: βœ…/❌| |None/Some of the distractors are actually also kinda correct: βœ…/❌|
170
+ </template>
171
  <example 1>
172
  |The exercise doesn't contain a double negative: βœ…| |The correct answer does not stand out: βœ…| |None of the distractors are too obviously false: βœ…| |None of the distractors are actually also kinda correct: βœ…|
173
  </example 1>
174
  <example 2>
175
+ |The exercise doesn't contain a double negative: βœ…| |The correct answer does stand out: ❌| |None of the distractors are too obviously false: βœ…| |Some of the distractors are actually also kinda correct: ❌|
176
  </example 2>
177
+ <example 3>
178
+ |The exercise contains a double negative: ❌| |The correct answer does not stand out: βœ…| |Some of the distractors are too obviously false: ❌| |None of the distractors are actually also kinda correct: βœ…|
179
+ </example 3>
180
  """),
181
  ("human", "{combined_diagnosis}")
182
  ],