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

Method __init__

src/utils/rules.py:26–27  ·  view source on GitHub ↗
(self, rule: RuleBase)

Source from the content-addressed store, hash-verified

24
25class NotRule(RuleBase):
26 def __init__(self, rule: RuleBase) -> None:
27 self.rule = rule
28
29 def check(self, obj) -> bool:
30 return not self.rule.check(obj)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected