Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bchao1/bullet
/ valid
Method
valid
examples/check.py:17–18 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
15
return
super().accept()
16
17
def
valid(self):
18
return
self.min_selections <= sum(1
for
c in self.checked
if
c) <= self.max_selections
19
20
client = MinMaxCheck(
21
prompt =
"Choose 2 or 3 from the list: "
,
Callers
1
accept
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected