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

Method check

src/utils/rules.py:37–38  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

35 self.rules = rules
36
37 def check(self, obj) -> bool:
38 return all(rule.check(obj) for rule in self.rules)
39
40
41class OrRule(RuleBase):

Callers 1

check_context_limitFunction · 0.95

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected