{"action":"created","comment":{"url":"https://api.github.com/repos/linkedin/pinot/pulls/comments/70842961","id":70842961,"diff_hunk":"@@ -36,4 +29,8 @@ protected Properties getProperties() throws IOException {\n     }\n     return props;\n   }\n+\n+  protected double calculateChange(double currentValue, double baselineValue) {","path":"thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/detector/function/BaseAnomalyFunction.java","position":25,"original_position":25,"commit_id":"3ab2ccf8c2e2ee990a13e27a5fb5c486e1814891","original_commit_id":"3ab2ccf8c2e2ee990a13e27a5fb5c486e1814891","user":{"login":"jiateoh","id":19693997,"avatar_url":"https://avatars.githubusercontent.com/u/19693997?v=3","gravatar_id":"","url":"https://api.github.com/users/jiateoh","html_url":"https://github.com/jiateoh","followers_url":"https://api.github.com/users/jiateoh/followers","following_url":"https://api.github.com/users/jiateoh/following{/other_user}","gists_url":"https://api.github.com/users/jiateoh/gists{/gist_id}","starred_url":"https://api.github.com/users/jiateoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiateoh/subscriptions","organizations_url":"https://api.github.com/users/jiateoh/orgs","repos_url":"https://api.github.com/users/jiateoh/repos","events_url":"https://api.github.com/users/jiateoh/events{/privacy}","received_events_url":"https://api.github.com/users/jiateoh/received_events","type":"User","site_admin":false},"body":"Add brief javadoc explaining what 'change' means in this context","created_at":"2016-07-14T17:01:55Z","updated_at":"2016-07-14T17:01:55Z","html_url":"https://github.com/linkedin/pinot/pull/278#discussion_r70842961","pull_request_url":"https://api.github.com/repos/linkedin/pinot/pulls/278","_links":{"self":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/comments/70842961"},"html":{"href":"https://github.com/linkedin/pinot/pull/278#discussion_r70842961"},"pull_request":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/278"}}},"pull_request":{"url":"https://api.github.com/repos/linkedin/pinot/pulls/278","id":77482797,"html_url":"https://github.com/linkedin/pinot/pull/278","diff_url":"https://github.com/linkedin/pinot/pull/278.diff","patch_url":"https://github.com/linkedin/pinot/pull/278.patch","issue_url":"https://api.github.com/repos/linkedin/pinot/issues/278","number":278,"state":"open","locked":false,"title":"adding new anomaly function - MinMaxThreshold","user":{"login":"puneetjaiswal","id":1412516,"avatar_url":"https://avatars.githubusercontent.com/u/1412516?v=3","gravatar_id":"","url":"https://api.github.com/users/puneetjaiswal","html_url":"https://github.com/puneetjaiswal","followers_url":"https://api.github.com/users/puneetjaiswal/followers","following_url":"https://api.github.com/users/puneetjaiswal/following{/other_user}","gists_url":"https://api.github.com/users/puneetjaiswal/gists{/gist_id}","starred_url":"https://api.github.com/users/puneetjaiswal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puneetjaiswal/subscriptions","organizations_url":"https://api.github.com/users/puneetjaiswal/orgs","repos_url":"https://api.github.com/users/puneetjaiswal/repos","events_url":"https://api.github.com/users/puneetjaiswal/events{/privacy}","received_events_url":"https://api.github.com/users/puneetjaiswal/received_events","type":"User","site_admin":false},"body":"Added new Anomaly Function MinMaxThreshold\r\nAdded custom metric function (SUM/AVG/COUNT) into AnomalyFunctionSpec\r\nAdded feedback support in AnomalyResult object","created_at":"2016-07-14T16:09:46Z","updated_at":"2016-07-14T17:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"331aa586d2a0b85ed56c2d0c227dc545add825fd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/linkedin/pinot/pulls/278/commits","review_comments_url":"https://api.github.com/repos/linkedin/pinot/pulls/278/comments","review_comment_url":"https://api.github.com/repos/linkedin/pinot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/linkedin/pinot/issues/278/comments","statuses_url":"https://api.github.com/repos/linkedin/pinot/statuses/3ab2ccf8c2e2ee990a13e27a5fb5c486e1814891","head":{"label":"linkedin:AnomalyFunctions","ref":"AnomalyFunctions","sha":"3ab2ccf8c2e2ee990a13e27a5fb5c486e1814891","user":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"repo":{"id":19961085,"name":"pinot","full_name":"linkedin/pinot","owner":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linkedin/pinot","description":"A realtime distributed OLAP datastore","fork":false,"url":"https://api.github.com/repos/linkedin/pinot","forks_url":"https://api.github.com/repos/linkedin/pinot/forks","keys_url":"https://api.github.com/repos/linkedin/pinot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkedin/pinot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkedin/pinot/teams","hooks_url":"https://api.github.com/repos/linkedin/pinot/hooks","issue_events_url":"https://api.github.com/repos/linkedin/pinot/issues/events{/number}","events_url":"https://api.github.com/repos/linkedin/pinot/events","assignees_url":"https://api.github.com/repos/linkedin/pinot/assignees{/user}","branches_url":"https://api.github.com/repos/linkedin/pinot/branches{/branch}","tags_url":"https://api.github.com/repos/linkedin/pinot/tags","blobs_url":"https://api.github.com/repos/linkedin/pinot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkedin/pinot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkedin/pinot/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkedin/pinot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkedin/pinot/statuses/{sha}","languages_url":"https://api.github.com/repos/linkedin/pinot/languages","stargazers_url":"https://api.github.com/repos/linkedin/pinot/stargazers","contributors_url":"https://api.github.com/repos/linkedin/pinot/contributors","subscribers_url":"https://api.github.com/repos/linkedin/pinot/subscribers","subscription_url":"https://api.github.com/repos/linkedin/pinot/subscription","commits_url":"https://api.github.com/repos/linkedin/pinot/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkedin/pinot/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkedin/pinot/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkedin/pinot/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkedin/pinot/contents/{+path}","compare_url":"https://api.github.com/repos/linkedin/pinot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkedin/pinot/merges","archive_url":"https://api.github.com/repos/linkedin/pinot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkedin/pinot/downloads","issues_url":"https://api.github.com/repos/linkedin/pinot/issues{/number}","pulls_url":"https://api.github.com/repos/linkedin/pinot/pulls{/number}","milestones_url":"https://api.github.com/repos/linkedin/pinot/milestones{/number}","notifications_url":"https://api.github.com/repos/linkedin/pinot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkedin/pinot/labels{/name}","releases_url":"https://api.github.com/repos/linkedin/pinot/releases{/id}","deployments_url":"https://api.github.com/repos/linkedin/pinot/deployments","created_at":"2014-05-19T23:27:48Z","updated_at":"2016-07-14T08:32:11Z","pushed_at":"2016-07-14T16:09:46Z","git_url":"git://github.com/linkedin/pinot.git","ssh_url":"git@github.com:linkedin/pinot.git","clone_url":"https://github.com/linkedin/pinot.git","svn_url":"https://github.com/linkedin/pinot","homepage":"https://github.com/linkedin/pinot/wiki","size":131483,"stargazers_count":1299,"watchers_count":1299,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"open_issues_count":69,"forks":208,"open_issues":69,"watchers":1299,"default_branch":"master"}},"base":{"label":"linkedin:master","ref":"master","sha":"851c00d7f2058e1cae8621127d0295e5169f5d6c","user":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"repo":{"id":19961085,"name":"pinot","full_name":"linkedin/pinot","owner":{"login":"linkedin","id":357098,"avatar_url":"https://avatars.githubusercontent.com/u/357098?v=3","gravatar_id":"","url":"https://api.github.com/users/linkedin","html_url":"https://github.com/linkedin","followers_url":"https://api.github.com/users/linkedin/followers","following_url":"https://api.github.com/users/linkedin/following{/other_user}","gists_url":"https://api.github.com/users/linkedin/gists{/gist_id}","starred_url":"https://api.github.com/users/linkedin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linkedin/subscriptions","organizations_url":"https://api.github.com/users/linkedin/orgs","repos_url":"https://api.github.com/users/linkedin/repos","events_url":"https://api.github.com/users/linkedin/events{/privacy}","received_events_url":"https://api.github.com/users/linkedin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/linkedin/pinot","description":"A realtime distributed OLAP datastore","fork":false,"url":"https://api.github.com/repos/linkedin/pinot","forks_url":"https://api.github.com/repos/linkedin/pinot/forks","keys_url":"https://api.github.com/repos/linkedin/pinot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linkedin/pinot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linkedin/pinot/teams","hooks_url":"https://api.github.com/repos/linkedin/pinot/hooks","issue_events_url":"https://api.github.com/repos/linkedin/pinot/issues/events{/number}","events_url":"https://api.github.com/repos/linkedin/pinot/events","assignees_url":"https://api.github.com/repos/linkedin/pinot/assignees{/user}","branches_url":"https://api.github.com/repos/linkedin/pinot/branches{/branch}","tags_url":"https://api.github.com/repos/linkedin/pinot/tags","blobs_url":"https://api.github.com/repos/linkedin/pinot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linkedin/pinot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linkedin/pinot/git/refs{/sha}","trees_url":"https://api.github.com/repos/linkedin/pinot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linkedin/pinot/statuses/{sha}","languages_url":"https://api.github.com/repos/linkedin/pinot/languages","stargazers_url":"https://api.github.com/repos/linkedin/pinot/stargazers","contributors_url":"https://api.github.com/repos/linkedin/pinot/contributors","subscribers_url":"https://api.github.com/repos/linkedin/pinot/subscribers","subscription_url":"https://api.github.com/repos/linkedin/pinot/subscription","commits_url":"https://api.github.com/repos/linkedin/pinot/commits{/sha}","git_commits_url":"https://api.github.com/repos/linkedin/pinot/git/commits{/sha}","comments_url":"https://api.github.com/repos/linkedin/pinot/comments{/number}","issue_comment_url":"https://api.github.com/repos/linkedin/pinot/issues/comments{/number}","contents_url":"https://api.github.com/repos/linkedin/pinot/contents/{+path}","compare_url":"https://api.github.com/repos/linkedin/pinot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linkedin/pinot/merges","archive_url":"https://api.github.com/repos/linkedin/pinot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linkedin/pinot/downloads","issues_url":"https://api.github.com/repos/linkedin/pinot/issues{/number}","pulls_url":"https://api.github.com/repos/linkedin/pinot/pulls{/number}","milestones_url":"https://api.github.com/repos/linkedin/pinot/milestones{/number}","notifications_url":"https://api.github.com/repos/linkedin/pinot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linkedin/pinot/labels{/name}","releases_url":"https://api.github.com/repos/linkedin/pinot/releases{/id}","deployments_url":"https://api.github.com/repos/linkedin/pinot/deployments","created_at":"2014-05-19T23:27:48Z","updated_at":"2016-07-14T08:32:11Z","pushed_at":"2016-07-14T16:09:46Z","git_url":"git://github.com/linkedin/pinot.git","ssh_url":"git@github.com:linkedin/pinot.git","clone_url":"https://github.com/linkedin/pinot.git","svn_url":"https://github.com/linkedin/pinot","homepage":"https://github.com/linkedin/pinot/wiki","size":131483,"stargazers_count":1299,"watchers_count":1299,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":208,"mirror_url":null,"open_issues_count":69,"forks":208,"open_issues":69,"watchers":1299,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/278"},"html":{"href":"https://github.com/linkedin/pinot/pull/278"},"issue":{"href":"https://api.github.com/repos/linkedin/pinot/issues/278"},"comments":{"href":"https://api.github.com/repos/linkedin/pinot/issues/278/comments"},"review_comments":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/278/comments"},"review_comment":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/linkedin/pinot/pulls/278/commits"},"statuses":{"href":"https://api.github.com/repos/linkedin/pinot/statuses/3ab2ccf8c2e2ee990a13e27a5fb5c486e1814891"}}}}
{"actor":{"display_login":"jiateoh"}}