Run and Submit disagree on sample verdicts (exact vs token compare)
Débutant
good first issue
3 ★
Poids du clone léger
Mise à jour
Description
**Severity:** Low/Medium
The Run button checks samples with an exact `data.stdout.trim() === sampleOutput.trim()` (`src/components/cp-arena/ArenaWorkspace.tsx:369`), while Submit uses the problem's checker (`token` by default). A token-correct output with different internal spacing shows **WA on Run but AC on Submit**, confusing users.
**Fix**
Apply the same checker semantics (or a shared token-normalized compare) to the Run sample check. Consider extracting `outputMatches` into a shared helper used by both paths.
**Acceptance:** Run and Submit agree on the same sample output.
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