#19178: Make Coxeter3 a new-style spkg
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: tscrim
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-6.9
Component: packages: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: | 13b836dae13cdb11a5705767555c17647ab9119f
u/tscrim/coxeter3_spkg_update-19178| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by aschilling):
The weird thing is that when I run
{{{
sage -t coxeter_group.py
**********************************************************************
File "coxeter_group.py", line 322, in
sage.libs.coxeter3.coxeter_group.CoxeterGroup.kazhdan_lusztig_polynomial
Failed example:
all(KL.P(1,w) == C.kazhdan_lusztig_polynomial([],w.reduced_word()) for
w in W) # optional - coxeter3 # long (15s)
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.libs.coxeter3.coxeter_group.CoxeterGroup.kazhdan_lusztig_polynomial[9]>",
line 1, in <module>
all(KL.P(Integer(1),w) ==
C.kazhdan_lusztig_polynomial([],w.reduced_word()) for w in W) # optional
- coxeter3 # long (15s)
File "<doctest
sage.libs.coxeter3.coxeter_group.CoxeterGroup.kazhdan_lusztig_polynomial[9]>",
line 1, in <genexpr>
all(KL.P(Integer(1),w) ==
C.kazhdan_lusztig_polynomial([],w.reduced_word()) for w in W) # optional
- coxeter3 # long (15s)
NameError: global name 'KL' is not defined
**********************************************************************
File "coxeter_group.py", line 378, in
sage.libs.coxeter3.coxeter_group.CoxeterGroup.parabolic_kazhdan_lusztig_polynomial
Failed example:
C.parabolic_kazhdan_lusztig_polynomial(w,v,[1,3])
# optional - coxeter3
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.libs.coxeter3.coxeter_group.CoxeterGroup.parabolic_kazhdan_lusztig_polynomial[7]>",
line 1, in <module>
C.parabolic_kazhdan_lusztig_polynomial(w,v,[Integer(1),Integer(3)])
# optional - coxeter3
NameError: name 'w' is not defined
**********************************************************************
File "coxeter_group.py", line 380, in
sage.libs.coxeter3.coxeter_group.CoxeterGroup.parabolic_kazhdan_lusztig_polynomial
Failed example:
C.parabolic_kazhdan_lusztig_polynomial(w,v,[1,3],constant_term_one=False)
# optional - coxeter3
Exception raised:
Traceback (most recent call last):
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 496, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/Applications/sage/local/lib/python2.7/site-
packages/sage/doctest/forker.py", line 858, in compile_and_execute
exec(compiled, globs)
File "<doctest
sage.libs.coxeter3.coxeter_group.CoxeterGroup.parabolic_kazhdan_lusztig_polynomial[8]>",
line 1, in <module>
C.parabolic_kazhdan_lusztig_polynomial(w,v,[Integer(1),Integer(3)],constant_term_one=False)
# optional - coxeter3
NameError: name 'w' is not defined
**********************************************************************
2 items had failures:
1 of 11 in
sage.libs.coxeter3.coxeter_group.CoxeterGroup.kazhdan_lusztig_polynomial
2 of 12 in
sage.libs.coxeter3.coxeter_group.CoxeterGroup.parabolic_kazhdan_lusztig_polynomial
[124 tests, 3 failures, 0.38 s]
----------------------------------------------------------------------
sage -t coxeter_group.py # 3 doctests failed
----------------------------------------------------------------------
Total time for all tests: 0.4 seconds
cpu time: 0.4 seconds
cumulative wall time: 0.4 seconds
}}}
I get errors. But I think this is due to the fact that it *only* runs the
coxeter3 tests and not the other ones. Is this new? I do not remember that
this is how it was before. Running
{{{
lolita:coxeter3 anne$ sage -t --optional=sage,coxeter3 --long *
too many failed tests, not using stored timings
Running doctests with ID 2015-09-23-18-04-02-5d5fd2e5.
Git branch: u/tscrim/coxeter3_new_style_spkg-19178
Using --optional=coxeter3,sage
Doctesting 5 files.
sage -t --long __init__.py
[0 tests, 0.00 s]
sage -t --long coxeter.pxd
[0 tests, 0.00 s]
sage -t --long coxeter.pyx
[257 tests, 0.14 s]
sage -t --long coxeter_group.py
[130 tests, 7.90 s]
sage -t --long decl.pxi
[0 tests, 0.00 s]
----------------------------------------------------------------------
All tests passed!
----------------------------------------------------------------------
Total time for all tests: 8.2 seconds
cpu time: 8.0 seconds
cumulative wall time: 8.0 seconds
}}}
works fine.
--
Ticket URL: <http://trac.sagemath.org/ticket/19178#comment:28>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.