MCPcopy Index your code
hub / github.com/wshobson/agents / CorpusEntry

Class CorpusEntry

plugins/plugin-eval/src/plugin_eval/corpus.py:13–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12@dataclass
13class CorpusEntry:
14 name: str
15 path: str
16 category: str
17 line_count: int
18 elo_rating: float = 1500.0
19
20 def to_dict(self) -> dict:
21 return {
22 "name": self.name,
23 "path": self.path,
24 "category": self.category,
25 "line_count": self.line_count,
26 "elo_rating": self.elo_rating,
27 }
28
29
30class Corpus:

Callers 2

init_from_sourceMethod · 0.85
_loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected