Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
41
class
OrRule(RuleBase):
Callers
1
check_context_limit
Function · 0.95
Calls
1
check
Method · 0.45
Tested by
no test coverage detected