:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that aggregate a list of metrics
(self)
| 79 | } |
| 80 | |
| 81 | def aggregation(self): |
| 82 | """ |
| 83 | :returns: {str: [float] -> float} |
| 84 | A dictionary where keys are the names of submetrics and values are |
| 85 | functions that aggregate a list of metrics |
| 86 | """ |
| 87 | return { |
| 88 | "contains": np.mean, # Exact match (the normalized answer exactly match the gold answer) |
| 89 | } |
| 90 | |
| 91 | def higher_is_better(self): |
| 92 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected