{"id":17049993,"url":"https://github.com/huonw/random-tests","last_synced_at":"2025-03-23T04:40:34.337Z","repository":{"id":11532160,"uuid":"14016339","full_name":"huonw/random-tests","owner":"huonw","description":"Tests for Rust's std::rand","archived":false,"fork":false,"pushed_at":"2015-01-24T09:25:27.000Z","size":297,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T11:18:47.926Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"dcramer/django-compositepks","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huonw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-31T12:34:10.000Z","updated_at":"2015-01-24T09:25:27.000Z","dependencies_parsed_at":"2022-08-29T04:42:17.418Z","dependency_job_id":null,"html_url":"https://github.com/huonw/random-tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonw%2Frandom-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonw%2Frandom-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonw%2Frandom-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huonw%2Frandom-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huonw","download_url":"https://codeload.github.com/huonw/random-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245056899,"owners_count":20553854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T09:55:52.176Z","updated_at":"2025-03-23T04:40:34.318Z","avatar_url":"https://github.com/huonw.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random tests\n\n[![Build Status](https://travis-ci.org/huonw/random-tests.png)](https://travis-ci.org/huonw/random-tests)\n\nProbabilistic tests for the distributions in Rust's standard\nlibrary. These are mostly significance level tests, and so will fail\noccasionally (assuming the distributions are implemented\ncorrectly... if they aren't then it will hopefully fail always).\n\nRun with\n\n    rustc --opt-level=3 --test lib.rs \u0026\u0026 ./lib\n\nThis can take a long time, since it uses a lot of random\nnumbers. Adjust the constants in `std_dists` for more/fewer numbers,\nhigher is better (but slower).\n\n# TODO\n\n- full of approximations (e.g. it replaces student-t by normal always)\n- larger variety of tests (currently just performs t-tests on a set of\n  sample means and sample observations to check these are close to the\n  expected values)\n- should probably use TestU01 and/or Diehard[er] instead of/as well as\n  hand-written pure Rust tests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuonw%2Frandom-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuonw%2Frandom-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuonw%2Frandom-tests/lists"}