← Back to Explore

RQI-Audit: Variance Attribution and Automated Statistical Certification of Random Number Generators Across Programming Language Environments

ISEF · 2026 Software Design

Overview

Random number generation underpins cryptography, simulation, distributed systems, and machine learning, yet the relative impact of generator architecture versus programming language implementation remains poorly quantified. This study resolves that question through a controlled, large-scale systems evaluation and introduces RQI-Audit, a deployable framework for automated statistical certification of randomness in software environments. Default and cryptographically secure generators were evaluated across Python, C/C++, Java, JavaScript, Go, and Rust using pinned Docker environments, fixed runtime versions, and documented seed policies to ensure reproducibility. For each language-generator pair, 177 independent sequences of 5.64 million 64-bit integers were generated and evaluated using NIST SP 800-22, selected TestU01 components, entropy metrics, collision statistics, and autocorrelation analysis. Results were aggregated into a power-calibrated Randomness Quality Index that preserves detection sensitivity under fixed compute budgets. Factorial analysis showed that generator architecture explains 92% of variance in statistical quality, while programming language contributes 2%, establishing generator selection as the dominant design decision. Modern generators such as MT19937, PCG, and Xoshiro remain stable across languages, while linear congruential generators exhibit systematic degradation. A controlled corruption suite injected structural defects to validate detection sensitivity. ROC analysis achieved near-perfect discrimination between valid and corrupted outputs, with AUC above 0.997. RQI-Audit enables continuous, reproducible auditing of randomness in CI pipelines and reduces the risk of undetected statistical failure in security-critical and data-driven systems.

Competition history

  • ISEF 2026 Software Design · Entry SFTD050

Resources

Related projects

Closest projects by meaning, across every fair and year in the corpus.

Source: Regeneron International Science and Engineering Fair

Save projects to your library

Sign in with Google to keep track of projects you find interesting, organized into folders. Browsing stays public.

Continue with Google