Skip to main content

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

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

RAVA logo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rng_rava_diag-1.2.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rng_rava_diag-1.2.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

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

Hashes for rng_rava_diag-1.2.0.tar.gz
Algorithm Hash digest
SHA256 3612b77a6bcafc51b88265eafbf786f323017013c4137f848261ff82f357d397
MD5 51aa3f0a45982d3101bf329caa5c1e90
BLAKE2b-256 9a57035bfc078921c8f01b41ae382512e39345529edd0a0ab72f2a21c035f3ba

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for rng_rava_diag-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7780e32d2ae6c10447d4c78dd8d7543d76525b8fa1a6e8d311458c7d63eb483
MD5 86d7e9d7184617b0014a169399c04d1e
BLAKE2b-256 5726535e623eb92db88d0c1d680a1636cfb35a4a48c86b04058e6bf430592628

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page