{"action":"created","comment":{"url":"https://api.github.com/repos/odds-lang/odds/pulls/comments/47191656","id":47191656,"diff_hunk":"@@ -0,0 +1,32 @@\n+#!/bin/bash\n+\n+NC='\\033[0m'\n+CYAN='\\033[0;36m'\n+GREEN='\\033[0;32m'\n+RED='\\033[0;31m'\n+\n+INPUT_FILES=\"lib/*.ods\"\n+TMP_FILE=$(mktemp \"compiled.XXXXX\")\n+printf \"${CYAN}Running compiler 'pass' tests...\\n${NC}\"\n+\n+for input_file in $INPUT_FILES; do\n+    output_file=${input_file/.ods/.out}\n+\n+    # compile odds program to temp python file\n+    ../compiler/odds.sh -c $input_file $TMP_FILE","path":"test/lib_test.sh","position":16,"original_position":16,"commit_id":"28f9c90d4227dfa5fa659c03f884ac32a6ea2397","original_commit_id":"28f9c90d4227dfa5fa659c03f884ac32a6ea2397","user":{"login":"alexandramedway","id":7786527,"avatar_url":"https://avatars.githubusercontent.com/u/7786527?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandramedway","html_url":"https://github.com/alexandramedway","followers_url":"https://api.github.com/users/alexandramedway/followers","following_url":"https://api.github.com/users/alexandramedway/following{/other_user}","gists_url":"https://api.github.com/users/alexandramedway/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandramedway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandramedway/subscriptions","organizations_url":"https://api.github.com/users/alexandramedway/orgs","repos_url":"https://api.github.com/users/alexandramedway/repos","events_url":"https://api.github.com/users/alexandramedway/events{/privacy}","received_events_url":"https://api.github.com/users/alexandramedway/received_events","type":"User","site_admin":false},"body":"Do we want to compile or use raw? Or are we comparing the runtime output most of the time, cause i think it would be difficult to compare **actual** output of the python. This may change..","created_at":"2015-12-10T05:59:12Z","updated_at":"2015-12-10T05:59:12Z","html_url":"https://github.com/odds-lang/odds/pull/91#discussion_r47191656","pull_request_url":"https://api.github.com/repos/odds-lang/odds/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/comments/47191656"},"html":{"href":"https://github.com/odds-lang/odds/pull/91#discussion_r47191656"},"pull_request":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/odds-lang/odds/pulls/91","id":53217867,"html_url":"https://github.com/odds-lang/odds/pull/91","diff_url":"https://github.com/odds-lang/odds/pull/91.diff","patch_url":"https://github.com/odds-lang/odds/pull/91.patch","issue_url":"https://api.github.com/repos/odds-lang/odds/issues/91","number":91,"state":"open","locked":false,"title":"Dists DONE","user":{"login":"lillyfwang","id":5757751,"avatar_url":"https://avatars.githubusercontent.com/u/5757751?v=3","gravatar_id":"","url":"https://api.github.com/users/lillyfwang","html_url":"https://github.com/lillyfwang","followers_url":"https://api.github.com/users/lillyfwang/followers","following_url":"https://api.github.com/users/lillyfwang/following{/other_user}","gists_url":"https://api.github.com/users/lillyfwang/gists{/gist_id}","starred_url":"https://api.github.com/users/lillyfwang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lillyfwang/subscriptions","organizations_url":"https://api.github.com/users/lillyfwang/orgs","repos_url":"https://api.github.com/users/lillyfwang/repos","events_url":"https://api.github.com/users/lillyfwang/events{/privacy}","received_events_url":"https://api.github.com/users/lillyfwang/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-10T05:42:22Z","updated_at":"2015-12-10T05:59:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27cd20fd5250a0c0f13d3c447af3fe9f27684e36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odds-lang/odds/pulls/91/commits","review_comments_url":"https://api.github.com/repos/odds-lang/odds/pulls/91/comments","review_comment_url":"https://api.github.com/repos/odds-lang/odds/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odds-lang/odds/issues/91/comments","statuses_url":"https://api.github.com/repos/odds-lang/odds/statuses/28f9c90d4227dfa5fa659c03f884ac32a6ea2397","head":{"label":"odds-lang:dist","ref":"dist","sha":"28f9c90d4227dfa5fa659c03f884ac32a6ea2397","user":{"login":"odds-lang","id":15993829,"avatar_url":"https://avatars.githubusercontent.com/u/15993829?v=3","gravatar_id":"","url":"https://api.github.com/users/odds-lang","html_url":"https://github.com/odds-lang","followers_url":"https://api.github.com/users/odds-lang/followers","following_url":"https://api.github.com/users/odds-lang/following{/other_user}","gists_url":"https://api.github.com/users/odds-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/odds-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odds-lang/subscriptions","organizations_url":"https://api.github.com/users/odds-lang/orgs","repos_url":"https://api.github.com/users/odds-lang/repos","events_url":"https://api.github.com/users/odds-lang/events{/privacy}","received_events_url":"https://api.github.com/users/odds-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":43025019,"name":"odds","full_name":"odds-lang/odds","owner":{"login":"odds-lang","id":15993829,"avatar_url":"https://avatars.githubusercontent.com/u/15993829?v=3","gravatar_id":"","url":"https://api.github.com/users/odds-lang","html_url":"https://github.com/odds-lang","followers_url":"https://api.github.com/users/odds-lang/followers","following_url":"https://api.github.com/users/odds-lang/following{/other_user}","gists_url":"https://api.github.com/users/odds-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/odds-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odds-lang/subscriptions","organizations_url":"https://api.github.com/users/odds-lang/orgs","repos_url":"https://api.github.com/users/odds-lang/repos","events_url":"https://api.github.com/users/odds-lang/events{/privacy}","received_events_url":"https://api.github.com/users/odds-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odds-lang/odds","description":"A simple mathematical distribution language.","fork":false,"url":"https://api.github.com/repos/odds-lang/odds","forks_url":"https://api.github.com/repos/odds-lang/odds/forks","keys_url":"https://api.github.com/repos/odds-lang/odds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odds-lang/odds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odds-lang/odds/teams","hooks_url":"https://api.github.com/repos/odds-lang/odds/hooks","issue_events_url":"https://api.github.com/repos/odds-lang/odds/issues/events{/number}","events_url":"https://api.github.com/repos/odds-lang/odds/events","assignees_url":"https://api.github.com/repos/odds-lang/odds/assignees{/user}","branches_url":"https://api.github.com/repos/odds-lang/odds/branches{/branch}","tags_url":"https://api.github.com/repos/odds-lang/odds/tags","blobs_url":"https://api.github.com/repos/odds-lang/odds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odds-lang/odds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odds-lang/odds/git/refs{/sha}","trees_url":"https://api.github.com/repos/odds-lang/odds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odds-lang/odds/statuses/{sha}","languages_url":"https://api.github.com/repos/odds-lang/odds/languages","stargazers_url":"https://api.github.com/repos/odds-lang/odds/stargazers","contributors_url":"https://api.github.com/repos/odds-lang/odds/contributors","subscribers_url":"https://api.github.com/repos/odds-lang/odds/subscribers","subscription_url":"https://api.github.com/repos/odds-lang/odds/subscription","commits_url":"https://api.github.com/repos/odds-lang/odds/commits{/sha}","git_commits_url":"https://api.github.com/repos/odds-lang/odds/git/commits{/sha}","comments_url":"https://api.github.com/repos/odds-lang/odds/comments{/number}","issue_comment_url":"https://api.github.com/repos/odds-lang/odds/issues/comments{/number}","contents_url":"https://api.github.com/repos/odds-lang/odds/contents/{+path}","compare_url":"https://api.github.com/repos/odds-lang/odds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odds-lang/odds/merges","archive_url":"https://api.github.com/repos/odds-lang/odds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odds-lang/odds/downloads","issues_url":"https://api.github.com/repos/odds-lang/odds/issues{/number}","pulls_url":"https://api.github.com/repos/odds-lang/odds/pulls{/number}","milestones_url":"https://api.github.com/repos/odds-lang/odds/milestones{/number}","notifications_url":"https://api.github.com/repos/odds-lang/odds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odds-lang/odds/labels{/name}","releases_url":"https://api.github.com/repos/odds-lang/odds/releases{/id}","created_at":"2015-09-23T20:29:23Z","updated_at":"2015-12-02T23:49:10Z","pushed_at":"2015-12-10T05:56:08Z","git_url":"git://github.com/odds-lang/odds.git","ssh_url":"git@github.com:odds-lang/odds.git","clone_url":"https://github.com/odds-lang/odds.git","svn_url":"https://github.com/odds-lang/odds","homepage":"","size":407,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"base":{"label":"odds-lang:master","ref":"master","sha":"1a1a0cda91c5dcce1f3778d61dc6214b0cfb2a4c","user":{"login":"odds-lang","id":15993829,"avatar_url":"https://avatars.githubusercontent.com/u/15993829?v=3","gravatar_id":"","url":"https://api.github.com/users/odds-lang","html_url":"https://github.com/odds-lang","followers_url":"https://api.github.com/users/odds-lang/followers","following_url":"https://api.github.com/users/odds-lang/following{/other_user}","gists_url":"https://api.github.com/users/odds-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/odds-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odds-lang/subscriptions","organizations_url":"https://api.github.com/users/odds-lang/orgs","repos_url":"https://api.github.com/users/odds-lang/repos","events_url":"https://api.github.com/users/odds-lang/events{/privacy}","received_events_url":"https://api.github.com/users/odds-lang/received_events","type":"Organization","site_admin":false},"repo":{"id":43025019,"name":"odds","full_name":"odds-lang/odds","owner":{"login":"odds-lang","id":15993829,"avatar_url":"https://avatars.githubusercontent.com/u/15993829?v=3","gravatar_id":"","url":"https://api.github.com/users/odds-lang","html_url":"https://github.com/odds-lang","followers_url":"https://api.github.com/users/odds-lang/followers","following_url":"https://api.github.com/users/odds-lang/following{/other_user}","gists_url":"https://api.github.com/users/odds-lang/gists{/gist_id}","starred_url":"https://api.github.com/users/odds-lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odds-lang/subscriptions","organizations_url":"https://api.github.com/users/odds-lang/orgs","repos_url":"https://api.github.com/users/odds-lang/repos","events_url":"https://api.github.com/users/odds-lang/events{/privacy}","received_events_url":"https://api.github.com/users/odds-lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odds-lang/odds","description":"A simple mathematical distribution language.","fork":false,"url":"https://api.github.com/repos/odds-lang/odds","forks_url":"https://api.github.com/repos/odds-lang/odds/forks","keys_url":"https://api.github.com/repos/odds-lang/odds/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odds-lang/odds/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odds-lang/odds/teams","hooks_url":"https://api.github.com/repos/odds-lang/odds/hooks","issue_events_url":"https://api.github.com/repos/odds-lang/odds/issues/events{/number}","events_url":"https://api.github.com/repos/odds-lang/odds/events","assignees_url":"https://api.github.com/repos/odds-lang/odds/assignees{/user}","branches_url":"https://api.github.com/repos/odds-lang/odds/branches{/branch}","tags_url":"https://api.github.com/repos/odds-lang/odds/tags","blobs_url":"https://api.github.com/repos/odds-lang/odds/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odds-lang/odds/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odds-lang/odds/git/refs{/sha}","trees_url":"https://api.github.com/repos/odds-lang/odds/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odds-lang/odds/statuses/{sha}","languages_url":"https://api.github.com/repos/odds-lang/odds/languages","stargazers_url":"https://api.github.com/repos/odds-lang/odds/stargazers","contributors_url":"https://api.github.com/repos/odds-lang/odds/contributors","subscribers_url":"https://api.github.com/repos/odds-lang/odds/subscribers","subscription_url":"https://api.github.com/repos/odds-lang/odds/subscription","commits_url":"https://api.github.com/repos/odds-lang/odds/commits{/sha}","git_commits_url":"https://api.github.com/repos/odds-lang/odds/git/commits{/sha}","comments_url":"https://api.github.com/repos/odds-lang/odds/comments{/number}","issue_comment_url":"https://api.github.com/repos/odds-lang/odds/issues/comments{/number}","contents_url":"https://api.github.com/repos/odds-lang/odds/contents/{+path}","compare_url":"https://api.github.com/repos/odds-lang/odds/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odds-lang/odds/merges","archive_url":"https://api.github.com/repos/odds-lang/odds/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odds-lang/odds/downloads","issues_url":"https://api.github.com/repos/odds-lang/odds/issues{/number}","pulls_url":"https://api.github.com/repos/odds-lang/odds/pulls{/number}","milestones_url":"https://api.github.com/repos/odds-lang/odds/milestones{/number}","notifications_url":"https://api.github.com/repos/odds-lang/odds/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odds-lang/odds/labels{/name}","releases_url":"https://api.github.com/repos/odds-lang/odds/releases{/id}","created_at":"2015-09-23T20:29:23Z","updated_at":"2015-12-02T23:49:10Z","pushed_at":"2015-12-10T05:56:08Z","git_url":"git://github.com/odds-lang/odds.git","ssh_url":"git@github.com:odds-lang/odds.git","clone_url":"https://github.com/odds-lang/odds.git","svn_url":"https://github.com/odds-lang/odds","homepage":"","size":407,"stargazers_count":1,"watchers_count":1,"language":"OCaml","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":10,"forks":0,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/91"},"html":{"href":"https://github.com/odds-lang/odds/pull/91"},"issue":{"href":"https://api.github.com/repos/odds-lang/odds/issues/91"},"comments":{"href":"https://api.github.com/repos/odds-lang/odds/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odds-lang/odds/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/odds-lang/odds/statuses/28f9c90d4227dfa5fa659c03f884ac32a6ea2397"}}}}