MCPcopy Create free account
hub / github.com/MetapriseAI/OrgKernel / check

Method check

src/orgkernel/schemas/execution_token.py:75–81  ·  view source on GitHub ↗

Return True if value is within bounds.

(self, value: float)

Source from the content-addressed store, hash-verified

73 return self
74
75 def check(self, value: float) -> bool:
76 """Return True if value is within bounds."""
77 if self.upper_bound is not None and value > self.upper_bound:
78 return False
79 if self.lower_bound is not None and value < self.lower_bound:
80 return False
81 return True
82
83
84class ScopeCheckResult(BaseModel):

Callers 1

check_scopeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected