MCPcopy
hub / github.com/IBM/AssetOpsBench / get

Function get

src/evaluation/scorers/__init__.py:31–36  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

29
30
31def get(name: str) -> Scorer:
32 if name not in _REGISTRY:
33 raise KeyError(
34 f"unknown scorer {name!r}; registered: {sorted(_REGISTRY)}"
35 )
36 return _REGISTRY[name]
37
38
39def names() -> list[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected