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

Method get_indices

src/server/tasks/dbbench/task.py:76–77  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 self.logger.info(f"DBBench initialized with {len(self.dataset)} samples. Root dir: {self.db_root_dir}")
75
76 def get_indices(self) -> List[SampleIndex]:
77 return list(range(len(self.dataset)))
78
79 async def start_sample(self, index: int, session: Session) -> TaskSampleExecutionResult:
80 self.env_controller.loop = asyncio.get_running_loop()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected