{"action":"created","comment":{"url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/comments/224239691","pull_request_review_id":163558827,"id":224239691,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDIzOTY5MQ==","diff_hunk":"@@ -0,0 +1,47 @@\n+package edu.artic.search\n+\n+import android.graphics.Rect\n+import android.support.v7.widget.RecyclerView\n+import android.view.View\n+import com.fuzz.rx.DisposeBag\n+import com.fuzz.rx.disposedBy\n+\n+class CircularViewItemDecoration(private val currentPadding: Int,\n+                                 private val finalPadding: Int,\n+                                 private val disposeBag: DisposeBag) : RecyclerView.ItemDecoration() {\n+\n+    private var onTheMapPosition = 0\n+\n+    override fun getItemOffsets(outRect: Rect, view: View, parent: RecyclerView, state: RecyclerView.State) {","path":"search/src/main/java/edu/artic/search/CircularViewItemDecoration.kt","position":15,"original_position":15,"commit_id":"24ea2fc39c3fe066521b43fc75db3bbc2a6fd743","original_commit_id":"24ea2fc39c3fe066521b43fc75db3bbc2a6fd743","user":{"login":"codeclimate[bot]","id":36754821,"node_id":"MDM6Qm90MzY3NTQ4MjE=","avatar_url":"https://avatars0.githubusercontent.com/in/9403?v=4","gravatar_id":"","url":"https://api.github.com/users/codeclimate%5Bbot%5D","html_url":"https://github.com/apps/codeclimate","followers_url":"https://api.github.com/users/codeclimate%5Bbot%5D/followers","following_url":"https://api.github.com/users/codeclimate%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codeclimate%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codeclimate%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeclimate%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codeclimate%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codeclimate%5Bbot%5D/repos","events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codeclimate%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Method `getItemOffsets` has a Cognitive Complexity of 22 (exceeds 20 allowed). Consider refactoring.","created_at":"2018-10-10T20:59:34Z","updated_at":"2018-10-10T20:59:34Z","html_url":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242#discussion_r224239691","pull_request_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/comments/224239691"},"html":{"href":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242#discussion_r224239691"},"pull_request":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242"}}},"pull_request":{"url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242","id":221930999,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTMwOTk5","html_url":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242","diff_url":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242.diff","patch_url":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242.patch","issue_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/242","number":242,"state":"open","locked":false,"title":"Search default page design updates [AIC-512]","user":{"login":"caguilar187","id":865353,"node_id":"MDQ6VXNlcjg2NTM1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/865353?v=4","gravatar_id":"","url":"https://api.github.com/users/caguilar187","html_url":"https://github.com/caguilar187","followers_url":"https://api.github.com/users/caguilar187/followers","following_url":"https://api.github.com/users/caguilar187/following{/other_user}","gists_url":"https://api.github.com/users/caguilar187/gists{/gist_id}","starred_url":"https://api.github.com/users/caguilar187/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caguilar187/subscriptions","organizations_url":"https://api.github.com/users/caguilar187/orgs","repos_url":"https://api.github.com/users/caguilar187/repos","events_url":"https://api.github.com/users/caguilar187/events{/privacy}","received_events_url":"https://api.github.com/users/caguilar187/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-10T20:58:55Z","updated_at":"2018-10-10T20:59:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b740272f972c42af577f2a4c454e5d002dd0a83d","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Cliabhach","id":3299469,"node_id":"MDQ6VXNlcjMyOTk0Njk=","avatar_url":"https://avatars0.githubusercontent.com/u/3299469?v=4","gravatar_id":"","url":"https://api.github.com/users/Cliabhach","html_url":"https://github.com/Cliabhach","followers_url":"https://api.github.com/users/Cliabhach/followers","following_url":"https://api.github.com/users/Cliabhach/following{/other_user}","gists_url":"https://api.github.com/users/Cliabhach/gists{/gist_id}","starred_url":"https://api.github.com/users/Cliabhach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cliabhach/subscriptions","organizations_url":"https://api.github.com/users/Cliabhach/orgs","repos_url":"https://api.github.com/users/Cliabhach/repos","events_url":"https://api.github.com/users/Cliabhach/events{/privacy}","received_events_url":"https://api.github.com/users/Cliabhach/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242/commits","review_comments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242/comments","review_comment_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/242/comments","statuses_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/statuses/24ea2fc39c3fe066521b43fc75db3bbc2a6fd743","head":{"label":"art-institute-of-chicago:search_vqa","ref":"search_vqa","sha":"24ea2fc39c3fe066521b43fc75db3bbc2a6fd743","user":{"login":"art-institute-of-chicago","id":20950489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTUwNDg5","avatar_url":"https://avatars1.githubusercontent.com/u/20950489?v=4","gravatar_id":"","url":"https://api.github.com/users/art-institute-of-chicago","html_url":"https://github.com/art-institute-of-chicago","followers_url":"https://api.github.com/users/art-institute-of-chicago/followers","following_url":"https://api.github.com/users/art-institute-of-chicago/following{/other_user}","gists_url":"https://api.github.com/users/art-institute-of-chicago/gists{/gist_id}","starred_url":"https://api.github.com/users/art-institute-of-chicago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/art-institute-of-chicago/subscriptions","organizations_url":"https://api.github.com/users/art-institute-of-chicago/orgs","repos_url":"https://api.github.com/users/art-institute-of-chicago/repos","events_url":"https://api.github.com/users/art-institute-of-chicago/events{/privacy}","received_events_url":"https://api.github.com/users/art-institute-of-chicago/received_events","type":"Organization","site_admin":false},"repo":{"id":138611305,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2MTEzMDU=","name":"aic-mobile-android","full_name":"art-institute-of-chicago/aic-mobile-android","private":false,"owner":{"login":"art-institute-of-chicago","id":20950489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTUwNDg5","avatar_url":"https://avatars1.githubusercontent.com/u/20950489?v=4","gravatar_id":"","url":"https://api.github.com/users/art-institute-of-chicago","html_url":"https://github.com/art-institute-of-chicago","followers_url":"https://api.github.com/users/art-institute-of-chicago/followers","following_url":"https://api.github.com/users/art-institute-of-chicago/following{/other_user}","gists_url":"https://api.github.com/users/art-institute-of-chicago/gists{/gist_id}","starred_url":"https://api.github.com/users/art-institute-of-chicago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/art-institute-of-chicago/subscriptions","organizations_url":"https://api.github.com/users/art-institute-of-chicago/orgs","repos_url":"https://api.github.com/users/art-institute-of-chicago/repos","events_url":"https://api.github.com/users/art-institute-of-chicago/events{/privacy}","received_events_url":"https://api.github.com/users/art-institute-of-chicago/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/art-institute-of-chicago/aic-mobile-android","description":"Art Institute of Chicago Official Mobile App - Android","fork":false,"url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android","forks_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/forks","keys_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/teams","hooks_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/hooks","issue_events_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/events{/number}","events_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/events","assignees_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/assignees{/user}","branches_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/branches{/branch}","tags_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/tags","blobs_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/statuses/{sha}","languages_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/languages","stargazers_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/stargazers","contributors_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/contributors","subscribers_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/subscribers","subscription_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/subscription","commits_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/contents/{+path}","compare_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/merges","archive_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/downloads","issues_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues{/number}","pulls_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls{/number}","milestones_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/milestones{/number}","notifications_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/labels{/name}","releases_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/releases{/id}","deployments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/deployments","created_at":"2018-06-25T15:07:32Z","updated_at":"2018-10-10T20:38:25Z","pushed_at":"2018-10-10T20:58:56Z","git_url":"git://github.com/art-institute-of-chicago/aic-mobile-android.git","ssh_url":"git@github.com:art-institute-of-chicago/aic-mobile-android.git","clone_url":"https://github.com/art-institute-of-chicago/aic-mobile-android.git","svn_url":"https://github.com/art-institute-of-chicago/aic-mobile-android","homepage":null,"size":29234,"stargazers_count":12,"watchers_count":12,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":3,"open_issues":4,"watchers":12,"default_branch":"dev"}},"base":{"label":"art-institute-of-chicago:dev","ref":"dev","sha":"03b178771db213ca3de94450c5a66d0ceba359a9","user":{"login":"art-institute-of-chicago","id":20950489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTUwNDg5","avatar_url":"https://avatars1.githubusercontent.com/u/20950489?v=4","gravatar_id":"","url":"https://api.github.com/users/art-institute-of-chicago","html_url":"https://github.com/art-institute-of-chicago","followers_url":"https://api.github.com/users/art-institute-of-chicago/followers","following_url":"https://api.github.com/users/art-institute-of-chicago/following{/other_user}","gists_url":"https://api.github.com/users/art-institute-of-chicago/gists{/gist_id}","starred_url":"https://api.github.com/users/art-institute-of-chicago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/art-institute-of-chicago/subscriptions","organizations_url":"https://api.github.com/users/art-institute-of-chicago/orgs","repos_url":"https://api.github.com/users/art-institute-of-chicago/repos","events_url":"https://api.github.com/users/art-institute-of-chicago/events{/privacy}","received_events_url":"https://api.github.com/users/art-institute-of-chicago/received_events","type":"Organization","site_admin":false},"repo":{"id":138611305,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2MTEzMDU=","name":"aic-mobile-android","full_name":"art-institute-of-chicago/aic-mobile-android","private":false,"owner":{"login":"art-institute-of-chicago","id":20950489,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTUwNDg5","avatar_url":"https://avatars1.githubusercontent.com/u/20950489?v=4","gravatar_id":"","url":"https://api.github.com/users/art-institute-of-chicago","html_url":"https://github.com/art-institute-of-chicago","followers_url":"https://api.github.com/users/art-institute-of-chicago/followers","following_url":"https://api.github.com/users/art-institute-of-chicago/following{/other_user}","gists_url":"https://api.github.com/users/art-institute-of-chicago/gists{/gist_id}","starred_url":"https://api.github.com/users/art-institute-of-chicago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/art-institute-of-chicago/subscriptions","organizations_url":"https://api.github.com/users/art-institute-of-chicago/orgs","repos_url":"https://api.github.com/users/art-institute-of-chicago/repos","events_url":"https://api.github.com/users/art-institute-of-chicago/events{/privacy}","received_events_url":"https://api.github.com/users/art-institute-of-chicago/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/art-institute-of-chicago/aic-mobile-android","description":"Art Institute of Chicago Official Mobile App - Android","fork":false,"url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android","forks_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/forks","keys_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/teams","hooks_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/hooks","issue_events_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/events{/number}","events_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/events","assignees_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/assignees{/user}","branches_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/branches{/branch}","tags_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/tags","blobs_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/statuses/{sha}","languages_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/languages","stargazers_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/stargazers","contributors_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/contributors","subscribers_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/subscribers","subscription_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/subscription","commits_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/contents/{+path}","compare_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/merges","archive_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/downloads","issues_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues{/number}","pulls_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls{/number}","milestones_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/milestones{/number}","notifications_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/labels{/name}","releases_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/releases{/id}","deployments_url":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/deployments","created_at":"2018-06-25T15:07:32Z","updated_at":"2018-10-10T20:38:25Z","pushed_at":"2018-10-10T20:58:56Z","git_url":"git://github.com/art-institute-of-chicago/aic-mobile-android.git","ssh_url":"git@github.com:art-institute-of-chicago/aic-mobile-android.git","clone_url":"https://github.com/art-institute-of-chicago/aic-mobile-android.git","svn_url":"https://github.com/art-institute-of-chicago/aic-mobile-android","homepage":null,"size":29234,"stargazers_count":12,"watchers_count":12,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":3,"open_issues":4,"watchers":12,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242"},"html":{"href":"https://github.com/art-institute-of-chicago/aic-mobile-android/pull/242"},"issue":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/242"},"comments":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/art-institute-of-chicago/aic-mobile-android/statuses/24ea2fc39c3fe066521b43fc75db3bbc2a6fd743"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"codeclimate"}}