# baidu-baige/LoongSage SLOC report

> As of 2026-11-16 (commit 0f17f453bd89), baidu-baige/LoongSage contains 35,391 total lines: 27,717 code, 3,142 comments, 4,532 blank, across 175 files in 7 languages (top language: Python 89.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

baidu-baige/LoongSage has 27,717 source lines of code out of 35,391 total lines across 175 files, counted with tokei from the main ref at commit 0f17f453bd89 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving baidu-baige/LoongSage to commit 0f17f453bd89, 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

baidu-baige/LoongSage: 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 medium-sized codebase by counted code lines. Code represents 78.3% of all lines, comments represent 8.9%, and the repository averages 158 code lines per file. Python accounts for 89.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 132 | 30,480 | 24,815 | 1,746 | 3,919 |
| YAML | 30 | 3,364 | 2,503 | 642 | 219 |
| Shell | 5 | 266 | 157 | 78 | 31 |
| Jinja2 | 1 | 157 | 154 | 3 | 0 |
| TOML | 1 | 76 | 60 | 9 | 7 |
| Dockerfile | 1 | 48 | 28 | 9 | 11 |
| Markdown | 5 | 1,000 | 0 | 655 | 345 |

Top language: Python 89.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/baidu-baige/LoongSage

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/baidu-baige/LoongSage/commit/0f17f453bd89c1212e8e76342e4326620ba4e24b?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=116020ec4c494ac3199b1adc291852c78ef7fea02fa9884f38bb932517f3a0ec).

## Report FAQ

### How many lines of code does baidu-baige/LoongSage have?

baidu-baige/LoongSage has 27,717 lines of code, plus 3,142 comment lines and 4,532 blank lines, for 35,391 total lines at commit 0f17f453bd89 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the baidu-baige/LoongSage line count measured?

OctoCounts resolved the public GitHub repository to commit 0f17f453bd89, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for baidu-baige/LoongSage?

This OctoCounts report was generated from main at commit 0f17f453bd89 on November 16, 2026.

## Similar repository reports

- [data-privacy-stack/presidio](https://octocounts.com/github/data-privacy-stack/presidio) — Python, 27,671 code lines
- [lij768423-svg/grok-register-panel](https://octocounts.com/github/lij768423-svg/grok-register-panel) — Python, 27,610 code lines
- [komalharshita/DevPath](https://octocounts.com/github/komalharshita/DevPath) — Python, 27,987 code lines
- [DyausG/operon](https://octocounts.com/github/DyausG/operon) — Python, 27,444 code lines
- [XiaoMi/ha_xiaomi_home](https://octocounts.com/github/XiaoMi/ha_xiaomi_home) — Python, 27,433 code lines
- [yang0/handraw-style](https://octocounts.com/github/yang0/handraw-style) — Python, 27,432 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
