Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
def
hash16(text: str) -> str:
19
return
hashlib.sha256(text.encode(
"utf-8"
)).hexdigest()[:16]
20
21
22
def
_flatten_block(block: Any) -> str:
Callers
6
test_returns_16_hex_chars
Method · 0.90
test_deterministic
Method · 0.90
test_different_inputs
Method · 0.90
test_hash16_pinned
Method · 0.90
_extract_session_v2_inputs
Function · 0.90
normalize_messages_to_hashes
Function · 0.85
Calls
no outgoing calls
Tested by
4
test_returns_16_hex_chars
Method · 0.72
test_deterministic
Method · 0.72
test_different_inputs
Method · 0.72
test_hash16_pinned
Method · 0.72