test
Statistical battery over a sequence: frequency, chi-squared, runs, longest run, serial correlation, Shannon entropy, KS, gap test. Informed by NIST SP 800-22; no certification claimed. sequence is a list of numbers, list of strings, or a hex/base64 byte string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alpha | No | ||
| tests | No | 'all' or a list of: frequency, chi_squared, runs, longest_run, serial, entropy, ks, gap | all |
| expected | No | {symbol: probability} for chi_squared | |
| sequence | Yes | list of numbers, list of strings, or hex/base64 | |
| input_type | No | auto | |
| dist_params | No | ||
| distribution | No | enables the KS test |