You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DOC: docstrings in robust.norms, improve, reorganize #8807
The docstrings for methods in robust norm have the formulas in the Returns section.
Would be better before Parameter section as extended description.
Also converting to math will look better if we can get table formatting of equations (align for z ... in piecewise functions)
Sounds good. I also noticed when I was looking at this code that there are some classes that are untested. Would you like me to attempt to add unit tests to the file test_norms.py?
I saw some comments that said "TODO: this is untested" on the trimmedmean class, but I do see that there is an instance of trimmedmean in the test_norms.py file.
Hi @josef-pkt, I would like to work on this issue and take care of rearranging the docstrings and improving the math rendering.
Please let me know if that’s okayy
Activity
jkriv commentedon Apr 19, 2023
I would be willing to work on this issue!
josef-pkt commentedon Apr 19, 2023
That would be great.
It's mostly rearranging the docstring and adding the math directive, and checking that docstring renders correctly.
jkriv commentedon Apr 19, 2023
Sounds good. I also noticed when I was looking at this code that there are some classes that are untested. Would you like me to attempt to add unit tests to the file test_norms.py?
josef-pkt commentedon Apr 19, 2023
which classes are untested?
I just added unit tests for norms a few days ago, and there shouldn't be gaps left.
jkriv commentedon Apr 19, 2023
I saw some comments that said "TODO: this is untested" on the trimmedmean class, but I do see that there is an instance of trimmedmean in the test_norms.py file.
josef-pkt commentedon Apr 19, 2023
I forgot to look for outdated code comments when I added the unit tests.
those should be removed
Sudo-Guy commentedon Jul 19, 2023
What is the status on this issue, I'm willing to work on it if no one has picked it up.
josef-pkt commentedon Jul 20, 2023
There has not been any work done on this, AFAIR.
pull request would be welcome.
Ca7Ac1 commentedon Jul 26, 2023
Hello! I wanted to mention that I'm working on this along with @sudo-CompSciGod. We should hopefully be able to get a pull request ready soon!
maxkuttner commentedon Oct 15, 2024
Hello @josef-pkt. Is the issue still open?
Athar-cell commentedon Jan 26, 2026
Hi @josef-pkt, I would like to work on this issue and take care of rearranging the docstrings and improving the math rendering.
Please let me know if that’s okayy
DOC: improve docstrings in robust.norms