(answer, label)
| 249 | |
| 250 | @staticmethod |
| 251 | def format_answer(answer, label): |
| 252 | label_str = "yes" if label else "no" |
| 253 | return f"{answer}\nIs the answer correct? {label_str}" |
| 254 | |
| 255 | def construct_requests(self, doc, ctx): |
| 256 | true_choice = self.format_answer(answer=doc["answer"], label=True) |
no outgoing calls
no test coverage detected