CodeWiki
CodeWiki copied to clipboard
In Phase 2/5, it always creates 0 modules, is that normal? (Tested for 3 repos)
For https://github.com/MaoJianwei/Mao-Service-Discovery, (Golang project)
[00:37] Phase 2/5: Module Clustering
[00:37] Clustering modules with LLM...
[00:37] Clustering 13 leaf nodes with LLM...
[00:50] Created 0 modules
[00:50] Module Clustering complete (13.9s)
For https://github.com/jemalloc/jemalloc, (C project)
[00:05] Phase 2/5: Module Clustering
[00:05] Clustering modules with LLM...
[00:05] Clustering 326 leaf nodes with LLM...
[00:05] Created 0 modules
[00:05] Module Clustering complete (0.1s)
For https://github.com/a2aproject/a2a-python (Python project)
[00:01] Phase 2/5: Module Clustering
[00:01] Clustering modules with LLM...
[00:01] Clustering 186 leaf nodes with LLM...
[00:01] Created 0 modules
[00:01] Module Clustering complete (0.4s)
I pushed additional Phase 2 diagnostics in 972dba9.
Could you please reinstall CodeWiki from the latest, rerun the same repositories with verbose logging, and paste the new Phase 2 logs here? The new logs should show the leaf-node token count, the max_token_per_module threshold, and whether clustering was skipped, sent to the LLM, or fell back to whole-repository documentation.