Skip to content

Remove rank from contest voting #1959

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

Merged
merged 4 commits into from
Sep 23, 2021
Merged

Conversation

lizchow
Copy link
Contributor

@lizchow lizchow commented Sep 8, 2021

Description

Corresponding frontend fix to remove rank from contest voting. The voting scores are changed to 1 (worst) to 10 (best), compared to the initial ranking of 1 (best) to 10 (worst).

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Code quality improvements

How to test

Test with the following backend PR source-academy/backend#823

Checklist

  • I have tested this code
  • I have updated the documentation

@lizchow lizchow requested a review from chownces September 8, 2021 13:49
@lizchow lizchow self-assigned this Sep 8, 2021
@coveralls
Copy link

coveralls commented Sep 8, 2021

Pull Request Test Coverage Report for Build 1213582907

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 30.837%

Totals Coverage Status
Change from base Build 1212370989: 0.0%
Covered Lines: 3451
Relevant Lines: 10413

💛 - Coveralls

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 9, 2021

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9422741
Status: ✅  Deploy successful!
Preview URL: https://ed067e4a.cadet-frontend.pages.dev

View logs

Copy link
Contributor

@chownces chownces left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sflr! LGTM. Will wait for @YaleChen299 to implement the new leaderboard hiding feature and perform end-to-end testing before merging. shld be ready to merge in a week's time!

@YaleChen299 YaleChen299 merged commit 1c7d012 into master Sep 23, 2021
@lizchow lizchow removed their assignment Sep 23, 2021
chownces added a commit to NUS-CS1101S/cadet-frontend that referenced this pull request Sep 24, 2021
* Remove rank from contest voting

* Rename relative_score to final_score

Co-authored-by: En Rong <53928333+chownces@users.noreply.github.com>
Co-authored-by: Chen Yanyu <39845424+YaleChen299@users.noreply.github.com>
angelsl pushed a commit to NUS-CS1101S/cadet-frontend that referenced this pull request Sep 30, 2021
* Remove rank from contest voting

* Rename relative_score to final_score

Co-authored-by: En Rong <53928333+chownces@users.noreply.github.com>
Co-authored-by: Chen Yanyu <39845424+YaleChen299@users.noreply.github.com>
@martin-henz martin-henz deleted the elizabeth/contest-remove-rank branch March 11, 2023 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants