fishjar/kiss-translator
A simple, open source bilingual translation extension & Greasemonkey script (一个简约、开源的 双语对照翻译扩展 & 油猴脚本)
ab5a5f4 ↗JavaScript★ 13,298 (+21 today)lists: javascriptvitest-dedup 0.10.0
- Tests analyzed
- 472
- in 453 files
- Compared
- 99.2%
- 4 tests could not be compared
- Findings
- 4
- 4 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
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.
mapAsrLanguage > zh-hans → chinese + t2s
src/localAi/core/__tests__/asrLanguages.test.ts:5–7 ↗mapAsrLanguage > zh-hant → chinese + s2t
src/localAi/core/__tests__/asrLanguages.test.ts:9–11 ↗mapAsrLanguage > english 直接透传
src/localAi/core/__tests__/asrLanguages.test.ts:13–15 ↗mapAsrLanguage > 空值 → 自动检测(whisper 为 null)
src/localAi/core/__tests__/asrLanguages.test.ts:22–24 ↗
and 3 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.
ocrVlmPrompts > resolves official GLM-OCR prompts by task mode
src/localAi/core/__tests__/ocrVlmPrompts.test.ts:9–19 ↗ocrVlmPrompts > resolves official PaddleOCR-VL-1.6 prompts by task mode
src/localAi/core/__tests__/ocrVlmPrompts.test.ts:21–29 ↗
- 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.
pinyinSyllableToPhonemes > ü 韵与 j/q/x 的 un→ün
src/localAi/core/__tests__/ttsG2p.test.ts:36–40 ↗pinyinSyllableToPhonemes > 短写韵母 iu/ui/un
src/localAi/core/__tests__/ttsG2p.test.ts:42–47 ↗
- 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.
zhTextToPhonemes > 整句转换
src/localAi/core/__tests__/ttsG2p.test.ts:56–59 ↗zhTextToPhonemes > 一/不 变调由 pinyin-pro 处理
src/localAi/core/__tests__/ttsG2p.test.ts:61–65 ↗
Findings by rule
- Parameterization candidate4
Not compared
- context could not be resolved2
- order-dependent-state2
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-12 | 9 | ab5a5f4 | 0.10.0 | 472 | 99.2% | 4 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/fishjar/kiss-translator.git
cd kiss-translator
git checkout ab5a5f47b8fd515ff8aa169e7375398ef1b5b8a9
npx [email protected] .