Open mschrimpf opened 1 year ago
it is currently possible to construct a case like the following:
class MyBenchmark(BenchmarkBase): def __init__(self): super(MyBenchmark, self).__init__( identifier='identifier2', ...) benchmark_registry['identifier1'] = MyBenchmark
The identifier in the registry can be different from the identifier in the benchmark itself and we currently have no way of catching it.
To connect to the real world, this has lead to a bug with SyntaxGym in language for example (https://github.com/brain-score/language/pull/183).
it is currently possible to construct a case like the following:
The identifier in the registry can be different from the identifier in the benchmark itself and we currently have no way of catching it.
To connect to the real world, this has lead to a bug with SyntaxGym in language for example (https://github.com/brain-score/language/pull/183).