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

Method match

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

Source from the content-addressed store, hash-verified

253
254class WS(TaskHandler):
255 def match(self, task_name) -> bool:
256 task_name = task_name.lower()
257 return task_name.startswith("ws") or task_name.startswith("webshop")
258
259 def get_main_metric(self, overall_result):
260 return overall_result["custom"]["reward"]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected