NO_TESTS verdict renders as a bogus 'Runtime Error' with a broken badge
Débutant
good first issue
3 ★
Poids du clone léger
Mise à jour
Description
**Severity:** Medium
A problem seeded without hidden tests returns `verdict: "NO_TESTS"` (`src/server/judge.ts:149`). The submit route passes it through, but the UI has no branch for it, so it falls through to the WA/RE default and `VerdictBadge` shows an empty/broken chip.
**Where**
- `src/server/judge.ts:149`
- `src/components/cp-arena/ArenaWorkspace.tsx` (verdict handling + `VerdictBadge` map)
**Fix**
Handle `NO_TESTS` explicitly in the UI (e.g. an "infrastructure / no tests yet" message) and add it to the `VerdictBadge` map.
**Acceptance:** submitting to a problem with no hidden tests shows a clear message, not "Runtime Error".
Issues similaires
Tout voir
TypeScript
Débutant
[Good First Issue] 🐡 Add new Japan Fact 251 - Beginner-Friendly Open-source Contribution
## 🟢 Good First Issue: Add Japan Fact #251 — Beginner-Friendly Open Source Contribution ![Time: <1 minute](h…
Mise à jour
TypeScript
Débutant
Error bucketing
It would be great to bucket the errors in different types i.e. Code exception, configuration exception, envir…
Mise à jour
TypeScript
Débutant
LP lock links omit the /token|lp/ URL segment, causing wrong-type lookups on the detail page
## Summary Lock detail links should include the lock's kind in the URL, e.g. `/app/lock/lp/:id` or `/app/loc…
Mise à jour