Add a cap on quiz submissions per day

Đang mở
#11 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
backend, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Vue
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ComputerScienceHouse/make

Tất cả issue của ComputerScienceHouse/make

Issue tương tự

Thêm issue về Backend & API Design

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.