Lexindex Offers Dependency-Free Code Completion Using Repository Statistics
A developer has released Lexindex, an open-source code completion engine that requires no AI model, no network connection, and no external dependencies, relying instead on n-gram statistics drawn directly from a project's own codebase. The tool blends repository-level frequency data with a buffer cache at a fixed ratio, an architecture previously validated against a published research baseline. Its effectiveness varies significantly by codebase, with completion accuracy outperforming a basic word-list only when the repository's recital rate exceeds roughly 36%, and it may lose to a simple ten-line frequency counter at moderate recital ranges. The developer documented multiple ways the benchmark inflated results during development, including vendored libraries, duplicate file paths, and repeated repository checkouts, and has since added safeguards against double-counting. A built-in stats command tells users which performance band their repository falls into before they commit to installing the tool.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in