{"action":"opened","number":117,"pull_request":{"url":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117","id":89805619,"html_url":"https://github.com/MoMEMta/MoMEMta/pull/117","diff_url":"https://github.com/MoMEMta/MoMEMta/pull/117.diff","patch_url":"https://github.com/MoMEMta/MoMEMta/pull/117.patch","issue_url":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/117","number":117,"state":"open","locked":false,"title":"Add blockG, fix tests","user":{"login":"swertz","id":8058274,"avatar_url":"https://avatars.githubusercontent.com/u/8058274?v=3","gravatar_id":"","url":"https://api.github.com/users/swertz","html_url":"https://github.com/swertz","followers_url":"https://api.github.com/users/swertz/followers","following_url":"https://api.github.com/users/swertz/following{/other_user}","gists_url":"https://api.github.com/users/swertz/gists{/gist_id}","starred_url":"https://api.github.com/users/swertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swertz/subscriptions","organizations_url":"https://api.github.com/users/swertz/orgs","repos_url":"https://api.github.com/users/swertz/repos","events_url":"https://api.github.com/users/swertz/events{/privacy}","received_events_url":"https://api.github.com/users/swertz/received_events","type":"User","site_admin":false},"body":"This adds a new main block not present in MadWeight (credit for the idea goes to @BrieucF). It'll be very useful for topologies where two narrow particles decay to four visible objects (such as ZH/ZZ->llbb, HH->bbbb, @alesaggio take note!).\r\n\r\nI've validated the phase-space volume: I get 0.01659(3) GeV^2, where the analytical value is 0.0166 GeV^2.\r\n\r\nI've also taken the opportunity to fix the other tests that got broken after some PRs... Before releasing v0.2 we'll have to run them all again, and introduce tests for blocks A and B and secondary block C/D. We'll also have to add other matrix elements in the release if we want to pass the \"cross-section\" validation for these blocks...\r\n\r\nWhen testing BlockG I've noticed a case where the equation solver for degree-4 polynomials fails. I've put a simple work around, but there might be other cases where the method used is not valid... To keep in mind :/\r\n\r\nAnd finally, it looks like some Lua functions (such as the `append` functions @blinkseb has added) would be useful to have around everywhere, maybe in some library the user can load?","created_at":"2016-10-18T12:33:11Z","updated_at":"2016-10-18T12:33:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d997430ab6b5b66480c78eb404021e6ce32792b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117/commits","review_comments_url":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117/comments","review_comment_url":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/117/comments","statuses_url":"https://api.github.com/repos/MoMEMta/MoMEMta/statuses/5f3cce972eabfc935ee9cc152d8c795f1404a571","head":{"label":"swertz:blockG","ref":"blockG","sha":"5f3cce972eabfc935ee9cc152d8c795f1404a571","user":{"login":"swertz","id":8058274,"avatar_url":"https://avatars.githubusercontent.com/u/8058274?v=3","gravatar_id":"","url":"https://api.github.com/users/swertz","html_url":"https://github.com/swertz","followers_url":"https://api.github.com/users/swertz/followers","following_url":"https://api.github.com/users/swertz/following{/other_user}","gists_url":"https://api.github.com/users/swertz/gists{/gist_id}","starred_url":"https://api.github.com/users/swertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swertz/subscriptions","organizations_url":"https://api.github.com/users/swertz/orgs","repos_url":"https://api.github.com/users/swertz/repos","events_url":"https://api.github.com/users/swertz/events{/privacy}","received_events_url":"https://api.github.com/users/swertz/received_events","type":"User","site_admin":false},"repo":{"id":48426855,"name":"MoMEMta","full_name":"swertz/MoMEMta","owner":{"login":"swertz","id":8058274,"avatar_url":"https://avatars.githubusercontent.com/u/8058274?v=3","gravatar_id":"","url":"https://api.github.com/users/swertz","html_url":"https://github.com/swertz","followers_url":"https://api.github.com/users/swertz/followers","following_url":"https://api.github.com/users/swertz/following{/other_user}","gists_url":"https://api.github.com/users/swertz/gists{/gist_id}","starred_url":"https://api.github.com/users/swertz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swertz/subscriptions","organizations_url":"https://api.github.com/users/swertz/orgs","repos_url":"https://api.github.com/users/swertz/repos","events_url":"https://api.github.com/users/swertz/events{/privacy}","received_events_url":"https://api.github.com/users/swertz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swertz/MoMEMta","description":"Modular Matrix Element Method implementation","fork":true,"url":"https://api.github.com/repos/swertz/MoMEMta","forks_url":"https://api.github.com/repos/swertz/MoMEMta/forks","keys_url":"https://api.github.com/repos/swertz/MoMEMta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swertz/MoMEMta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swertz/MoMEMta/teams","hooks_url":"https://api.github.com/repos/swertz/MoMEMta/hooks","issue_events_url":"https://api.github.com/repos/swertz/MoMEMta/issues/events{/number}","events_url":"https://api.github.com/repos/swertz/MoMEMta/events","assignees_url":"https://api.github.com/repos/swertz/MoMEMta/assignees{/user}","branches_url":"https://api.github.com/repos/swertz/MoMEMta/branches{/branch}","tags_url":"https://api.github.com/repos/swertz/MoMEMta/tags","blobs_url":"https://api.github.com/repos/swertz/MoMEMta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swertz/MoMEMta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swertz/MoMEMta/git/refs{/sha}","trees_url":"https://api.github.com/repos/swertz/MoMEMta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swertz/MoMEMta/statuses/{sha}","languages_url":"https://api.github.com/repos/swertz/MoMEMta/languages","stargazers_url":"https://api.github.com/repos/swertz/MoMEMta/stargazers","contributors_url":"https://api.github.com/repos/swertz/MoMEMta/contributors","subscribers_url":"https://api.github.com/repos/swertz/MoMEMta/subscribers","subscription_url":"https://api.github.com/repos/swertz/MoMEMta/subscription","commits_url":"https://api.github.com/repos/swertz/MoMEMta/commits{/sha}","git_commits_url":"https://api.github.com/repos/swertz/MoMEMta/git/commits{/sha}","comments_url":"https://api.github.com/repos/swertz/MoMEMta/comments{/number}","issue_comment_url":"https://api.github.com/repos/swertz/MoMEMta/issues/comments{/number}","contents_url":"https://api.github.com/repos/swertz/MoMEMta/contents/{+path}","compare_url":"https://api.github.com/repos/swertz/MoMEMta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swertz/MoMEMta/merges","archive_url":"https://api.github.com/repos/swertz/MoMEMta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swertz/MoMEMta/downloads","issues_url":"https://api.github.com/repos/swertz/MoMEMta/issues{/number}","pulls_url":"https://api.github.com/repos/swertz/MoMEMta/pulls{/number}","milestones_url":"https://api.github.com/repos/swertz/MoMEMta/milestones{/number}","notifications_url":"https://api.github.com/repos/swertz/MoMEMta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swertz/MoMEMta/labels{/name}","releases_url":"https://api.github.com/repos/swertz/MoMEMta/releases{/id}","deployments_url":"https://api.github.com/repos/swertz/MoMEMta/deployments","created_at":"2015-12-22T10:52:58Z","updated_at":"2016-01-11T14:44:14Z","pushed_at":"2016-10-18T12:26:54Z","git_url":"git://github.com/swertz/MoMEMta.git","ssh_url":"git@github.com:swertz/MoMEMta.git","clone_url":"https://github.com/swertz/MoMEMta.git","svn_url":"https://github.com/swertz/MoMEMta","homepage":null,"size":1481,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"MoMEMta:master","ref":"master","sha":"caccbe82a8ff874caa15634d88673562805ec86a","user":{"login":"MoMEMta","id":16399124,"avatar_url":"https://avatars.githubusercontent.com/u/16399124?v=3","gravatar_id":"","url":"https://api.github.com/users/MoMEMta","html_url":"https://github.com/MoMEMta","followers_url":"https://api.github.com/users/MoMEMta/followers","following_url":"https://api.github.com/users/MoMEMta/following{/other_user}","gists_url":"https://api.github.com/users/MoMEMta/gists{/gist_id}","starred_url":"https://api.github.com/users/MoMEMta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoMEMta/subscriptions","organizations_url":"https://api.github.com/users/MoMEMta/orgs","repos_url":"https://api.github.com/users/MoMEMta/repos","events_url":"https://api.github.com/users/MoMEMta/events{/privacy}","received_events_url":"https://api.github.com/users/MoMEMta/received_events","type":"Organization","site_admin":false},"repo":{"id":48423136,"name":"MoMEMta","full_name":"MoMEMta/MoMEMta","owner":{"login":"MoMEMta","id":16399124,"avatar_url":"https://avatars.githubusercontent.com/u/16399124?v=3","gravatar_id":"","url":"https://api.github.com/users/MoMEMta","html_url":"https://github.com/MoMEMta","followers_url":"https://api.github.com/users/MoMEMta/followers","following_url":"https://api.github.com/users/MoMEMta/following{/other_user}","gists_url":"https://api.github.com/users/MoMEMta/gists{/gist_id}","starred_url":"https://api.github.com/users/MoMEMta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoMEMta/subscriptions","organizations_url":"https://api.github.com/users/MoMEMta/orgs","repos_url":"https://api.github.com/users/MoMEMta/repos","events_url":"https://api.github.com/users/MoMEMta/events{/privacy}","received_events_url":"https://api.github.com/users/MoMEMta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MoMEMta/MoMEMta","description":"Modular Matrix Element Method implementation","fork":false,"url":"https://api.github.com/repos/MoMEMta/MoMEMta","forks_url":"https://api.github.com/repos/MoMEMta/MoMEMta/forks","keys_url":"https://api.github.com/repos/MoMEMta/MoMEMta/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MoMEMta/MoMEMta/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MoMEMta/MoMEMta/teams","hooks_url":"https://api.github.com/repos/MoMEMta/MoMEMta/hooks","issue_events_url":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/events{/number}","events_url":"https://api.github.com/repos/MoMEMta/MoMEMta/events","assignees_url":"https://api.github.com/repos/MoMEMta/MoMEMta/assignees{/user}","branches_url":"https://api.github.com/repos/MoMEMta/MoMEMta/branches{/branch}","tags_url":"https://api.github.com/repos/MoMEMta/MoMEMta/tags","blobs_url":"https://api.github.com/repos/MoMEMta/MoMEMta/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MoMEMta/MoMEMta/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MoMEMta/MoMEMta/git/refs{/sha}","trees_url":"https://api.github.com/repos/MoMEMta/MoMEMta/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MoMEMta/MoMEMta/statuses/{sha}","languages_url":"https://api.github.com/repos/MoMEMta/MoMEMta/languages","stargazers_url":"https://api.github.com/repos/MoMEMta/MoMEMta/stargazers","contributors_url":"https://api.github.com/repos/MoMEMta/MoMEMta/contributors","subscribers_url":"https://api.github.com/repos/MoMEMta/MoMEMta/subscribers","subscription_url":"https://api.github.com/repos/MoMEMta/MoMEMta/subscription","commits_url":"https://api.github.com/repos/MoMEMta/MoMEMta/commits{/sha}","git_commits_url":"https://api.github.com/repos/MoMEMta/MoMEMta/git/commits{/sha}","comments_url":"https://api.github.com/repos/MoMEMta/MoMEMta/comments{/number}","issue_comment_url":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/comments{/number}","contents_url":"https://api.github.com/repos/MoMEMta/MoMEMta/contents/{+path}","compare_url":"https://api.github.com/repos/MoMEMta/MoMEMta/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MoMEMta/MoMEMta/merges","archive_url":"https://api.github.com/repos/MoMEMta/MoMEMta/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MoMEMta/MoMEMta/downloads","issues_url":"https://api.github.com/repos/MoMEMta/MoMEMta/issues{/number}","pulls_url":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls{/number}","milestones_url":"https://api.github.com/repos/MoMEMta/MoMEMta/milestones{/number}","notifications_url":"https://api.github.com/repos/MoMEMta/MoMEMta/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MoMEMta/MoMEMta/labels{/name}","releases_url":"https://api.github.com/repos/MoMEMta/MoMEMta/releases{/id}","deployments_url":"https://api.github.com/repos/MoMEMta/MoMEMta/deployments","created_at":"2015-12-22T09:30:30Z","updated_at":"2016-09-28T11:59:49Z","pushed_at":"2016-10-18T12:33:12Z","git_url":"git://github.com/MoMEMta/MoMEMta.git","ssh_url":"git@github.com:MoMEMta/MoMEMta.git","clone_url":"https://github.com/MoMEMta/MoMEMta.git","svn_url":"https://github.com/MoMEMta/MoMEMta","homepage":"https://momemta.github.io/","size":18541,"stargazers_count":12,"watchers_count":12,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117"},"html":{"href":"https://github.com/MoMEMta/MoMEMta/pull/117"},"issue":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/117"},"comments":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/MoMEMta/MoMEMta/statuses/5f3cce972eabfc935ee9cc152d8c795f1404a571"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":650,"deletions":135,"changed_files":13}}
{"actor":{"display_login":"swertz"}}