ZhuLinsen/daily_stock_analysis
LLM 驱动的多市场股票智能分析系统:多源行情、实时新闻、决策看板与自动推送,支持零成本定时运行。 LLM-powered multi-market stock analysis system with multi-source market data, real-time news, decision dashboard, automated notifications, and cost-free scheduled runs.
70f2505 ↗Python★ 71,780 (+256 today)lists: allvitest-dedup 0.10.0
- Tests analyzed
- 1,378
- in 119 files
- Compared
- 98.3%
- 23 tests could not be compared
- Findings
- 73
- 72 warnings
- Exact duplicates
- 1
- 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.
truncateStockName > edge cases > returns empty string unchanged
apps/dsa-web/src/utils/__tests__/stockName.test.ts:56–58 ↗truncateStockName > edge cases > returns undefined unchanged (but should not happen in practice)
apps/dsa-web/src/utils/__tests__/stockName.test.ts:75–79 ↗
- Parameterization candidatewarning
8 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 8 tests form one cluster, reported as a single finding instead of 28 pairwise findings (spanni.
truncateStockName > English strings > truncates to 15 chars with trailing dot
apps/dsa-web/src/utils/__tests__/stockName.test.ts:16–19 ↗truncateStockName > Chinese strings > returns unchanged when at or below 8 chars
apps/dsa-web/src/utils/__tests__/stockName.test.ts:27–30 ↗truncateStockName > Chinese strings > truncates to 8 chars with trailing dot
apps/dsa-web/src/utils/__tests__/stockName.test.ts:32–37 ↗truncateStockName > Mixed Chinese and English strings > returns unchanged when at or below 10 chars
apps/dsa-web/src/utils/__tests__/stockName.test.ts:41–44 ↗
and 4 more
- Parameterization candidatewarning
7 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 7 tests form one cluster, reported as a single finding instead of 21 pairwise findings (spanni.
normalizeQuery > normalizeQuery - Query normalization > removes leading and trailing spaces
apps/dsa-web/src/utils/__tests__/normalizeQuery.test.ts:22–25 ↗normalizeQuery > normalizeQuery - Query normalization > converts to lowercase
apps/dsa-web/src/utils/__tests__/normalizeQuery.test.ts:27–30 ↗normalizeQuery > normalizeQuery - Query normalization > removes internal extra spaces
apps/dsa-web/src/utils/__tests__/normalizeQuery.test.ts:32–35 ↗normalizeQuery > normalizeQuery - Query normalization > normalizes full-width latin characters to ASCII
apps/dsa-web/src/utils/__tests__/normalizeQuery.test.ts:41–44 ↗
and 3 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.
searchStocks > 无结果时返回空数组
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:198–201 ↗searchStocks > 空查询返回空数组
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:203–206 ↗searchStocks > Edge case tests > special character query
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:287–290 ↗searchStocks > Edge case tests > pure space query
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:292–295 ↗
and 2 more
- Parameterization candidatewarning
5 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 5 tests form one cluster, reported as a single finding instead of 10 pairwise findings (spanni.
searchStocks > 美股代码匹配
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:230–235 ↗searchStocks > 港股代码匹配
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:245–250 ↗searchStocks > 日股 Yahoo 后缀代码匹配
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:252–257 ↗searchStocks > 韩股 KOSPI Yahoo 后缀代码匹配
apps/dsa-web/src/utils/__tests__/searchStocks.test.ts:266–271 ↗
and 1 more
Findings by rule
- Parameterization candidate72
- Duplicate test1
Not compared
- imported helper unreadable19
- context could not be resolved4
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-14 | 2 | 70f2505 | 0.10.0 | 1,378 | 98.3% | 73 | 1 |
| 2026-11-12 | 2 | ef44660 | 0.10.0 | 1,376 | 98.3% | 73 | 1 |
| 2026-11-10 | 3 | 15c7cdc | 0.10.0 | 1,376 | 98.3% | 73 | 1 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/ZhuLinsen/daily_stock_analysis.git
cd daily_stock_analysis
git checkout 70f250597e9a2b0afe2d7dd6b992c90926916105
npx [email protected] .