lfnovo/open-notebook
An Open Source implementation of Notebook LM with more flexibility and features
a0f6f30 ↗TypeScript★ 41,434 (+106 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 157
- in 35 files
- Compared
- 98.7%
- 2 tests could not be compared
- Findings
- 16
- 16 warnings
- Exact duplicates
- 0
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Parameterization candidatewarning
10 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 10 tests form one cluster, reported as a single finding instead of 45 pairwise findings (span.
GET /config > strips the port from the Host header before rebuilding the URL
frontend/src/app/config/route.test.ts:48–55 ↗GET /config > accepts a bare IPv4 Host header
frontend/src/app/config/route.test.ts:57–64 ↗GET /config > accepts a bracketed IPv6 literal Host header
frontend/src/app/config/route.test.ts:66–73 ↗GET /config > strips the port from a bracketed IPv6 Host header and keeps the brackets
frontend/src/app/config/route.test.ts:75–82 ↗
and 6 more
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
ChatColumn > shows loading spinner when fetching data
frontend/src/app/(dashboard)/notebooks/components/ChatColumn.test.tsx:44–52 ↗ChatColumn > renders chat panel when data is loaded
frontend/src/app/(dashboard)/notebooks/components/ChatColumn.test.tsx:54–62 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
GET /config > auto-detects from a well-formed Host header
frontend/src/app/config/route.test.ts:39–46 ↗GET /config > never trusts an X-Forwarded-Proto value other than http/https
frontend/src/app/config/route.test.ts:138–148 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
MarkdownEditor preview sanitization > strips raw <script> content
frontend/src/components/ui/markdown-editor.test.tsx:142–145 ↗MarkdownEditor preview sanitization > does not execute inline event-handler attributes on parsed raw elements
frontend/src/components/ui/markdown-editor.test.tsx:160–163 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
Config Priority > should prioritize runtime config over everything else
frontend/src/lib/config.test.ts:22–39 ↗Config Priority > should fall back to env var if runtime config returns empty/null
frontend/src/lib/config.test.ts:41–59 ↗
Findings by rule
- Parameterization candidate16
Not compared
- context could not be resolved2
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-11-03 | 10 | a0f6f30 | 0.9.0 | 157 | 98.7% | 16 | 0 |
| 2026-11-02 | 9 | a0f6f30 | 0.9.0 | 157 | 98.7% | 16 | 0 |
| 2026-10-31 | 8 | a0f6f30 | 0.9.0 | 157 | 98.7% | 16 | 0 |
| 2026-10-30 | 5 | a0f6f30 | 0.9.0 | 157 | 98.7% | 16 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/lfnovo/open-notebook.git
cd open-notebook
git checkout a0f6f3081ae06328f0a451b3a3ef2959ca25721d
npx [email protected] .