Skip to content
VitestDedup

mattpocock/sandcastle

Orchestrate sandboxed coding agents in TypeScript with sandcastle.run()

8c2c568 ↗TypeScript★ 8,823 (+31 today)lists: typescriptvitest-dedup 0.9.0

Tests analyzed
1,841
in 94 files
Compared
93.5%
120 tests could not be compared
Findings
110
107 warnings
Exact duplicates
3
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 testerror

    2 tests have identical bodies under an equivalent context.

  4. Cross-file duplicatewarning

    2 tests across 2 files have identical bodies under an equivalent context.

  5. Near-duplicate testwarning

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

Findings by rule

  • Parameterization candidate105
  • Duplicate test3
  • Near-duplicate test1
  • Cross-file duplicate1

Not compared

  • context could not be resolved101
  • imported helper unreadable8
  • vi.mock factory unreadable11

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

Appearances

DayRankCommitVersionTestsComparedFindingsDuplicates
2026-11-0488c2c5680.9.01,84193.5%1103

Reproduce

The latest analysis, at the same commit and version:

git clone https://github.com/mattpocock/sandcastle.git
cd sandcastle
git checkout 8c2c5689a836a626232ff09b4c62cfdf72ad7684
npx [email protected] .