On Nov 20, 9:06 pm, Jaap Spies <[EMAIL PROTECTED]> wrote:
> mabshoff wrote:
> > rc1->rc0
>
> > Tarball is at
>
> >http://sage.math.washington.edu/home/mabshoff/sage-2.8.13.rc1.tar
> > [165MB]
>
> Hi Michael
>
> > - updated cython to 0.9.6.9
> > - fixed the creomna.homespace issue on OSX 10.4
> > - merged #991, #1122, #1188, #1196, #1215
>
> > I waited for the OSX 10.4 build to finish on a G4 iBook and that took
> > a
> > while. I just wanted to make sure that the cremona.homspace issue was
> > really
> > fixed and I now can say that it is.
>
> > Please report failure back.
>
> I got this failures:
>
> Strange!?
>
> Jaap
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>          sage -t  devel/sage-main/sage/calculus/calculus.py
>          sage -t  
> devel/sage-main/sage/rings/polynomial/multi_polynomial_ideal.py
>          sage -t  devel/sage-main/sage/rings/arith.py

My testall just finished on bsd.math and I get the same failures.

> Total time for all tests: 2451.4 seconds
> Please see /home/jaap/downloads/sage-2.8.13.rc1/tmp/test.log for the complete 
> log from this test.
> [EMAIL PROTECTED] sage-2.8.13.rc1]$ ./sage -t  
> devel/sage-main/sage/calculus/calculus.py
> sage -t  devel/sage-main/sage/calculus/calculus.py          
> **********************************************************************
> File "calculus.py", line 209:
>      sage: expand((x+y)^3)
> Expected:
>      y^3 + 3*x*y^2 + 3*x^2*y + x^3
> Got:
>      x^6 + 3*x^5 + 3*x^4 + x^3

The result is wrong :) - William did fix some issue with integration
in the maxima wrapper, so this is a likely bug introduced there.

> **********************************************************************
> 1 items had failures:
>     1 of  65 in __main__.example_0
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file .doctest_calculus.py
>           [23.9 s]
> exit code: 256
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>          sage -t  devel/sage-main/sage/calculus/calculus.py
> Total time for all tests: 23.9 seconds
> [EMAIL PROTECTED] sage-2.8.13.rc1]$
>
> [EMAIL PROTECTED] sage-2.8.13.rc1]$ ./sage -t  
> devel/sage-main/sage/rings/polynomial/multi_polynomial_ideal.py
> sage -t  
> devel/sage-main/sage/rings/polynomial/multi_polynomial_ideal.py**********************************************************************
> File "multi_polynomial_ideal.py", line 376:
>      sage: GB.triangular_decomposition('singular:triangLfak')
> Expected:
>      [Ideal (a - 1, b - 1, c - 1, d^2 + 3*d + 1, e + d + 3) of
>      Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a - 1, b - 1, c^2 + 3*c + 1, d + c
>      + 3, e - 1) of Multivariate Polynomial Ring in e, d, c, b,
>      a over Rational Field, Ideal (a - 1, b^4 + b^3 + b^2 + b +
>      1, c - b^2, d - b^3, e + b^3 + b^2 + b + 1) of
>      Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a - 1, b^2 + 3*b + 1, c + b + 3, d
>      - 1, e - 1) of Multivariate Polynomial Ring in e, d, c, b,
>      a over Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1, b -
>      1, c + a^3 + a^2 + a + 1, d - a^3, e - a^2) of
>      Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1, b - a, c -
>      a, d^2 + 3*d*a + a^2, e + d + 3*a) of Multivariate
>      Polynomial Ring in e, d, c, b, a over Rational Field,
>      Ideal (a^4 + a^3 + a^2 + a + 1, b - a, c^2 + 3*c*a + a^2,
>      d + c + 3*a, e - a) of Multivariate Polynomial Ring in e,
>      d, c, b, a over Rational Field, Ideal (a^4 + a^3 + a^2 + a
>      + 1, b^3 + b^2*a + b^2 + b*a^2 + b*a + b + a^3 + a^2 + a +
>      1, c + b^2*a^3 + b^2*a^2 + b^2*a + b^2, d - b^2*a^2 -
>      b^2*a - b^2 - b*a^2 - b*a - a^2, e - b^2*a^3 + b*a^2 + b*a
>      + b + a^2 + a) of Multivariate Polynomial Ring in e, d, c,
>      b, a over Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1,
>      b^2 + 3*b*a + a^2, c + b + 3*a, d - a, e - a) of
>      Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a^4 - 4*a^3 + 6*a^2 + a + 1, 11*b^2
>      - 6*b*a^3 + 26*b*a^2 - 41*b*a + 4*b + 8*a^3 - 31*a^2 +
>      40*a + 24, 11*c + 3*a^3 - 13*a^2 + 26*a - 2, 11*d + 3*a^3
>      - 13*a^2 + 26*a - 2, 11*e + 11*b - 6*a^3 + 26*a^2 - 41*a +
>      4) of Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a^4 + a^3 + 6*a^2 - 4*a + 1, 11*b^2
>      - 6*b*a^3 - 10*b*a^2 - 39*b*a - 2*b - 16*a^3 - 23*a^2 -
>      104*a + 24, 11*c + 3*a^3 + 5*a^2 + 25*a + 1, 11*d + 3*a^3
>      + 5*a^2 + 25*a + 1, 11*e + 11*b - 6*a^3 - 10*a^2 - 39*a -
>      2) of Multivariate Polynomial Ring in e, d, c, b, a over
>      Rational Field, Ideal (a^2 + 3*a + 1, b - 1, c - 1, d - 1,
>      e + a + 3) of Multivariate Polynomial Ring in e, d, c, b,
>      a over Rational Field, Ideal (a^2 + 3*a + 1, b + a + 3, c
>      - 1, d - 1, e - 1) of Multivariate Polynomial Ring in e,
>      d, c, b, a over Rational Field]
> Got:
>      [Ideal (a - 1, b - 1, c - 1, d^2 + 3*d + 1, e + d + 3) of Multivariate 
> Polynomial Ring in e, d, c, b, a over Rational Field, Ideal (a - 1, b - 1, 
> c^2 + 3*c
> + 1, d + c + 3, e - 1) of Multivariate Polynomial Ring in e, d, c, b, a over 
> Rational Field, Ideal (a - 1, b^4 + b^3 + b^2 + b + 1, c - b^2, d - b^3, e + 
> b^3 +
> b^2 + b + 1) of Multivariate Polynomial Ring in e, d, c, b, a over Rational 
> Field, Ideal (a - 1, b^2 + 3*b + 1, c + b + 3, d - 1, e - 1) of Multivariate
> Polynomial Ring in e, d, c, b, a over Rational Field, Ideal (a^4 + a^3 + a^2 
> + a + 1, b - 1, c + a^3 + a^2 + a + 1, d - a^3, e - a^2) of Multivariate 
> Polynomial
> Ring in e, d, c, b, a over Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1, b 
> - a, c - a, d^2 + 3*d*a + a^2, e + d + 3*a) of Multivariate Polynomial Ring 
> in e,
> d, c, b, a over Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1, b - a, c^2 + 
> 3*c*a + a^2, d + c + 3*a, e - a) of Multivariate Polynomial Ring in e, d, c, 
> b, a
> over Rational Field, Ideal (a^4 + a^3 + a^2 + a + 1, b^3 + b^2*a + b^2 + 
> b*a^2 + b*a + b + a^3 + a^2 + a + 1, c + b^2*a^3 + b^2*a^2 + b^2*a + b^2, d - 
> b^2*a^2 -
> b^2*a - b^2 - b*a^2 - b*a - a^2, e - b^2*a^3 + b*a^2 + b*a + b + a^2 + a) of 
> Multivariate Polynomial Ring in e, d, c, b, a over Rational Field, Ideal (a^4 
> + a^3
> + a^2 + a + 1, b^2 + 3*b*a + a^2, c + b + 3*a, d - a, e - a) of Multivariate 
> Polynomial Ring in e, d, c, b, a over Rational Field, Ideal (a^4 + a^3 + 
> 6*a^2 -
> 4*a + 1, 11*b^2 - 6*b*a^3 - 10*b*a^2 - 39*b*a - 2*b - 16*a^3 - 23*a^2 - 104*a 
> + 24, 11*c + 3*a^3 + 5*a^2 + 25*a + 1, 11*d + 3*a^3 + 5*a^2 + 25*a + 1, 11*e +
> 11*b - 6*a^3 - 10*a^2 - 39*a - 2) of Multivariate Polynomial Ring in e, d, c, 
> b, a over Rational Field, Ideal (a^4 - 4*a^3 + 6*a^2 + a + 1, 11*b^2 - 
> 6*b*a^3 +
> 26*b*a^2 - 41*b*a + 4*b + 8*a^3 - 31*a^2 + 40*a + 24, 11*c + 3*a^3 - 13*a^2 + 
> 26*a - 2, 11*d + 3*a^3 - 13*a^2 + 26*a - 2, 11*e + 11*b - 6*a^3 + 26*a^2 - 
> 41*a +
> 4) of Multivariate Polynomial Ring in e, d, c, b, a over Rational Field, 
> Ideal (a^2 + 3*a + 1, b - 1, c - 1, d - 1, e + a + 3) of Multivariate 
> Polynomial Ring
> in e, d, c, b, a over Rational Field, Ideal (a^2 + 3*a + 1, b + a + 3, c - 1, 
> d - 1, e - 1) of Multivariate Polynomial Ring in e, d, c, b, a over Rational 
> Field]

The doctest is new, so I am hoping that the sequence of the result is
just wrong, not the result itself. malb, any idea?

> **********************************************************************
> 1 items had failures:
>     1 of   4 in __main__.example_9
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file .doctest_multi_polynomial_ideal.py
>           [4.9 s]
> exit code: 256
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>          sage -t  
> devel/sage-main/sage/rings/polynomial/multi_polynomial_ideal.py
> Total time for all tests: 4.9 seconds
> [EMAIL PROTECTED] sage-2.8.13.rc1]$
>
> [EMAIL PROTECTED] sage-2.8.13.rc1]$ ./sage -t  
> devel/sage-main/sage/rings/arith.py
> sage -t  devel/sage-main/sage/rings/arith.py                
> **********************************************************************
> File "arith.py", line 2393:
>      sage: continued_fraction_list(sqrt(4/19))
> Expected:
>      [0, 2, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 18]
> Got:
>      [0, 2, 5, 1, 1, 2, 1, 16, 1, 2, 1, 1, 5, 4, 5, 1, 1, 2, 1, 15, 2]
> **********************************************************************

I see the exact same thing. This is only a guess, but it looks like a
potential precision issue now that we no longer use maxima to get a
numerical approximation of sqrt, but use mpfr. The result certainly
looks very close to the expected, but some expert on continued
fraction should tell us more.

> 1 items had failures:
>     1 of   9 in __main__.example_63
> ***Test Failed*** 1 failures.
> For whitespace errors, see the file .doctest_arith.py
>           [3.7 s]
> exit code: 256
>
> ----------------------------------------------------------------------
> The following tests failed:
>
>          sage -t  devel/sage-main/sage/rings/arith.py
> Total time for all tests: 3.7 seconds
> [EMAIL PROTECTED] sage-2.8.13.rc1]$

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to