Borehole · Project · free tier
textualize/rich
Free reading: not for reliance
9d8f9a3 · 4,460 commits · 553 files
Read 2026-11-08

textualize/rich: technical due diligence, read from its repository

What Borehole read in textualize/rich's code and history at 9d8f9a3: its licence, security advisories, releases, review practice, tests, dependencies and operations. Every finding cites the file and line it rests on. The full report also covers the team and asks the questions the code cannot answer.

DimensionRating
Architecture & Codebase — including AI provenancestrong
Engineering Process & SDLC Maturitystrong
Product & Engineering Maturityadequate
Security & Reliability Postureadequate
Observability & Operationsnot assessable
Fit with the Acquirernot assessable

What the repository says

  • .github/pull_request_template.md:34: states a policy on AI-generated contributions

Architecture & Codebase — including AI provenance

strong
01.6

rich/_emoji_codes.py is 3,611 lines, 38× this codebase's median file

adequate

The median source file here is 94 lines. 6 files exceed 1,000 lines, the largest being 3,611. Size is not a defect on its own — some problems genuinely live in one place — but these are where merge conflicts, review fatigue and single-owner knowledge concentrate, and they are the first thing that slows an inheriting engineer down.

Evidence
rich/_emoji_codes.py:1 — 3,611 lines (38× median)
rich/console.py:1 — 2,699 lines (28× median)
rich/progress.py:1 — 1,717 lines (18× median)
rich/text.py:1 — 1,364 lines (14× median)
rich/pretty.py:1 — 1,017 lines (10× median)
01.7

5% of code blocks appear verbatim in more than one file

adequate

1,199 distinct 8-line blocks appear in two or more files. Copy-paste is the cheapest thing a generator does and among the more expensive things to inherit: a fix has to be applied everywhere the block landed, and nothing in the repository records where that is. Tests, fixtures and documentation examples are excluded — those repeat by design — so this is duplication in code that ships. Blocks are matched after normalising whitespace and only across different files.

Evidence
identical 8-line block in 21 files: rich/_unicode_data/unicode10-0-0.py, rich/_unicode_data/unicode11-0-0.py, rich/_unicode_data/unicode12-0-0.py
identical 8-line block in 21 files: rich/_unicode_data/unicode10-0-0.py, rich/_unicode_data/unicode11-0-0.py, rich/_unicode_data/unicode12-0-0.py
identical 8-line block in 21 files: rich/_unicode_data/unicode10-0-0.py, rich/_unicode_data/unicode11-0-0.py, rich/_unicode_data/unicode12-0-0.py
identical 8-line block in 21 files: rich/_unicode_data/unicode10-0-0.py, rich/_unicode_data/unicode11-0-0.py, rich/_unicode_data/unicode12-0-0.py
identical 8-line block in 19 files: rich/_unicode_data/unicode10-0-0.py, rich/_unicode_data/unicode11-0-0.py, rich/_unicode_data/unicode12-0-0.py

Engineering Process & SDLC Maturity

strong
02.5

26% of commit subjects say nothing about the change

adequate

887 of 3,387 subjects are either under twelve characters or one of the standard placeholders — wip, fix, update. The history is therefore not usable for reconstructing why a decision was taken, which is the main thing an inheriting engineer needs it for. It says nothing about code quality and a great deal about how much context transfers with the asset.

Evidence
887/3,387 low-content subjects (26.2%)
'nicer print'
'docstring'
'optimized'
'tidy sig'

Product & Engineering Maturity

adequate
04.4

Tests are falling behind the code they cover

adequate

In the first half of this history, 21% of lines written were test lines. In the second half that fell to 7%. The codebase is growing faster than the safety net around it, which is the shape of a system that gets more expensive to change every quarter — and the cost lands on whoever owns it next.

Evidence
first half 13,469/63,147 (21.3%); second half 1,840/25,497 (7.2%)
history split at 2023-03-02

Security & Reliability Posture

adequate
05.27

The build runs third-party code it does not pin

adequate

3 third-party CI actions are referenced by a tag or branch rather than a commit, so they run whatever that tag points to on the day. Tags have been moved to malicious commits in real supply-chain attacks, and a piped script is whatever the server returns that minute. Pinning to a commit is the fix, and it is small.

Evidence
.github/workflows/newissue.yml:22 — action pinned by tag
.github/workflows/pythonpackage.yml:27 — action pinned by tag
05.26

5 locked dependencies have published vulnerabilities, 13 high or critical

adequate

5 of 49 locked dependencies match 30 published advisories in OSV, 13 of them rated high or critical. A lockfile says which version is installed, not whether the flawed code is reachable from this product, so each needs a look. Most are fixed by an upgrade, and the advisory names the version. None of the high or critical ones is in what the product ships: they are development dependencies.

Evidence
poetry.lock — black 22.12.0: GHSA-cg8m-r9f2-5wm2 (high), fixed in 26.10.1; a development dependency
poetry.lock — virtualenv 20.34.0: GHSA-394h-qwmc-48pf (high), fixed in 21.14.9; a development dependency
poetry.lock — filelock 3.16.1: GHSA-69hj-f68j-2879 (moderate), fixed in 4.2.1; a development dependency

Observability & Operations

not assessable

Not rated: only 5 of 16 checks could reach a conclusion here; the rest do not apply to this repository or could not read it.

Fit with the Acquirer

not assessable

Not rated: structurally not assessable from a repository.

Read more, or read your own

The full report on textualize/rich: every dimension, the questions for the room, and the audit log.

Survey a repository: free on public repositories. Private code is read on your own machine by a collector whose source you can read first.