MCPcopy Create free account
hub / github.com/THUDM/AgentBench / get_indices

Method get_indices

src/server/tasks/knowledgegraph/task.py:60–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58
59 @cache
60 def get_indices(self) -> List[SampleIndex]:
61 return list(range(len(self.data)))
62
63 async def start_sample(self, index: SampleIndex, session: Session) -> TaskSampleExecutionResult:
64 self.env_controller.loop = asyncio.get_running_loop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected