Prevent duplicate solve submissions for the same scramble
- 主要言語
- JavaScript
- スター
- 30
- フォーク
- 9
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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.
コントリビューションガイド
調査の方向性
ファイルやテストは指定されていません。タイミング、送信、scramble の可視性、過去の結果の編集のエントリーポイントを追跡し、その後、ユーザー/scramble の結果がどのように保存されるかを調べます。完了条件は、重複する試行が拒否され、編集によって現在の scramble の可視性が維持され、サーバー側の検証がテストでカバーされていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, mongodb, nodejs, react
- 領域
- backend, databases, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100