{"action":"closed","number":302,"pull_request":{"url":"https://api.github.com/repos/ubtue/ub_tools/pulls/302","id":60440131,"html_url":"https://github.com/ubtue/ub_tools/pull/302","diff_url":"https://github.com/ubtue/ub_tools/pull/302.diff","patch_url":"https://github.com/ubtue/ub_tools/pull/302.patch","issue_url":"https://api.github.com/repos/ubtue/ub_tools/issues/302","number":302,"state":"closed","locked":false,"title":"Fixing bible range bug.","user":{"login":"oobenland","id":1352796,"avatar_url":"https://avatars.githubusercontent.com/u/1352796?v=3","gravatar_id":"","url":"https://api.github.com/users/oobenland","html_url":"https://github.com/oobenland","followers_url":"https://api.github.com/users/oobenland/followers","following_url":"https://api.github.com/users/oobenland/following{/other_user}","gists_url":"https://api.github.com/users/oobenland/gists{/gist_id}","starred_url":"https://api.github.com/users/oobenland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oobenland/subscriptions","organizations_url":"https://api.github.com/users/oobenland/orgs","repos_url":"https://api.github.com/users/oobenland/repos","events_url":"https://api.github.com/users/oobenland/events{/privacy}","received_events_url":"https://api.github.com/users/oobenland/received_events","type":"User","site_admin":false},"body":"The algorithm is:\r\n( Min(a.upper, b.upper) - Max(a.lower, b.lower)  ) / ( Max(a.upper, b.upper) - Min(a.lower, b.lower) )\r\nLet's say the range [lower, upper] a = [2, 2] and b = [1, 5].\r\n=> ( Min(2, 5) - Max(2, 1)  ) / ( Max(2, 5) - Min(2, 1) )\r\n=> ( 2 - 2  ) / ( 5 - 1)\r\n=> 0\r\nSo a bible range should have a thickness.","created_at":"2016-02-24T01:12:39Z","updated_at":"2016-02-24T07:56:53Z","closed_at":"2016-02-24T07:56:53Z","merged_at":"2016-02-24T07:56:53Z","merge_commit_sha":"4b55d5e9a55f7f4980ed7e780bb6e342105bdaaa","assignee":{"login":"ruschein","id":991243,"avatar_url":"https://avatars.githubusercontent.com/u/991243?v=3","gravatar_id":"","url":"https://api.github.com/users/ruschein","html_url":"https://github.com/ruschein","followers_url":"https://api.github.com/users/ruschein/followers","following_url":"https://api.github.com/users/ruschein/following{/other_user}","gists_url":"https://api.github.com/users/ruschein/gists{/gist_id}","starred_url":"https://api.github.com/users/ruschein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruschein/subscriptions","organizations_url":"https://api.github.com/users/ruschein/orgs","repos_url":"https://api.github.com/users/ruschein/repos","events_url":"https://api.github.com/users/ruschein/events{/privacy}","received_events_url":"https://api.github.com/users/ruschein/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ubtue/ub_tools/pulls/302/commits","review_comments_url":"https://api.github.com/repos/ubtue/ub_tools/pulls/302/comments","review_comment_url":"https://api.github.com/repos/ubtue/ub_tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ubtue/ub_tools/issues/302/comments","statuses_url":"https://api.github.com/repos/ubtue/ub_tools/statuses/abcae2d7c77aa1d687b53b7a4e7309fa7db19048","head":{"label":"ubtue:obenland","ref":"obenland","sha":"abcae2d7c77aa1d687b53b7a4e7309fa7db19048","user":{"login":"ubtue","id":12495698,"avatar_url":"https://avatars.githubusercontent.com/u/12495698?v=3","gravatar_id":"","url":"https://api.github.com/users/ubtue","html_url":"https://github.com/ubtue","followers_url":"https://api.github.com/users/ubtue/followers","following_url":"https://api.github.com/users/ubtue/following{/other_user}","gists_url":"https://api.github.com/users/ubtue/gists{/gist_id}","starred_url":"https://api.github.com/users/ubtue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubtue/subscriptions","organizations_url":"https://api.github.com/users/ubtue/orgs","repos_url":"https://api.github.com/users/ubtue/repos","events_url":"https://api.github.com/users/ubtue/events{/privacy}","received_events_url":"https://api.github.com/users/ubtue/received_events","type":"Organization","site_admin":false},"repo":{"id":35827831,"name":"ub_tools","full_name":"ubtue/ub_tools","owner":{"login":"ubtue","id":12495698,"avatar_url":"https://avatars.githubusercontent.com/u/12495698?v=3","gravatar_id":"","url":"https://api.github.com/users/ubtue","html_url":"https://github.com/ubtue","followers_url":"https://api.github.com/users/ubtue/followers","following_url":"https://api.github.com/users/ubtue/following{/other_user}","gists_url":"https://api.github.com/users/ubtue/gists{/gist_id}","starred_url":"https://api.github.com/users/ubtue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubtue/subscriptions","organizations_url":"https://api.github.com/users/ubtue/orgs","repos_url":"https://api.github.com/users/ubtue/repos","events_url":"https://api.github.com/users/ubtue/events{/privacy}","received_events_url":"https://api.github.com/users/ubtue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubtue/ub_tools","description":"Various C++ utility programs typically relating to MARC 21 manipulation.","fork":false,"url":"https://api.github.com/repos/ubtue/ub_tools","forks_url":"https://api.github.com/repos/ubtue/ub_tools/forks","keys_url":"https://api.github.com/repos/ubtue/ub_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubtue/ub_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubtue/ub_tools/teams","hooks_url":"https://api.github.com/repos/ubtue/ub_tools/hooks","issue_events_url":"https://api.github.com/repos/ubtue/ub_tools/issues/events{/number}","events_url":"https://api.github.com/repos/ubtue/ub_tools/events","assignees_url":"https://api.github.com/repos/ubtue/ub_tools/assignees{/user}","branches_url":"https://api.github.com/repos/ubtue/ub_tools/branches{/branch}","tags_url":"https://api.github.com/repos/ubtue/ub_tools/tags","blobs_url":"https://api.github.com/repos/ubtue/ub_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubtue/ub_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubtue/ub_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubtue/ub_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubtue/ub_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ubtue/ub_tools/languages","stargazers_url":"https://api.github.com/repos/ubtue/ub_tools/stargazers","contributors_url":"https://api.github.com/repos/ubtue/ub_tools/contributors","subscribers_url":"https://api.github.com/repos/ubtue/ub_tools/subscribers","subscription_url":"https://api.github.com/repos/ubtue/ub_tools/subscription","commits_url":"https://api.github.com/repos/ubtue/ub_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubtue/ub_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubtue/ub_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubtue/ub_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubtue/ub_tools/contents/{+path}","compare_url":"https://api.github.com/repos/ubtue/ub_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubtue/ub_tools/merges","archive_url":"https://api.github.com/repos/ubtue/ub_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubtue/ub_tools/downloads","issues_url":"https://api.github.com/repos/ubtue/ub_tools/issues{/number}","pulls_url":"https://api.github.com/repos/ubtue/ub_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ubtue/ub_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ubtue/ub_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubtue/ub_tools/labels{/name}","releases_url":"https://api.github.com/repos/ubtue/ub_tools/releases{/id}","deployments_url":"https://api.github.com/repos/ubtue/ub_tools/deployments","created_at":"2015-05-18T16:02:47Z","updated_at":"2016-01-11T08:51:29Z","pushed_at":"2016-02-24T07:56:54Z","git_url":"git://github.com/ubtue/ub_tools.git","ssh_url":"git@github.com:ubtue/ub_tools.git","clone_url":"https://github.com/ubtue/ub_tools.git","svn_url":"https://github.com/ubtue/ub_tools","homepage":null,"size":14732,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"ubtue:master","ref":"master","sha":"9522cb5dafc468a9271a8b973147c30235ed58e2","user":{"login":"ubtue","id":12495698,"avatar_url":"https://avatars.githubusercontent.com/u/12495698?v=3","gravatar_id":"","url":"https://api.github.com/users/ubtue","html_url":"https://github.com/ubtue","followers_url":"https://api.github.com/users/ubtue/followers","following_url":"https://api.github.com/users/ubtue/following{/other_user}","gists_url":"https://api.github.com/users/ubtue/gists{/gist_id}","starred_url":"https://api.github.com/users/ubtue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubtue/subscriptions","organizations_url":"https://api.github.com/users/ubtue/orgs","repos_url":"https://api.github.com/users/ubtue/repos","events_url":"https://api.github.com/users/ubtue/events{/privacy}","received_events_url":"https://api.github.com/users/ubtue/received_events","type":"Organization","site_admin":false},"repo":{"id":35827831,"name":"ub_tools","full_name":"ubtue/ub_tools","owner":{"login":"ubtue","id":12495698,"avatar_url":"https://avatars.githubusercontent.com/u/12495698?v=3","gravatar_id":"","url":"https://api.github.com/users/ubtue","html_url":"https://github.com/ubtue","followers_url":"https://api.github.com/users/ubtue/followers","following_url":"https://api.github.com/users/ubtue/following{/other_user}","gists_url":"https://api.github.com/users/ubtue/gists{/gist_id}","starred_url":"https://api.github.com/users/ubtue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ubtue/subscriptions","organizations_url":"https://api.github.com/users/ubtue/orgs","repos_url":"https://api.github.com/users/ubtue/repos","events_url":"https://api.github.com/users/ubtue/events{/privacy}","received_events_url":"https://api.github.com/users/ubtue/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ubtue/ub_tools","description":"Various C++ utility programs typically relating to MARC 21 manipulation.","fork":false,"url":"https://api.github.com/repos/ubtue/ub_tools","forks_url":"https://api.github.com/repos/ubtue/ub_tools/forks","keys_url":"https://api.github.com/repos/ubtue/ub_tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ubtue/ub_tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ubtue/ub_tools/teams","hooks_url":"https://api.github.com/repos/ubtue/ub_tools/hooks","issue_events_url":"https://api.github.com/repos/ubtue/ub_tools/issues/events{/number}","events_url":"https://api.github.com/repos/ubtue/ub_tools/events","assignees_url":"https://api.github.com/repos/ubtue/ub_tools/assignees{/user}","branches_url":"https://api.github.com/repos/ubtue/ub_tools/branches{/branch}","tags_url":"https://api.github.com/repos/ubtue/ub_tools/tags","blobs_url":"https://api.github.com/repos/ubtue/ub_tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ubtue/ub_tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ubtue/ub_tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/ubtue/ub_tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ubtue/ub_tools/statuses/{sha}","languages_url":"https://api.github.com/repos/ubtue/ub_tools/languages","stargazers_url":"https://api.github.com/repos/ubtue/ub_tools/stargazers","contributors_url":"https://api.github.com/repos/ubtue/ub_tools/contributors","subscribers_url":"https://api.github.com/repos/ubtue/ub_tools/subscribers","subscription_url":"https://api.github.com/repos/ubtue/ub_tools/subscription","commits_url":"https://api.github.com/repos/ubtue/ub_tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/ubtue/ub_tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/ubtue/ub_tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/ubtue/ub_tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/ubtue/ub_tools/contents/{+path}","compare_url":"https://api.github.com/repos/ubtue/ub_tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ubtue/ub_tools/merges","archive_url":"https://api.github.com/repos/ubtue/ub_tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ubtue/ub_tools/downloads","issues_url":"https://api.github.com/repos/ubtue/ub_tools/issues{/number}","pulls_url":"https://api.github.com/repos/ubtue/ub_tools/pulls{/number}","milestones_url":"https://api.github.com/repos/ubtue/ub_tools/milestones{/number}","notifications_url":"https://api.github.com/repos/ubtue/ub_tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ubtue/ub_tools/labels{/name}","releases_url":"https://api.github.com/repos/ubtue/ub_tools/releases{/id}","deployments_url":"https://api.github.com/repos/ubtue/ub_tools/deployments","created_at":"2015-05-18T16:02:47Z","updated_at":"2016-01-11T08:51:29Z","pushed_at":"2016-02-24T07:56:54Z","git_url":"git://github.com/ubtue/ub_tools.git","ssh_url":"git@github.com:ubtue/ub_tools.git","clone_url":"https://github.com/ubtue/ub_tools.git","svn_url":"https://github.com/ubtue/ub_tools","homepage":null,"size":14732,"stargazers_count":2,"watchers_count":2,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ubtue/ub_tools/pulls/302"},"html":{"href":"https://github.com/ubtue/ub_tools/pull/302"},"issue":{"href":"https://api.github.com/repos/ubtue/ub_tools/issues/302"},"comments":{"href":"https://api.github.com/repos/ubtue/ub_tools/issues/302/comments"},"review_comments":{"href":"https://api.github.com/repos/ubtue/ub_tools/pulls/302/comments"},"review_comment":{"href":"https://api.github.com/repos/ubtue/ub_tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ubtue/ub_tools/pulls/302/commits"},"statuses":{"href":"https://api.github.com/repos/ubtue/ub_tools/statuses/abcae2d7c77aa1d687b53b7a4e7309fa7db19048"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ruschein","id":991243,"avatar_url":"https://avatars.githubusercontent.com/u/991243?v=3","gravatar_id":"","url":"https://api.github.com/users/ruschein","html_url":"https://github.com/ruschein","followers_url":"https://api.github.com/users/ruschein/followers","following_url":"https://api.github.com/users/ruschein/following{/other_user}","gists_url":"https://api.github.com/users/ruschein/gists{/gist_id}","starred_url":"https://api.github.com/users/ruschein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruschein/subscriptions","organizations_url":"https://api.github.com/users/ruschein/orgs","repos_url":"https://api.github.com/users/ruschein/repos","events_url":"https://api.github.com/users/ruschein/events{/privacy}","received_events_url":"https://api.github.com/users/ruschein/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":24,"deletions":2,"changed_files":2}}