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

Method match

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

Source from the content-addressed store, hash-verified

217
218class KG(TaskHandler):
219 def match(self, task_name) -> bool:
220 task_name = task_name.lower()
221 return task_name.startswith("kg") or task_name.startswith("knowledge")
222
223 def get_main_metric(self, overall_result):
224 return overall_result["custom"]["main"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected