MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / get

Method get

src/benchmark/context.py:386–389  ·  view source on GitHub ↗

Get benchmark instance by name.

(self, name: str)

Source from the content-addressed store, hash-verified

384 raise
385
386 async def get(self, name: str) -> Optional[Benchmark]:
387 """Get benchmark instance by name."""
388 config = self._benchmark_configs.get(name)
389 return config.instance if config else None
390
391 async def restore(self, name: str, version: str, auto_initialize: bool = True) -> Optional[BenchmarkConfig]:
392 """Restore a specific version of a benchmark."""

Callers 11

resetMethod · 0.95
stepMethod · 0.95
evalMethod · 0.95
statsMethod · 0.95
_load_from_codeMethod · 0.45
registerMethod · 0.45
updateMethod · 0.45
restoreMethod · 0.45
save_contractMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected