Add a cap on quiz submissions per day

Aperta
#11 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
backend, security

Direzione di ricerca

Start by locating the quiz submission API and the code that records quiz attempts; the issue does not name files or tests. Check how attempts are associated with users and dated, then trace the EBoard reset flow and the related feedback behavior in #12. Done means the daily limit and reset behavior are defined and enforced, including the retry adjustment when feedback is given.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Currently, there is no cap on the number of times you can submit a quiz. This means I can try the quiz like 20 times until I guess or determine the correct answer. Adversarially, I could set up a script that spams the API with all possible quiz answer combinations to brute-force a pass.

I recommend that users be allowed to take a quiz up to 5 times per day. If a user wishes to do more attempts, a member of EBoard should be able to reset it for them. See #12 also; if feedback is given, the number of retries allowed should be reduced.

Lingua principale
Vue
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ComputerScienceHouse/make

Tutte le issue di ComputerScienceHouse/make

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.