Arena advertises 4 languages the judge can't run (C#, Go, Rust, Zig)
Débutant
good first issue
3 ★
Poids du clone léger
Mise à jour
Description
**Severity:** High · **Verified:** yes (end-to-end)
The language picker offers 9 languages, but the judge only supports 7. Selecting **C#, Go, Rust, or Zig** and hitting Run/Submit returns `400 Unsupported language`.
**Where**
- `src/components/cp-arena/mockData.ts:8-29` — `LANGUAGES` lists cpp, python, java, c, **csharp**, javascript, **go**, **rust**, **zig**.
- `src/lib/judge.ts:47-60` — `JUDGE_LANGUAGE` only maps cpp/c/python/javascript/typescript/sql/java.
- `src/components/cp-arena/ArenaWorkspace.tsx:335` sends the raw id → `src/app/api/run/route.ts` rejects unknown ids.
**Fix (pick one)**
- Remove csharp/go/rust/zig from `LANGUAGES` + `STARTER_CODE` + the `LanguageId` union until the engine supports them, **or**
- Add real support in the judge engine and `JUDGE_LANGUAGE`.
**Acceptance:** every language shown in the picker actually runs and returns a verdict (no `400 Unsupported language`).
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