Skip to content
VitestDedup

mksglu/context-mode

Free, local plugin that keeps tool output out of your coding agent's context window. Sandbox and SQLite FTS5 search, 99% fewer bytes in context. Works with Claude Code, Codex, Pi, OpenCode, Gemini CLI, Copilot CLI and 4 more agents. Zero telemetry.

7164222 ↗TypeScript★ 33,307 (+151 today)lists: typescriptvitest-dedup 0.9.0

Tests analyzed
4,411
in 210 files
Compared
87.9%
535 tests could not be compared
Findings
334
332 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.

  1. Duplicate testerror

    2 tests have identical bodies under an equivalent context.

  2. Duplicate testerror

    2 tests have identical bodies under an equivalent context.

  3. Duplicate suitewarning

    2 suites have identical bodies under an equivalent context; per-test findings between the copies are suppressed, not repeated.

  4. Near-duplicate testwarning

    5 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.

    and 1 more

  5. 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.

Findings by rule

  • Parameterization candidate324
  • Near-duplicate test7
  • Duplicate test2
  • Duplicate suite1

Not compared

  • context could not be resolved139
  • imported helper unreadable396

No finding is reported for these tests, which does not mean they have no duplicates.

Appearances

DayRankCommitVersionTestsComparedFindingsDuplicates
2026-11-03871642220.9.04,41187.9%3342

Reproduce

The latest analysis, at the same commit and version:

git clone https://github.com/mksglu/context-mode.git
cd context-mode
git checkout 7164222685f71510e26bc0f60b177300fa370f4f
npx [email protected] .