#10618: Include David Perkinson's sandpile module in the sage library
-------------------------------------------------+--------------------------
Reporter: mhampton | Owner: jason, ncohen,
rlm
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.7
Component: graph theory | Keywords: abelian
sandpile model
Author: David Perkinson, Marshall Hampton | Upstream: N/A
Reviewer: David Joyner | Merged:
Work_issues: |
-------------------------------------------------+--------------------------
Comment(by jdemeyer):
I get various doctest failures:
{{{
sage -t -force_lib devel/sage/sage/sandpiles/sandpile.py
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.7.alpha2/devel/sage-
main/sage/sandpiles/sandpile.py", line 1815:
sage: S.unsaturated_ideal().gens()
Expected:
(x1^3 - x4*x3*x0, x2^3 - x5*x3*x0, x3^2 - x5*x2, x4^2 - x3*x1, x5^2 -
x3*x2)
Got:
[x1^3 - x4*x3*x0, x2^3 - x5*x3*x0, x3^2 - x5*x2, x4^2 - x3*x1, x5^2 -
x3*x2]
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.7.alpha2/devel/sage-
main/sage/sandpiles/sandpile.py", line 1817:
sage: S.ideal().gens()
Expected:
(x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2)
Got:
[x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2]
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.7.alpha2/devel/sage-
main/sage/sandpiles/sandpile.py", line 1840:
sage: S.ideal(True)
Expected:
(x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2)
Got:
[x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2]
**********************************************************************
File "/mnt/usb1/scratch/jdemeyer/merger/sage-4.7.alpha2/devel/sage-
main/sage/sandpiles/sandpile.py", line 1842:
sage: S.ideal().gens() # another way to get the generators
Expected:
(x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2)
Got:
[x2 - x0, x3^2 - x5*x0, x5*x3 - x0^2, x4^2 - x3*x1, x5^2 - x3*x0, x1^3
- x4*x3*x0, x4*x1^2 - x5*x0^2]
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10618#comment:18>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.