RAVA Python Diagnostics
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rng_rava_diag-1.2.0.tar.gz.
File metadata
- Download URL: rng_rava_diag-1.2.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3612b77a6bcafc51b88265eafbf786f323017013c4137f848261ff82f357d397
|
|
| MD5 |
51aa3f0a45982d3101bf329caa5c1e90
|
|
| BLAKE2b-256 |
9a57035bfc078921c8f01b41ae382512e39345529edd0a0ab72f2a21c035f3ba
|
Provenance
The following attestation bundles were made for rng_rava_diag-1.2.0.tar.gz:
Publisher:
python-publish.yml on gabrielguerrer/rng_rava_diagnostics_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rng_rava_diag-1.2.0.tar.gz -
Subject digest:
3612b77a6bcafc51b88265eafbf786f323017013c4137f848261ff82f357d397 - Sigstore transparency entry: 155122271
- Sigstore integration time:
-
Permalink:
gabrielguerrer/rng_rava_diagnostics_py@007f6bd6c18a11de1ccda6024042db34fb685628 -
Branch / Tag:
refs/tags/rng_rava_diag-1.2.0 - Owner: https://github.com/gabrielguerrer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@007f6bd6c18a11de1ccda6024042db34fb685628 -
Trigger Event:
release
-
Statement type:
File details
Details for the file rng_rava_diag-1.2.0-py3-none-any.whl.
File metadata
- Download URL: rng_rava_diag-1.2.0-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7780e32d2ae6c10447d4c78dd8d7543d76525b8fa1a6e8d311458c7d63eb483
|
|
| MD5 |
86d7e9d7184617b0014a169399c04d1e
|
|
| BLAKE2b-256 |
5726535e623eb92db88d0c1d680a1636cfb35a4a48c86b04058e6bf430592628
|
Provenance
The following attestation bundles were made for rng_rava_diag-1.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on gabrielguerrer/rng_rava_diagnostics_py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rng_rava_diag-1.2.0-py3-none-any.whl -
Subject digest:
c7780e32d2ae6c10447d4c78dd8d7543d76525b8fa1a6e8d311458c7d63eb483 - Sigstore transparency entry: 155122272
- Sigstore integration time:
-
Permalink:
gabrielguerrer/rng_rava_diagnostics_py@007f6bd6c18a11de1ccda6024042db34fb685628 -
Branch / Tag:
refs/tags/rng_rava_diag-1.2.0 - Owner: https://github.com/gabrielguerrer
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@007f6bd6c18a11de1ccda6024042db34fb685628 -
Trigger Event:
release
-
Statement type: