-
-
Notifications
You must be signed in to change notification settings - Fork 713
introduce the bubble and shuffle lattices #40037
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
|
Documentation preview for this PR (built with commit fa8d02f; changes) is ready! 🎉 |
|
@tscrim, would you please have time for this one ? |
tscrim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two additional general comments:
I would call the file bubble_shuffle.py.
I would provide at least a sketch of the definitions of the posets in the construction functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Just now the annoying conftest.py deletion... (We really should complain on sage-devel about that.) Once addressed, then you can set a positive review.
2792b47 to
4b2ded4
Compare
|
I have not yet added a mathematical definition of the posets. |
|
Ah, right, yes, please also add that. |
tscrim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. Although I think it would be better to have the definitions local to each function so it can be read by posets.BubblePoset?.
what exactly is the problem of conftest.py deletion? if you don't interrupt configure script manually or by breaking some autoconf macro, it gets restored just fine. |
Co-authored-by: Travis Scrimshaw <[email protected]>
|
Every time I compile using |
|
The whole idea that |
|
@tscrim : I have moved the doc as suggested, I think. Do you have any other suggestion or comment ? |
tscrim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. LGTM.
|
@dimpase It would be appreciated if something could be done so this file is repeatedly deleted when building/upgrading Sage. It’s a hassle. |
|
which file? |
|
Sorry, I explained above how to avoid deleting this file. |
@dimpase I clearly am having this as well. Nothing is breaking for us during the build and it is not getting restored. It's also appeared for many other contributors' PRs. |
|
If you change something that triggers a run of configure, such as a package update, and you don't run ./configure before hitting It's above my pay grade to search for bugs in recursively self-modifying systems like this. I have been talking for years arguing that sage the distro is a bloatware, and needs to be simplified and streamlined - hearing in response mostly that it just works, so why bother. |
|
I run |
|
On Tue, May 20, 2025 at 10:52:24PM -0700, Travis Scrimshaw wrote:
tscrim left a comment (sagemath/sage#40037)
I run `./configure && make build` when upgrading. Well, anyways, none of us have the ability to fix it...
it might help if you post the install.log of such a run which resulted
in lost conftest.py (needless to say, making sure it's present before
this is run).
First of all, it could be that the latter is not restored after
./configure is run.
(maybe some weird shell quirks or permissions fun on macOS, no idea)
|
|
I will do that to sage-devel soon. I usually forget about it because I reset it and just continue on my way each time I upgrade. |
For many upgrades you need to run |
|
Co-authored-by: Travis Scrimshaw <[email protected]>
|
Thanks. That fixes it. |
sagemathgh-40037: introduce the bubble and shuffle lattices Adding two new posets in our catalog : The Bubble lattices and the Shuffle lattices. ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [x] I have created tests covering the changes. - [x] I have updated the documentation and checked the documentation preview. URL: sagemath#40037 Reported by: Frédéric Chapoton Reviewer(s): Travis Scrimshaw
Adding two new posets in our catalog : The Bubble lattices and the Shuffle lattices.
📝 Checklist