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

Method match

src/analysis.py:195–197  ·  view source on GitHub ↗
(self, task_name)

Source from the content-addressed store, hash-verified

193
194class OS(TaskHandler):
195 def match(self, task_name) -> bool:
196 task_name = task_name.lower()
197 return task_name.startswith("os") or task_name.startswith("operating")
198
199 def get_main_metric(self, overall_result):
200 return overall_result["custom"]["overall"]["acc"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected