Skip to content

shouldn't block() re-seed every time it is called? #14

@lungsi

Description

@lungsi

Python 2.7 with pip install csa

Based on what I understand block() changes seed every time it is evoked so for

screenshot from 2018-11-28 14-36-32

this results in the above.

However, for the same probability of success, here r = random(0.5) if we evoke block of the same size

screenshot from 2018-11-28 14-36-55

and again

screenshot from 2018-11-28 14-37-09

and so on ...

If block() re-seeds every time it is called, should all of the above look exactly the same?

PS: This issue is persistent also for python 3.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions