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

Method __call__

document_rater.py:85–87  ·  view source on GitHub ↗
(self, docs: list[Document])

Source from the content-addressed store, hash-verified

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]
87 return [self._annotate_doc(doc, score) for doc, score in zip(docs, length_scores)]
88
89
90class InlinkCountRater(DocumentRater):

Callers

nothing calls this directly

Calls 1

_annotate_docMethod · 0.80

Tested by

no test coverage detected