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
Doctest sage.categories.action #12039
Comments
Attachment: 12039_doctests.patch.gz Doctests and changes sage.categories.action |
Some changes outside sage.categories.action and sage.categories.action_example |
Dependencies: #12048 |
comment:1
Attachment: 12039_outside.patch.gz |
Author: David Roe |
comment:2
I was googling for One remark: There is no need to use
it defers the computation of
is really some kind of overkill. |
Reviewer: Florent Hivert |
comment:3
A followup for my last remark. The idea of tester.assertTrue(self(a, self(b, v)) == self(a*b, v),
LazyFormat("Multiplication is not associative")%(())) by tester.assertTrue(self(a, self(b, v)) == self(a*b, v),
LazyFormat("Multiplication is not associative: %s*(%s*%s) != (%s*%s)*%s")%(a,b,v,a,b,v)) And similarly for the other one. Also in the category directory, the usage is to place the example in the By the way: thanks a lot for writing all this nice documentation. Florent |
comment:4
More remarks:
Note: I didn't look exhaustively for missing hyperlinks. Sorry for asking all these modifications. More review tomorrow morning, I'm off to bed. Florent |
Attachment: 12039_example.patch.gz An extended example of an Action |
Incorporate referee's suggestions so far |
comment:5
Attachment: 12039_changes.patch.gz I don't mind making changes: I'm glad you're refereeing it. |
comment:6
Doesn't apply to latest beta -- it gets as far as patch 12039_changes.patch and then that fails to apply. |
Changed reviewer from Florent Hivert to Florent Hivert, PatchBot |
comment:7
Aargh, patchbot is interpreting my last comment as an instruction to only apply the last patch... Apply 12039_doctests.patch, 12039_outside.patch, 12039_example.patch, 12039_changes.patch |
Attachment: 12039_changes_v2.patch.gz Apply this instead of 12039-changes.patch |
comment:8
The patch I've just uploaded is based on a rebase of 12039_changes.patch, but it also incorporates some reviewer changes: I've corrected the Sphinx formatting in a few places so it builds without errors, added some trivial missing doctests to get coverage up to 100%, and added a few hyperlinks and so on. Apply 12039_doctests.patch, 12039_outside.patch, 12039_example.patch, 12039_changes_v2.patch |
comment:9
Thanks for fixing all the action_example -> examples.actions. Your changes all look good to me. Feel free to give it a positive review if you're happy with it. |
Changed reviewer from Florent Hivert, PatchBot to Florent Hivert, David Loeffler |
This comment has been minimized.
This comment has been minimized.
comment:12
In Sage 5.1.beta0 I get a bunch of errors applying (yes, I did apply #12048)? Can you confirm this? Also, it would be really nice to have this not depend on a 'needs work' patch. |
Changed reviewer from Florent Hivert, David Loeffler to Florent Hivert, David Loeffler, Karl-Dieter Crisman |
Changed keywords from none to sd40.5 |
comment:13
Needs work, as discussed in person here - 5.0 is okay, 5.1.beta0 is not.
|
comment:14
I guess the problem is that #715 was merged in 5.1.beta0 |
Currently there are no doctests in this file.
Apply attachment: 12039_doctests.patch, attachment: 12039_outside.patch, attachment: 12039_example.patch, attachment: 12039_changes_v2.patch
Depends on #12048
Component: doctest coverage
Keywords: sd40.5
Author: David Roe
Reviewer: Florent Hivert, David Loeffler, Karl-Dieter Crisman
Issue created by migration from https://trac.sagemath.org/ticket/12039
The text was updated successfully, but these errors were encountered: