strelov1/freehire
freehire — the open-source search engine for job seekers
c2685c0 ↗Go★ 3,037 (+360 today)lists: allvitest-dedup 0.7.0
- Tests analyzed
- 2,959
- in 281 files
- Compared
- 98.6%
- 42 tests could not be compared
- Findings
- 224
- 224 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.
- Cross-file duplicatewarning
2 tests across 2 files have identical bodies under an equivalent context.
buildActivityGrid shape > asks for a span the endpoint will answer, on every day of the year
web/src/lib/activityGrid.test.ts:233–240 ↗buildActivityGrid west of UTC > asks for a span the endpoint will answer, on every day of the year
web/src/lib/activityGrid.west.test.ts:70–77 ↗
- 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.
adzunaLocalDomain > falls back to the domain the terms name when the URL cannot supply one
web/src/lib/adzuna.test.ts:18–22 ↗adzunaLocalDomain > never credits a non-Adzuna host
web/src/lib/adzuna.test.ts:24–35 ↗
- 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.
matchesQuery > keeps every application when the query is empty or blank
web/src/lib/board.test.ts:124–127 ↗matchesQuery > matches a partial word, so a search narrows as it is typed
web/src/lib/board.test.ts:140–143 ↗
- 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.
cachePolicy holds an entity page longer than a listing > leaves listings and index pages on the short lifetime
web/src/lib/httpCache.test.ts:78–88 ↗cachePolicy holds an entity page longer than a listing > does not extend the lifetime to a detail page sub-route
web/src/lib/httpCache.test.ts:92–96 ↗
- 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.
autoApplyProgressSteps > shows the Tailoring stage active while a CV is being prepared
web/src/lib/autoApplyProgress.test.ts:5–11 ↗autoApplyProgressSteps > marks the Tailoring stage as stopped when tailoring itself failed
web/src/lib/autoApplyProgress.test.ts:13–19 ↗autoApplyProgressSteps > shows the Review stage active while awaiting the candidate decision
web/src/lib/autoApplyProgress.test.ts:21–27 ↗autoApplyProgressSteps > marks the Review stage as stopped when the candidate declined
web/src/lib/autoApplyProgress.test.ts:29–35 ↗
and 3 more
Findings by rule
- Parameterization candidate220
- Near-duplicate test3
- Cross-file duplicate1
Not compared
- context could not be resolved42
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-22 | 2 | c2685c0 | 0.7.0 | 2,959 | 98.6% | 224 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/strelov1/freehire.git
cd freehire
git checkout c2685c0c9e8cf223a591e51c86bd0964daa3651e
npx [email protected] .