Open-Dev-Society/OpenStock
OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.
eac478f ↗TypeScript★ 21,368 (+66 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 141
- in 10 files
- Compared
- 100%
- 0 tests could not be compared
- Findings
- 9
- 9 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
22 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 22 tests form one cluster, reported as a single finding instead of 231 pairwise findings (spa.
formatSymbolForTradingView > returns empty string for empty input
__tests__/utils.test.ts:13–15 ↗formatSymbolForTradingView > maps Taiwan (.TW) to TWSE prefix
__tests__/utils.test.ts:23–25 ↗formatSymbolForTradingView > maps Taiwan OTC (.TWO) to TPEX prefix
__tests__/utils.test.ts:27–29 ↗formatSymbolForTradingView > maps Tokyo (.T) to TSE prefix
__tests__/utils.test.ts:31–33 ↗
and 18 more
- Parameterization candidatewarning
6 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 6 tests form one cluster, reported as a single finding instead of 15 pairwise findings (spanni.
formatSymbolForTradingView > returns uppercase US symbol as-is
__tests__/utils.test.ts:17–20 ↗formatSymbolForTradingView > maps London (.L) to LSE prefix
__tests__/utils.test.ts:75–78 ↗formatSymbolForTradingView > maps Stockholm (.ST) to OMXSTO prefix
__tests__/utils.test.ts:104–107 ↗formatSymbolForTradingView > maps Toronto (.TO) to TSX prefix
__tests__/utils.test.ts:110–113 ↗
and 2 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.
MiniMax integration > handles a longer prompt
__tests__/ai-provider.integration.test.ts:23–30 ↗MiniMax integration > generates HTML content for email personalization
__tests__/ai-provider.integration.test.ts:32–39 ↗
- 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.
getFallbackProviderName > returns gemini when primary is minimax
__tests__/ai-provider.test.ts:91–93 ↗getFallbackProviderName > returns gemini when primary is siray
__tests__/ai-provider.test.ts:95–97 ↗
- 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.
formatMarketCapValue > formats trillions
__tests__/utils.test.ts:151–153 ↗formatMarketCapValue > formats billions
__tests__/utils.test.ts:155–157 ↗
Findings by rule
- Parameterization candidate9
Not compared
Every test was compared.
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-09 | 10 | eac478f | 0.10.0 | 141 | 100% | 9 | 0 |
| 2026-10-23 | 4 | 855ca6a | 0.7.0 | 136 | 94.9% | 9 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/Open-Dev-Society/OpenStock.git
cd OpenStock
git checkout eac478f71dcff342d196a65c724dc955c221eeee
npx [email protected] .