{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/streadway/quantile/pulls/4","id":44848731,"html_url":"https://github.com/streadway/quantile/pull/4","diff_url":"https://github.com/streadway/quantile/pull/4.diff","patch_url":"https://github.com/streadway/quantile/pull/4.patch","issue_url":"https://api.github.com/repos/streadway/quantile/issues/4","number":4,"state":"closed","locked":false,"title":"Flush dirty buffer when querying an early stream","user":{"login":"tsenart","id":67471,"avatar_url":"https://avatars.githubusercontent.com/u/67471?v=3","gravatar_id":"","url":"https://api.github.com/users/tsenart","html_url":"https://github.com/tsenart","followers_url":"https://api.github.com/users/tsenart/followers","following_url":"https://api.github.com/users/tsenart/following{/other_user}","gists_url":"https://api.github.com/users/tsenart/gists{/gist_id}","starred_url":"https://api.github.com/users/tsenart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsenart/subscriptions","organizations_url":"https://api.github.com/users/tsenart/orgs","repos_url":"https://api.github.com/users/tsenart/repos","events_url":"https://api.github.com/users/tsenart/events{/privacy}","received_events_url":"https://api.github.com/users/tsenart/received_events","type":"User","site_admin":false},"body":"Querying an early stream before its buffer had been flushed was erroneously\r\nreturning 0.\r\n\r\nFixes #3","created_at":"2015-09-12T07:16:02Z","updated_at":"2015-09-17T10:39:42Z","closed_at":"2015-09-17T10:39:42Z","merged_at":"2015-09-17T10:39:42Z","merge_commit_sha":"0c7ba537115bf1c367ccd742de9ececde74b32ad","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/streadway/quantile/pulls/4/commits","review_comments_url":"https://api.github.com/repos/streadway/quantile/pulls/4/comments","review_comment_url":"https://api.github.com/repos/streadway/quantile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/streadway/quantile/issues/4/comments","statuses_url":"https://api.github.com/repos/streadway/quantile/statuses/80961456624dcc2b45564b7bdf053877514ffb28","head":{"label":"tsenart:dirty-buffer","ref":"dirty-buffer","sha":"80961456624dcc2b45564b7bdf053877514ffb28","user":{"login":"tsenart","id":67471,"avatar_url":"https://avatars.githubusercontent.com/u/67471?v=3","gravatar_id":"","url":"https://api.github.com/users/tsenart","html_url":"https://github.com/tsenart","followers_url":"https://api.github.com/users/tsenart/followers","following_url":"https://api.github.com/users/tsenart/following{/other_user}","gists_url":"https://api.github.com/users/tsenart/gists{/gist_id}","starred_url":"https://api.github.com/users/tsenart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsenart/subscriptions","organizations_url":"https://api.github.com/users/tsenart/orgs","repos_url":"https://api.github.com/users/tsenart/repos","events_url":"https://api.github.com/users/tsenart/events{/privacy}","received_events_url":"https://api.github.com/users/tsenart/received_events","type":"User","site_admin":false},"repo":{"id":42347418,"name":"quantile","full_name":"tsenart/quantile","owner":{"login":"tsenart","id":67471,"avatar_url":"https://avatars.githubusercontent.com/u/67471?v=3","gravatar_id":"","url":"https://api.github.com/users/tsenart","html_url":"https://github.com/tsenart","followers_url":"https://api.github.com/users/tsenart/followers","following_url":"https://api.github.com/users/tsenart/following{/other_user}","gists_url":"https://api.github.com/users/tsenart/gists{/gist_id}","starred_url":"https://api.github.com/users/tsenart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsenart/subscriptions","organizations_url":"https://api.github.com/users/tsenart/orgs","repos_url":"https://api.github.com/users/tsenart/repos","events_url":"https://api.github.com/users/tsenart/events{/privacy}","received_events_url":"https://api.github.com/users/tsenart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsenart/quantile","description":"Space efficient streaming quantile estimator","fork":true,"url":"https://api.github.com/repos/tsenart/quantile","forks_url":"https://api.github.com/repos/tsenart/quantile/forks","keys_url":"https://api.github.com/repos/tsenart/quantile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsenart/quantile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsenart/quantile/teams","hooks_url":"https://api.github.com/repos/tsenart/quantile/hooks","issue_events_url":"https://api.github.com/repos/tsenart/quantile/issues/events{/number}","events_url":"https://api.github.com/repos/tsenart/quantile/events","assignees_url":"https://api.github.com/repos/tsenart/quantile/assignees{/user}","branches_url":"https://api.github.com/repos/tsenart/quantile/branches{/branch}","tags_url":"https://api.github.com/repos/tsenart/quantile/tags","blobs_url":"https://api.github.com/repos/tsenart/quantile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsenart/quantile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsenart/quantile/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsenart/quantile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsenart/quantile/statuses/{sha}","languages_url":"https://api.github.com/repos/tsenart/quantile/languages","stargazers_url":"https://api.github.com/repos/tsenart/quantile/stargazers","contributors_url":"https://api.github.com/repos/tsenart/quantile/contributors","subscribers_url":"https://api.github.com/repos/tsenart/quantile/subscribers","subscription_url":"https://api.github.com/repos/tsenart/quantile/subscription","commits_url":"https://api.github.com/repos/tsenart/quantile/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsenart/quantile/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsenart/quantile/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsenart/quantile/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsenart/quantile/contents/{+path}","compare_url":"https://api.github.com/repos/tsenart/quantile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsenart/quantile/merges","archive_url":"https://api.github.com/repos/tsenart/quantile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsenart/quantile/downloads","issues_url":"https://api.github.com/repos/tsenart/quantile/issues{/number}","pulls_url":"https://api.github.com/repos/tsenart/quantile/pulls{/number}","milestones_url":"https://api.github.com/repos/tsenart/quantile/milestones{/number}","notifications_url":"https://api.github.com/repos/tsenart/quantile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsenart/quantile/labels{/name}","releases_url":"https://api.github.com/repos/tsenart/quantile/releases{/id}","created_at":"2015-09-12T06:31:49Z","updated_at":"2015-09-12T06:31:52Z","pushed_at":"2015-09-12T07:33:01Z","git_url":"git://github.com/tsenart/quantile.git","ssh_url":"git@github.com:tsenart/quantile.git","clone_url":"https://github.com/tsenart/quantile.git","svn_url":"https://github.com/tsenart/quantile","homepage":"http://godoc.org/github.com/streadway/quantile","size":98,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"streadway:master","ref":"master","sha":"e256e7e34c66d6eb927d7e92f2e6aa9eea93af47","user":{"login":"streadway","id":19727,"avatar_url":"https://avatars.githubusercontent.com/u/19727?v=3","gravatar_id":"","url":"https://api.github.com/users/streadway","html_url":"https://github.com/streadway","followers_url":"https://api.github.com/users/streadway/followers","following_url":"https://api.github.com/users/streadway/following{/other_user}","gists_url":"https://api.github.com/users/streadway/gists{/gist_id}","starred_url":"https://api.github.com/users/streadway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streadway/subscriptions","organizations_url":"https://api.github.com/users/streadway/orgs","repos_url":"https://api.github.com/users/streadway/repos","events_url":"https://api.github.com/users/streadway/events{/privacy}","received_events_url":"https://api.github.com/users/streadway/received_events","type":"User","site_admin":false},"repo":{"id":9809487,"name":"quantile","full_name":"streadway/quantile","owner":{"login":"streadway","id":19727,"avatar_url":"https://avatars.githubusercontent.com/u/19727?v=3","gravatar_id":"","url":"https://api.github.com/users/streadway","html_url":"https://github.com/streadway","followers_url":"https://api.github.com/users/streadway/followers","following_url":"https://api.github.com/users/streadway/following{/other_user}","gists_url":"https://api.github.com/users/streadway/gists{/gist_id}","starred_url":"https://api.github.com/users/streadway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streadway/subscriptions","organizations_url":"https://api.github.com/users/streadway/orgs","repos_url":"https://api.github.com/users/streadway/repos","events_url":"https://api.github.com/users/streadway/events{/privacy}","received_events_url":"https://api.github.com/users/streadway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/streadway/quantile","description":"Space efficient streaming quantile estimator","fork":false,"url":"https://api.github.com/repos/streadway/quantile","forks_url":"https://api.github.com/repos/streadway/quantile/forks","keys_url":"https://api.github.com/repos/streadway/quantile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/streadway/quantile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/streadway/quantile/teams","hooks_url":"https://api.github.com/repos/streadway/quantile/hooks","issue_events_url":"https://api.github.com/repos/streadway/quantile/issues/events{/number}","events_url":"https://api.github.com/repos/streadway/quantile/events","assignees_url":"https://api.github.com/repos/streadway/quantile/assignees{/user}","branches_url":"https://api.github.com/repos/streadway/quantile/branches{/branch}","tags_url":"https://api.github.com/repos/streadway/quantile/tags","blobs_url":"https://api.github.com/repos/streadway/quantile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/streadway/quantile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/streadway/quantile/git/refs{/sha}","trees_url":"https://api.github.com/repos/streadway/quantile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/streadway/quantile/statuses/{sha}","languages_url":"https://api.github.com/repos/streadway/quantile/languages","stargazers_url":"https://api.github.com/repos/streadway/quantile/stargazers","contributors_url":"https://api.github.com/repos/streadway/quantile/contributors","subscribers_url":"https://api.github.com/repos/streadway/quantile/subscribers","subscription_url":"https://api.github.com/repos/streadway/quantile/subscription","commits_url":"https://api.github.com/repos/streadway/quantile/commits{/sha}","git_commits_url":"https://api.github.com/repos/streadway/quantile/git/commits{/sha}","comments_url":"https://api.github.com/repos/streadway/quantile/comments{/number}","issue_comment_url":"https://api.github.com/repos/streadway/quantile/issues/comments{/number}","contents_url":"https://api.github.com/repos/streadway/quantile/contents/{+path}","compare_url":"https://api.github.com/repos/streadway/quantile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/streadway/quantile/merges","archive_url":"https://api.github.com/repos/streadway/quantile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/streadway/quantile/downloads","issues_url":"https://api.github.com/repos/streadway/quantile/issues{/number}","pulls_url":"https://api.github.com/repos/streadway/quantile/pulls{/number}","milestones_url":"https://api.github.com/repos/streadway/quantile/milestones{/number}","notifications_url":"https://api.github.com/repos/streadway/quantile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/streadway/quantile/labels{/name}","releases_url":"https://api.github.com/repos/streadway/quantile/releases{/id}","created_at":"2013-05-02T09:03:01Z","updated_at":"2015-09-12T20:41:03Z","pushed_at":"2015-09-17T10:39:42Z","git_url":"git://github.com/streadway/quantile.git","ssh_url":"git@github.com:streadway/quantile.git","clone_url":"https://github.com/streadway/quantile.git","svn_url":"https://github.com/streadway/quantile","homepage":"http://godoc.org/github.com/streadway/quantile","size":216,"stargazers_count":4,"watchers_count":4,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/streadway/quantile/pulls/4"},"html":{"href":"https://github.com/streadway/quantile/pull/4"},"issue":{"href":"https://api.github.com/repos/streadway/quantile/issues/4"},"comments":{"href":"https://api.github.com/repos/streadway/quantile/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/streadway/quantile/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/streadway/quantile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/streadway/quantile/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/streadway/quantile/statuses/80961456624dcc2b45564b7bdf053877514ffb28"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"streadway","id":19727,"avatar_url":"https://avatars.githubusercontent.com/u/19727?v=3","gravatar_id":"","url":"https://api.github.com/users/streadway","html_url":"https://github.com/streadway","followers_url":"https://api.github.com/users/streadway/followers","following_url":"https://api.github.com/users/streadway/following{/other_user}","gists_url":"https://api.github.com/users/streadway/gists{/gist_id}","starred_url":"https://api.github.com/users/streadway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/streadway/subscriptions","organizations_url":"https://api.github.com/users/streadway/orgs","repos_url":"https://api.github.com/users/streadway/repos","events_url":"https://api.github.com/users/streadway/events{/privacy}","received_events_url":"https://api.github.com/users/streadway/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":9,"deletions":1,"changed_files":2}}