MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / fetch

Method fetch

tests/test_quality_routing.py:156–164  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.calls = 0
155
156 async def fetch(self) -> dict[str, ModelBenchmarkEntry]:
157 self.calls += 1
158 return {
159 "provider/model-a": ModelBenchmarkEntry(
160 overall=0.90,
161 raw={"runs": 20},
162 fetched_at=time.time(),
163 )
164 }
165
166 provider = DummyProvider()
167 cache = BenchmarkCache(_providers=[provider], _source_weights={"dummy": 1.0})

Callers

nothing calls this directly

Calls 1

ModelBenchmarkEntryClass · 0.90

Tested by

no test coverage detected