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

Method match

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

Source from the content-addressed store, hash-verified

162
163class DCG(TaskHandler):
164 def match(self, task_name) -> bool:
165 task_name = task_name.lower()
166 return (
167 "card" in task_name
168 or task_name.startswith("cg")
169 or task_name.startswith("dcg")
170 )
171
172 def get_main_metric(self, overall_result):
173 try:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected