MCPcopy Index your code
hub / github.com/THUDM/AgentBench / DB

Class DB

src/analysis.py:206–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204
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"]
213
214 def get_order_priority(self):
215 return 2
216
217
218class KG(TaskHandler):

Callers 1

get_handlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected