Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
test(complexity): recognize the pyrange control calls by LSP strategy
Martin Vogel4a2ad91ce9dc
diff --git a/tests/test_complexity.c b/tests/test_complexity.cindex f52a11ab9..a67d0d753 100644--- a/tests/test_complexity.c+++ b/tests/test_complexity.c@@ -612,9 +612,10 @@ static bool cx_pyrange_exact_control(cbm_store_t *store, const char *project,edges[i].properties_json? yyjson_read(edges[i].properties_json, strlen(edges[i].properties_json), 0): NULL;- const char *source =- doc ? yyjson_get_str(yyjson_obj_get(yyjson_doc_get_root(doc), "source")) : NULL;- if (source && strcmp(source, "lsp") == 0)+ /* an LSP resolution records an lsp_* strategy */+ const char *strategy =+ doc ? yyjson_get_str(yyjson_obj_get(yyjson_doc_get_root(doc), "strategy")) : NULL;+ if (strategy && strncmp(strategy, "lsp_", 4) == 0)exact++;yyjson_doc_free(doc);}