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

Add hypothetical rating change feature #91

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 18, 2024

  1. Add hypothetical rating change feature

    I've made significant changes to the codebase to enable users to simulate hypothetical rating changes in the leaderboard application.  
    Here’s a detailed description of the updates:  
    * Add a new endpoint in `api/routers/contest_records.py` to handle hypothetical entries and calculate rating change based on user input.
    * Update the `predicted_rating` function in `api/routers/contest_records.py` to support hypothetical scenarios by accepting additional parameters for hypothetical entries.
    * Add `HypotheticalEntryForm` and `HypotheticalResult` components in `client/src/pages/Predicted/PredictedRecords.jsx` and `client/src/pages/Predicted/PredictedContests.jsx` to allow users to input hypothetical entries and view the calculated rating change.
    sanskaarz committed Nov 18, 2024
    Configuration menu
    Copy the full SHA
    96713c6 View commit details
    Browse the repository at this point in the history