# xai-org/x-algorithm SLOC report

> 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](https://github.com/xai-org/x-algorithm) · counted commit [e005f9528e50](https://github.com/xai-org/x-algorithm/tree/e005f9528e504596f2c024a274d5fb533ce6488a)

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.

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.

## 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.

## 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 | 269,008 | 248,894 | 241 | 19,873 |
| Python | 488 | 143,640 | 125,629 | 1,630 | 16,381 |
| Scala | 549 | 81,830 | 72,604 | 4 | 9,222 |
| Java | 313 | 29,421 | 24,874 | 0 | 4,547 |
| Protocol Buffers | 10 | 4,897 | 4,294 | 19 | 584 |
| C++ | 14 | 4,274 | 3,933 | 0 | 341 |
| CUDA | 10 | 3,245 | 3,005 | 0 | 240 |
| Bazel | 65 | 2,193 | 2,121 | 0 | 72 |
| C++ Header | 14 | 1,178 | 982 | 0 | 196 |
| Thrift | 12 | 1,017 | 838 | 5 | 174 |
| TSX | 7 | 681 | 630 | 0 | 51 |
| TOML | 20 | 669 | 569 | 34 | 66 |

Top language: Rust 50.8%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/xai-org/x-algorithm

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/xai-org/x-algorithm/commit/e005f9528e504596f2c024a274d5fb533ce6488a?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=019edda7ab09a36df70263c117c6e028d18913fcd09b6c16af132a69fbb7ba47).

## 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.

## Similar repository reports

- [akitaonrails/ai-memory](https://octocounts.com/github/akitaonrails/ai-memory) — Rust, 493,313 code lines
- [embassy-rs/embassy](https://octocounts.com/github/embassy-rs/embassy) — Rust, 487,346 code lines
- [servo/servo](https://octocounts.com/github/servo/servo) — Rust, 493,563 code lines
- [verus-lang/verus](https://octocounts.com/github/verus-lang/verus) — Rust, 484,058 code lines
- [bytecodealliance/wasmtime](https://octocounts.com/github/bytecodealliance/wasmtime) — Rust, 499,401 code lines
- [Kuddev/pebrel](https://octocounts.com/github/Kuddev/pebrel) — Rust, 481,081 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
