thesysdev/openui
The Open Standard for Generative UI
0532274 ↗TypeScript★ 16,751 (+222 today)lists: all, typescriptvitest-dedup 0.11.0
- Tests analyzed
- 1,657
- in 199 files
- Compared
- 96.3%
- 62 tests could not be compared
- Findings
- 72
- 70 warnings
- Exact duplicates
- 2
- 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.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Renderer > renders without errors when response is null
packages/svelte-lang/src/__tests__/Renderer.test.ts:29–39 ↗Renderer > defaults isStreaming to false
packages/svelte-lang/src/__tests__/Renderer.test.ts:106–115 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Renderer > renders without errors when response is null
packages/vue-lang/src/__tests__/Renderer.test.ts:29–38 ↗Renderer > defaults isStreaming to false
packages/vue-lang/src/__tests__/Renderer.test.ts:104–113 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events with at least one different ordering under an equivalent context; if the reordered statements are independent this may be redundant coverage, but equivalence is not proven, so the likely remedy is to.
cornerToward > switches both axes on a diagonal drag
packages/devtools/src/lib/useCornerDrag.test.ts:12–15 ↗cornerToward > stays put when dragged toward the edge it is on
packages/devtools/src/lib/useCornerDrag.test.ts:22–25 ↗
- Parameterization candidatewarning
16 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 16 tests form one cluster, reported as a single finding instead of 120 pairwise findings (spa.
jsonToOpenUI > single component > serializes a simple component
packages/lang-core/src/parser/__tests__/serialize.test.ts:142–152 ↗jsonToOpenUI > single component > uses statementId as root name
packages/lang-core/src/parser/__tests__/serialize.test.ts:154–164 ↗jsonToOpenUI > value types > serializes strings with escaping
packages/lang-core/src/parser/__tests__/serialize.test.ts:209–218 ↗jsonToOpenUI > positional arg ordering > maps props to positional args via ParamMap
packages/lang-core/src/parser/__tests__/serialize.test.ts:273–283 ↗
and 12 more
- Parameterization candidatewarning
9 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 9 tests form one cluster, reported as a single finding instead of 36 pairwise findings (spanni.
nearestSnap > current at 0, up clamps at the first index
packages/react-ui/src/components/Charts/BarChart/parts/horizontalBarGeometry.test.ts:118–120 ↗nearestSnap > current at 0, down steps to the next index
packages/react-ui/src/components/Charts/BarChart/parts/horizontalBarGeometry.test.ts:121–123 ↗nearestSnap > current exactly on a snap, up steps back one
packages/react-ui/src/components/Charts/BarChart/parts/horizontalBarGeometry.test.ts:124–126 ↗nearestSnap > current exactly on a snap, down steps forward one
packages/react-ui/src/components/Charts/BarChart/parts/horizontalBarGeometry.test.ts:127–129 ↗
and 5 more
Findings by rule
- Parameterization candidate69
- Duplicate test2
- Near-duplicate test1
Not compared
- context could not be resolved27
- imported helper unreadable29
- order-dependent-state6
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-12-04 | 5 | 0532274 | 0.11.0 | 1,657 | 96.3% | 72 | 2 |
| 2026-11-14 | 9 | e0aec34 | 0.10.0 | 1,279 | 98.1% | 66 | 2 |
| 2026-10-27 | 2 | 9bc3192 | 0.8.0 | 1,189 | 95% | 56 | 2 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/thesysdev/openui.git
cd openui
git checkout 0532274a577ef606345bdb374074b7f03a8ea72b
npx [email protected] .