makecindy/cindy
Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
a7e6a77 ↗TypeScript★ 8,224 (+728 today)lists: all, typescriptvitest-dedup 0.9.0
- Tests analyzed
- 84,425
- in 5,692 files
- Compared
- 93.1%
- 5,810 tests could not be compared
- Findings
- 1,433
- 1,407 warnings
- Exact duplicates
- 26
- 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.
analytics settings store > migrates a pre-existing signed-in user when the machine has no record
apps/desktop/src/main/__tests__/analyticsSettingsStore.test.ts:119–124 ↗legacy consent migration window closure > does not affect a genuine legacy user whose window was never closed
apps/desktop/src/main/__tests__/analyticsSettingsStore.test.ts:284–290 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
GhostScheduleSlot 推送内容 > 没有宿主窗口 → HOST_NOT_READY
apps/desktop/src/main/cindy-brain/__tests__/scheduleSlot.test.ts:264–270 ↗GhostScheduleSlot 硬约束:只能开面板,不能建任务 > 没有可投窗口(全部销毁)→ HOST_NOT_READY,不静默丢弃
apps/desktop/src/main/cindy-brain/__tests__/scheduleSlot.test.ts:325–331 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
isMainShellWindowUrl(投给哪个窗口的判据) > 右侧栏页签弹出窗(query) → 不是主壳窗
apps/desktop/src/main/cindy-brain/__tests__/scheduleSlot.test.ts:400–422 ↗isMainShellWindowUrl(投给哪个窗口的判据) > 右侧栏页签弹出窗绝不能被当作可投窗口(本能力的主使用路径)
apps/desktop/src/main/cindy-brain/__tests__/scheduleSlot.test.ts:429–433 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
clearDevice / clearAll > clearDevice 只作废在途写入,之后的新写入照常落盘
apps/desktop/src/main/device-link/__tests__/mirrorCacheStore.test.ts:1315–1320 ↗跨进程互斥(锁 + 清理完成标记) > 清理结束后写入恢复正常(计数只挡"清理之前取到的内容")
apps/desktop/src/main/device-link/__tests__/mirrorCacheStore.test.ts:1856–1861 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
官方 bot ack 表情 > 表情档位(与个人 bot 的三档同语义) > off: 一个表情都不发, 含 👀 与终态
apps/desktop/src/main/hook-control/__tests__/ackReactions.test.ts:134–139 ↗官方 bot ack 表情 > 档位未就绪与中途切换 > 全程 off → 收口时也什么都不发(没打过就没有要收的)
apps/desktop/src/main/hook-control/__tests__/ackReactions.test.ts:348–353 ↗
Findings by rule
- Parameterization candidate1,339
- Near-duplicate test63
- Duplicate test26
- Duplicate test name2
- Cross-file duplicate2
- Duplicate .each row1
Not compared
- context could not be resolved4,486
- helper effects unproved371
- vi.mock factory unreadable874
- imported helper unreadable42
- helper chain has setup effects22
- unsupported expression15
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-29 | 4 | a7e6a77 | 0.9.0 | 84,425 | 93.1% | 1,433 | 26 |
| 2026-10-28 | 2 | 10b0faa | 0.9.0 | 83,798 | 93.2% | 1,430 | 26 |
| 2026-10-27 | 1 | 0ca1c3d | 0.8.0 | 82,658 | 93.6% | 1,424 | 26 |
| 2026-10-26 | 1 | 7c5bd27 | 0.8.0 | 82,228 | 93.7% | 1,424 | 26 |
| 2026-10-25 | 2 | 206b24c | 0.7.0 | 72,267 | 93.8% | 1,291 | 25 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/makecindy/cindy.git
cd cindy
git checkout a7e6a77a275d4accd87204db3966ee81bebaa3a4
npx [email protected] .