{"action":"created","comment":{"url":"https://api.github.com/repos/boddhisattva/exercism/pulls/comments/152701660","pull_request_review_id":78603741,"id":152701660,"diff_hunk":"@@ -0,0 +1,112 @@\n+if !System.get_env(\"EXERCISM_TEST_EXAMPLES\") do\n+  Code.load_file(\"sublist.exs\", __DIR__)\n+end\n+\n+ExUnit.start\n+ExUnit.configure exclude: :pending, trace: true\n+\n+defmodule SublistTest do\n+  use ExUnit.Case\n+\n+  test \"empty equals empty\" do\n+    assert Sublist.compare([], []) == :equal\n+  end\n+\n+  # @tag :pending\n+  test \"empty is a sublist of anything\" do\n+    assert Sublist.compare([], [nil]) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"anything is a superlist of empty\" do\n+    assert Sublist.compare([nil], []) == :superlist\n+  end\n+\n+  # @tag :pending\n+  test \"1 is not 2\" do\n+    assert Sublist.compare([1], [2]) == :unequal\n+  end\n+\n+  # @tag :pending\n+  test \"comparing massive equal lists\" do\n+    l = Enum.to_list(1..1_000_000)\n+    assert Sublist.compare(l, l) == :equal\n+  end\n+\n+  # @tag :pending\n+  test \"sublist at start\" do\n+    assert Sublist.compare([1,2,3],[1,2,3,4,5]) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"sublist in middle\" do\n+    assert Sublist.compare([4,3,2],[5,4,3,2,1]) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"sublist at end\" do\n+    assert Sublist.compare([3,4,5],[1,2,3,4,5]) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"partially matching sublist at start\" do\n+    assert Sublist.compare([1,1,2], [1,1,1,2]) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"sublist early in huge list\" do\n+    assert Sublist.compare([3,4,5], Enum.to_list(1..1_000_000)) == :sublist\n+  end\n+\n+  # @tag :pending\n+  test \"huge sublist not in huge list\" do\n+    assert Sublist.compare(Enum.to_list(10..1_000_001),\n+                           Enum.to_list(1..1_000_000))\n+           == :unequal\n+  end\n+\n+  # @tag :pending\n+  test \"superlist at start\" do\n+    assert Sublist.compare([1,2,3,4,5],[1,2,3]) == :superlist","path":"elixir/sublist/sublist_test.exs","position":70,"original_position":70,"commit_id":"68e97683249095726d605fe9e509d20ff75a1668","original_commit_id":"68e97683249095726d605fe9e509d20ff75a1668","user":{"login":"ebert[bot]","id":23344435,"avatar_url":"https://avatars3.githubusercontent.com/in/597?v=4","gravatar_id":"","url":"https://api.github.com/users/ebert%5Bbot%5D","html_url":"https://github.com/apps/ebert","followers_url":"https://api.github.com/users/ebert%5Bbot%5D/followers","following_url":"https://api.github.com/users/ebert%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/ebert%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/ebert%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebert%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/ebert%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/ebert%5Bbot%5D/repos","events_url":"https://api.github.com/users/ebert%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/ebert%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Space missing after comma","created_at":"2017-11-22T23:38:07Z","updated_at":"2017-11-22T23:38:08Z","html_url":"https://github.com/boddhisattva/exercism/pull/26#discussion_r152701660","pull_request_url":"https://api.github.com/repos/boddhisattva/exercism/pulls/26","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/comments/152701660"},"html":{"href":"https://github.com/boddhisattva/exercism/pull/26#discussion_r152701660"},"pull_request":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/boddhisattva/exercism/pulls/26","id":154274673,"html_url":"https://github.com/boddhisattva/exercism/pull/26","diff_url":"https://github.com/boddhisattva/exercism/pull/26.diff","patch_url":"https://github.com/boddhisattva/exercism/pull/26.patch","issue_url":"https://api.github.com/repos/boddhisattva/exercism/issues/26","number":26,"state":"open","locked":false,"title":"Elixir sublist","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars1.githubusercontent.com/u/655963?v=4","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-11-22T23:21:11Z","updated_at":"2017-11-22T23:38:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dba86b416bad81f6c2748838ee0f58e40714c95e","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/boddhisattva/exercism/pulls/26/commits","review_comments_url":"https://api.github.com/repos/boddhisattva/exercism/pulls/26/comments","review_comment_url":"https://api.github.com/repos/boddhisattva/exercism/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boddhisattva/exercism/issues/26/comments","statuses_url":"https://api.github.com/repos/boddhisattva/exercism/statuses/68e97683249095726d605fe9e509d20ff75a1668","head":{"label":"boddhisattva:elixir_sublist","ref":"elixir_sublist","sha":"68e97683249095726d605fe9e509d20ff75a1668","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars1.githubusercontent.com/u/655963?v=4","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"repo":{"id":51878114,"name":"exercism","full_name":"boddhisattva/exercism","owner":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars1.githubusercontent.com/u/655963?v=4","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boddhisattva/exercism","description":"My solutions to exercises on Exercism(http://exercism.io/)","fork":false,"url":"https://api.github.com/repos/boddhisattva/exercism","forks_url":"https://api.github.com/repos/boddhisattva/exercism/forks","keys_url":"https://api.github.com/repos/boddhisattva/exercism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boddhisattva/exercism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boddhisattva/exercism/teams","hooks_url":"https://api.github.com/repos/boddhisattva/exercism/hooks","issue_events_url":"https://api.github.com/repos/boddhisattva/exercism/issues/events{/number}","events_url":"https://api.github.com/repos/boddhisattva/exercism/events","assignees_url":"https://api.github.com/repos/boddhisattva/exercism/assignees{/user}","branches_url":"https://api.github.com/repos/boddhisattva/exercism/branches{/branch}","tags_url":"https://api.github.com/repos/boddhisattva/exercism/tags","blobs_url":"https://api.github.com/repos/boddhisattva/exercism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boddhisattva/exercism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boddhisattva/exercism/git/refs{/sha}","trees_url":"https://api.github.com/repos/boddhisattva/exercism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boddhisattva/exercism/statuses/{sha}","languages_url":"https://api.github.com/repos/boddhisattva/exercism/languages","stargazers_url":"https://api.github.com/repos/boddhisattva/exercism/stargazers","contributors_url":"https://api.github.com/repos/boddhisattva/exercism/contributors","subscribers_url":"https://api.github.com/repos/boddhisattva/exercism/subscribers","subscription_url":"https://api.github.com/repos/boddhisattva/exercism/subscription","commits_url":"https://api.github.com/repos/boddhisattva/exercism/commits{/sha}","git_commits_url":"https://api.github.com/repos/boddhisattva/exercism/git/commits{/sha}","comments_url":"https://api.github.com/repos/boddhisattva/exercism/comments{/number}","issue_comment_url":"https://api.github.com/repos/boddhisattva/exercism/issues/comments{/number}","contents_url":"https://api.github.com/repos/boddhisattva/exercism/contents/{+path}","compare_url":"https://api.github.com/repos/boddhisattva/exercism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boddhisattva/exercism/merges","archive_url":"https://api.github.com/repos/boddhisattva/exercism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boddhisattva/exercism/downloads","issues_url":"https://api.github.com/repos/boddhisattva/exercism/issues{/number}","pulls_url":"https://api.github.com/repos/boddhisattva/exercism/pulls{/number}","milestones_url":"https://api.github.com/repos/boddhisattva/exercism/milestones{/number}","notifications_url":"https://api.github.com/repos/boddhisattva/exercism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boddhisattva/exercism/labels{/name}","releases_url":"https://api.github.com/repos/boddhisattva/exercism/releases{/id}","deployments_url":"https://api.github.com/repos/boddhisattva/exercism/deployments","created_at":"2016-02-16T23:25:39Z","updated_at":"2017-04-03T19:00:14Z","pushed_at":"2017-11-22T23:37:28Z","git_url":"git://github.com/boddhisattva/exercism.git","ssh_url":"git@github.com:boddhisattva/exercism.git","clone_url":"https://github.com/boddhisattva/exercism.git","svn_url":"https://github.com/boddhisattva/exercism","homepage":"","size":194,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"boddhisattva:master","ref":"master","sha":"9fbab1bad4cae89fcc4478e2ceb254b3702b94c0","user":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars1.githubusercontent.com/u/655963?v=4","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"repo":{"id":51878114,"name":"exercism","full_name":"boddhisattva/exercism","owner":{"login":"boddhisattva","id":655963,"avatar_url":"https://avatars1.githubusercontent.com/u/655963?v=4","gravatar_id":"","url":"https://api.github.com/users/boddhisattva","html_url":"https://github.com/boddhisattva","followers_url":"https://api.github.com/users/boddhisattva/followers","following_url":"https://api.github.com/users/boddhisattva/following{/other_user}","gists_url":"https://api.github.com/users/boddhisattva/gists{/gist_id}","starred_url":"https://api.github.com/users/boddhisattva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boddhisattva/subscriptions","organizations_url":"https://api.github.com/users/boddhisattva/orgs","repos_url":"https://api.github.com/users/boddhisattva/repos","events_url":"https://api.github.com/users/boddhisattva/events{/privacy}","received_events_url":"https://api.github.com/users/boddhisattva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boddhisattva/exercism","description":"My solutions to exercises on Exercism(http://exercism.io/)","fork":false,"url":"https://api.github.com/repos/boddhisattva/exercism","forks_url":"https://api.github.com/repos/boddhisattva/exercism/forks","keys_url":"https://api.github.com/repos/boddhisattva/exercism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boddhisattva/exercism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boddhisattva/exercism/teams","hooks_url":"https://api.github.com/repos/boddhisattva/exercism/hooks","issue_events_url":"https://api.github.com/repos/boddhisattva/exercism/issues/events{/number}","events_url":"https://api.github.com/repos/boddhisattva/exercism/events","assignees_url":"https://api.github.com/repos/boddhisattva/exercism/assignees{/user}","branches_url":"https://api.github.com/repos/boddhisattva/exercism/branches{/branch}","tags_url":"https://api.github.com/repos/boddhisattva/exercism/tags","blobs_url":"https://api.github.com/repos/boddhisattva/exercism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boddhisattva/exercism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boddhisattva/exercism/git/refs{/sha}","trees_url":"https://api.github.com/repos/boddhisattva/exercism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boddhisattva/exercism/statuses/{sha}","languages_url":"https://api.github.com/repos/boddhisattva/exercism/languages","stargazers_url":"https://api.github.com/repos/boddhisattva/exercism/stargazers","contributors_url":"https://api.github.com/repos/boddhisattva/exercism/contributors","subscribers_url":"https://api.github.com/repos/boddhisattva/exercism/subscribers","subscription_url":"https://api.github.com/repos/boddhisattva/exercism/subscription","commits_url":"https://api.github.com/repos/boddhisattva/exercism/commits{/sha}","git_commits_url":"https://api.github.com/repos/boddhisattva/exercism/git/commits{/sha}","comments_url":"https://api.github.com/repos/boddhisattva/exercism/comments{/number}","issue_comment_url":"https://api.github.com/repos/boddhisattva/exercism/issues/comments{/number}","contents_url":"https://api.github.com/repos/boddhisattva/exercism/contents/{+path}","compare_url":"https://api.github.com/repos/boddhisattva/exercism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boddhisattva/exercism/merges","archive_url":"https://api.github.com/repos/boddhisattva/exercism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boddhisattva/exercism/downloads","issues_url":"https://api.github.com/repos/boddhisattva/exercism/issues{/number}","pulls_url":"https://api.github.com/repos/boddhisattva/exercism/pulls{/number}","milestones_url":"https://api.github.com/repos/boddhisattva/exercism/milestones{/number}","notifications_url":"https://api.github.com/repos/boddhisattva/exercism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boddhisattva/exercism/labels{/name}","releases_url":"https://api.github.com/repos/boddhisattva/exercism/releases{/id}","deployments_url":"https://api.github.com/repos/boddhisattva/exercism/deployments","created_at":"2016-02-16T23:25:39Z","updated_at":"2017-04-03T19:00:14Z","pushed_at":"2017-11-22T23:37:28Z","git_url":"git://github.com/boddhisattva/exercism.git","ssh_url":"git@github.com:boddhisattva/exercism.git","clone_url":"https://github.com/boddhisattva/exercism.git","svn_url":"https://github.com/boddhisattva/exercism","homepage":"","size":194,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/26"},"html":{"href":"https://github.com/boddhisattva/exercism/pull/26"},"issue":{"href":"https://api.github.com/repos/boddhisattva/exercism/issues/26"},"comments":{"href":"https://api.github.com/repos/boddhisattva/exercism/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boddhisattva/exercism/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/boddhisattva/exercism/statuses/68e97683249095726d605fe9e509d20ff75a1668"}},"author_association":"OWNER"}}
{"actor":{"display_login":"ebert"}}