Closed seblabbe closed 4 years ago
I am in the process of rewriting the interface. This will make new functionality (in particular the MapFinder) available. Also, the server had to switch to https
, and http
access is only temporarily allowed.
I hope to finish this next week, I want to get the design right, both on the server side as on the sage side.
I'm afraid I will need more time. I'm aiming at end of next week.
As the Sage-8.8 release milestone is pending, we should delete the sage-8.8 milestone for tickets that are not actively being worked on or that still require significant work to move forward. If you feel that this ticket should be included in the next Sage release at the soonest please set its milestone to the next release milestone (sage-8.9).
I am still working on this, I am sorry it takes so long.
Author: Frédéric Chapoton
Branch: public/ticket/27838
Branch pushed to git repo; I updated commit sha1. New commits:
18ee6ae | more fixes for findstat |
after my fixes, there remains one annoying failing doctest.
I would suggest to merge this one quickly and take care of the rest later.
Sébastien, tu es d'accord ?
I agree that this makes more sense.
Reviewer: Sébastien Labbé
Good idea.
I confirm I get only one remaining doctest failure copied below:
**********************************************************************
File "src/sage/databases/findstat.py", line 2117, in sage.databases.findstat.FindStatCollection.in_range
Failed example:
for c in l: # optional -- internet, random
if c.id() not in long and c.is_supported():
f = c.first_terms(lambda x: 1, max_values=10000)
print("{} {} {}".format(c, len(f), all(c.in_range(e) for e, _ in f)))
Exception raised:
Traceback (most recent call last):
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 681, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/doctest/forker.py", line 1123, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.databases.findstat.FindStatCollection.in_range[8]>", line 3, in <module>
f = c.first_terms(lambda x: Integer(1), max_values=Integer(10000))
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2173, in first_terms
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2173, in <listcomp>
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2169, in <genexpr>
if self._sageconstructor_overridden is None:
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/databases/findstat.py", line 2452, in <lambda>
lambda x: (lambda R, E: Poset((list(range(E)), R)))(*literal_eval(x))],
File "sage/misc/classcall_metaclass.pyx", line 334, in sage.misc.classcall_metaclass.ClasscallMetaclass.__call__ (build/cythonized/sage/misc/classcall_metaclass.c:1741)
return cls.classcall(cls, *args, **kwds)
File "/home/slabbe/GitBox/sage/local/lib/python3.7/site-packages/sage/combinat/tableau.py", line 5941, in __classcall_private__
raise ValueError( "shape must be a (skew) partition" )
ValueError: shape must be a (skew) partition
**********************************************************************
1 item had failures:
1 of 10 in sage.databases.findstat.FindStatCollection.in_range
[249 tests, 1 failure, 364.03 s]
----------------------------------------------------------------------
sage -t --long src/sage/databases/findstat.py # 1 doctest failed
----------------------------------------------------------------------
Changed branch from public/ticket/27838 to 18ee6ae
With 8.8.beta5, Release Date: 2019-05-11, the command
gives
CC: @mantepse @stumpc5
Component: doctest coverage
Author: Frédéric Chapoton
Branch/Commit:
18ee6ae
Reviewer: Sébastien Labbé
Issue created by migration from https://trac.sagemath.org/ticket/27838