xai-org/x-algorithm
xai-org/x-algorithm has 490,362 source lines of code out of 545,985 total lines across 2,240 files, counted with tokei from the main ref at commit e005f9528e50 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-24 (commit e005f9528e50), xai-org/x-algorithm contains 545,985 total lines: 490,362 code, 3,183 comments, 52,440 blank, across 2,240 files in 24 languages (top language: Rust 50.8%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
Source: xai-org/x-algorithm on GitHub · counted commit e005f9528e50
OctoCounts produced this report by resolving xai-org/x-algorithm to commit e005f9528e50, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
Repository size insights
This is a large codebase by counted code lines. Code represents 89.8% of all lines, comments represent 0.6%, and the repository averages 219 code lines per file. Rust accounts for 50.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 699 | 269008 | 248894 | 241 | 19873 |
| Python | 488 | 143640 | 125629 | 1630 | 16381 |
| Scala | 549 | 81830 | 72604 | 4 | 9222 |
| Java | 313 | 29421 | 24874 | 0 | 4547 |
| Protocol Buffers | 10 | 4897 | 4294 | 19 | 584 |
| C++ | 14 | 4274 | 3933 | 0 | 341 |
| CUDA | 10 | 3245 | 3005 | 0 | 240 |
| Bazel | 65 | 2193 | 2121 | 0 | 72 |
| C++ Header | 14 | 1178 | 982 | 0 | 196 |
| Thrift | 12 | 1017 | 838 | 5 | 174 |
| TSX | 7 | 681 | 630 | 0 | 51 |
| TOML | 20 | 669 | 569 | 34 | 66 |
Top language: Rust 50.8%. Generated on .
Counting rules and retention
xai-org/x-algorithm: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
Reproduce this report
Report FAQ
How many lines of code does xai-org/x-algorithm have?
xai-org/x-algorithm has 490,362 lines of code, plus 3,183 comment lines and 52,440 blank lines, for 545,985 total lines at commit e005f9528e50 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the xai-org/x-algorithm line count measured?
OctoCounts resolved the public GitHub repository to commit e005f9528e50, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for xai-org/x-algorithm?
This OctoCounts report was generated from main at commit e005f9528e50 on November 24, 2026.
Play the growth animation for xai-org/x-algorithm on this page — 490,362 code lines across 24 languages, counted by tokei.