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

Method match

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

Source from the content-addressed store, hash-verified

205
206class DB(TaskHandler):
207 def match(self, task_name) -> bool:
208 task_name = task_name.lower()
209 return task_name.startswith("db") or task_name.startswith("database")
210
211 def get_main_metric(self, overall_result):
212 return overall_result["custom"]["overall_cat_accuracy"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected