RAVA Python Diagnostics
The RAVA Diagnostics app introduces a test suite designed to evaluate the statistical properties of randomness produced by the RAVA circuit. It comprises three distinct sub-applications:
-
Quick Tests: Conducted on relatively small samples generated in real-time to detect significant errors within the RAVA circuit.
-
Acquisition: Generation of large files comprising pulse counts, bytes, or numbers extracted from an RAVA device. (This sub-app is imported from the RAVA Python Driver package).
-
Detailed Tests: Analyzes the statistical distribution of bias and correlation metrics associated with the random bytes obtained through the Acquisition module. Moreover, it explores the normality of pulse count distributions across different sampling intervals. Additionally, it implements a visualization of the reports generated by the NIST Tests, offering an insightful representation of its results. Lastly, a reporting feature generates a PDF file summarizing the information from the Detailed Tests. This document is designed to facilitate the quality assessment of a specific instance of the RAVA circuit.
The Diagnostics suite is an open-source implementation of the tests outlined in the article presenting the RAVA circuit. For more details, refer to IEEE Access, DOI: 10.1109/ACCESS.2023.3327325.
Installation and usage
The diagnostics code is available as the rng_rava_diag PyPI package. To install it, run:
pip install rng_rava_diag
Requirements: rng_rava, numpy, matplotlib, scipy, lmfit
- Windows: Microsoft Visual C++ Redistributable
To run the diagnostics app, execute:
python3 -m rng_rava_diag
Documentation
Driver Compatibility
Regarding the RAVA Python Driver:
- Diagnostics version v1.0.0 is compatible with Driver v1.1.0
- Diagnostics version v1.1.0 is compatible with Driver v1.2.1
- Diagnostics versions >= v1.3.0 are compatible with Driver >= v2.0.0
Associated projects
Contact
gabrielguerrer [at] gmail [dot] com
Metadata
Release files for rng-rava-diag 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rng_rava_diag-1.2.0.tar.gz | 22.0 kB | With provenance | Details for rng_rava_diag-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rng_rava_diag-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for rng_rava_diag-1.2.0-py3-none-any.whl |
Total release size: 49.3 kB
Release files / rng_rava_diag-1.2.0.tar.gz
| Download URL | rng_rava_diag-1.2.0.tar.gz |
|---|---|
| Size | 22.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3612b77a6bcafc51b88265eafbf786f323017013c4137f848261ff82f357d397
|
|
BLAKE2b-256 checksum How to use checksums |
9a57035bfc078921c8f01b41ae382512e39345529edd0a0ab72f2a21c035f3ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.
Transparency logRelease files / rng_rava_diag-1.2.0-py3-none-any.whl
| Download URL | rng_rava_diag-1.2.0-py3-none-any.whl |
|---|---|
| Size | 27.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c7780e32d2ae6c10447d4c78dd8d7543d76525b8fa1a6e8d311458c7d63eb483
|
|
BLAKE2b-256 checksum How to use checksums |
5726535e623eb92db88d0c1d680a1636cfb35a4a48c86b04058e6bf430592628
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.
Transparency logSecurity for rng-rava-diag 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for rng_rava_diag-1.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 12, 2024.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.