kagisearch/kite-public
Open source repository for Kite, news app by Kagi.
fb5c347 ↗Svelte★ 1,102 (+0 today)lists: sveltevitest-dedup 0.10.0
- Tests analyzed
- 462
- in 37 files
- Compared
- 100%
- 0 tests could not be compared
- Findings
- 52
- 52 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
15 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 15 tests form one cluster, reported as a single finding instead of 105 pairwise findings (spa.
shouldFilterStory > keywords ending with periods (like "u.s.") > should filter "U.S." at end of title
src/lib/utils/contentFilter.test.ts:38–44 ↗shouldFilterStory > keywords ending with periods (like "u.s.") > should filter "U.S." at start of title
src/lib/utils/contentFilter.test.ts:46–52 ↗shouldFilterStory > keywords ending with periods (like "u.s.") > should NOT filter "U.S.A." when keyword is "u.s."
src/lib/utils/contentFilter.test.ts:54–60 ↗shouldFilterStory > keywords ending with periods (like "u.s.") > should handle "u.s." stored in lowercase matching uppercase in text
src/lib/utils/contentFilter.test.ts:62–69 ↗
and 11 more
- Parameterization candidatewarning
8 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 8 tests form one cluster, reported as a single finding instead of 28 pairwise findings (spanni.
formatTimelineDate > full precision (YYYY-MM-DD) > formats date in day-first order without year when same as batch year
src/lib/utils/formatTimelineDate.test.ts:6–9 ↗formatTimelineDate > full precision (YYYY-MM-DD) > includes year in day-first order when different from batch year
src/lib/utils/formatTimelineDate.test.ts:11–14 ↗formatTimelineDate > month precision (YYYY-MM) > formats month without year when same as batch year
src/lib/utils/formatTimelineDate.test.ts:18–21 ↗formatTimelineDate > month precision (YYYY-MM) > includes year when different from batch year
src/lib/utils/formatTimelineDate.test.ts:23–26 ↗
and 4 more
- Parameterization candidatewarning
7 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 7 tests form one cluster, reported as a single finding instead of 21 pairwise findings (spanni.
urlEncoder > parseUrl > new format > should parse category URLs correctly
src/lib/utils/urlEncoder.test.ts:202–212 ↗urlEncoder > parseUrl > new format > should parse article URLs correctly
src/lib/utils/urlEncoder.test.ts:214–228 ↗urlEncoder > parseUrl > new format > should parse URLs with encoded special characters
src/lib/utils/urlEncoder.test.ts:269–283 ↗urlEncoder > parseUrl > legacy format - data slug (YYYY-MM-DD.N) > should parse legacy category URLs with date slug
src/lib/utils/urlEncoder.test.ts:307–319 ↗
and 3 more
- Parameterization candidatewarning
6 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 6 tests form one cluster, reported as a single finding instead of 15 pairwise findings (spanni.
normalizeStoryTextItem > flattens a performance_statistics object the way the backend does
src/lib/utils/storyTextList.test.ts:21–58 ↗normalizeStoryTextItem > omits the action sentence when a travel advisory has none
src/lib/utils/storyTextList.test.ts:60–64 ↗normalizeStoryTextItem > falls back to the readable values of an unrecognised shape
src/lib/utils/storyTextList.test.ts:81–83 ↗capitalization parity with the backend parsers > flattens %o the way the backend would
src/lib/utils/storyTextList.test.ts:195–206 ↗
and 2 more
- Parameterization candidatewarning
6 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 6 tests form one cluster, reported as a single finding instead of 15 pairwise findings (spanni.
textUtils > containsCJK > should detect Chinese characters
src/lib/utils/textUtils.test.ts:6–9 ↗textUtils > containsCJK > should detect Japanese Hiragana
src/lib/utils/textUtils.test.ts:11–14 ↗textUtils > containsCJK > should detect Japanese Katakana
src/lib/utils/textUtils.test.ts:16–19 ↗textUtils > containsCJK > should detect Korean Hangul
src/lib/utils/textUtils.test.ts:21–24 ↗
and 2 more
Findings by rule
- Parameterization candidate52
Not compared
Every test was compared.
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-19 | 20 | fb5c347 | 0.10.0 | 462 | 100% | 52 | 0 |
| 2026-11-18 | 21 | fb5c347 | 0.10.0 | 462 | 100% | 52 | 0 |
| 2026-11-17 | 15 | fb5c347 | 0.10.0 | 462 | 100% | 52 | 0 |
| 2026-11-16 | 14 | fb5c347 | 0.10.0 | 462 | 100% | 52 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/kagisearch/kite-public.git
cd kite-public
git checkout fb5c3479271d1c9af46f87ab253a9f474c6ef13c
npx [email protected] .