Code Monkey home page Code Monkey logo

fourmilab / ent_random_sequence_tester Goto Github PK

View Code? Open in Web Editor NEW
69.0 4.0 16.0 37 KB

Utility for testing random and pseudorandom sequences, either as bytes or bit streams, reporting entropy, mean value, serial correlation, chi square, and Monte Carlo estimate of an value, serial correlation, chi square, and Monte Carlo estimate of π.

Home Page: https://www.fourmilab.ch/random/

License: Other

Makefile 3.16% C 52.60% HTML 44.24%
randomness-testing

ent_random_sequence_tester's People

Contributors

fourmilab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ent_random_sequence_tester's Issues

Please add the historic code to the repository

As far I could see no distribution relies on your new repository and its commit hashes yet.
(Checked on repology https://repology.org/project/ent/versions)

It would be great, if you could rebuild the git history and add old versions of the source too.
At least the last source from https://www.fourmilab.ch/random/random.zip would be great. So one can see in the repository what changed. Ideally add the last and some more versions.

You could recreate the git repository locally and finally force push it to github.

The name used in Pypi is atrocious

Hello. Is there a reason you named your package pyent on pypi? https://pypi.org/project/pyent/
In my humble opinion, there were more important things to reserve that name for such as Elementary Number Theory. The full name of your project does not even shorten to ENT. I would like to request you to consider renaming your pypi package to something more appropriate e.g. pyent-randseq.

Chi square percentage missing from terse output

Observed behaviour: Chi square percentage is missing from terse output

Normal output shows Chi square distribution for 10000000 samples is 244.41, and randomly would exceed this value 67.22 percent of the times.:

Entropy = 7.999982 bits per byte.

Optimum compression would reduce the size
of this 10000000 byte file by 0 percent.

Chi square distribution for 10000000 samples is 244.41, and randomly
would exceed this value 67.22 percent of the times.

Arithmetic mean value of data bytes is 127.4846 (127.5 = random).
Monte Carlo value for Pi is 3.142093257 (error 0.02 percent).
Serial correlation coefficient is -0.000606 (totally uncorrelated = 0.0).

Terse output does not include this data:

0,File-bytes,Entropy,Chi-square,Mean,Monte-Carlo-Pi,Serial-Correlation
1,10000000,7.999982,244.407245,127.484622,3.142093,-0.000606

Expected behaviour: Terse output should include this data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.