{"action":"created","comment":{"url":"https://api.github.com/repos/MastodonC/witan.app/pulls/comments/49628788","id":49628788,"diff_hunk":"@@ -12,21 +12,37 @@\n   (let [ext (last (clojure.string/split filename #\"\\.\"))]\n     (= ext \"csv\")))\n \n-(defmulti category-valid?\n+(defmulti category-validation-error?\n   (fn [category lines] category))\n \n-(defmethod category-valid? development-data-category\n+(defn all-years-starting-from-2011\n+  [year-headers]\n+  (let [years (sort (map #(Long/parseLong (re-find #\"\\d{4}\" %)) year-headers))]\n+    (=  (vec (range 2011 (inc (last years))))","path":"src/witan/validation.clj","position":19,"original_position":19,"commit_id":"b4a64c6e0ca5ba33ec816d15d6119a5bb9f10f90","original_commit_id":"b4a64c6e0ca5ba33ec816d15d6119a5bb9f10f90","user":{"login":"otfrom","id":64839,"avatar_url":"https://avatars.githubusercontent.com/u/64839?v=3","gravatar_id":"","url":"https://api.github.com/users/otfrom","html_url":"https://github.com/otfrom","followers_url":"https://api.github.com/users/otfrom/followers","following_url":"https://api.github.com/users/otfrom/following{/other_user}","gists_url":"https://api.github.com/users/otfrom/gists{/gist_id}","starred_url":"https://api.github.com/users/otfrom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/otfrom/subscriptions","organizations_url":"https://api.github.com/users/otfrom/orgs","repos_url":"https://api.github.com/users/otfrom/repos","events_url":"https://api.github.com/users/otfrom/events{/privacy}","received_events_url":"https://api.github.com/users/otfrom/received_events","type":"User","site_admin":false},"body":"too many spaces after =","created_at":"2016-01-13T18:24:49Z","updated_at":"2016-01-13T18:24:49Z","html_url":"https://github.com/MastodonC/witan.app/pull/130#discussion_r49628788","pull_request_url":"https://api.github.com/repos/MastodonC/witan.app/pulls/130","_links":{"self":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/comments/49628788"},"html":{"href":"https://github.com/MastodonC/witan.app/pull/130#discussion_r49628788"},"pull_request":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/130"}}},"pull_request":{"url":"https://api.github.com/repos/MastodonC/witan.app/pulls/130","id":55904891,"html_url":"https://github.com/MastodonC/witan.app/pull/130","diff_url":"https://github.com/MastodonC/witan.app/pull/130.diff","patch_url":"https://github.com/MastodonC/witan.app/pull/130.patch","issue_url":"https://api.github.com/repos/MastodonC/witan.app/issues/130","number":130,"state":"open","locked":false,"title":"validations for year columns","user":{"login":"elisehuard","id":8934,"avatar_url":"https://avatars.githubusercontent.com/u/8934?v=3","gravatar_id":"","url":"https://api.github.com/users/elisehuard","html_url":"https://github.com/elisehuard","followers_url":"https://api.github.com/users/elisehuard/followers","following_url":"https://api.github.com/users/elisehuard/following{/other_user}","gists_url":"https://api.github.com/users/elisehuard/gists{/gist_id}","starred_url":"https://api.github.com/users/elisehuard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elisehuard/subscriptions","organizations_url":"https://api.github.com/users/elisehuard/orgs","repos_url":"https://api.github.com/users/elisehuard/repos","events_url":"https://api.github.com/users/elisehuard/events{/privacy}","received_events_url":"https://api.github.com/users/elisehuard/received_events","type":"User","site_admin":false},"body":"make sure the years\r\n\r\n* start at 2011 \r\n* follow each other\r\n\r\nand also make sure the headers are formatted correctly","created_at":"2016-01-13T14:37:26Z","updated_at":"2016-01-13T18:24:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c73114ab15a1df255a1161054b2cfa2a4feb6b4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MastodonC/witan.app/pulls/130/commits","review_comments_url":"https://api.github.com/repos/MastodonC/witan.app/pulls/130/comments","review_comment_url":"https://api.github.com/repos/MastodonC/witan.app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MastodonC/witan.app/issues/130/comments","statuses_url":"https://api.github.com/repos/MastodonC/witan.app/statuses/b4a64c6e0ca5ba33ec816d15d6119a5bb9f10f90","head":{"label":"MastodonC:feature/year-validations","ref":"feature/year-validations","sha":"b4a64c6e0ca5ba33ec816d15d6119a5bb9f10f90","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":41428009,"name":"witan.app","full_name":"MastodonC/witan.app","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/witan.app","description":"","fork":false,"url":"https://api.github.com/repos/MastodonC/witan.app","forks_url":"https://api.github.com/repos/MastodonC/witan.app/forks","keys_url":"https://api.github.com/repos/MastodonC/witan.app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/witan.app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/witan.app/teams","hooks_url":"https://api.github.com/repos/MastodonC/witan.app/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/witan.app/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/witan.app/events","assignees_url":"https://api.github.com/repos/MastodonC/witan.app/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/witan.app/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/witan.app/tags","blobs_url":"https://api.github.com/repos/MastodonC/witan.app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/witan.app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/witan.app/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/witan.app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/witan.app/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/witan.app/languages","stargazers_url":"https://api.github.com/repos/MastodonC/witan.app/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/witan.app/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/witan.app/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/witan.app/subscription","commits_url":"https://api.github.com/repos/MastodonC/witan.app/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/witan.app/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/witan.app/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/witan.app/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/witan.app/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/witan.app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/witan.app/merges","archive_url":"https://api.github.com/repos/MastodonC/witan.app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/witan.app/downloads","issues_url":"https://api.github.com/repos/MastodonC/witan.app/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/witan.app/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/witan.app/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/witan.app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/witan.app/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/witan.app/releases{/id}","created_at":"2015-08-26T13:46:04Z","updated_at":"2016-01-11T10:41:46Z","pushed_at":"2016-01-13T18:07:45Z","git_url":"git://github.com/MastodonC/witan.app.git","ssh_url":"git@github.com:MastodonC/witan.app.git","clone_url":"https://github.com/MastodonC/witan.app.git","svn_url":"https://github.com/MastodonC/witan.app","homepage":"","size":324,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":0,"default_branch":"master"}},"base":{"label":"MastodonC:master","ref":"master","sha":"c93da10c6785821a76a478017cec8f87dd3421f3","user":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"repo":{"id":41428009,"name":"witan.app","full_name":"MastodonC/witan.app","owner":{"login":"MastodonC","id":2911834,"avatar_url":"https://avatars.githubusercontent.com/u/2911834?v=3","gravatar_id":"","url":"https://api.github.com/users/MastodonC","html_url":"https://github.com/MastodonC","followers_url":"https://api.github.com/users/MastodonC/followers","following_url":"https://api.github.com/users/MastodonC/following{/other_user}","gists_url":"https://api.github.com/users/MastodonC/gists{/gist_id}","starred_url":"https://api.github.com/users/MastodonC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MastodonC/subscriptions","organizations_url":"https://api.github.com/users/MastodonC/orgs","repos_url":"https://api.github.com/users/MastodonC/repos","events_url":"https://api.github.com/users/MastodonC/events{/privacy}","received_events_url":"https://api.github.com/users/MastodonC/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MastodonC/witan.app","description":"","fork":false,"url":"https://api.github.com/repos/MastodonC/witan.app","forks_url":"https://api.github.com/repos/MastodonC/witan.app/forks","keys_url":"https://api.github.com/repos/MastodonC/witan.app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MastodonC/witan.app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MastodonC/witan.app/teams","hooks_url":"https://api.github.com/repos/MastodonC/witan.app/hooks","issue_events_url":"https://api.github.com/repos/MastodonC/witan.app/issues/events{/number}","events_url":"https://api.github.com/repos/MastodonC/witan.app/events","assignees_url":"https://api.github.com/repos/MastodonC/witan.app/assignees{/user}","branches_url":"https://api.github.com/repos/MastodonC/witan.app/branches{/branch}","tags_url":"https://api.github.com/repos/MastodonC/witan.app/tags","blobs_url":"https://api.github.com/repos/MastodonC/witan.app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MastodonC/witan.app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MastodonC/witan.app/git/refs{/sha}","trees_url":"https://api.github.com/repos/MastodonC/witan.app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MastodonC/witan.app/statuses/{sha}","languages_url":"https://api.github.com/repos/MastodonC/witan.app/languages","stargazers_url":"https://api.github.com/repos/MastodonC/witan.app/stargazers","contributors_url":"https://api.github.com/repos/MastodonC/witan.app/contributors","subscribers_url":"https://api.github.com/repos/MastodonC/witan.app/subscribers","subscription_url":"https://api.github.com/repos/MastodonC/witan.app/subscription","commits_url":"https://api.github.com/repos/MastodonC/witan.app/commits{/sha}","git_commits_url":"https://api.github.com/repos/MastodonC/witan.app/git/commits{/sha}","comments_url":"https://api.github.com/repos/MastodonC/witan.app/comments{/number}","issue_comment_url":"https://api.github.com/repos/MastodonC/witan.app/issues/comments{/number}","contents_url":"https://api.github.com/repos/MastodonC/witan.app/contents/{+path}","compare_url":"https://api.github.com/repos/MastodonC/witan.app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MastodonC/witan.app/merges","archive_url":"https://api.github.com/repos/MastodonC/witan.app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MastodonC/witan.app/downloads","issues_url":"https://api.github.com/repos/MastodonC/witan.app/issues{/number}","pulls_url":"https://api.github.com/repos/MastodonC/witan.app/pulls{/number}","milestones_url":"https://api.github.com/repos/MastodonC/witan.app/milestones{/number}","notifications_url":"https://api.github.com/repos/MastodonC/witan.app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MastodonC/witan.app/labels{/name}","releases_url":"https://api.github.com/repos/MastodonC/witan.app/releases{/id}","created_at":"2015-08-26T13:46:04Z","updated_at":"2016-01-11T10:41:46Z","pushed_at":"2016-01-13T18:07:45Z","git_url":"git://github.com/MastodonC/witan.app.git","ssh_url":"git@github.com:MastodonC/witan.app.git","clone_url":"https://github.com/MastodonC/witan.app.git","svn_url":"https://github.com/MastodonC/witan.app","homepage":"","size":324,"stargazers_count":0,"watchers_count":0,"language":"Clojure","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/130"},"html":{"href":"https://github.com/MastodonC/witan.app/pull/130"},"issue":{"href":"https://api.github.com/repos/MastodonC/witan.app/issues/130"},"comments":{"href":"https://api.github.com/repos/MastodonC/witan.app/issues/130/comments"},"review_comments":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/130/comments"},"review_comment":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MastodonC/witan.app/pulls/130/commits"},"statuses":{"href":"https://api.github.com/repos/MastodonC/witan.app/statuses/b4a64c6e0ca5ba33ec816d15d6119a5bb9f10f90"}}}}