MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / BaseTask

Class BaseTask

src/hyperagent/tasks/base.py:8–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6 self.kwargs = kwargs
7
8class BaseTask:
9 def __init__(self, logdir, split, type, **kwargs):
10 self.logdir = logdir
11 self.split = split
12 self.type = type
13 self.kwargs = kwargs
14 self.subtasks = []
15 self.setup()
16
17 def setup(self):
18 raise NotImplementedError()
19
20 def run(self):
21 raise NotImplementedError()
22
23 def validate(self):
24 raise NotImplementedError()
25
26 def report(self, results: List[Result]):
27 raise NotImplementedError()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected