:returns: {str: [float] -> float} A dictionary where keys are the names of submetrics and values are functions that aggregate a list of metrics
(self)
| 107 | } |
| 108 | |
| 109 | def aggregation(self): |
| 110 | """ |
| 111 | :returns: {str: [float] -> float} |
| 112 | A dictionary where keys are the names of submetrics and values are |
| 113 | functions that aggregate a list of metrics |
| 114 | """ |
| 115 | return { |
| 116 | "contains": np.mean, # Exact match (the normalized answer exactly match the gold answer) |
| 117 | } |
| 118 | |
| 119 | def higher_is_better(self): |
| 120 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected