{"action":"created","comment":{"url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/comments/41189869","id":41189869,"diff_hunk":"@@ -21,7 +21,7 @@ def mode\n     end\n \n     def sample_variance\n-      m   = mean\n+      m   = inject(:+).to_f / size","path":"lib/genevalidator/ext/array.rb","position":5,"original_position":5,"commit_id":"884fa4a7ce09ac28f43760b3e520b53812556b6c","original_commit_id":"884fa4a7ce09ac28f43760b3e520b53812556b6c","user":{"login":"IsmailM","id":5578375,"avatar_url":"https://avatars.githubusercontent.com/u/5578375?v=3","gravatar_id":"","url":"https://api.github.com/users/IsmailM","html_url":"https://github.com/IsmailM","followers_url":"https://api.github.com/users/IsmailM/followers","following_url":"https://api.github.com/users/IsmailM/following{/other_user}","gists_url":"https://api.github.com/users/IsmailM/gists{/gist_id}","starred_url":"https://api.github.com/users/IsmailM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsmailM/subscriptions","organizations_url":"https://api.github.com/users/IsmailM/orgs","repos_url":"https://api.github.com/users/IsmailM/repos","events_url":"https://api.github.com/users/IsmailM/events{/privacy}","received_events_url":"https://api.github.com/users/IsmailM/received_events","type":"User","site_admin":false},"body":"I tried this, but I couldn’t get it to work - https://github.com/wurmlab/genevalidator/tree/mean","created_at":"2015-10-05T20:02:28Z","updated_at":"2015-10-05T20:02:28Z","html_url":"https://github.com/wurmlab/genevalidator/pull/109#discussion_r41189869","pull_request_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/comments/41189869"},"html":{"href":"https://github.com/wurmlab/genevalidator/pull/109#discussion_r41189869"},"pull_request":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109","id":46815181,"html_url":"https://github.com/wurmlab/genevalidator/pull/109","diff_url":"https://github.com/wurmlab/genevalidator/pull/109.diff","patch_url":"https://github.com/wurmlab/genevalidator/pull/109.patch","issue_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/109","number":109,"state":"open","locked":false,"title":"Update statsample","user":{"login":"IsmailM","id":5578375,"avatar_url":"https://avatars.githubusercontent.com/u/5578375?v=3","gravatar_id":"","url":"https://api.github.com/users/IsmailM","html_url":"https://github.com/IsmailM","followers_url":"https://api.github.com/users/IsmailM/followers","following_url":"https://api.github.com/users/IsmailM/following{/other_user}","gists_url":"https://api.github.com/users/IsmailM/gists{/gist_id}","starred_url":"https://api.github.com/users/IsmailM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IsmailM/subscriptions","organizations_url":"https://api.github.com/users/IsmailM/orgs","repos_url":"https://api.github.com/users/IsmailM/repos","events_url":"https://api.github.com/users/IsmailM/events{/privacy}","received_events_url":"https://api.github.com/users/IsmailM/received_events","type":"User","site_admin":false},"body":"This necessary because Statsample managed to break GeneValidator once again despite the fact that we were pointing to a specific version of Statsample.","created_at":"2015-10-05T18:24:01Z","updated_at":"2015-10-05T20:02:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be6b5ccffa12be8711053babc0204eb66779ebfb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109/commits","review_comments_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109/comments","review_comment_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/109/comments","statuses_url":"https://api.github.com/repos/wurmlab/genevalidator/statuses/884fa4a7ce09ac28f43760b3e520b53812556b6c","head":{"label":"wurmlab:update_statsample","ref":"update_statsample","sha":"884fa4a7ce09ac28f43760b3e520b53812556b6c","user":{"login":"wurmlab","id":7633927,"avatar_url":"https://avatars.githubusercontent.com/u/7633927?v=3","gravatar_id":"","url":"https://api.github.com/users/wurmlab","html_url":"https://github.com/wurmlab","followers_url":"https://api.github.com/users/wurmlab/followers","following_url":"https://api.github.com/users/wurmlab/following{/other_user}","gists_url":"https://api.github.com/users/wurmlab/gists{/gist_id}","starred_url":"https://api.github.com/users/wurmlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurmlab/subscriptions","organizations_url":"https://api.github.com/users/wurmlab/orgs","repos_url":"https://api.github.com/users/wurmlab/repos","events_url":"https://api.github.com/users/wurmlab/events{/privacy}","received_events_url":"https://api.github.com/users/wurmlab/received_events","type":"Organization","site_admin":false},"repo":{"id":10375607,"name":"genevalidator","full_name":"wurmlab/genevalidator","owner":{"login":"wurmlab","id":7633927,"avatar_url":"https://avatars.githubusercontent.com/u/7633927?v=3","gravatar_id":"","url":"https://api.github.com/users/wurmlab","html_url":"https://github.com/wurmlab","followers_url":"https://api.github.com/users/wurmlab/followers","following_url":"https://api.github.com/users/wurmlab/following{/other_user}","gists_url":"https://api.github.com/users/wurmlab/gists{/gist_id}","starred_url":"https://api.github.com/users/wurmlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurmlab/subscriptions","organizations_url":"https://api.github.com/users/wurmlab/orgs","repos_url":"https://api.github.com/users/wurmlab/repos","events_url":"https://api.github.com/users/wurmlab/events{/privacy}","received_events_url":"https://api.github.com/users/wurmlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wurmlab/genevalidator","description":"GeneValidator: Identify problems with predicted genes","fork":false,"url":"https://api.github.com/repos/wurmlab/genevalidator","forks_url":"https://api.github.com/repos/wurmlab/genevalidator/forks","keys_url":"https://api.github.com/repos/wurmlab/genevalidator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurmlab/genevalidator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurmlab/genevalidator/teams","hooks_url":"https://api.github.com/repos/wurmlab/genevalidator/hooks","issue_events_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/events{/number}","events_url":"https://api.github.com/repos/wurmlab/genevalidator/events","assignees_url":"https://api.github.com/repos/wurmlab/genevalidator/assignees{/user}","branches_url":"https://api.github.com/repos/wurmlab/genevalidator/branches{/branch}","tags_url":"https://api.github.com/repos/wurmlab/genevalidator/tags","blobs_url":"https://api.github.com/repos/wurmlab/genevalidator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurmlab/genevalidator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurmlab/genevalidator/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurmlab/genevalidator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurmlab/genevalidator/statuses/{sha}","languages_url":"https://api.github.com/repos/wurmlab/genevalidator/languages","stargazers_url":"https://api.github.com/repos/wurmlab/genevalidator/stargazers","contributors_url":"https://api.github.com/repos/wurmlab/genevalidator/contributors","subscribers_url":"https://api.github.com/repos/wurmlab/genevalidator/subscribers","subscription_url":"https://api.github.com/repos/wurmlab/genevalidator/subscription","commits_url":"https://api.github.com/repos/wurmlab/genevalidator/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurmlab/genevalidator/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurmlab/genevalidator/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurmlab/genevalidator/contents/{+path}","compare_url":"https://api.github.com/repos/wurmlab/genevalidator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurmlab/genevalidator/merges","archive_url":"https://api.github.com/repos/wurmlab/genevalidator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurmlab/genevalidator/downloads","issues_url":"https://api.github.com/repos/wurmlab/genevalidator/issues{/number}","pulls_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls{/number}","milestones_url":"https://api.github.com/repos/wurmlab/genevalidator/milestones{/number}","notifications_url":"https://api.github.com/repos/wurmlab/genevalidator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurmlab/genevalidator/labels{/name}","releases_url":"https://api.github.com/repos/wurmlab/genevalidator/releases{/id}","created_at":"2013-05-30T04:48:03Z","updated_at":"2015-09-25T08:22:14Z","pushed_at":"2015-10-05T20:00:49Z","git_url":"git://github.com/wurmlab/genevalidator.git","ssh_url":"git@github.com:wurmlab/genevalidator.git","clone_url":"https://github.com/wurmlab/genevalidator.git","svn_url":"https://github.com/wurmlab/genevalidator","homepage":"http://wurmlab.github.io/tools/genevalidator/","size":137447,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":20,"default_branch":"master"}},"base":{"label":"wurmlab:master","ref":"master","sha":"2c7136af42e2d49436dc206d8f841133519aab69","user":{"login":"wurmlab","id":7633927,"avatar_url":"https://avatars.githubusercontent.com/u/7633927?v=3","gravatar_id":"","url":"https://api.github.com/users/wurmlab","html_url":"https://github.com/wurmlab","followers_url":"https://api.github.com/users/wurmlab/followers","following_url":"https://api.github.com/users/wurmlab/following{/other_user}","gists_url":"https://api.github.com/users/wurmlab/gists{/gist_id}","starred_url":"https://api.github.com/users/wurmlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurmlab/subscriptions","organizations_url":"https://api.github.com/users/wurmlab/orgs","repos_url":"https://api.github.com/users/wurmlab/repos","events_url":"https://api.github.com/users/wurmlab/events{/privacy}","received_events_url":"https://api.github.com/users/wurmlab/received_events","type":"Organization","site_admin":false},"repo":{"id":10375607,"name":"genevalidator","full_name":"wurmlab/genevalidator","owner":{"login":"wurmlab","id":7633927,"avatar_url":"https://avatars.githubusercontent.com/u/7633927?v=3","gravatar_id":"","url":"https://api.github.com/users/wurmlab","html_url":"https://github.com/wurmlab","followers_url":"https://api.github.com/users/wurmlab/followers","following_url":"https://api.github.com/users/wurmlab/following{/other_user}","gists_url":"https://api.github.com/users/wurmlab/gists{/gist_id}","starred_url":"https://api.github.com/users/wurmlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wurmlab/subscriptions","organizations_url":"https://api.github.com/users/wurmlab/orgs","repos_url":"https://api.github.com/users/wurmlab/repos","events_url":"https://api.github.com/users/wurmlab/events{/privacy}","received_events_url":"https://api.github.com/users/wurmlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wurmlab/genevalidator","description":"GeneValidator: Identify problems with predicted genes","fork":false,"url":"https://api.github.com/repos/wurmlab/genevalidator","forks_url":"https://api.github.com/repos/wurmlab/genevalidator/forks","keys_url":"https://api.github.com/repos/wurmlab/genevalidator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wurmlab/genevalidator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wurmlab/genevalidator/teams","hooks_url":"https://api.github.com/repos/wurmlab/genevalidator/hooks","issue_events_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/events{/number}","events_url":"https://api.github.com/repos/wurmlab/genevalidator/events","assignees_url":"https://api.github.com/repos/wurmlab/genevalidator/assignees{/user}","branches_url":"https://api.github.com/repos/wurmlab/genevalidator/branches{/branch}","tags_url":"https://api.github.com/repos/wurmlab/genevalidator/tags","blobs_url":"https://api.github.com/repos/wurmlab/genevalidator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wurmlab/genevalidator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wurmlab/genevalidator/git/refs{/sha}","trees_url":"https://api.github.com/repos/wurmlab/genevalidator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wurmlab/genevalidator/statuses/{sha}","languages_url":"https://api.github.com/repos/wurmlab/genevalidator/languages","stargazers_url":"https://api.github.com/repos/wurmlab/genevalidator/stargazers","contributors_url":"https://api.github.com/repos/wurmlab/genevalidator/contributors","subscribers_url":"https://api.github.com/repos/wurmlab/genevalidator/subscribers","subscription_url":"https://api.github.com/repos/wurmlab/genevalidator/subscription","commits_url":"https://api.github.com/repos/wurmlab/genevalidator/commits{/sha}","git_commits_url":"https://api.github.com/repos/wurmlab/genevalidator/git/commits{/sha}","comments_url":"https://api.github.com/repos/wurmlab/genevalidator/comments{/number}","issue_comment_url":"https://api.github.com/repos/wurmlab/genevalidator/issues/comments{/number}","contents_url":"https://api.github.com/repos/wurmlab/genevalidator/contents/{+path}","compare_url":"https://api.github.com/repos/wurmlab/genevalidator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wurmlab/genevalidator/merges","archive_url":"https://api.github.com/repos/wurmlab/genevalidator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wurmlab/genevalidator/downloads","issues_url":"https://api.github.com/repos/wurmlab/genevalidator/issues{/number}","pulls_url":"https://api.github.com/repos/wurmlab/genevalidator/pulls{/number}","milestones_url":"https://api.github.com/repos/wurmlab/genevalidator/milestones{/number}","notifications_url":"https://api.github.com/repos/wurmlab/genevalidator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wurmlab/genevalidator/labels{/name}","releases_url":"https://api.github.com/repos/wurmlab/genevalidator/releases{/id}","created_at":"2013-05-30T04:48:03Z","updated_at":"2015-09-25T08:22:14Z","pushed_at":"2015-10-05T20:00:49Z","git_url":"git://github.com/wurmlab/genevalidator.git","ssh_url":"git@github.com:wurmlab/genevalidator.git","clone_url":"https://github.com/wurmlab/genevalidator.git","svn_url":"https://github.com/wurmlab/genevalidator","homepage":"http://wurmlab.github.io/tools/genevalidator/","size":137447,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":20,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109"},"html":{"href":"https://github.com/wurmlab/genevalidator/pull/109"},"issue":{"href":"https://api.github.com/repos/wurmlab/genevalidator/issues/109"},"comments":{"href":"https://api.github.com/repos/wurmlab/genevalidator/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wurmlab/genevalidator/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/wurmlab/genevalidator/statuses/884fa4a7ce09ac28f43760b3e520b53812556b6c"}}}}