{"id":15372999,"url":"https://github.com/vi/random-distributions-cli","last_synced_at":"2026-03-08T01:34:18.608Z","repository":{"id":62443588,"uuid":"397704289","full_name":"vi/random-distributions-cli","owner":"vi","description":"Command-line tool to generate samples of various random distributions","archived":false,"fork":false,"pushed_at":"2021-09-01T01:57:12.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-19T12:07:17.093Z","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":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-18T18:49:02.000Z","updated_at":"2024-01-02T16:15:52.000Z","dependencies_parsed_at":"2022-11-01T22:16:21.673Z","dependency_job_id":null,"html_url":"https://github.com/vi/random-distributions-cli","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/vi/random-distributions-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frandom-distributions-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frandom-distributions-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frandom-distributions-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frandom-distributions-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vi","download_url":"https://codeload.github.com/vi/random-distributions-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vi%2Frandom-distributions-cli/sbom","scorecard":{"id":919752,"data":{"date":"2025-08-11","repo":{"name":"github.com/vi/random-distributions-cli","commit":"84c31c755618e7f822bd3d7457038f9c9e81476f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.2.1 not signed: https://api.github.com/repos/vi/random-distributions-cli/releases/48784870","Warn: release artifact v0.1.0 not signed: https://api.github.com/repos/vi/random-distributions-cli/releases/48115187","Warn: release artifact v0.2.1 does not have provenance: https://api.github.com/repos/vi/random-distributions-cli/releases/48784870","Warn: release artifact v0.1.0 does not have provenance: https://api.github.com/repos/vi/random-distributions-cli/releases/48115187"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2024-0436"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-25T00:40:30.340Z","repository_id":62443588,"created_at":"2025-08-25T00:40:30.341Z","updated_at":"2025-08-25T00:40:30.341Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-01T13:53:58.123Z","updated_at":"2026-03-08T01:34:18.582Z","avatar_url":"https://github.com/vi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# random-distributions-cli\nCommand-line tool to generate samples of various random distributions\n\n# Installation\n\nYou can download pre-built files from [Github releases](https://github.com/vi/random-distributions-cli/releases) or install the tool from crates.io using `cargo install random-distributions-cli`.\n\n\n# Usage\n\n```\n$ random-distributions-cli -n 5 normal 0 1\n0.2691767185\n-1.1783043912\n0.5623772742\n0.1078446497\n0.2829313503\n\n$ target/release/random-distributions-cli -n 3 uniform -- -1 1\n0.0218074136\n0.4381694923\n-0.7817481855\n\n$ random-distributions-cli --help\nUsage: random-distributions-cli [-p \u003cprecision\u003e] [-C] [-S \u003cseed\u003e] [-b \u003cbinary-format\u003e] [-n \u003cnum-samples\u003e] [-e] [-L \u003cdiscard-below\u003e] [-H \u003cdiscard-above\u003e] \u003ccommand\u003e [\u003cargs\u003e]\n\nCommand-line tool to generate samples of various random distributions.\n\nOptions:\n  -p, --precision   number of digits after decimal to print\n  -C, --cumulative  add value of each sample to accumulator, outputting a random\n                    walk instead of individual samples\n  -S, --seed        use specified seed instead for PRNG\n  -b, --binary-format\n                    output as binary numbers of specified format instead of\n                    text. Valid formats are f{32,64}{be,le}, {u,s}8,\n                    {u,s}{16,32,64}{le,be}. Out of range values are\n                    clamped to valid ranges\n  -n, --num-samples number of sampels to generate, instead of an infinite stream\n  -e, --exponentiate\n                    exponentiate (e^x) each sample, producing log-normal instead\n                    of normal distribution, log-Cauchy instead of Cauchy, etc.\n  -L, --discard-below\n                    discard samples that are below the specified value\n  -H, --discard-above\n                    discard samples that are above the specified value\n  --help            display usage information\n\nCommands:\n  uniform           Uniform distribution\n  normal            Normal, Gaussian distribution\n  cauchy            Cauchy, Lorentz distribution - fat-tailed and continuous\n  triangular        Triangular distribution - continuous\n  studentt          Student-T distribution\n  stable            General case of stable continuous distribution, generated by\n                    CMS method. Note that version 0.1 of this program used\n                    nonstandard distribution when alpha was not 1.0.\n  empirical         Discrete distribution that just endlessly randomly selects\n                    one of specified values\n  categorical       Discrete distribution that generates values according to\n                    specified probabilities\n  beta              Beta distribution\n  binomial          Binomial distribution\n  discreteuniform   Discrete uniform, generates integer numbers from min to max,\n                    both inclusive\n  chisquared        Chi-squared distribution which is a special case of the\n                    Gamma distribution\n  chi               Chi distribution\n  gamma             Gamma distribution\n  exp               Exponential distribution and is a special case of the Gamma\n                    distribution\n  fisher            Fisher-Snedecor distribution also commonly known as the\n                    F-distribution\n  geometric         Geometric distribution\n  hypergeometric    Hypergeometric distribution\n  inversegamma      Inverse Gamma distribution\n  laplace           Laplace distribution.\n  pareto            Pareto distribution\n  poisson           Poisson distribution\n  weibull           Weibull distribution\n```\n\nIndividual distributions may provide additional internal `--help` messages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Frandom-distributions-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvi%2Frandom-distributions-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvi%2Frandom-distributions-cli/lists"}