(name: str)
| 29 | |
| 30 | |
| 31 | def 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 | |
| 39 | def names() -> list[str]: |
nothing calls this directly
no outgoing calls
no test coverage detected