#16968: Random failure in gaussian sampler
-------------------------------+------------------------
       Reporter:  vbraun       |        Owner:
           Type:  defect       |       Status:  new
       Priority:  major        |    Milestone:  sage-6.4
      Component:  statistics   |   Resolution:
       Keywords:  random_fail  |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------
Description changed by rws:

Old description:

> Reported on sage-devel with sage-6.4.beta3:
> {{{
> sage -t --long src/sage/stats/distributions/discrete_gaussian_integer.pyx
> **********************************************************************
> File "src/sage/stats/distributions/discrete_gaussian_integer.pyx",
> line 262, in
> sage.stats.distributions.discrete_gaussian_integer.DiscreteGaussianDistributionIntegerSampler.__init__
> Failed example:
>     min(l), max(l), abs(mean(l)-2.5) < 0.01
> Expected:
>     (-2, 7, True)
> Got:
>     (-2, 6, True)
> }}}
> This happened also at http://trac.sagemath.org/ticket/15915#comment:54

New description:

 Reported on sage-devel with sage-6.4.beta3:
 {{{
 sage -t --long src/sage/stats/distributions/discrete_gaussian_integer.pyx
 **********************************************************************
 File "src/sage/stats/distributions/discrete_gaussian_integer.pyx",
 line 262, in
 
sage.stats.distributions.discrete_gaussian_integer.DiscreteGaussianDistributionIntegerSampler.__init__
 Failed example:
     min(l), max(l), abs(mean(l)-2.5) < 0.01
 Expected:
     (-2, 7, True)
 Got:
     (-2, 6, True)
 }}}
 Specifically it happened once in `make ptestlong`. After that, 10/10 of
 `sage -t --long
 src/sage/stats/distributions/discrete_gaussian_integer.pyx` passed and
 10/10 of manual input into Sage passed. The machine was an AMD Phenom X6
 1055T with 8GB RAM running up-to-date OpenSuSE 12.3 (Linux
 3.7.10-1.40-desktop).

 This happened also at http://trac.sagemath.org/ticket/15915#comment:54

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16968#comment:2>
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.

Reply via email to