{"action":"created","issue":{"url":"https://api.github.com/repos/gem/oq-risklib/issues/472","labels_url":"https://api.github.com/repos/gem/oq-risklib/issues/472/labels{/name}","comments_url":"https://api.github.com/repos/gem/oq-risklib/issues/472/comments","events_url":"https://api.github.com/repos/gem/oq-risklib/issues/472/events","html_url":"https://github.com/gem/oq-risklib/pull/472","id":113389396,"number":472,"title":"Add a check on the total losses for scenario_risk","user":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gem/oq-risklib/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gem/oq-risklib/milestones/1","html_url":"https://github.com/gem/oq-risklib/milestones/Engine%201.6.0","labels_url":"https://api.github.com/repos/gem/oq-risklib/milestones/1/labels","id":1303812,"number":1,"title":"Engine 1.6.0","description":"","creator":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":60,"state":"open","created_at":"2015-09-14T07:53:54Z","updated_at":"2015-10-27T14:16:03Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-10-26T16:05:03Z","updated_at":"2015-10-27T16:35:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gem/oq-risklib/pulls/472","html_url":"https://github.com/gem/oq-risklib/pull/472","diff_url":"https://github.com/gem/oq-risklib/pull/472.diff","patch_url":"https://github.com/gem/oq-risklib/pull/472.patch"},"body":"And used it to check the results of the ScenarioRisk demo, i.e. the sum of the average losses, see https://github.com/gem/oq-risklib/issues/440. The demo is green: https://ci.openquake.org/job/zdevel_oq-risklib/1147\r\n\r\nNB: while adding the test a bug in the case with two GSIMs was discovered and fixed."},"comment":{"url":"https://api.github.com/repos/gem/oq-risklib/issues/comments/151561498","html_url":"https://github.com/gem/oq-risklib/pull/472#issuecomment-151561498","issue_url":"https://api.github.com/repos/gem/oq-risklib/issues/472","id":151561498,"user":{"login":"nastasi-oq","id":1670278,"avatar_url":"https://avatars.githubusercontent.com/u/1670278?v=3","gravatar_id":"","url":"https://api.github.com/users/nastasi-oq","html_url":"https://github.com/nastasi-oq","followers_url":"https://api.github.com/users/nastasi-oq/followers","following_url":"https://api.github.com/users/nastasi-oq/following{/other_user}","gists_url":"https://api.github.com/users/nastasi-oq/gists{/gist_id}","starred_url":"https://api.github.com/users/nastasi-oq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nastasi-oq/subscriptions","organizations_url":"https://api.github.com/users/nastasi-oq/orgs","repos_url":"https://api.github.com/users/nastasi-oq/repos","events_url":"https://api.github.com/users/nastasi-oq/events{/privacy}","received_events_url":"https://api.github.com/users/nastasi-oq/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T16:35:54Z","updated_at":"2015-10-27T16:35:54Z","body":"After a new green run of tests LGTM."}}