MoonshotAI/kimi-code
Kimi Code CLI — The Starting Point for Next-Gen Agents
1011d8b ↗TypeScript★ 8,016 (+16 today)lists: typescriptvitest-dedup 0.8.0
- Tests analyzed
- 16,665
- in 1,004 files
- Compared
- 95.8%
- 698 tests could not be compared
- Findings
- 493
- 487 warnings
- Exact duplicates
- 6
- 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.
isOriginAllowed > denies cross-origin that is not whitelisted
packages/kap-server/test/origin.test.ts:38–40 ↗isOriginAllowed > still denies a non-loopback cross-origin that is not whitelisted
packages/kap-server/test/origin.test.ts:66–68 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AnthropicChatProvider > with thinking > anthropic.claude-opus-4-7-v1:0: uses adaptive thinking
packages/kosong/test/anthropic.test.ts:2031–2041 ↗AnthropicChatProvider > with thinking > adaptive-capable model anthropic.claude-opus-4-7-v1:0 routes through adaptive path
packages/kosong/test/anthropic.test.ts:2382–2394 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AnthropicChatProvider > with thinking > claude-3-5-sonnet legacy: high sends budget thinking without output_config
packages/kosong/test/anthropic.test.ts:2296–2302 ↗AnthropicChatProvider > with thinking > non-adaptive model claude-3-5-sonnet-20240620 does not emit adaptive thinking
packages/kosong/test/anthropic.test.ts:2396–2406 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AnthropicChatProvider > with thinking > opus-4-7 + high stays high
packages/kosong/test/anthropic.test.ts:2334–2340 ↗AnthropicChatProvider > with thinking > adaptive-capable model claude-opus-4-7 routes through adaptive path
packages/kosong/test/anthropic.test.ts:2382–2394 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
AnthropicChatProvider > with thinking > legacy wire body: sonnet-4-5 (non-adaptive) has no output_config
packages/kosong/test/anthropic.test.ts:2375–2380 ↗AnthropicChatProvider > with thinking > supports effort param matrix > effort unsupported: claude-sonnet-4-5 -> output_config absent
packages/kosong/test/anthropic.test.ts:2608–2632 ↗
Findings by rule
- Parameterization candidate476
- Near-duplicate test10
- Duplicate test6
- Cross-file duplicate1
Not compared
- context could not be resolved337
- imported helper unreadable141
- helper chain has setup effects200
- vi.mock factory unreadable20
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-10-26 | 10 | 1011d8b | 0.8.0 | 16,665 | 95.8% | 493 | 6 |
| 2026-10-25 | 11 | 743f140 | 0.7.0 | 14,807 | 97.3% | 456 | 2 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/MoonshotAI/kimi-code.git
cd kimi-code
git checkout 1011d8b63fcc150998a4710641563cd0f73369c9
npx [email protected] .