{"id":18254390,"url":"https://github.com/brpy/100-prisoners-problem","last_synced_at":"2026-04-14T14:33:24.314Z","repository":{"id":178362351,"uuid":"509996628","full_name":"brpy/100-prisoners-problem","owner":"brpy","description":"Simulation of 100 Prisoners Problem using Python","archived":false,"fork":false,"pushed_at":"2022-07-03T11:02:24.000Z","size":1,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-18T02:48:57.712Z","etag":null,"topics":["numpy","python","simulation","veritasium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brpy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-07-03T10:55:09.000Z","updated_at":"2024-12-23T14:28:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"85408f6e-fcd2-4ef7-8c6c-948ff730ed15","html_url":"https://github.com/brpy/100-prisoners-problem","commit_stats":null,"previous_names":["brpy/100-prisoners-problem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brpy/100-prisoners-problem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brpy%2F100-prisoners-problem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brpy%2F100-prisoners-problem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brpy%2F100-prisoners-problem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brpy%2F100-prisoners-problem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brpy","download_url":"https://codeload.github.com/brpy/100-prisoners-problem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brpy%2F100-prisoners-problem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31801406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["numpy","python","simulation","veritasium"],"created_at":"2024-11-05T10:12:09.607Z","updated_at":"2026-04-14T14:33:24.302Z","avatar_url":"https://github.com/brpy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simulation of 100 Prisoners Problem using Python and Numpy:\n\n---\n\n**100 Prisoners Problem:**\n\nCame across this interesting problem from veritasium's youtube channel\n\n\n[![100 Prisoners Problem](https://img.youtube.com/vi/iSNsgj1OCLA/maxresdefault.jpg)](https://www.youtube.com/watch?v=iSNsgj1OCLA)\n\n\n---\nHow to run:\n\n```sh\ngit clone github.com/brpy/100-prisoners-problem/\ncd 100-prisoners-problem\n\npython -m pip install -r requirements.txt\npython simulate.py\n```\n---\nOptions:\n\n```sh\npython simulate.py -N \u003cno. of simulations\u003e -n \u003cno. of prisoners\u003e\n```\nby default, `N = 1000, n = 100`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrpy%2F100-prisoners-problem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrpy%2F100-prisoners-problem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrpy%2F100-prisoners-problem/lists"}