Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/kyegomez/OpenMythos
/ test_encode_empty_string
Function
test_encode_empty_string
tests/test_tokenizer.py:31–34 ·
view source on GitHub ↗
(tokenizer)
Source
from the content-addressed store, hash-verified
29
30
31
def
test_encode_empty_string(tokenizer):
32
ids = tokenizer.encode(
""
)
33
print(f
"encode('') → {ids}"
)
34
assert isinstance(ids, list)
35
36
37
def
test_decode_returns_string(tokenizer):
Callers
nothing calls this directly
Calls
1
encode
Method · 0.80
Tested by
no test coverage detected