As of 2026-08-14 (commit a389166f6cf5), xai-org/x-algorithm contains 357,354 total lines: 315,266 code, 2,521 comments, 39,567 blank, across 1,841 files in 21 languages (top: Rust 38.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving xai-org/x-algorithm to commit a389166f6cf5, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.
This is a large codebase by counted code lines. Code represents 88.2% of all lines, comments represent 0.7%, and the repository averages 171 code lines per file. Rust accounts for 38.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 432 | 132437 | 120683 | 103 | 11651 |
| Python | 398 | 101021 | 87230 | 1185 | 12606 |
| Scala | 537 | 79828 | 70796 | 4 | 9028 |
| Java | 313 | 29421 | 24874 | 0 | 4547 |
| Protocol Buffers | 9 | 3782 | 3369 | 14 | 399 |
| Bazel | 65 | 2193 | 2121 | 0 | 72 |
| C++ | 9 | 1827 | 1657 | 0 | 170 |
| CUDA | 6 | 1396 | 1273 | 0 | 123 |
| Thrift | 12 | 1001 | 822 | 5 | 174 |
| TOML | 17 | 586 | 500 | 28 | 58 |
| C++ Header | 9 | 531 | 424 | 0 | 107 |
| Jupyter Notebooks | 3 | 542 | 415 | 52 | 75 |
Top language (Rust 38.3%). Generated at 2026-08-14T11:11:57.953545137+00:00.
xai-org/x-algorithm has 357,354 total lines, including 315,266 code lines, 2,521 comment lines, and 39,567 blank lines.
OctoCounts resolved the public GitHub repository to commit a389166f6cf5, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit a389166f6cf5 on 2026-08-14T11:11:57.953545137+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: