Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ test_semantic.c
File
test_semantic.c
tests/test_semantic.c:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
/*
2
* test_semantic.c — Unit tests for semantic.c (pure functions).
3
*
4
* Covers: tokenize, cosine, normalize, vec_add_scaled, random_index,
Callers
nothing calls this directly
Calls
15
cbm_sem_tokenize
Function · 0.85
fill_vec
Function · 0.85
cbm_sem_cosine
Function · 0.85
cbm_sem_normalize
Function · 0.85
cbm_sem_vec_add_scaled
Function · 0.85
cbm_sem_random_index
Function · 0.85
cbm_sem_proximity
Function · 0.85
cbm_sem_diffuse
Function · 0.85
cbm_sem_corpus_new
Function · 0.85
cbm_sem_corpus_doc_count
Function · 0.85
cbm_sem_corpus_token_count
Function · 0.85
cbm_sem_corpus_free
Function · 0.85
Tested by
no test coverage detected