MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / count_confident_strategy

Function count_confident_strategy

tests/test_rust_lsp.c:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127static int count_confident_strategy(const CBMResolvedCallArray *arr, const char *strategy) {
128 int count = 0;
129 for (int i = 0; arr && i < arr->count; i++) {
130 const CBMResolvedCall *rc = &arr->items[i];
131 if (rc->confidence >= 0.6f && rc->strategy && strcmp(rc->strategy, strategy) == 0) {
132 count++;
133 }
134 }
135 return count;
136}
137
138/* ── Category 1: Free function calls + module path ─────────────── */
139

Callers 1

test_rust_lsp.cFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected