coder13 / coder13/LetsCube

Prevent duplicate solve submissions for the same scramble

Offen
#162 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area: results bug priority: P1
Vorherrschende Sprache
JavaScript
Sterne
30
Forks
9
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

A competitor should not be able to time or submit the same scramble more than once unless explicitly editing their existing result.

Feedback source:
- Disallowing a solver to time the same scramble twice.
- Not allowing a solver to get access to a scramble they previously did on the timing area.
- Bug report: editing a past solve after a new scramble exists can hide the current scramble, as if the edit counted as the current solve.

Acceptance ideas:
- Treat each user/scramble pair as having at most one active result.
- Editing an old result must not mutate current scramble availability.
- Current scramble visibility should depend on the user's current attempt state, not edits to previous attempts.
- Add server-side validation where possible.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

No files or tests are named. Trace the timing, submission, scramble-visibility, and past-result editing entry points, then inspect how user/scramble results are stored; done means duplicate attempts are rejected, edits preserve current scramble visibility, and server-side validation is covered by tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, mongodb, nodejs, react
Bereich
backend, databases, frontend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.