MCPcopy Create free account
hub / github.com/InternScience/SciReason / __init__

Method __init__

opencompass/runners/base.py:20–29  ·  view source on GitHub ↗
(self,
                 task: ConfigDict,
                 debug: bool = False,
                 lark_bot_url: str = None)

Source from the content-addressed store, hash-verified

18 """
19
20 def __init__(self,
21 task: ConfigDict,
22 debug: bool = False,
23 lark_bot_url: str = None):
24 self.task_cfg = Config(task)
25 self.debug = debug
26 if lark_bot_url:
27 self.lark_reporter = LarkReporter(lark_bot_url)
28 else:
29 self.lark_reporter = None
30
31 def __call__(self, tasks: List[Dict[str, Any]]):
32 """Launch multiple tasks and summarize the results.

Callers

nothing calls this directly

Calls 2

LarkReporterClass · 0.90
ConfigClass · 0.50

Tested by

no test coverage detected