Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Student entry of ratings #9

Open
6 tasks
pconrad opened this issue Apr 17, 2020 · 0 comments
Open
6 tasks

Student entry of ratings #9

pconrad opened this issue Apr 17, 2020 · 0 comments
Assignees
Projects

Comments

@pconrad
Copy link
Contributor

pconrad commented Apr 17, 2020

As a student I can enter ratings on project ideas (numerical rating 1-5). I will not be shown my own project, nor any idea I have already rated.

Acceptance Criteria:

  • When logging in as a non-admin, the home page has a form for the student to enter ratings given that they have entered a project idea

  • The form displays how many reviews the student has to enter if they have not met the min reviews

  • There is a configurable min number of project idea reviews

  • min/max review desc length is enforced on the front end with appropriate error messages, and user input entered so far is retained until accepted.

  • min/max review desc length is enforced on the back end api so that clever hackers can't hack an out of spec description into the database.

  • The rules below are respected for selecting a project to review

Rules for selecting a project to review

  • Can't review your own project

  • Can't review a project you have already reviewed

  • Give preference to projects that have fewer than the minimum number of reviews

  • Select randomly based on the rules above

  • Only if there are no projects that have fewer than the min number of reviews, select randomly from projects that meet the first two criteria

@pconrad pconrad created this issue from a note in S20 (To do) Apr 17, 2020
@pconrad pconrad moved this from To do to In progress in S20 May 1, 2020
@andrewhlu andrewhlu self-assigned this May 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
S20
  
In progress
Development

No branches or pull requests

3 participants