-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
17 internet doctest failing in findstat.py #28864
Comments
comment:1
any idea of what the problem could be ? some problem for empty shape, maybe ? |
comment:2
Essentially the problem is (very very likely) that there is a new collection on findstat.org (skew partitions), which is not reflected in the sage interface (yet). Very unfortunately, findstat.org itself has (technical) problems which I was unable to resolve so far. On top of that, investing time into the old code is going to delay the deployment of the new and shiny and proper api for the website even further, although it is almost done (since an embarassingly long time). One way to speed up the process would be to decide to drop support for the old way to access findstat completely. This would mean that, that I would switch findstat.org and the sage interface to the new api simultaneously, and that old versions of sage could not use findstat anymore. I doubt that this is a very good idea, but it is a possibility. |
comment:3
a brief update:
In the meantime, the sage interface should be fully functional. |
comment:4
Ticket retargeted after milestone closed |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:15
Here are some first comments:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:63
python3 says:
Is there a more python3 way to import it? Maybe among:
Also pyflakes still says:
Is it really unused? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:66
Hi Sébastien! Thank you for looking into this! Do you happen to know the replacement for |
comment:67
now that sage is python3 only, we should not use six at all. Use And use the python3 syntax for metaclass. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:69
Concerning metaclass: isn't
correct? I replaced New commits:
|
comment:71
(I guess I should also update the ticket description, right?) |
This comment has been minimized.
This comment has been minimized.
comment:73
python3 + pyflakes now ok. Doc builds ok (according to patchbot). All normal test passed on patchbot (except a unrelated singular error). All tests including internet pass on my machine for the file findstat. Positive review. |
comment:74
Wow, that was quick! Thank you! |
Changed branch from u/mantepse/1_internet_doctest_failing_in_findstat_py to |
findstat.org has now a proper api. In this ticket we switch to this api, and create a hierarchy of classes that better models what findstat provides.
In particular, this allows search for maps, iterating over all statistics or maps with given domain, easier access to search for distributions, etc.
Restricted to the capabilities of the old interface, the usage remains the same.
We also fix all the failing doctest.
Original ticket description
Using
SageMath version 9.2.beta2, Release Date: 2020-06-26
, the commandgives
CC: @mantepse @stumpc5
Component: combinatorics
Keywords: FindStat
Author: Martin Rubey
Branch/Commit:
52c576e
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/28864
The text was updated successfully, but these errors were encountered: