(self, doc, results)
| 202 | return ll_choice1, ll_choice2 |
| 203 | |
| 204 | def process_results(self, doc, results): |
| 205 | gold = doc["label"] |
| 206 | pred = np.argmax(results) |
| 207 | acc = 1.0 if pred == gold else 0.0 |
| 208 | |
| 209 | return {"acc": acc} |
| 210 | |
| 211 | def higher_is_better(self): |
| 212 | return {"acc": True} |
nothing calls this directly
no outgoing calls
no test coverage detected