MCPcopy Create free account
hub / github.com/THUDM/AgentTuning / __init__

Method __init__

AgentBench.old/src/tasks/example_task.py:15–19  ·  view source on GitHub ↗
(self, **configs)

Source from the content-addressed store, hash-verified

13
14class ExampleTask(Task[str, str, str]):
15 def __init__(self, **configs):
16 self.count = configs.pop("count", 10)
17 self.range_min = configs.pop("range_min", 0)
18 self.range_max = configs.pop("range_max", 100)
19 super().__init__(**configs)
20
21 def get_data(self) -> Dataset[str, str]:
22 data = Dataset()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected