-
Notifications
You must be signed in to change notification settings - Fork 12
Adds the everest command #408
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
Conversation
|
Many thanks for this contribution! Please could you check the lint & type checking errors (mypy & ruff) that have been provided in the PR checks and attempt to fix them. I will be able to sort them in the next couple of days if you don't get to them. The container build check is not a problem with this PR and is instead due to the problem discussed in #409. |
2bfbcef to
bf65898
Compare
|
Hi @Donian960 are you still working on this? If not I'll go ahead and close the PR and re-assign the issue. |
|
@CarrotManMatt Ah no I've not been working on it, feel free to re-assign |
|
Cheers for letting us know. Seems like @MattyTheHacker was making some changes, so i'll do some branch shenanigans to move it into our repo. Thanks for the initial contribution! |
Adds a command /everest that takes in attributes for
course(str, "bsc" or "msci", not case dependent),year(int, 1 to 4) andvalue(float, what % of the module an assignment is worth) and calculates how many steps of Mt. Everest that assignment was worth (44,250 steps total).For example if someone is on the msci course and 3rd year and their assignment was worth 50% of the module then the assignment is worth 1475 steps (0.5 * 1/6 * 0.4 * 44250)