(self, doc, ctx)
| 193 | return " " + self.convert_choice(correct_choice) |
| 194 | |
| 195 | def construct_requests(self, doc, ctx): |
| 196 | choice1 = " " + self.convert_choice(doc["choice1"]) |
| 197 | choice2 = " " + self.convert_choice(doc["choice2"]) |
| 198 | |
| 199 | ll_choice1, _ = rf.loglikelihood(ctx, choice1) |
| 200 | ll_choice2, _ = rf.loglikelihood(ctx, choice2) |
| 201 | |
| 202 | return ll_choice1, ll_choice2 |
| 203 | |
| 204 | def process_results(self, doc, results): |
| 205 | gold = doc["label"] |
nothing calls this directly
no test coverage detected