{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments/58013201","id":58013201,"diff_hunk":"@@ -15,7 +15,7 @@ module.exports = (event) => {\n \t\tmetrics.count('pipeline.transforms.time.count', 1);\n \n \t\t// the actual time of the event\n-\t\tconst offset = event.pluck('time.offset') || 0;\n+\t\tconst offset = event.pluck('time.offset')>0? event.pluck('time.offset'): 0;","path":"server/transforms/time.js","position":5,"original_position":5,"commit_id":"ad3b4269f5552945c0cf892af436bb1c2b8eb716","original_commit_id":"ad3b4269f5552945c0cf892af436bb1c2b8eb716","user":{"login":"commuterjoy","id":84996,"avatar_url":"https://avatars.githubusercontent.com/u/84996?v=3","gravatar_id":"","url":"https://api.github.com/users/commuterjoy","html_url":"https://github.com/commuterjoy","followers_url":"https://api.github.com/users/commuterjoy/followers","following_url":"https://api.github.com/users/commuterjoy/following{/other_user}","gists_url":"https://api.github.com/users/commuterjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/commuterjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commuterjoy/subscriptions","organizations_url":"https://api.github.com/users/commuterjoy/orgs","repos_url":"https://api.github.com/users/commuterjoy/repos","events_url":"https://api.github.com/users/commuterjoy/events{/privacy}","received_events_url":"https://api.github.com/users/commuterjoy/received_events","type":"User","site_admin":false},"body":"@akilananb can you please fix your editors space settings? Having all characters joined together makes the code hard to read?","created_at":"2016-03-31T07:54:25Z","updated_at":"2016-03-31T07:54:25Z","html_url":"https://github.com/Financial-Times/spoor-enrichment/pull/284#discussion_r58013201","pull_request_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments/58013201"},"html":{"href":"https://github.com/Financial-Times/spoor-enrichment/pull/284#discussion_r58013201"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284","id":64748193,"html_url":"https://github.com/Financial-Times/spoor-enrichment/pull/284","diff_url":"https://github.com/Financial-Times/spoor-enrichment/pull/284.diff","patch_url":"https://github.com/Financial-Times/spoor-enrichment/pull/284.patch","issue_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/284","number":284,"state":"open","locked":false,"title":"Adding fastft as counted content and negative offset time","user":{"login":"akilananb","id":15230121,"avatar_url":"https://avatars.githubusercontent.com/u/15230121?v=3","gravatar_id":"","url":"https://api.github.com/users/akilananb","html_url":"https://github.com/akilananb","followers_url":"https://api.github.com/users/akilananb/followers","following_url":"https://api.github.com/users/akilananb/following{/other_user}","gists_url":"https://api.github.com/users/akilananb/gists{/gist_id}","starred_url":"https://api.github.com/users/akilananb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akilananb/subscriptions","organizations_url":"https://api.github.com/users/akilananb/orgs","repos_url":"https://api.github.com/users/akilananb/repos","events_url":"https://api.github.com/users/akilananb/events{/privacy}","received_events_url":"https://api.github.com/users/akilananb/received_events","type":"User","site_admin":false},"body":"Added fastft as counted content\r\nNegative Offset should be zero","created_at":"2016-03-31T07:51:19Z","updated_at":"2016-03-31T07:54:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89c2b7d01e7f0356e6c748f9f6ee93abdb490c82","assignee":{"login":"commuterjoy","id":84996,"avatar_url":"https://avatars.githubusercontent.com/u/84996?v=3","gravatar_id":"","url":"https://api.github.com/users/commuterjoy","html_url":"https://github.com/commuterjoy","followers_url":"https://api.github.com/users/commuterjoy/followers","following_url":"https://api.github.com/users/commuterjoy/following{/other_user}","gists_url":"https://api.github.com/users/commuterjoy/gists{/gist_id}","starred_url":"https://api.github.com/users/commuterjoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commuterjoy/subscriptions","organizations_url":"https://api.github.com/users/commuterjoy/orgs","repos_url":"https://api.github.com/users/commuterjoy/repos","events_url":"https://api.github.com/users/commuterjoy/events{/privacy}","received_events_url":"https://api.github.com/users/commuterjoy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/284/comments","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/ad3b4269f5552945c0cf892af436bb1c2b8eb716","head":{"label":"Financial-Times:counted-fastft","ref":"counted-fastft","sha":"ad3b4269f5552945c0cf892af436bb1c2b8eb716","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35812583,"name":"spoor-enrichment","full_name":"Financial-Times/spoor-enrichment","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-enrichment","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment","forks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/deployments","created_at":"2015-05-18T10:53:20Z","updated_at":"2016-03-14T10:40:39Z","pushed_at":"2016-03-31T07:51:19Z","git_url":"git://github.com/Financial-Times/spoor-enrichment.git","ssh_url":"git@github.com:Financial-Times/spoor-enrichment.git","clone_url":"https://github.com/Financial-Times/spoor-enrichment.git","svn_url":"https://github.com/Financial-Times/spoor-enrichment","homepage":null,"size":1826,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":50,"forks":3,"open_issues":50,"watchers":2,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"812ac99755d56d1d9af0d11090f1640f49784894","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35812583,"name":"spoor-enrichment","full_name":"Financial-Times/spoor-enrichment","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-enrichment","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment","forks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/deployments","created_at":"2015-05-18T10:53:20Z","updated_at":"2016-03-14T10:40:39Z","pushed_at":"2016-03-31T07:51:19Z","git_url":"git://github.com/Financial-Times/spoor-enrichment.git","ssh_url":"git@github.com:Financial-Times/spoor-enrichment.git","clone_url":"https://github.com/Financial-Times/spoor-enrichment.git","svn_url":"https://github.com/Financial-Times/spoor-enrichment","homepage":null,"size":1826,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":50,"forks":3,"open_issues":50,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284"},"html":{"href":"https://github.com/Financial-Times/spoor-enrichment/pull/284"},"issue":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/284"},"comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/284/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/284/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/ad3b4269f5552945c0cf892af436bb1c2b8eb716"}}}}