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

Class KG

src/analysis.py:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
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"]
225
226 def get_order_priority(self):
227 return 3
228
229
230class LTP(TaskHandler):

Callers 1

get_handlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected