On Mon, 22 Jun 2020, 10:01 'Jonathan Kliem' via sage-devel, <
sage-devel@googlegroups.com> wrote:

> Hi. Could we maybe turn off reproducible "randomness" in doctests by
> default. There are probably thousands of meaningless doctests because of
> this.
>
> E.g. https://trac.sagemath.org/ticket/29904
>

I don't understand, you say there that it went unnoticed due to a too easy
doctest. I don't see how that one had anything to do with randomness.

Also, could you explain what you mean by "randomness" there.  Doctests are
either tagged "random" (and do matching of answers skipped),

or use random inputs. If a doctest with random input produces inconsistent
results due to not properly set seeds, it would have been caught all along.



> or the doctests for the namespace function `bernoulli` or the
> `number_of_partitions` function also in the namespace.
>
> Alternatively we should add `set_random_seed` to all of those places.
>
> Either way, this might be a huge project, because of possible bugs.
>
> Jonathan
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/6a5005ec-717e-400c-b253-514f9101bc72o%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/6a5005ec-717e-400c-b253-514f9101bc72o%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1F49tCwg_SoK95GBysRoUgXWBUfTXB%2BMveLQshQTRzUw%40mail.gmail.com.

Reply via email to