MCPcopy Create free account
hub / github.com/CommonstackAI/UncommonRoute / hash16

Function hash16

uncommon_route/normalize.py:18–19  ·  view source on GitHub ↗
(text: str)

Source from the content-addressed store, hash-verified

16
17
18def hash16(text: str) -> str:
19 return hashlib.sha256(text.encode("utf-8")).hexdigest()[:16]
20
21
22def _flatten_block(block: Any) -> str:

Callers 6

test_deterministicMethod · 0.90
test_different_inputsMethod · 0.90
test_hash16_pinnedMethod · 0.90

Calls

no outgoing calls

Tested by 4

test_deterministicMethod · 0.72
test_different_inputsMethod · 0.72
test_hash16_pinnedMethod · 0.72