{"action":"created","comment":{"url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/comments/41464581","id":41464581,"diff_hunk":"@@ -274,14 +274,19 @@ schema.methods.guess = async function({contestant, guess}) {\n   // Edge case: names:\n   answers.push(answers.join(' '));\n   return answers.some(answer => {\n-    const similarity = DiceCoefficient(guess, answer);\n-    if (similarity >= config.ACCEPTED_SIMILARITY) {\n-      return true;\n-    } else if (similarity >= config.JARO_KICKER) {\n-      const jaroSimilarity = JaroWinklerDistance(guess, answer);\n-      return jaroSimilarity >= config.JARO_SIMILARITY;\n+    const guessDate = moment.parse(guess);\n+    if (guessDate.isValid()){\n+       return guessDate.isSame(answer);","path":"src/models/Game.js","position":12,"original_position":12,"commit_id":"85d0abbb4b5c1052f6b1b8519cf3f9b8ce7e7dd9","original_commit_id":"85d0abbb4b5c1052f6b1b8519cf3f9b8ce7e7dd9","user":{"login":"kesne","id":498479,"avatar_url":"https://avatars.githubusercontent.com/u/498479?v=3","gravatar_id":"","url":"https://api.github.com/users/kesne","html_url":"https://github.com/kesne","followers_url":"https://api.github.com/users/kesne/followers","following_url":"https://api.github.com/users/kesne/following{/other_user}","gists_url":"https://api.github.com/users/kesne/gists{/gist_id}","starred_url":"https://api.github.com/users/kesne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesne/subscriptions","organizations_url":"https://api.github.com/users/kesne/orgs","repos_url":"https://api.github.com/users/kesne/repos","events_url":"https://api.github.com/users/kesne/events{/privacy}","received_events_url":"https://api.github.com/users/kesne/received_events","type":"User","site_admin":false},"body":"Should wrap the guess in a moment instance too.\r\n\r\n`return guessDate.isSame(moment(answer));`","created_at":"2015-10-08T00:19:40Z","updated_at":"2015-10-08T00:19:40Z","html_url":"https://github.com/kesne/jeopardy-bot/pull/45#discussion_r41464581","pull_request_url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/comments/41464581"},"html":{"href":"https://github.com/kesne/jeopardy-bot/pull/45#discussion_r41464581"},"pull_request":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45","id":47098824,"html_url":"https://github.com/kesne/jeopardy-bot/pull/45","diff_url":"https://github.com/kesne/jeopardy-bot/pull/45.diff","patch_url":"https://github.com/kesne/jeopardy-bot/pull/45.patch","issue_url":"https://api.github.com/repos/kesne/jeopardy-bot/issues/45","number":45,"state":"open","locked":false,"title":"Fix/42","user":{"login":"JasonVeselka","id":4764490,"avatar_url":"https://avatars.githubusercontent.com/u/4764490?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonVeselka","html_url":"https://github.com/JasonVeselka","followers_url":"https://api.github.com/users/JasonVeselka/followers","following_url":"https://api.github.com/users/JasonVeselka/following{/other_user}","gists_url":"https://api.github.com/users/JasonVeselka/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonVeselka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonVeselka/subscriptions","organizations_url":"https://api.github.com/users/JasonVeselka/orgs","repos_url":"https://api.github.com/users/JasonVeselka/repos","events_url":"https://api.github.com/users/JasonVeselka/events{/privacy}","received_events_url":"https://api.github.com/users/JasonVeselka/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-08T00:17:01Z","updated_at":"2015-10-08T00:19:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5eb9d783d5a3899c27b5923d5aa14ebe6f48d726","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45/commits","review_comments_url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45/comments","review_comment_url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kesne/jeopardy-bot/issues/45/comments","statuses_url":"https://api.github.com/repos/kesne/jeopardy-bot/statuses/85d0abbb4b5c1052f6b1b8519cf3f9b8ce7e7dd9","head":{"label":"JasonVeselka:fix/42","ref":"fix/42","sha":"85d0abbb4b5c1052f6b1b8519cf3f9b8ce7e7dd9","user":{"login":"JasonVeselka","id":4764490,"avatar_url":"https://avatars.githubusercontent.com/u/4764490?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonVeselka","html_url":"https://github.com/JasonVeselka","followers_url":"https://api.github.com/users/JasonVeselka/followers","following_url":"https://api.github.com/users/JasonVeselka/following{/other_user}","gists_url":"https://api.github.com/users/JasonVeselka/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonVeselka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonVeselka/subscriptions","organizations_url":"https://api.github.com/users/JasonVeselka/orgs","repos_url":"https://api.github.com/users/JasonVeselka/repos","events_url":"https://api.github.com/users/JasonVeselka/events{/privacy}","received_events_url":"https://api.github.com/users/JasonVeselka/received_events","type":"User","site_admin":false},"repo":{"id":43849496,"name":"jeopardy-bot","full_name":"JasonVeselka/jeopardy-bot","owner":{"login":"JasonVeselka","id":4764490,"avatar_url":"https://avatars.githubusercontent.com/u/4764490?v=3","gravatar_id":"","url":"https://api.github.com/users/JasonVeselka","html_url":"https://github.com/JasonVeselka","followers_url":"https://api.github.com/users/JasonVeselka/followers","following_url":"https://api.github.com/users/JasonVeselka/following{/other_user}","gists_url":"https://api.github.com/users/JasonVeselka/gists{/gist_id}","starred_url":"https://api.github.com/users/JasonVeselka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JasonVeselka/subscriptions","organizations_url":"https://api.github.com/users/JasonVeselka/orgs","repos_url":"https://api.github.com/users/JasonVeselka/repos","events_url":"https://api.github.com/users/JasonVeselka/events{/privacy}","received_events_url":"https://api.github.com/users/JasonVeselka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JasonVeselka/jeopardy-bot","description":":boom: ​Jeopardy Bot for Slack​ :boom:","fork":true,"url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot","forks_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/forks","keys_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/teams","hooks_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/hooks","issue_events_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/issues/events{/number}","events_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/events","assignees_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/assignees{/user}","branches_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/branches{/branch}","tags_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/tags","blobs_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/languages","stargazers_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/stargazers","contributors_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/contributors","subscribers_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/subscribers","subscription_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/subscription","commits_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/contents/{+path}","compare_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/merges","archive_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/downloads","issues_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/issues{/number}","pulls_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/labels{/name}","releases_url":"https://api.github.com/repos/JasonVeselka/jeopardy-bot/releases{/id}","created_at":"2015-10-07T22:57:51Z","updated_at":"2015-10-07T22:57:52Z","pushed_at":"2015-10-08T00:14:53Z","git_url":"git://github.com/JasonVeselka/jeopardy-bot.git","ssh_url":"git@github.com:JasonVeselka/jeopardy-bot.git","clone_url":"https://github.com/JasonVeselka/jeopardy-bot.git","svn_url":"https://github.com/JasonVeselka/jeopardy-bot","homepage":"","size":678,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kesne:master","ref":"master","sha":"273c985f241964ec8fefc7ab405b4dc9b6b64e57","user":{"login":"kesne","id":498479,"avatar_url":"https://avatars.githubusercontent.com/u/498479?v=3","gravatar_id":"","url":"https://api.github.com/users/kesne","html_url":"https://github.com/kesne","followers_url":"https://api.github.com/users/kesne/followers","following_url":"https://api.github.com/users/kesne/following{/other_user}","gists_url":"https://api.github.com/users/kesne/gists{/gist_id}","starred_url":"https://api.github.com/users/kesne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesne/subscriptions","organizations_url":"https://api.github.com/users/kesne/orgs","repos_url":"https://api.github.com/users/kesne/repos","events_url":"https://api.github.com/users/kesne/events{/privacy}","received_events_url":"https://api.github.com/users/kesne/received_events","type":"User","site_admin":false},"repo":{"id":43418654,"name":"jeopardy-bot","full_name":"kesne/jeopardy-bot","owner":{"login":"kesne","id":498479,"avatar_url":"https://avatars.githubusercontent.com/u/498479?v=3","gravatar_id":"","url":"https://api.github.com/users/kesne","html_url":"https://github.com/kesne","followers_url":"https://api.github.com/users/kesne/followers","following_url":"https://api.github.com/users/kesne/following{/other_user}","gists_url":"https://api.github.com/users/kesne/gists{/gist_id}","starred_url":"https://api.github.com/users/kesne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kesne/subscriptions","organizations_url":"https://api.github.com/users/kesne/orgs","repos_url":"https://api.github.com/users/kesne/repos","events_url":"https://api.github.com/users/kesne/events{/privacy}","received_events_url":"https://api.github.com/users/kesne/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kesne/jeopardy-bot","description":":boom: ​Jeopardy Bot for Slack​ :boom:","fork":false,"url":"https://api.github.com/repos/kesne/jeopardy-bot","forks_url":"https://api.github.com/repos/kesne/jeopardy-bot/forks","keys_url":"https://api.github.com/repos/kesne/jeopardy-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kesne/jeopardy-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kesne/jeopardy-bot/teams","hooks_url":"https://api.github.com/repos/kesne/jeopardy-bot/hooks","issue_events_url":"https://api.github.com/repos/kesne/jeopardy-bot/issues/events{/number}","events_url":"https://api.github.com/repos/kesne/jeopardy-bot/events","assignees_url":"https://api.github.com/repos/kesne/jeopardy-bot/assignees{/user}","branches_url":"https://api.github.com/repos/kesne/jeopardy-bot/branches{/branch}","tags_url":"https://api.github.com/repos/kesne/jeopardy-bot/tags","blobs_url":"https://api.github.com/repos/kesne/jeopardy-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kesne/jeopardy-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kesne/jeopardy-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/kesne/jeopardy-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kesne/jeopardy-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/kesne/jeopardy-bot/languages","stargazers_url":"https://api.github.com/repos/kesne/jeopardy-bot/stargazers","contributors_url":"https://api.github.com/repos/kesne/jeopardy-bot/contributors","subscribers_url":"https://api.github.com/repos/kesne/jeopardy-bot/subscribers","subscription_url":"https://api.github.com/repos/kesne/jeopardy-bot/subscription","commits_url":"https://api.github.com/repos/kesne/jeopardy-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/kesne/jeopardy-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/kesne/jeopardy-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/kesne/jeopardy-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/kesne/jeopardy-bot/contents/{+path}","compare_url":"https://api.github.com/repos/kesne/jeopardy-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kesne/jeopardy-bot/merges","archive_url":"https://api.github.com/repos/kesne/jeopardy-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kesne/jeopardy-bot/downloads","issues_url":"https://api.github.com/repos/kesne/jeopardy-bot/issues{/number}","pulls_url":"https://api.github.com/repos/kesne/jeopardy-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/kesne/jeopardy-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/kesne/jeopardy-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kesne/jeopardy-bot/labels{/name}","releases_url":"https://api.github.com/repos/kesne/jeopardy-bot/releases{/id}","created_at":"2015-09-30T07:32:06Z","updated_at":"2015-10-07T17:13:23Z","pushed_at":"2015-10-08T00:17:01Z","git_url":"git://github.com/kesne/jeopardy-bot.git","ssh_url":"git@github.com:kesne/jeopardy-bot.git","clone_url":"https://github.com/kesne/jeopardy-bot.git","svn_url":"https://github.com/kesne/jeopardy-bot","homepage":"","size":678,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":26,"forks":3,"open_issues":26,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45"},"html":{"href":"https://github.com/kesne/jeopardy-bot/pull/45"},"issue":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/issues/45"},"comments":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/kesne/jeopardy-bot/statuses/85d0abbb4b5c1052f6b1b8519cf3f9b8ce7e7dd9"}}}}