{"id":16605889,"url":"https://github.com/ybda/randomprobability","last_synced_at":"2026-04-27T03:31:09.476Z","repository":{"id":239042236,"uuid":"798351533","full_name":"ybda/RandomProbability","owner":"ybda","description":"Demo of how you can generate random numbers based on a set of given probabilities for a range of numbers.","archived":false,"fork":false,"pushed_at":"2024-05-09T16:13:05.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T13:49:36.194Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ybda.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-09T15:50:16.000Z","updated_at":"2024-05-09T16:13:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2257db6-5f3b-4525-8688-df764ee14cbe","html_url":"https://github.com/ybda/RandomProbability","commit_stats":null,"previous_names":["ybda/randomprobability"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ybda/RandomProbability","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybda%2FRandomProbability","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybda%2FRandomProbability/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybda%2FRandomProbability/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybda%2FRandomProbability/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ybda","download_url":"https://codeload.github.com/ybda/RandomProbability/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ybda%2FRandomProbability/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32321285,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-12T01:02:46.119Z","updated_at":"2026-04-27T03:31:09.462Z","avatar_url":"https://github.com/ybda.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RandomProbability\n\nDemo of how you can generate random numbers based on a set of given probabilities for a range of numbers.\n\n## Print\n\nProbabilites (key is number, value is number's probability)\n\n```json\n{ 2, 0.005 },\n{ 3, 0.4 },\n{ 4, 0.5 },\n```\n\nResult (the first object shows how many numbers and the second object shows their percentage)\n\n```json\n{\n  \"0\": 1355,\n  \"1\": 1331,\n  \"2\": 485,\n  \"3\": 39896,\n  \"4\": 49978,\n  \"5\": 1414,\n  \"6\": 1384,\n  \"7\": 1388,\n  \"8\": 1385,\n  \"9\": 1384\n}\n{\n  \"0\": 0.01355,\n  \"1\": 0.01331,\n  \"2\": 0.00485,\n  \"3\": 0.39896,\n  \"4\": 0.49978,\n  \"5\": 0.01414,\n  \"6\": 0.01384,\n  \"7\": 0.01388,\n  \"8\": 0.01385,\n  \"9\": 0.01384\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybda%2Frandomprobability","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fybda%2Frandomprobability","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fybda%2Frandomprobability/lists"}