(self)
| 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}) |
nothing calls this directly
no test coverage detected