{"action":"created","comment":{"url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/comments/61145097","id":61145097,"diff_hunk":"@@ -0,0 +1,354 @@\n+---\n+name: AWRVI 2.0\n+short_name: AWRVI 2.0\n+categories:\n+- name: PHYSICAL SUB-INDEX\n+  short_name: Physical\n+  categories:\n+  - name: Physical - natural supply\n+    short_name: Natural supply\n+    categories:\n+    - name: Average annual precip. (mm)\n+      choices:\n+      - index: 0\n+        description: \"< 100\"\n+      - index: 0.25\n+        description: \"100-249\"\n+      - index: 0.5\n+        description: \"250-499\"\n+      - index: 0.75\n+        description: \"500-750\"\n+      - index: 1.0\n+        description: \"≥ 750\"\n+    - name: Variance in average annual precip.\n+      choices:\n+      - index: 0\n+        description: \"> 0.5\"\n+      - index: 0.25\n+        description: \"0.3-0.49\"\n+      - index: 0.5\n+        description: \"0.2-0.29\"\n+      - index: 0.75\n+        description: \"0.1-0.19\"\n+      - index: 1.0\n+        description: \"0-0.09\"\n+    - name: Surface water storage (%)\n+      choices:\n+      - index: 0\n+        description: \"≤ 0.1\"\n+      - index: 0.25\n+        description: \"0.2-1\"\n+      - index: 0.5\n+        description: \"2-10\"\n+      - index: 0.75\n+        description: \"11-20\"\n+      - index: 1.0\n+        description: \"> 20\"\n+    - name: Change in surface water\n+      choices:\n+      - index: 0\n+        description: \"> ± 10\"\n+      - index: 0.25\n+        description: \"± 1\"\n+      - index: 0.5\n+        description: \"± 0.1-1\"\n+      - index: 0.75\n+        description: \"< ±0.1\"\n+      - index: 1.0\n+        description: \"No change\"\n+    - name: Average annual river runoff (cumecs/km^2)\n+      choices:\n+      - index: 0\n+        description: \"< 0.01\"\n+      - index: 0.25\n+        description: \"< 0.1\"\n+      - index: 0.5\n+        description: \"< 1\"\n+      - index: 0.75\n+        description: \"< 10\"\n+      - index: 1.0\n+        description: \"≥ 10\"\n+    - name: Variance in average annual river runoff\n+      choices:\n+      - index: 0\n+        description: \"> 5\"\n+      - index: 0.25\n+        description: \"0.3-0.49\"\n+      - index: 0.5\n+        description: \"0.2-0.29\"\n+      - index: 0.75\n+        description: \"0.1-0.19\"\n+      - index: 1.0\n+        description: \"0-0.09\"\n+    - name: Seasonal variation in discharge\n+      choices:\n+      - index: 0\n+        description: \"> 8\"\n+      - index: 0.25\n+        description: \"4-8\"\n+      - index: 0.5\n+        description: \"2-3.9\"\n+      - index: 0.75\n+        description: \"1-1.9\"\n+      - index: 1.0\n+        description: \"< 1\"\n+  - name: Physical - municipal supply\n+    short_name: Municipal supply\n+    categories:\n+    - name: Yield (L)\n+      choices:\n+      - index: 0\n+        description: \"< 10\"\n+      - index: 0.25\n+        description: \"10-49\"\n+      - index: 0.5\n+        description: \"50-99\"\n+      - index: 0.75\n+        description: \"100-499\"\n+      - index: 1.0\n+        description: \"> 500\"\n+    - name: Water source diversity\n+      choices:\n+      - index: 0\n+        description: \"1 surface or 1 ground\"\n+      - index: 0.25\n+        description: \"2 surface or 2 ground\"\n+      - index: 0.5\n+        description: \"1 surface and 1 ground\"\n+      - index: 0.75\n+        description: \"2 surface and 2 ground\"\n+      - index: 1.0\n+        description: \"> 2 of each\"\n+    - name: Drinking Water Treatment Technology (Boil, filter, chlorine, UV)\n+      choices:\n+      - index: 0\n+        description: \"None\"\n+      - index: 0.25\n+        description: \"1 of 4\"\n+      - index: 0.5\n+        description: \"2 of 4\"\n+      - index: 0.75\n+        description: \"3 of 4\"\n+      - index: 1.0\n+        description: \"4 of 4\"\n+    - name: Waste Water Treatment Technology\n+      - choices:\n+      - index: 0\n+        description: \"Honeybucket Lagoon\"\n+      - index: 0.25\n+        description: \"Outhouse\"\n+      - index: 0.5\n+        description: \"1˚ waste\"\n+      - index: 0.75\n+        description: \"2˚ waste\"\n+      - index: 1.0\n+        description: \"3˚ waste\"\n+    - name: Hydraulic gradient\n+      choices:\n+      - index: 0\n+        description: \"< -100\"\n+      - index: 0.25\n+        description: \"< -10\"\n+      - index: 0.5\n+        description: \"-10 to +0.9\"\n+      - index: 0.75\n+        description: \"+1.0 to +9.9\"\n+      - index: 1.0\n+        description: \"> +10\"\n+  - name: Physical - water quality\n+    short_name: Water quality\n+    categories:\n+    - name: \"Density of upstream development sites\"\n+      choices:\n+      - index: 0\n+        description: \"> 0.1\"\n+      - index: 0.25\n+        description: \"0.08 - 0.009\"\n+      - index: 0.5\n+        description: \"0.05 - 0.079\"\n+      - index: 0.75\n+        description: \"0.02 - 0.049\"\n+      - index: 1.0\n+        description: \"0 - 0.019\"\n+    - name: \"Streams with water quality data\"\n+      choices:\n+      - index: 0\n+        description: \"None ever\"\n+      - index: 0.25\n+        description: \"Some WQ data > 10 years\"\n+      - index: 0.5\n+        description: \"Some WQ data < 10 years\"\n+      - index: 1.0\n+        description: \"Annual Monitoring\"\n+  - name: Physical - Permafrost Status\n+    short_name: Permafrost Status\n+    categories:\n+    - name: PF distribution\n+      choices:\n+      - index: 0\n+        description: \"> 25% discontinous permafrost\"\n+      - index: 0.25\n+        description: \"1-25% discontinous permafrost\"\n+      - index: 0.5\n+        description: \"> 75% continous permafrost\"\n+      - index: 0.75\n+        description: \"1-75% continous permafrost and 1-75% no permafrost and 0% discontinous permafrost\"\n+      - index: 1.0\n+        description: \">75% no permafrost\"\n+  - name: Physical - subsistence habitat\n+    short_name: Subsistence habitat\n+    categories:\n+    - name: Anadromous Stream kilometers (%)","path":"db/seeds/categories/awrvi-2.0.yml","position":201,"original_position":201,"commit_id":"4b83f22b696c8122a26c6203a7560c1b7c70a8db","original_commit_id":"4b83f22b696c8122a26c6203a7560c1b7c70a8db","user":{"login":"smacfarlane","id":36851,"avatar_url":"https://avatars.githubusercontent.com/u/36851?v=3","gravatar_id":"","url":"https://api.github.com/users/smacfarlane","html_url":"https://github.com/smacfarlane","followers_url":"https://api.github.com/users/smacfarlane/followers","following_url":"https://api.github.com/users/smacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/smacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/smacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacfarlane/subscriptions","organizations_url":"https://api.github.com/users/smacfarlane/orgs","repos_url":"https://api.github.com/users/smacfarlane/repos","events_url":"https://api.github.com/users/smacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/smacfarlane/received_events","type":"User","site_admin":false},"body":"Nope,  this is how it's defined in the datasheet I was given:\r\n`% anadromous stream kilometers (from anadromous streams catalog)`","created_at":"2016-04-26T19:03:52Z","updated_at":"2016-04-26T19:03:52Z","html_url":"https://github.com/gina-alaska/awrvi/pull/171#discussion_r61145097","pull_request_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171","_links":{"self":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/comments/61145097"},"html":{"href":"https://github.com/gina-alaska/awrvi/pull/171#discussion_r61145097"},"pull_request":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171"}}},"pull_request":{"url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171","id":67812116,"html_url":"https://github.com/gina-alaska/awrvi/pull/171","diff_url":"https://github.com/gina-alaska/awrvi/pull/171.diff","patch_url":"https://github.com/gina-alaska/awrvi/pull/171.patch","issue_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/171","number":171,"state":"open","locked":false,"title":"Awrvi 2.0","user":{"login":"smacfarlane","id":36851,"avatar_url":"https://avatars.githubusercontent.com/u/36851?v=3","gravatar_id":"","url":"https://api.github.com/users/smacfarlane","html_url":"https://github.com/smacfarlane","followers_url":"https://api.github.com/users/smacfarlane/followers","following_url":"https://api.github.com/users/smacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/smacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/smacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smacfarlane/subscriptions","organizations_url":"https://api.github.com/users/smacfarlane/orgs","repos_url":"https://api.github.com/users/smacfarlane/repos","events_url":"https://api.github.com/users/smacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/smacfarlane/received_events","type":"User","site_admin":false},"body":"closes #165 \r\n\r\n@gina-alaska/awrvi Please review the awrvi-2.0 yml to ensure I haven't made any mistakes converting from 1.0.\r\n\r\nI still need to make a number of changes for the interface to ensure 2.0 is the only version available through the UI. ","created_at":"2016-04-26T01:00:39Z","updated_at":"2016-04-26T19:03:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af785a65306f4d1e52631c99dc0face554c39d11","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171/commits","review_comments_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171/comments","review_comment_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/171/comments","statuses_url":"https://api.github.com/repos/gina-alaska/awrvi/statuses/4b83f22b696c8122a26c6203a7560c1b7c70a8db","head":{"label":"gina-alaska:awrvi-20","ref":"awrvi-20","sha":"4b83f22b696c8122a26c6203a7560c1b7c70a8db","user":{"login":"gina-alaska","id":326968,"avatar_url":"https://avatars.githubusercontent.com/u/326968?v=3","gravatar_id":"","url":"https://api.github.com/users/gina-alaska","html_url":"https://github.com/gina-alaska","followers_url":"https://api.github.com/users/gina-alaska/followers","following_url":"https://api.github.com/users/gina-alaska/following{/other_user}","gists_url":"https://api.github.com/users/gina-alaska/gists{/gist_id}","starred_url":"https://api.github.com/users/gina-alaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gina-alaska/subscriptions","organizations_url":"https://api.github.com/users/gina-alaska/orgs","repos_url":"https://api.github.com/users/gina-alaska/repos","events_url":"https://api.github.com/users/gina-alaska/events{/privacy}","received_events_url":"https://api.github.com/users/gina-alaska/received_events","type":"Organization","site_admin":false},"repo":{"id":49030695,"name":"awrvi","full_name":"gina-alaska/awrvi","owner":{"login":"gina-alaska","id":326968,"avatar_url":"https://avatars.githubusercontent.com/u/326968?v=3","gravatar_id":"","url":"https://api.github.com/users/gina-alaska","html_url":"https://github.com/gina-alaska","followers_url":"https://api.github.com/users/gina-alaska/followers","following_url":"https://api.github.com/users/gina-alaska/following{/other_user}","gists_url":"https://api.github.com/users/gina-alaska/gists{/gist_id}","starred_url":"https://api.github.com/users/gina-alaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gina-alaska/subscriptions","organizations_url":"https://api.github.com/users/gina-alaska/orgs","repos_url":"https://api.github.com/users/gina-alaska/repos","events_url":"https://api.github.com/users/gina-alaska/events{/privacy}","received_events_url":"https://api.github.com/users/gina-alaska/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gina-alaska/awrvi","description":"","fork":false,"url":"https://api.github.com/repos/gina-alaska/awrvi","forks_url":"https://api.github.com/repos/gina-alaska/awrvi/forks","keys_url":"https://api.github.com/repos/gina-alaska/awrvi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gina-alaska/awrvi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gina-alaska/awrvi/teams","hooks_url":"https://api.github.com/repos/gina-alaska/awrvi/hooks","issue_events_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/events{/number}","events_url":"https://api.github.com/repos/gina-alaska/awrvi/events","assignees_url":"https://api.github.com/repos/gina-alaska/awrvi/assignees{/user}","branches_url":"https://api.github.com/repos/gina-alaska/awrvi/branches{/branch}","tags_url":"https://api.github.com/repos/gina-alaska/awrvi/tags","blobs_url":"https://api.github.com/repos/gina-alaska/awrvi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gina-alaska/awrvi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gina-alaska/awrvi/git/refs{/sha}","trees_url":"https://api.github.com/repos/gina-alaska/awrvi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gina-alaska/awrvi/statuses/{sha}","languages_url":"https://api.github.com/repos/gina-alaska/awrvi/languages","stargazers_url":"https://api.github.com/repos/gina-alaska/awrvi/stargazers","contributors_url":"https://api.github.com/repos/gina-alaska/awrvi/contributors","subscribers_url":"https://api.github.com/repos/gina-alaska/awrvi/subscribers","subscription_url":"https://api.github.com/repos/gina-alaska/awrvi/subscription","commits_url":"https://api.github.com/repos/gina-alaska/awrvi/commits{/sha}","git_commits_url":"https://api.github.com/repos/gina-alaska/awrvi/git/commits{/sha}","comments_url":"https://api.github.com/repos/gina-alaska/awrvi/comments{/number}","issue_comment_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/comments{/number}","contents_url":"https://api.github.com/repos/gina-alaska/awrvi/contents/{+path}","compare_url":"https://api.github.com/repos/gina-alaska/awrvi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gina-alaska/awrvi/merges","archive_url":"https://api.github.com/repos/gina-alaska/awrvi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gina-alaska/awrvi/downloads","issues_url":"https://api.github.com/repos/gina-alaska/awrvi/issues{/number}","pulls_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls{/number}","milestones_url":"https://api.github.com/repos/gina-alaska/awrvi/milestones{/number}","notifications_url":"https://api.github.com/repos/gina-alaska/awrvi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gina-alaska/awrvi/labels{/name}","releases_url":"https://api.github.com/repos/gina-alaska/awrvi/releases{/id}","deployments_url":"https://api.github.com/repos/gina-alaska/awrvi/deployments","created_at":"2016-01-04T23:59:09Z","updated_at":"2016-03-15T18:00:58Z","pushed_at":"2016-04-26T01:00:39Z","git_url":"git://github.com/gina-alaska/awrvi.git","ssh_url":"git@github.com:gina-alaska/awrvi.git","clone_url":"https://github.com/gina-alaska/awrvi.git","svn_url":"https://github.com/gina-alaska/awrvi","homepage":null,"size":2505,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"base":{"label":"gina-alaska:master","ref":"master","sha":"7baa2fdd7791f17a47dc7b4e9f3e17a322c09d67","user":{"login":"gina-alaska","id":326968,"avatar_url":"https://avatars.githubusercontent.com/u/326968?v=3","gravatar_id":"","url":"https://api.github.com/users/gina-alaska","html_url":"https://github.com/gina-alaska","followers_url":"https://api.github.com/users/gina-alaska/followers","following_url":"https://api.github.com/users/gina-alaska/following{/other_user}","gists_url":"https://api.github.com/users/gina-alaska/gists{/gist_id}","starred_url":"https://api.github.com/users/gina-alaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gina-alaska/subscriptions","organizations_url":"https://api.github.com/users/gina-alaska/orgs","repos_url":"https://api.github.com/users/gina-alaska/repos","events_url":"https://api.github.com/users/gina-alaska/events{/privacy}","received_events_url":"https://api.github.com/users/gina-alaska/received_events","type":"Organization","site_admin":false},"repo":{"id":49030695,"name":"awrvi","full_name":"gina-alaska/awrvi","owner":{"login":"gina-alaska","id":326968,"avatar_url":"https://avatars.githubusercontent.com/u/326968?v=3","gravatar_id":"","url":"https://api.github.com/users/gina-alaska","html_url":"https://github.com/gina-alaska","followers_url":"https://api.github.com/users/gina-alaska/followers","following_url":"https://api.github.com/users/gina-alaska/following{/other_user}","gists_url":"https://api.github.com/users/gina-alaska/gists{/gist_id}","starred_url":"https://api.github.com/users/gina-alaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gina-alaska/subscriptions","organizations_url":"https://api.github.com/users/gina-alaska/orgs","repos_url":"https://api.github.com/users/gina-alaska/repos","events_url":"https://api.github.com/users/gina-alaska/events{/privacy}","received_events_url":"https://api.github.com/users/gina-alaska/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gina-alaska/awrvi","description":"","fork":false,"url":"https://api.github.com/repos/gina-alaska/awrvi","forks_url":"https://api.github.com/repos/gina-alaska/awrvi/forks","keys_url":"https://api.github.com/repos/gina-alaska/awrvi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gina-alaska/awrvi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gina-alaska/awrvi/teams","hooks_url":"https://api.github.com/repos/gina-alaska/awrvi/hooks","issue_events_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/events{/number}","events_url":"https://api.github.com/repos/gina-alaska/awrvi/events","assignees_url":"https://api.github.com/repos/gina-alaska/awrvi/assignees{/user}","branches_url":"https://api.github.com/repos/gina-alaska/awrvi/branches{/branch}","tags_url":"https://api.github.com/repos/gina-alaska/awrvi/tags","blobs_url":"https://api.github.com/repos/gina-alaska/awrvi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gina-alaska/awrvi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gina-alaska/awrvi/git/refs{/sha}","trees_url":"https://api.github.com/repos/gina-alaska/awrvi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gina-alaska/awrvi/statuses/{sha}","languages_url":"https://api.github.com/repos/gina-alaska/awrvi/languages","stargazers_url":"https://api.github.com/repos/gina-alaska/awrvi/stargazers","contributors_url":"https://api.github.com/repos/gina-alaska/awrvi/contributors","subscribers_url":"https://api.github.com/repos/gina-alaska/awrvi/subscribers","subscription_url":"https://api.github.com/repos/gina-alaska/awrvi/subscription","commits_url":"https://api.github.com/repos/gina-alaska/awrvi/commits{/sha}","git_commits_url":"https://api.github.com/repos/gina-alaska/awrvi/git/commits{/sha}","comments_url":"https://api.github.com/repos/gina-alaska/awrvi/comments{/number}","issue_comment_url":"https://api.github.com/repos/gina-alaska/awrvi/issues/comments{/number}","contents_url":"https://api.github.com/repos/gina-alaska/awrvi/contents/{+path}","compare_url":"https://api.github.com/repos/gina-alaska/awrvi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gina-alaska/awrvi/merges","archive_url":"https://api.github.com/repos/gina-alaska/awrvi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gina-alaska/awrvi/downloads","issues_url":"https://api.github.com/repos/gina-alaska/awrvi/issues{/number}","pulls_url":"https://api.github.com/repos/gina-alaska/awrvi/pulls{/number}","milestones_url":"https://api.github.com/repos/gina-alaska/awrvi/milestones{/number}","notifications_url":"https://api.github.com/repos/gina-alaska/awrvi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gina-alaska/awrvi/labels{/name}","releases_url":"https://api.github.com/repos/gina-alaska/awrvi/releases{/id}","deployments_url":"https://api.github.com/repos/gina-alaska/awrvi/deployments","created_at":"2016-01-04T23:59:09Z","updated_at":"2016-03-15T18:00:58Z","pushed_at":"2016-04-26T01:00:39Z","git_url":"git://github.com/gina-alaska/awrvi.git","ssh_url":"git@github.com:gina-alaska/awrvi.git","clone_url":"https://github.com/gina-alaska/awrvi.git","svn_url":"https://github.com/gina-alaska/awrvi","homepage":null,"size":2505,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":25,"forks":0,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171"},"html":{"href":"https://github.com/gina-alaska/awrvi/pull/171"},"issue":{"href":"https://api.github.com/repos/gina-alaska/awrvi/issues/171"},"comments":{"href":"https://api.github.com/repos/gina-alaska/awrvi/issues/171/comments"},"review_comments":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171/comments"},"review_comment":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gina-alaska/awrvi/pulls/171/commits"},"statuses":{"href":"https://api.github.com/repos/gina-alaska/awrvi/statuses/4b83f22b696c8122a26c6203a7560c1b7c70a8db"}}}}