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

Function _validate_scorer_default

src/evaluation/cli.py:81–85  ·  view source on GitHub ↗
(name: str)

Source from the content-addressed store, hash-verified

79
80
81def _validate_scorer_default(name: str) -> None:
82 try:
83 scorer_registry.get(name)
84 except KeyError as exc:
85 raise SystemExit(str(exc))
86
87
88def main(argv: list[str] | None = None) -> int:

Callers 1

mainFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected