{"action":"opened","number":114,"pull_request":{"url":"https://api.github.com/repos/w3c/wptrunner/pulls/114","id":35762470,"html_url":"https://github.com/w3c/wptrunner/pull/114","diff_url":"https://github.com/w3c/wptrunner/pull/114.diff","patch_url":"https://github.com/w3c/wptrunner/pull/114.patch","issue_url":"https://api.github.com/repos/w3c/wptrunner/issues/114","number":114,"state":"open","locked":false,"title":"Change implementation of EqualTimeChunker.","user":{"login":"jgraham","id":294864,"avatar_url":"https://avatars.githubusercontent.com/u/294864?v=3","gravatar_id":"","url":"https://api.github.com/users/jgraham","html_url":"https://github.com/jgraham","followers_url":"https://api.github.com/users/jgraham/followers","following_url":"https://api.github.com/users/jgraham/following{/other_user}","gists_url":"https://api.github.com/users/jgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/jgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgraham/subscriptions","organizations_url":"https://api.github.com/users/jgraham/orgs","repos_url":"https://api.github.com/users/jgraham/repos","events_url":"https://api.github.com/users/jgraham/events{/privacy}","received_events_url":"https://api.github.com/users/jgraham/received_events","type":"User","site_admin":false},"body":"The new implementation divides the list of tests into N segments with\r\nequal numbers of tests. It then tries to minimize the badness score,\r\ndefined as sum((chunk_time - sum(chunk_time)/N)**2), by moving one subdir\r\nof tests at a time into a neighboring chunk if doing so produces a\r\ndecrease in the badness.\r\n\r\nThis algorithm obviously only finds local minima of the badness.","created_at":"2015-05-19T18:52:43Z","updated_at":"2015-05-19T18:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/w3c/wptrunner/pulls/114/commits","review_comments_url":"https://api.github.com/repos/w3c/wptrunner/pulls/114/comments","review_comment_url":"https://api.github.com/repos/w3c/wptrunner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/w3c/wptrunner/issues/114/comments","statuses_url":"https://api.github.com/repos/w3c/wptrunner/statuses/d8a9ba038d6a5bff2a63f0240d35b26ee484436f","head":{"label":"w3c:jgraham/equal_chunker_2","ref":"jgraham/equal_chunker_2","sha":"d8a9ba038d6a5bff2a63f0240d35b26ee484436f","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":19311686,"name":"wptrunner","full_name":"w3c/wptrunner","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/wptrunner","description":"A web-platform-tests harness","fork":false,"url":"https://api.github.com/repos/w3c/wptrunner","forks_url":"https://api.github.com/repos/w3c/wptrunner/forks","keys_url":"https://api.github.com/repos/w3c/wptrunner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/wptrunner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/wptrunner/teams","hooks_url":"https://api.github.com/repos/w3c/wptrunner/hooks","issue_events_url":"https://api.github.com/repos/w3c/wptrunner/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/wptrunner/events","assignees_url":"https://api.github.com/repos/w3c/wptrunner/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/wptrunner/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/wptrunner/tags","blobs_url":"https://api.github.com/repos/w3c/wptrunner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/wptrunner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/wptrunner/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/wptrunner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/wptrunner/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/wptrunner/languages","stargazers_url":"https://api.github.com/repos/w3c/wptrunner/stargazers","contributors_url":"https://api.github.com/repos/w3c/wptrunner/contributors","subscribers_url":"https://api.github.com/repos/w3c/wptrunner/subscribers","subscription_url":"https://api.github.com/repos/w3c/wptrunner/subscription","commits_url":"https://api.github.com/repos/w3c/wptrunner/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/wptrunner/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/wptrunner/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/wptrunner/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/wptrunner/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/wptrunner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/wptrunner/merges","archive_url":"https://api.github.com/repos/w3c/wptrunner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/wptrunner/downloads","issues_url":"https://api.github.com/repos/w3c/wptrunner/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/wptrunner/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/wptrunner/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/wptrunner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/wptrunner/labels{/name}","releases_url":"https://api.github.com/repos/w3c/wptrunner/releases{/id}","created_at":"2014-04-30T11:40:10Z","updated_at":"2015-05-19T09:59:58Z","pushed_at":"2015-05-19T18:51:39Z","git_url":"git://github.com/w3c/wptrunner.git","ssh_url":"git@github.com:w3c/wptrunner.git","clone_url":"https://github.com/w3c/wptrunner.git","svn_url":"https://github.com/w3c/wptrunner","homepage":"http://wptrunner.readthedocs.org/","size":2842,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":13,"forks":19,"open_issues":13,"watchers":11,"default_branch":"master"}},"base":{"label":"w3c:master","ref":"master","sha":"d511c6a333f11243cbd36b5e07215a1eb980cf83","user":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"repo":{"id":19311686,"name":"wptrunner","full_name":"w3c/wptrunner","owner":{"login":"w3c","id":379216,"avatar_url":"https://avatars.githubusercontent.com/u/379216?v=3","gravatar_id":"","url":"https://api.github.com/users/w3c","html_url":"https://github.com/w3c","followers_url":"https://api.github.com/users/w3c/followers","following_url":"https://api.github.com/users/w3c/following{/other_user}","gists_url":"https://api.github.com/users/w3c/gists{/gist_id}","starred_url":"https://api.github.com/users/w3c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/w3c/subscriptions","organizations_url":"https://api.github.com/users/w3c/orgs","repos_url":"https://api.github.com/users/w3c/repos","events_url":"https://api.github.com/users/w3c/events{/privacy}","received_events_url":"https://api.github.com/users/w3c/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/w3c/wptrunner","description":"A web-platform-tests harness","fork":false,"url":"https://api.github.com/repos/w3c/wptrunner","forks_url":"https://api.github.com/repos/w3c/wptrunner/forks","keys_url":"https://api.github.com/repos/w3c/wptrunner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/w3c/wptrunner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/w3c/wptrunner/teams","hooks_url":"https://api.github.com/repos/w3c/wptrunner/hooks","issue_events_url":"https://api.github.com/repos/w3c/wptrunner/issues/events{/number}","events_url":"https://api.github.com/repos/w3c/wptrunner/events","assignees_url":"https://api.github.com/repos/w3c/wptrunner/assignees{/user}","branches_url":"https://api.github.com/repos/w3c/wptrunner/branches{/branch}","tags_url":"https://api.github.com/repos/w3c/wptrunner/tags","blobs_url":"https://api.github.com/repos/w3c/wptrunner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/w3c/wptrunner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/w3c/wptrunner/git/refs{/sha}","trees_url":"https://api.github.com/repos/w3c/wptrunner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/w3c/wptrunner/statuses/{sha}","languages_url":"https://api.github.com/repos/w3c/wptrunner/languages","stargazers_url":"https://api.github.com/repos/w3c/wptrunner/stargazers","contributors_url":"https://api.github.com/repos/w3c/wptrunner/contributors","subscribers_url":"https://api.github.com/repos/w3c/wptrunner/subscribers","subscription_url":"https://api.github.com/repos/w3c/wptrunner/subscription","commits_url":"https://api.github.com/repos/w3c/wptrunner/commits{/sha}","git_commits_url":"https://api.github.com/repos/w3c/wptrunner/git/commits{/sha}","comments_url":"https://api.github.com/repos/w3c/wptrunner/comments{/number}","issue_comment_url":"https://api.github.com/repos/w3c/wptrunner/issues/comments{/number}","contents_url":"https://api.github.com/repos/w3c/wptrunner/contents/{+path}","compare_url":"https://api.github.com/repos/w3c/wptrunner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/w3c/wptrunner/merges","archive_url":"https://api.github.com/repos/w3c/wptrunner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/w3c/wptrunner/downloads","issues_url":"https://api.github.com/repos/w3c/wptrunner/issues{/number}","pulls_url":"https://api.github.com/repos/w3c/wptrunner/pulls{/number}","milestones_url":"https://api.github.com/repos/w3c/wptrunner/milestones{/number}","notifications_url":"https://api.github.com/repos/w3c/wptrunner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/w3c/wptrunner/labels{/name}","releases_url":"https://api.github.com/repos/w3c/wptrunner/releases{/id}","created_at":"2014-04-30T11:40:10Z","updated_at":"2015-05-19T09:59:58Z","pushed_at":"2015-05-19T18:51:39Z","git_url":"git://github.com/w3c/wptrunner.git","ssh_url":"git@github.com:w3c/wptrunner.git","clone_url":"https://github.com/w3c/wptrunner.git","svn_url":"https://github.com/w3c/wptrunner","homepage":"http://wptrunner.readthedocs.org/","size":2842,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":13,"forks":19,"open_issues":13,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/w3c/wptrunner/pulls/114"},"html":{"href":"https://github.com/w3c/wptrunner/pull/114"},"issue":{"href":"https://api.github.com/repos/w3c/wptrunner/issues/114"},"comments":{"href":"https://api.github.com/repos/w3c/wptrunner/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/w3c/wptrunner/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/w3c/wptrunner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/w3c/wptrunner/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/w3c/wptrunner/statuses/d8a9ba038d6a5bff2a63f0240d35b26ee484436f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":160,"deletions":101,"changed_files":1}}