Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/agentforce314/clawcodex
/ _pick_deterministic
Function
_pick_deterministic
src/command_system/buddy_command.py:69–70 ·
view source on GitHub ↗
(items: Sequence[str], seed: str)
Source
from the content-addressed store, hash-verified
67
68
69
def
_pick_deterministic(items: Sequence[str], seed: str) -> str:
70
return
items[_fnv1a_32(seed) % len(items)]
71
72
73
def
_title_case(s: str) -> str:
Callers
1
buddy_command_call
Function · 0.70
Calls
1
_fnv1a_32
Function · 0.70
Tested by
no test coverage detected