MCPcopy Create free account
hub / github.com/cxcscmu/Craw4LLM / ScoreNormalizer

Class ScoreNormalizer

normalizer.py:3–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from abc import abstractmethod
2
3class ScoreNormalizer:
4 _name = None
5
6 @abstractmethod
7 def __call__(self, score: float) -> float: ...
8
9 def __repr__(self):
10 return f"{self.__class__.__name__}({self.__dict__})"
11
12 def get_name(self) -> str | None:
13 return self._name
14
15
16class ZScoreNormalizer(ScoreNormalizer):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected