microsoft/TokenEconomizer has 28,876 source lines of code out of 37,938 total lines across 156 files, counted with tokei from the main ref at commit 583fff78bf50 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 583fff78bf50), microsoft/TokenEconomizer contains 37,938 total lines: 28,876 code, 5,401 comments, 3,661 blank, across 156 files in 10 languages (top language: Python 90.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/TokenEconomizer to commit 583fff78bf50, 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.
This is a medium-sized codebase by counted code lines. Code represents 76.1% of all lines, comments represent 14.2%, and the repository averages 185 code lines per file. Python accounts for 90.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 104 | 31952 | 25995 | 2917 | 3040 |
| JSON | 13 | 1148 | 1148 | 0 | 0 |
| Shell | 7 | 1518 | 953 | 481 | 84 |
| TypeScript | 2 | 775 | 596 | 131 | 48 |
| Batch | 2 | 162 | 123 | 21 | 18 |
| TOML | 1 | 60 | 27 | 26 | 7 |
| JavaScript | 1 | 27 | 25 | 2 | 0 |
| YAML | 1 | 9 | 9 | 0 | 0 |
| Markdown | 23 | 2268 | 0 | 1806 | 462 |
| Plain Text | 2 | 19 | 0 | 17 | 2 |
Top language: Python 90.0%. Generated on .
microsoft/TokenEconomizer: 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.
microsoft/TokenEconomizer has 28,876 lines of code, plus 5,401 comment lines and 3,661 blank lines, for 37,938 total lines at commit 583fff78bf50 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 583fff78bf50, 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 583fff78bf50 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/TokenEconomizer on this page — 28,876 code lines across 10 languages, counted by tokei.