{"action":"created","comment":{"url":"https://api.github.com/repos/18F/college-choice/pulls/comments/51187116","id":51187116,"diff_hunk":"@@ -0,0 +1,42 @@\n+var picc = require('../../js/src/picc');\n+var assert = require('assert');\n+\n+describe('picc.access', function() {\n+\n+  describe('picc.access.retentionRate()', function() {\n+\n+    it('uses the four_year.full_time retention rate if it exists', function() {\n+      var value = picc.access.retentionRate({\n+        2013: {\n+          student: {\n+            retention_rate: {\n+              four_year: {\n+                full_time: 1.0\n+              }\n+            }\n+          }\n+        }\n+      });\n+      assert.equal(value, 1.0);\n+    });\n+\n+    it('uses the lt_four_year.full_time retention rate if 4-year doesn\\'t exist', function() {\n+      var value = picc.access.retentionRate({\n+        2013: {\n+          student: {\n+            retention_rate: {","path":"test/unit/access.js","position":27,"original_position":27,"commit_id":"53a5755d4a245875e97f18469787187a2cff2329","original_commit_id":"53a5755d4a245875e97f18469787187a2cff2329","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Identifier 'retention_rate' is not in camel case.","created_at":"2016-01-28T21:04:13Z","updated_at":"2016-01-28T21:04:13Z","html_url":"https://github.com/18F/college-choice/pull/1453#discussion_r51187116","pull_request_url":"https://api.github.com/repos/18F/college-choice/pulls/1453","_links":{"self":{"href":"https://api.github.com/repos/18F/college-choice/pulls/comments/51187116"},"html":{"href":"https://github.com/18F/college-choice/pull/1453#discussion_r51187116"},"pull_request":{"href":"https://api.github.com/repos/18F/college-choice/pulls/1453"}}},"pull_request":{"url":"https://api.github.com/repos/18F/college-choice/pulls/1453","id":57565400,"html_url":"https://github.com/18F/college-choice/pull/1453","diff_url":"https://github.com/18F/college-choice/pull/1453.diff","patch_url":"https://github.com/18F/college-choice/pull/1453.patch","issue_url":"https://api.github.com/repos/18F/college-choice/issues/1453","number":1453,"state":"open","locked":false,"title":"1.5.1 Staging -> master","user":{"login":"ultrasaurus","id":41906,"avatar_url":"https://avatars.githubusercontent.com/u/41906?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrasaurus","html_url":"https://github.com/ultrasaurus","followers_url":"https://api.github.com/users/ultrasaurus/followers","following_url":"https://api.github.com/users/ultrasaurus/following{/other_user}","gists_url":"https://api.github.com/users/ultrasaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrasaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrasaurus/subscriptions","organizations_url":"https://api.github.com/users/ultrasaurus/orgs","repos_url":"https://api.github.com/users/ultrasaurus/repos","events_url":"https://api.github.com/users/ultrasaurus/events{/privacy}","received_events_url":"https://api.github.com/users/ultrasaurus/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-28T21:03:41Z","updated_at":"2016-01-28T21:04:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aca2217718e3786bd44253167b8376d769d6937c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/college-choice/pulls/1453/commits","review_comments_url":"https://api.github.com/repos/18F/college-choice/pulls/1453/comments","review_comment_url":"https://api.github.com/repos/18F/college-choice/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/college-choice/issues/1453/comments","statuses_url":"https://api.github.com/repos/18F/college-choice/statuses/53a5755d4a245875e97f18469787187a2cff2329","head":{"label":"18F:staging","ref":"staging","sha":"53a5755d4a245875e97f18469787187a2cff2329","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":37279656,"name":"college-choice","full_name":"18F/college-choice","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/college-choice","description":"College Scorecard","fork":false,"url":"https://api.github.com/repos/18F/college-choice","forks_url":"https://api.github.com/repos/18F/college-choice/forks","keys_url":"https://api.github.com/repos/18F/college-choice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/college-choice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/college-choice/teams","hooks_url":"https://api.github.com/repos/18F/college-choice/hooks","issue_events_url":"https://api.github.com/repos/18F/college-choice/issues/events{/number}","events_url":"https://api.github.com/repos/18F/college-choice/events","assignees_url":"https://api.github.com/repos/18F/college-choice/assignees{/user}","branches_url":"https://api.github.com/repos/18F/college-choice/branches{/branch}","tags_url":"https://api.github.com/repos/18F/college-choice/tags","blobs_url":"https://api.github.com/repos/18F/college-choice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/college-choice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/college-choice/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/college-choice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/college-choice/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/college-choice/languages","stargazers_url":"https://api.github.com/repos/18F/college-choice/stargazers","contributors_url":"https://api.github.com/repos/18F/college-choice/contributors","subscribers_url":"https://api.github.com/repos/18F/college-choice/subscribers","subscription_url":"https://api.github.com/repos/18F/college-choice/subscription","commits_url":"https://api.github.com/repos/18F/college-choice/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/college-choice/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/college-choice/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/college-choice/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/college-choice/contents/{+path}","compare_url":"https://api.github.com/repos/18F/college-choice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/college-choice/merges","archive_url":"https://api.github.com/repos/18F/college-choice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/college-choice/downloads","issues_url":"https://api.github.com/repos/18F/college-choice/issues{/number}","pulls_url":"https://api.github.com/repos/18F/college-choice/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/college-choice/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/college-choice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/college-choice/labels{/name}","releases_url":"https://api.github.com/repos/18F/college-choice/releases{/id}","deployments_url":"https://api.github.com/repos/18F/college-choice/deployments","created_at":"2015-06-11T18:48:24Z","updated_at":"2016-01-15T03:43:10Z","pushed_at":"2016-01-28T21:03:42Z","git_url":"git://github.com/18F/college-choice.git","ssh_url":"git@github.com:18F/college-choice.git","clone_url":"https://github.com/18F/college-choice.git","svn_url":"https://github.com/18F/college-choice","homepage":"https://collegescorecard.ed.gov/","size":26346,"stargazers_count":228,"watchers_count":228,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":252,"forks":46,"open_issues":252,"watchers":228,"default_branch":"dev"}},"base":{"label":"18F:master","ref":"master","sha":"d849e1887ea2be08b37d7a8be90b629395bc287e","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":37279656,"name":"college-choice","full_name":"18F/college-choice","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/college-choice","description":"College Scorecard","fork":false,"url":"https://api.github.com/repos/18F/college-choice","forks_url":"https://api.github.com/repos/18F/college-choice/forks","keys_url":"https://api.github.com/repos/18F/college-choice/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/college-choice/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/college-choice/teams","hooks_url":"https://api.github.com/repos/18F/college-choice/hooks","issue_events_url":"https://api.github.com/repos/18F/college-choice/issues/events{/number}","events_url":"https://api.github.com/repos/18F/college-choice/events","assignees_url":"https://api.github.com/repos/18F/college-choice/assignees{/user}","branches_url":"https://api.github.com/repos/18F/college-choice/branches{/branch}","tags_url":"https://api.github.com/repos/18F/college-choice/tags","blobs_url":"https://api.github.com/repos/18F/college-choice/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/college-choice/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/college-choice/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/college-choice/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/college-choice/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/college-choice/languages","stargazers_url":"https://api.github.com/repos/18F/college-choice/stargazers","contributors_url":"https://api.github.com/repos/18F/college-choice/contributors","subscribers_url":"https://api.github.com/repos/18F/college-choice/subscribers","subscription_url":"https://api.github.com/repos/18F/college-choice/subscription","commits_url":"https://api.github.com/repos/18F/college-choice/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/college-choice/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/college-choice/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/college-choice/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/college-choice/contents/{+path}","compare_url":"https://api.github.com/repos/18F/college-choice/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/college-choice/merges","archive_url":"https://api.github.com/repos/18F/college-choice/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/college-choice/downloads","issues_url":"https://api.github.com/repos/18F/college-choice/issues{/number}","pulls_url":"https://api.github.com/repos/18F/college-choice/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/college-choice/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/college-choice/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/college-choice/labels{/name}","releases_url":"https://api.github.com/repos/18F/college-choice/releases{/id}","deployments_url":"https://api.github.com/repos/18F/college-choice/deployments","created_at":"2015-06-11T18:48:24Z","updated_at":"2016-01-15T03:43:10Z","pushed_at":"2016-01-28T21:03:42Z","git_url":"git://github.com/18F/college-choice.git","ssh_url":"git@github.com:18F/college-choice.git","clone_url":"https://github.com/18F/college-choice.git","svn_url":"https://github.com/18F/college-choice","homepage":"https://collegescorecard.ed.gov/","size":26346,"stargazers_count":228,"watchers_count":228,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":252,"forks":46,"open_issues":252,"watchers":228,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/college-choice/pulls/1453"},"html":{"href":"https://github.com/18F/college-choice/pull/1453"},"issue":{"href":"https://api.github.com/repos/18F/college-choice/issues/1453"},"comments":{"href":"https://api.github.com/repos/18F/college-choice/issues/1453/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/college-choice/pulls/1453/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/college-choice/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/college-choice/pulls/1453/commits"},"statuses":{"href":"https://api.github.com/repos/18F/college-choice/statuses/53a5755d4a245875e97f18469787187a2cff2329"}}}}