-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
Categories for posets #10998
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:6
Fixed trivial non commutation with trac_10193-graded_enumerated_sets-nt.patch in the Sage-Combinat queue. In principle the patch should now apply on vanilla sage + listed dependencies. |
comment:7
Salut Nicolas, I must say: there is a lot of code where I don't really understand what you do, and why you do it. E.g., which code is generic enough to put in categories and which is not, how are examples organized, how do you properly test the code, ... In my (not yet final) review patch, I place some questions on implementations, some suggestions for additional methods, and I fixed several typos. Best, Christian |
comment:8
Replying to @stumpc5:
Hmm, more specific questions (like the one below) would be useful to
The rule of thumb is: does the code use the data structure or not? But that's just a rule thumb; I left in Poset all the code that was on
Are those questions about the category framework in general, or about
Ok, thanks! Cheers, |
This comment has been minimized.
This comment has been minimized.
Reviewer: Franco Saliola, Christian Stump, Nicolas M. Thiéry |
comment:10
Apply only trac_10998-categories-posets-nt.patch |
comment:11
There where a few bad sphinx markup. I just pushed a review patch on sage-combinat queue. I let you decide if you want to fold it or upload it. Cheers, Florent |
comment:12
Folded; thanks! |
comment:13
Fixed failing test. |
comment:14
Hmm, there are a couple more trivial ones. I'll work on those on Monday unless someone beats me to it! |
comment:15
Replying to @nthiery:
I also just spotted a few more wrong sphinx markup ! I'm fixing those. |
Changed reviewer from Franco Saliola, Christian Stump, Nicolas M. Thiéry to Franco Saliola, Christian Stump, Nicolas M. Thiéry, Florent Hivert |
comment:16
Replying to @hivert:
Please see my new review patch on sage-combinat queue |
comment:17
I started with a fresh install of sage-4.7.rc1 and applied the patches at #9065 and #10938, followed by the patch for this ticket on the sage-combinat queue. I get a the following doctest failures.
I verified that they are not caused by the other patches. (I also get these errors on 4.6.2 with the sage-combinat patches applied.) I don't understand the problem. If you copy and paste the offending doctests into the sage command-line, I don't get the errors reported by the doctest system. Any ideas? |
comment:18
Oh right, I had forgotten about those. I tried a bit to find the problem, but to not avail yet. Andrey, would you have any clue? |
comment:19
Hi Nicolas, thanks for ccing me! Given that the problem is not reproducible in the command line, I am not exactly sure how to attack it, but we probably need to focus on the failing doctest in The problem as shown by the doctest framework is that cones which are supposed to know that they sit inside a fan appear to be "standalone" and breaking this relation messes up everything that builds up on top of it. I'll try to trace it down further, but it may take me a few days due to traveling and conferencing... |
comment:48
Hello, I wonder - what are the current plans for this ticket? (I am interested in #11559 which depends on it.) |
Work Issues: rebase relative sage-5.0.beta0 |
comment:51
Replying to @stumpc5:
Fixed and tested in the updated patch! |
comment:52
Replying to @vbraun:
Thanks for the suggestion. I implemented this in the latest version of my patch! |
Changed keywords from days30, sd31 to days30, sd31, Cernay2012 |
comment:53
The latest version of the patch is here and in the Sage-Combinat queue. Florent will make the final review tomorrow morning. |
Patch to be applied on the sagenb repo |
comment:54
Attachment: trac_10998-categories-posets-sagenb-nt.patch.gz |
This comment has been minimized.
This comment has been minimized.
comment:55
Attachment: trac_10998-categories-posets-nt.patch.gz Final patch uploaded, after polishing of the doc and a final failing doctest. Crossreviewed with Florent. All tests pass. Positive review! Thanks everyone! |
comment:56
Wow, you win the award for longest commit message. |
Changed work issues from rebase relative sage-5.0.beta0 to none |
Merged: sage-5.0.beta4 |
This patch creates categories for posets and lattices, refactors the
poset code, and adds new features. See the header of the patch for a
complete description.
Apply: attachment: trac_10998-categories-posets-nt.patch
Apply on sagenb repo: attachment: trac_10998-categories-posets-sagenb-nt.patch
Depends on #8288
Depends on #10651
Depends on #11289
Depends on #10938
Depends on #9065
CC: @sagetrac-sage-combinat @nilesjohnson @novoselt @vbraun
Component: combinatorics
Keywords: days30, sd31, Cernay2012
Author: Frédéric Chapoton, Christian Stump, Nicolas M. Thiéry
Reviewer: Franco Saliola, Christian Stump, Nicolas M. Thiéry, Florent Hivert
Merged: sage-5.0.beta4
Issue created by migration from https://trac.sagemath.org/ticket/10998
The text was updated successfully, but these errors were encountered: