Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUDM/AgentBench
/ RuleBase
Class
RuleBase
src/utils/rules.py:4–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
2
3
4
class
RuleBase:
5
def
check(self, obj) -> bool:
6
raise
NotImplementedError()
7
8
9
class
ContainRule(RuleBase):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected