On Aug 27, 8:57 am, "John Cremona" <[EMAIL PROTECTED]> wrote:
> Two build reports.  Both built fine, but a few doctest failures:

Hi John,

> 1.  Linux version 2.6.24-19-generic ([EMAIL PROTECTED]) (gcc version
> 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Fri Jul 11 23:41:49 UTC 2008
>
> The following tests failed:
>
>         sage -t  devel/sage/sage/stats/hmm/chmm.pyx
>         sage -t  devel/sage/sage/stats/hmm/hmm.pyx
>         sage -t  devel/sage/sage/matrix/matrix_mod2_dense.pyx
>
> The first looks like just numerical noise.  The second is not just that:
>
> sage -t  devel/sage/sage/stats/hmm/hmm.pyx
> **********************************************************************
> File "/home/john/sage-3.1.2.alpha1/tmp/hmm.py", line 678:
>     sage: a.viterbi([1,0,0,1,0,0,1,1])
> Expected:
>     ([1, 0, 0, 1, 1, 0, 1, 1], -11.062453224772216)
> Got:
>     ([1, 0, 0, 1, 0, 0, 1, 1], -11.062453224772215)

Yeah, the above looks odd. Maybe William can tell us what is happening
here.

> **********************************************************************
> File "/home/john/sage-3.1.2.alpha1/tmp/hmm.py", line 686:
>     sage: a.viterbi([3/4, 'abc', 'abc'] + [3/4]*10)
> Expected:
>     ([0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0], -25.299405845367794)
> Got:
>     ([0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], -25.299405845367794)
> **********************************************************************
> 1 items had failures:
>    2 of   6 in __main__.example_19
> ***Test Failed*** 2 failures.
> For whitespace errors, see the file
> /home/john/sage-3.1.2.alpha1/tmp/.doctest_hmm.py
>          [1.8 s]
> exit code: 1024
>
> The third is this:
> File "/home/john/sage-3.1.2.alpha1/tmp/matrix_mod2_dense.py", line 267:
>     sage: hex(hash(A))
> Expected:
>     '0xdeadbeed'
> Got:
>     '-0x21524113'
>
> 2. Linux version 2.6.18.8-0.3-default ([EMAIL PROTECTED]) (gcc version
> 4.1.2 20061115 (prerelease) (SUSE Linux)) #1 SMP Tue Apr 17 08:42:35
> UTC 2007
>
> The following tests failed:
>         sage -t  devel/sage/sage/plot/plot.py

Martin is following up on this I assume.

> Rerunning this one took an age (166s, surely over the limit?!) and
> produced this:
> File "/home/jec/sage-3.1.2.alpha1/tmp/plot.py", line 4505:
>     sage: adaptive_refinement(sin, (0,0), (pi,0), adaptive_tolerance=0.01)
> Expected:
>     [(0.125000000000000*pi, 0.38268343236508978),
> (0.187500000000000*pi, 0.55557023301960218), (0.250000000000000*pi,
> 0.707106781186547...), (0.312500000000000*pi, 0.83146961230254524),
> (0.375000000000000*pi, 0.92387953251128674), (0.437500000000000*pi,
> 0.98078528040323043), (0.500000000000000*pi, 1.0),
> (0.562500000000000*pi, 0.98078528040323043), (0.625000000000000*pi,
> 0.92387953251128674), (0.687500000000000*pi, 0.83146961230254546),
> (0.750000000000000*pi, 0.70710678118654757), (0.812500000000000*pi,
> 0.55557023301960218), (0.875000000000000*pi, 0.38268343236508989)]
> Got:
>     [(0.125000000000000*pi, 0.38268343236508978),
> (0.187500000000000*pi, 0.55557023301960218), (0.250000000000000*pi,
> 0.70710678118654746), (0.312500000000000*pi, 0.83146961230254524),
> (0.375000000000000*pi, 0.92387953251128674), (0.437500000000000*pi,
> 0.98078528040323043), (0.500000000000000*pi, 1.0),
> (0.562500000000000*pi, 0.98078528040323043), (0.625000000000000*pi,
> 0.92387953251128674), (0.687500000000000*pi, 0.83146961230254535),
> (0.750000000000000*pi, 0.70710678118654757), (0.812500000000000*pi,
> 0.55557023301960218), (0.875000000000000*pi, 0.38268343236508989)]
>
> which has a single digit of noise difference.

I made this #3972 and will post a patch there shortly.

> John

Cheers,

Michael

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to