{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1","id":50846176,"html_url":"https://github.com/penelopy/bias_impact_project/pull/1","diff_url":"https://github.com/penelopy/bias_impact_project/pull/1.diff","patch_url":"https://github.com/penelopy/bias_impact_project/pull/1.patch","issue_url":"https://api.github.com/repos/penelopy/bias_impact_project/issues/1","number":1,"state":"open","locked":false,"title":"Apply promotion bias for both genders.","user":{"login":"alyssa","id":1538420,"avatar_url":"https://avatars.githubusercontent.com/u/1538420?v=3","gravatar_id":"","url":"https://api.github.com/users/alyssa","html_url":"https://github.com/alyssa","followers_url":"https://api.github.com/users/alyssa/followers","following_url":"https://api.github.com/users/alyssa/following{/other_user}","gists_url":"https://api.github.com/users/alyssa/gists{/gist_id}","starred_url":"https://api.github.com/users/alyssa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyssa/subscriptions","organizations_url":"https://api.github.com/users/alyssa/orgs","repos_url":"https://api.github.com/users/alyssa/repos","events_url":"https://api.github.com/users/alyssa/events{/privacy}","received_events_url":"https://api.github.com/users/alyssa/received_events","type":"User","site_admin":false},"body":"New output. Runs the controller twice, one for male and one for female.\r\n\r\n```\r\n➜  bias_impact_project git:(alyssa/add+woman+bias) ✗ python control.py\r\nRunning 100 simulations.\r\n 1% bias for male\r\n12 promotion cycles\r\n15% attrition rate\r\n\r\nLevel\tMen\t\t\tWomen\r\n\tavg\tmedian\t%\tavg\tmedian\t%\r\n-----\t-----------------\t-----------------\r\n1\t246.50\t247.00\t49.00\t253.50\t253.00\t50.00\r\n2\t171.01\t171.00\t48.00\t178.99\t179.00\t51.00\r\n3\t96.67\t96.00\t48.00\t103.33\t104.00\t51.00\r\n4\t72.84\t73.00\t48.00\t77.16\t77.00\t51.00\r\n5\t49.24\t48.00\t49.00\t50.76\t52.00\t50.00\r\n6\t38.18\t38.00\t50.00\t36.82\t37.00\t49.00\r\n7\t29.22\t29.00\t73.00\t10.78\t11.00\t26.00\r\n8\t9.27\t9.00\t92.00\t0.73\t1.00\t7.00\r\nRunning 100 simulations.\r\n 1% bias for female\r\n12 promotion cycles\r\n15% attrition rate\r\n\r\nLevel\tMen\t\t\tWomen\r\n\tavg\tmedian\t%\tavg\tmedian\t%\r\n-----\t-----------------\t-----------------\r\n1\t253.18\t254.00\t50.00\t246.82\t246.00\t49.00\r\n2\t179.67\t181.00\t51.00\t170.33\t169.00\t48.00\r\n3\t103.18\t103.00\t51.00\t96.82\t97.00\t48.00\r\n4\t76.67\t76.00\t51.00\t73.33\t74.00\t48.00\r\n5\t51.89\t52.00\t51.00\t48.11\t48.00\t48.00\r\n6\t35.94\t36.00\t47.00\t39.06\t39.00\t52.00\r\n7\t11.08\t11.00\t27.00\t28.92\t29.00\t72.00\r\n8\t0.77\t1.00\t7.00\t9.23\t9.00\t92.00\r\n```","created_at":"2015-11-16T18:22:10Z","updated_at":"2015-11-16T18:22:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1/commits","review_comments_url":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1/comments","review_comment_url":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/penelopy/bias_impact_project/issues/1/comments","statuses_url":"https://api.github.com/repos/penelopy/bias_impact_project/statuses/ad1214a45a6c29092637dc9fafb76ba9e7a63263","head":{"label":"alyssa:alyssa/add+woman+bias","ref":"alyssa/add+woman+bias","sha":"ad1214a45a6c29092637dc9fafb76ba9e7a63263","user":{"login":"alyssa","id":1538420,"avatar_url":"https://avatars.githubusercontent.com/u/1538420?v=3","gravatar_id":"","url":"https://api.github.com/users/alyssa","html_url":"https://github.com/alyssa","followers_url":"https://api.github.com/users/alyssa/followers","following_url":"https://api.github.com/users/alyssa/following{/other_user}","gists_url":"https://api.github.com/users/alyssa/gists{/gist_id}","starred_url":"https://api.github.com/users/alyssa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyssa/subscriptions","organizations_url":"https://api.github.com/users/alyssa/orgs","repos_url":"https://api.github.com/users/alyssa/repos","events_url":"https://api.github.com/users/alyssa/events{/privacy}","received_events_url":"https://api.github.com/users/alyssa/received_events","type":"User","site_admin":false},"repo":{"id":46292313,"name":"bias_impact_project","full_name":"alyssa/bias_impact_project","owner":{"login":"alyssa","id":1538420,"avatar_url":"https://avatars.githubusercontent.com/u/1538420?v=3","gravatar_id":"","url":"https://api.github.com/users/alyssa","html_url":"https://github.com/alyssa","followers_url":"https://api.github.com/users/alyssa/followers","following_url":"https://api.github.com/users/alyssa/following{/other_user}","gists_url":"https://api.github.com/users/alyssa/gists{/gist_id}","starred_url":"https://api.github.com/users/alyssa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alyssa/subscriptions","organizations_url":"https://api.github.com/users/alyssa/orgs","repos_url":"https://api.github.com/users/alyssa/repos","events_url":"https://api.github.com/users/alyssa/events{/privacy}","received_events_url":"https://api.github.com/users/alyssa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alyssa/bias_impact_project","description":"","fork":true,"url":"https://api.github.com/repos/alyssa/bias_impact_project","forks_url":"https://api.github.com/repos/alyssa/bias_impact_project/forks","keys_url":"https://api.github.com/repos/alyssa/bias_impact_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alyssa/bias_impact_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alyssa/bias_impact_project/teams","hooks_url":"https://api.github.com/repos/alyssa/bias_impact_project/hooks","issue_events_url":"https://api.github.com/repos/alyssa/bias_impact_project/issues/events{/number}","events_url":"https://api.github.com/repos/alyssa/bias_impact_project/events","assignees_url":"https://api.github.com/repos/alyssa/bias_impact_project/assignees{/user}","branches_url":"https://api.github.com/repos/alyssa/bias_impact_project/branches{/branch}","tags_url":"https://api.github.com/repos/alyssa/bias_impact_project/tags","blobs_url":"https://api.github.com/repos/alyssa/bias_impact_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alyssa/bias_impact_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alyssa/bias_impact_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/alyssa/bias_impact_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alyssa/bias_impact_project/statuses/{sha}","languages_url":"https://api.github.com/repos/alyssa/bias_impact_project/languages","stargazers_url":"https://api.github.com/repos/alyssa/bias_impact_project/stargazers","contributors_url":"https://api.github.com/repos/alyssa/bias_impact_project/contributors","subscribers_url":"https://api.github.com/repos/alyssa/bias_impact_project/subscribers","subscription_url":"https://api.github.com/repos/alyssa/bias_impact_project/subscription","commits_url":"https://api.github.com/repos/alyssa/bias_impact_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/alyssa/bias_impact_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/alyssa/bias_impact_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/alyssa/bias_impact_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/alyssa/bias_impact_project/contents/{+path}","compare_url":"https://api.github.com/repos/alyssa/bias_impact_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alyssa/bias_impact_project/merges","archive_url":"https://api.github.com/repos/alyssa/bias_impact_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alyssa/bias_impact_project/downloads","issues_url":"https://api.github.com/repos/alyssa/bias_impact_project/issues{/number}","pulls_url":"https://api.github.com/repos/alyssa/bias_impact_project/pulls{/number}","milestones_url":"https://api.github.com/repos/alyssa/bias_impact_project/milestones{/number}","notifications_url":"https://api.github.com/repos/alyssa/bias_impact_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alyssa/bias_impact_project/labels{/name}","releases_url":"https://api.github.com/repos/alyssa/bias_impact_project/releases{/id}","created_at":"2015-11-16T17:59:58Z","updated_at":"2015-11-16T17:59:59Z","pushed_at":"2015-11-16T18:20:35Z","git_url":"git://github.com/alyssa/bias_impact_project.git","ssh_url":"git@github.com:alyssa/bias_impact_project.git","clone_url":"https://github.com/alyssa/bias_impact_project.git","svn_url":"https://github.com/alyssa/bias_impact_project","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"penelopy:master","ref":"master","sha":"7d3376a47b42d465c34accdd30ac9ecd16494cca","user":{"login":"penelopy","id":4615657,"avatar_url":"https://avatars.githubusercontent.com/u/4615657?v=3","gravatar_id":"","url":"https://api.github.com/users/penelopy","html_url":"https://github.com/penelopy","followers_url":"https://api.github.com/users/penelopy/followers","following_url":"https://api.github.com/users/penelopy/following{/other_user}","gists_url":"https://api.github.com/users/penelopy/gists{/gist_id}","starred_url":"https://api.github.com/users/penelopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penelopy/subscriptions","organizations_url":"https://api.github.com/users/penelopy/orgs","repos_url":"https://api.github.com/users/penelopy/repos","events_url":"https://api.github.com/users/penelopy/events{/privacy}","received_events_url":"https://api.github.com/users/penelopy/received_events","type":"User","site_admin":false},"repo":{"id":46090165,"name":"bias_impact_project","full_name":"penelopy/bias_impact_project","owner":{"login":"penelopy","id":4615657,"avatar_url":"https://avatars.githubusercontent.com/u/4615657?v=3","gravatar_id":"","url":"https://api.github.com/users/penelopy","html_url":"https://github.com/penelopy","followers_url":"https://api.github.com/users/penelopy/followers","following_url":"https://api.github.com/users/penelopy/following{/other_user}","gists_url":"https://api.github.com/users/penelopy/gists{/gist_id}","starred_url":"https://api.github.com/users/penelopy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penelopy/subscriptions","organizations_url":"https://api.github.com/users/penelopy/orgs","repos_url":"https://api.github.com/users/penelopy/repos","events_url":"https://api.github.com/users/penelopy/events{/privacy}","received_events_url":"https://api.github.com/users/penelopy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/penelopy/bias_impact_project","description":"","fork":false,"url":"https://api.github.com/repos/penelopy/bias_impact_project","forks_url":"https://api.github.com/repos/penelopy/bias_impact_project/forks","keys_url":"https://api.github.com/repos/penelopy/bias_impact_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/penelopy/bias_impact_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/penelopy/bias_impact_project/teams","hooks_url":"https://api.github.com/repos/penelopy/bias_impact_project/hooks","issue_events_url":"https://api.github.com/repos/penelopy/bias_impact_project/issues/events{/number}","events_url":"https://api.github.com/repos/penelopy/bias_impact_project/events","assignees_url":"https://api.github.com/repos/penelopy/bias_impact_project/assignees{/user}","branches_url":"https://api.github.com/repos/penelopy/bias_impact_project/branches{/branch}","tags_url":"https://api.github.com/repos/penelopy/bias_impact_project/tags","blobs_url":"https://api.github.com/repos/penelopy/bias_impact_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/penelopy/bias_impact_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/penelopy/bias_impact_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/penelopy/bias_impact_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/penelopy/bias_impact_project/statuses/{sha}","languages_url":"https://api.github.com/repos/penelopy/bias_impact_project/languages","stargazers_url":"https://api.github.com/repos/penelopy/bias_impact_project/stargazers","contributors_url":"https://api.github.com/repos/penelopy/bias_impact_project/contributors","subscribers_url":"https://api.github.com/repos/penelopy/bias_impact_project/subscribers","subscription_url":"https://api.github.com/repos/penelopy/bias_impact_project/subscription","commits_url":"https://api.github.com/repos/penelopy/bias_impact_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/penelopy/bias_impact_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/penelopy/bias_impact_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/penelopy/bias_impact_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/penelopy/bias_impact_project/contents/{+path}","compare_url":"https://api.github.com/repos/penelopy/bias_impact_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/penelopy/bias_impact_project/merges","archive_url":"https://api.github.com/repos/penelopy/bias_impact_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/penelopy/bias_impact_project/downloads","issues_url":"https://api.github.com/repos/penelopy/bias_impact_project/issues{/number}","pulls_url":"https://api.github.com/repos/penelopy/bias_impact_project/pulls{/number}","milestones_url":"https://api.github.com/repos/penelopy/bias_impact_project/milestones{/number}","notifications_url":"https://api.github.com/repos/penelopy/bias_impact_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/penelopy/bias_impact_project/labels{/name}","releases_url":"https://api.github.com/repos/penelopy/bias_impact_project/releases{/id}","created_at":"2015-11-13T00:44:39Z","updated_at":"2015-11-14T00:39:29Z","pushed_at":"2015-11-16T18:22:10Z","git_url":"git://github.com/penelopy/bias_impact_project.git","ssh_url":"git@github.com:penelopy/bias_impact_project.git","clone_url":"https://github.com/penelopy/bias_impact_project.git","svn_url":"https://github.com/penelopy/bias_impact_project","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1"},"html":{"href":"https://github.com/penelopy/bias_impact_project/pull/1"},"issue":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/issues/1"},"comments":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/penelopy/bias_impact_project/statuses/ad1214a45a6c29092637dc9fafb76ba9e7a63263"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":12,"changed_files":2}}