Bots that visibly write code at a human pace
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
Direzione di ricerca
Start with backend/server.js and trace how bot submissions currently emit code-update; also read the existing bot difficulty settings and the tests run by npm test. The goal is a pure seeded timeline whose replay yields the reference solution, while keeping win rates stable; validate with node scripts/check-boundary.js and include a screen recording and before/after win rates in the pull request.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bot battles feel lifeless. The bot's editor stays blank (its code is an empty string in backend/server.js) until a timer fires and it submits a finished solution all at once. Players can tell instantly that nobody is there.
Goal
Bots that look like they are coding: the opponent editor fills in gradually, with pauses, small mistakes and test runs, at a pace that matches the bot's difficulty.
Design
- Build a typing plan from the bot's reference solution before the battle starts: a timeline of insertions, pauses (longer at the start of a function or a loop) and the occasional typo fixed a moment later.
- Easier bots plan slower, pause more, and may submit a failing version first, then fix it.
- Emit the plan through the same throttled
code-updatepath a human uses, so the frontend needs no special case. - Total time follows the bot's difficulty settings, with randomness so two battles against the same bot are not identical.
- Bots never "react" to the player's code. Their timeline depends only on the problem, the difficulty and a seed.
Definition of done
- A pure, seeded function that turns a solution into a timeline, with tests proving that replaying the timeline produces exactly the reference solution.
- A screen recording of a bot battle in the pull request.
- Bot win rates by difficulty before and after, so the change does not quietly make bots easier or harder.
npm testandnode scripts/check-boundary.jspass.
- Lingua principale
- JavaScript
- Stelle
- 0
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di sennaicodes/codearena
-
Add issue and pull request templatesForse di nuovo libera @franciscorodr26 l’ha presa 18 giorni fa e non c’è nessuna pull request aperta. Apertadocumentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
sennaicodes/codearena#13 · 1 commento ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#34 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
sennaicodes/codearena#33 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
sennaicodes/codearena#32 ·
-
enhancement help wanted
Difficoltà 5/5 Più di una settimana Idoneità per principianti 38/100
sennaicodes/codearena#31 ·
Tutte le issue di sennaicodes/codearena
Issue simili
-
external-plugin ready-for-review third party
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
github/awesome-copilot#5713 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Mend: dependency security vulnerability
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
carbon-design-system/carbon-react-router-starter#1005 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement p2 setup
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
vercel/eve#5419 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Query Log shows "Upstream" for CNAME cloaking, schedule, NXDOMAIN hijack and response IP blocksApertabug good first issue query-log web
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
ferrous-networking/ferrous-dns#326 ·
I maintainer di solito rispondono entro 1 giorno