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

Teacher Reviews API #23

Closed
8 tasks done
Tracked by #1
arafaysaleem opened this issue Aug 23, 2021 · 2 comments
Closed
8 tasks done
Tracked by #1

Teacher Reviews API #23

arafaysaleem opened this issue Aug 23, 2021 · 2 comments
Labels
epic Theme of work that contains several sub-tasks or Issues

Comments

@arafaysaleem
Copy link
Collaborator

arafaysaleem commented Aug 23, 2021

Description

This epic is a goal of the larger epic of Complete REST API and contains functionality for teacher reviews in our project. This epic requires multiple endpoints to be setup and tested along with their detailed documentation.

Initiative / goal

We want to be able to manage teacher reviews so that students can add and read reviews and make decisions accordingly. We also want to moderate reviews before we allow them to be included in the calculation or directory of overall PR.

Hypothesis

The API must provide management of teacher reviews. This epic is considered complete when the following features are complete:

  • Teacher Reviews Management
  • Documentation
  • Tests

Acceptance criteria and must have scope

We must have Authentication, Teachers, Subjects and Students API setup prior to this. In the end we need to have a collection of following endpoints:

Note: 🔒 symbol indicates the route is protected and accessible to admin only

Stakeholders

None

Timeline

2 days are needed to setup all the foundation, along with testing and documentation. No blockers expected.

@arafaysaleem arafaysaleem added the epic Theme of work that contains several sub-tasks or Issues label Aug 23, 2021
@arafaysaleem arafaysaleem mentioned this issue Aug 23, 2021
24 tasks
@arafaysaleem
Copy link
Collaborator Author

arafaysaleem commented Aug 23, 2021

For updating the average rating of a teacher use the Bezhanov Algorithm as explained here

The Formula

Ratingnew_avg = (Ratingold_avg * Nold + Ratingnew) /(Nold+1)

@arafaysaleem
Copy link
Collaborator Author

Completed In #176

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Theme of work that contains several sub-tasks or Issues
Projects
None yet
Development

No branches or pull requests

1 participant