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

Driver Compatibility

Regarding the RAVA Python Driver:

  • Diagnostics version v1.0.0 is compatible with Driver v1.1.0
  • Diagnostics versions >= v1.1.0 are compatible with Driver >= v1.2.1

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.1.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.1.0-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file rng_rava_diag-1.1.0.tar.gz.

File metadata

  • Download URL: rng_rava_diag-1.1.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rng_rava_diag-1.1.0.tar.gz
Algorithm Hash digest
SHA256 635680edb630dd750ad5814bb8d861c8788206f24b417bbc17d519683348faac
MD5 9d21317ed6f5df7948b2544406c8d415
BLAKE2b-256 a2ff6ddc93d80c3f66096c944844bb02725efd5ac403f28509fd1140abb321a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for rng_rava_diag-1.1.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.1.0-py3-none-any.whl.

File metadata

  • Download URL: rng_rava_diag-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for rng_rava_diag-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d835bb553e17df4d4953c07600096fbf6924dcc608545edd9df74d87017e4f73
MD5 fc9e8c3e8680db9144fe85cba377c15d
BLAKE2b-256 a2b6c0f969bb8d658546c788e4c0122563860c292edd03a2ce5bc54803550d70

See more details on using hashes here.

Provenance

The following attestation bundles were made for rng_rava_diag-1.1.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