# deepset-ai/haystack SLOC report

> deepset-ai/haystack: 86,967 code lines at commit a08e4e981c20, counted with tokei-15.0.0 on 2026-11-16. Saved result 52e598398daab7a83574179d657c9081c5a0cfdd59aa55c8c1057dca6f54ba3e.

deepset-ai/haystack has 86,967 source lines of code out of 2,365,203 total lines across 12,684 files, counted with tokei from the main ref at commit a08e4e981c20 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving deepset-ai/haystack to commit a08e4e981c20, 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

deepset-ai/haystack: 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 3.7% of all lines, comments represent 65.7%, and the repository averages 7 code lines per file. Python accounts for 59.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 306 | 62,138 | 51,704 | 3,405 | 7,029 |
| JSON | 45 | 16,402 | 16,402 | 0 | 0 |
| YAML | 1,566 | 13,273 | 12,404 | 82 | 787 |
| JavaScript | 15 | 2,683 | 2,443 | 120 | 120 |
| SVG | 34 | 1,763 | 1,758 | 2 | 3 |
| CSS | 6 | 1,788 | 1,336 | 165 | 287 |
| TSX | 7 | 517 | 401 | 50 | 66 |
| TOML | 3 | 405 | 322 | 35 | 48 |
| TypeScript | 3 | 174 | 135 | 18 | 21 |
| HCL | 1 | 40 | 31 | 2 | 7 |
| Shell | 1 | 57 | 31 | 13 | 13 |
| MDX | 7,564 | 1,014,591 | 0 | 753,346 | 261,245 |
| Markdown | 3,123 | 1,249,081 | 0 | 793,663 | 455,418 |
| Plain Text | 10 | 2,291 | 0 | 2,262 | 29 |

Top language: Python 59.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/deepset-ai/haystack/commit/a08e4e981c20eff63a99e5a9c3a207bea089a2ce?reportId=52e598398daab7a83574179d657c9081c5a0cfdd59aa55c8c1057dca6f54ba3e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/deepset-ai/haystack/commit/a08e4e981c20eff63a99e5a9c3a207bea089a2ce?reportId=52e598398daab7a83574179d657c9081c5a0cfdd59aa55c8c1057dca6f54ba3e&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does deepset-ai/haystack have?

deepset-ai/haystack has 86,967 lines of code, plus 1,553,163 comment lines and 725,073 blank lines, for 2,365,203 total lines at commit a08e4e981c20 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the deepset-ai/haystack line count measured?

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

### What commit was counted for deepset-ai/haystack?

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

## Similar repository reports

- [github/spec-kit](https://octocounts.com/github/github/spec-kit) — Python, 87,191 code lines
- [kurigram-org/kurigram](https://octocounts.com/github/kurigram-org/kurigram) — Python, 87,678 code lines
- [ultralytics/ultralytics](https://octocounts.com/github/ultralytics/ultralytics) — Python, 88,108 code lines
- [ZSTDJan/windows-remote-mic-app](https://octocounts.com/github/ZSTDJan/windows-remote-mic-app) — Python, 85,213 code lines
- [cathrynlavery/diagram-design](https://octocounts.com/github/cathrynlavery/diagram-design) — Python, 88,892 code lines
- [RTGS2017/NagaAgent](https://octocounts.com/github/RTGS2017/NagaAgent) — Python, 85,057 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)
