Uh oh!
There was an error while loading. Please reload this page.
merge double_factorial - #9431
Conversation
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
AVAniketh0905
commented
Oct 2, 2023
I have changed a doctest to satisfy for ruff error. |
tianyizheng02
left a comment
There was a problem hiding this comment.
- Please do not edit DIRECTORY.md. This file is auto-generated with a script.
- Please keep the original doctest that you changed. Ruff was failing on that line because the line was too long, not because the test was incorrect.
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
AVAniketh0905
commented
Oct 3, 2023
@tianyizheng02 Sorry I didnt know about |
tianyizheng02
commented
Oct 3, 2023
@AVAniketh0905 Please fix the failing ruff errors. Some lines are too long. |
AVAniketh0905
commented
Oct 3, 2023
The current test case is indeed exceeding the ruff limit. So can I change the test case? # Old Test Caseall(double_factorial_iterative(i) ==math.prod(range(i, 0, -2)) foriinrange(20))
True# New Test Casedouble_factorial_iterative(5) ==math.prod(range(5, 0, -2))
TrueIf you confirm ill do the necessary changes... |
tianyizheng02
commented
Oct 3, 2023
No, I already said not to change the test case. Please break that test case into multiple lines if it's too long. |
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
AVAniketh0905
commented
Oct 3, 2023
yes sorry i didnt know we could do that. |
There was a problem hiding this comment.
Click here to look at the relevant links ⬇️
🔗 Relevant Links
Repository:
Python:
Automated review generated by algorithms-keeper. If there's any problem regarding this review, please open an issue about it.
algorithms-keeper commands and options
algorithms-keeper actions can be triggered by commenting on this PR:
@algorithms-keeper reviewto trigger the checks for only added pull request files@algorithms-keeper review-allto trigger the checks for all the pull request files, including the modified files. As we cannot post review comments on lines not part of the diff, this command will post all the messages in one comment.NOTE: Commands are in beta and so this feature is restricted only to a member or owner of the organization.
Uh oh!
There was an error while loading. Please reload this page.
tianyizheng02
commented
Oct 3, 2023
I modified your PR description to say "Contributes to..." rather than "Fixes..." because the latter will automatically close the issue. This PR helps with the issue but doesn't fix it completely. |
AVAniketh0905
commented
Oct 3, 2023
I understand. Thank you for taking your time reviewing this PR. |
Describe your change:
Contributes to #8098
maths/double_factorial_iterative.pyandmaths/double_factorial_irecursive.py.maths/double_factorial.py. Which inlcudes the above 2 implementations.DIRECTORY.mdto include onlydouble_factorial.pyfile.Checklist: