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

Method __init__

document_rater.py:80–83  ·  view source on GitHub ↗
(
        self, rater_name: str | None = None, normalizer: ScoreNormalizer | None = None
    )

Source from the content-addressed store, hash-verified

78 _require_doc_text = True
79
80 def __init__(
81 self, rater_name: str | None = None, normalizer: ScoreNormalizer | None = None
82 ) -> None:
83 super().__init__(rater_name=rater_name, normalizer=normalizer)
84
85 def __call__(self, docs: list[Document]) -> list[Document]:
86 length_scores = [len(doc.text) for doc in docs]

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected