{"action":"created","comment":{"url":"https://api.github.com/repos/aioc/cms/pulls/comments/31990282","id":31990282,"diff_hunk":"@@ -262,6 +265,7 @@ def evaluate(self, job, file_cacher):\n             commands,\n             job.time_limit,\n             job.memory_limit,\n+            max_processes,","path":"cms/grading/tasktypes/Batch.py","position":23,"original_position":23,"commit_id":"1eabfe925295cf255645ef76a29082e4efa5c65d","original_commit_id":"b6c1b390b15a478a986fa31cdd92130b5db5b726","user":{"login":"bgbnbigben","id":1323667,"avatar_url":"https://avatars.githubusercontent.com/u/1323667?v=3","gravatar_id":"","url":"https://api.github.com/users/bgbnbigben","html_url":"https://github.com/bgbnbigben","followers_url":"https://api.github.com/users/bgbnbigben/followers","following_url":"https://api.github.com/users/bgbnbigben/following{/other_user}","gists_url":"https://api.github.com/users/bgbnbigben/gists{/gist_id}","starred_url":"https://api.github.com/users/bgbnbigben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgbnbigben/subscriptions","organizations_url":"https://api.github.com/users/bgbnbigben/orgs","repos_url":"https://api.github.com/users/bgbnbigben/repos","events_url":"https://api.github.com/users/bgbnbigben/events{/privacy}","received_events_url":"https://api.github.com/users/bgbnbigben/received_events","type":"User","site_admin":false},"body":"yeah, feel free to use whichever idiom you prefer. fun fact: __dict__.get() in cpython is slower than the if/else. I'm not particularly attached to either.\r\n\r\nHmm, I only just noticed that the job-specific args weren't kwargs (...wtf?) so yeah, okay, fair point; don't make this a kwarg. Seems legit.\r\n","created_at":"2015-06-09T08:03:40Z","updated_at":"2015-06-09T08:03:40Z","html_url":"https://github.com/aioc/cms/pull/1#discussion_r31990282","pull_request_url":"https://api.github.com/repos/aioc/cms/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/aioc/cms/pulls/comments/31990282"},"html":{"href":"https://github.com/aioc/cms/pull/1#discussion_r31990282"},"pull_request":{"href":"https://api.github.com/repos/aioc/cms/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/aioc/cms/pulls/1","id":37133614,"html_url":"https://github.com/aioc/cms/pull/1","diff_url":"https://github.com/aioc/cms/pull/1.diff","patch_url":"https://github.com/aioc/cms/pull/1.patch","issue_url":"https://api.github.com/repos/aioc/cms/issues/1","number":1,"state":"open","locked":false,"title":"Add c sharp","user":{"login":"AdGold","id":2056008,"avatar_url":"https://avatars.githubusercontent.com/u/2056008?v=3","gravatar_id":"","url":"https://api.github.com/users/AdGold","html_url":"https://github.com/AdGold","followers_url":"https://api.github.com/users/AdGold/followers","following_url":"https://api.github.com/users/AdGold/following{/other_user}","gists_url":"https://api.github.com/users/AdGold/gists{/gist_id}","starred_url":"https://api.github.com/users/AdGold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdGold/subscriptions","organizations_url":"https://api.github.com/users/AdGold/orgs","repos_url":"https://api.github.com/users/AdGold/repos","events_url":"https://api.github.com/users/AdGold/events{/privacy}","received_events_url":"https://api.github.com/users/AdGold/received_events","type":"User","site_admin":false},"body":"Added C# support\r\nC# requires more than one thread to run under mono so added in a dictionary mapping languages to maximum allowed processes and set that to 20 for C#.","created_at":"2015-06-08T09:05:03Z","updated_at":"2015-06-09T08:03:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b94df6cf8fa517929fcc6def4a5a47550ef24161","assignee":{"login":"bgbnbigben","id":1323667,"avatar_url":"https://avatars.githubusercontent.com/u/1323667?v=3","gravatar_id":"","url":"https://api.github.com/users/bgbnbigben","html_url":"https://github.com/bgbnbigben","followers_url":"https://api.github.com/users/bgbnbigben/followers","following_url":"https://api.github.com/users/bgbnbigben/following{/other_user}","gists_url":"https://api.github.com/users/bgbnbigben/gists{/gist_id}","starred_url":"https://api.github.com/users/bgbnbigben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgbnbigben/subscriptions","organizations_url":"https://api.github.com/users/bgbnbigben/orgs","repos_url":"https://api.github.com/users/bgbnbigben/repos","events_url":"https://api.github.com/users/bgbnbigben/events{/privacy}","received_events_url":"https://api.github.com/users/bgbnbigben/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/aioc/cms/pulls/1/commits","review_comments_url":"https://api.github.com/repos/aioc/cms/pulls/1/comments","review_comment_url":"https://api.github.com/repos/aioc/cms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aioc/cms/issues/1/comments","statuses_url":"https://api.github.com/repos/aioc/cms/statuses/1eabfe925295cf255645ef76a29082e4efa5c65d","head":{"label":"aioc:add_c_sharp","ref":"add_c_sharp","sha":"1eabfe925295cf255645ef76a29082e4efa5c65d","user":{"login":"aioc","id":10321471,"avatar_url":"https://avatars.githubusercontent.com/u/10321471?v=3","gravatar_id":"","url":"https://api.github.com/users/aioc","html_url":"https://github.com/aioc","followers_url":"https://api.github.com/users/aioc/followers","following_url":"https://api.github.com/users/aioc/following{/other_user}","gists_url":"https://api.github.com/users/aioc/gists{/gist_id}","starred_url":"https://api.github.com/users/aioc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aioc/subscriptions","organizations_url":"https://api.github.com/users/aioc/orgs","repos_url":"https://api.github.com/users/aioc/repos","events_url":"https://api.github.com/users/aioc/events{/privacy}","received_events_url":"https://api.github.com/users/aioc/received_events","type":"Organization","site_admin":false},"repo":{"id":30386914,"name":"cms","full_name":"aioc/cms","owner":{"login":"aioc","id":10321471,"avatar_url":"https://avatars.githubusercontent.com/u/10321471?v=3","gravatar_id":"","url":"https://api.github.com/users/aioc","html_url":"https://github.com/aioc","followers_url":"https://api.github.com/users/aioc/followers","following_url":"https://api.github.com/users/aioc/following{/other_user}","gists_url":"https://api.github.com/users/aioc/gists{/gist_id}","starred_url":"https://api.github.com/users/aioc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aioc/subscriptions","organizations_url":"https://api.github.com/users/aioc/orgs","repos_url":"https://api.github.com/users/aioc/repos","events_url":"https://api.github.com/users/aioc/events{/privacy}","received_events_url":"https://api.github.com/users/aioc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aioc/cms","description":"Contest Management System","fork":true,"url":"https://api.github.com/repos/aioc/cms","forks_url":"https://api.github.com/repos/aioc/cms/forks","keys_url":"https://api.github.com/repos/aioc/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aioc/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aioc/cms/teams","hooks_url":"https://api.github.com/repos/aioc/cms/hooks","issue_events_url":"https://api.github.com/repos/aioc/cms/issues/events{/number}","events_url":"https://api.github.com/repos/aioc/cms/events","assignees_url":"https://api.github.com/repos/aioc/cms/assignees{/user}","branches_url":"https://api.github.com/repos/aioc/cms/branches{/branch}","tags_url":"https://api.github.com/repos/aioc/cms/tags","blobs_url":"https://api.github.com/repos/aioc/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aioc/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aioc/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/aioc/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aioc/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/aioc/cms/languages","stargazers_url":"https://api.github.com/repos/aioc/cms/stargazers","contributors_url":"https://api.github.com/repos/aioc/cms/contributors","subscribers_url":"https://api.github.com/repos/aioc/cms/subscribers","subscription_url":"https://api.github.com/repos/aioc/cms/subscription","commits_url":"https://api.github.com/repos/aioc/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/aioc/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/aioc/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/aioc/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/aioc/cms/contents/{+path}","compare_url":"https://api.github.com/repos/aioc/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aioc/cms/merges","archive_url":"https://api.github.com/repos/aioc/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aioc/cms/downloads","issues_url":"https://api.github.com/repos/aioc/cms/issues{/number}","pulls_url":"https://api.github.com/repos/aioc/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/aioc/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/aioc/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aioc/cms/labels{/name}","releases_url":"https://api.github.com/repos/aioc/cms/releases{/id}","created_at":"2015-02-06T00:47:01Z","updated_at":"2015-05-19T06:53:56Z","pushed_at":"2015-06-09T07:38:24Z","git_url":"git://github.com/aioc/cms.git","ssh_url":"git@github.com:aioc/cms.git","clone_url":"https://github.com/aioc/cms.git","svn_url":"https://github.com/aioc/cms","homepage":"http://cms-dev.github.io/","size":12087,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"aioc-v1.2"}},"base":{"label":"aioc:aioc-v1.2","ref":"aioc-v1.2","sha":"5ab6ab23e8dee0c7e2ff6e5bc1d7517a6c6421a7","user":{"login":"aioc","id":10321471,"avatar_url":"https://avatars.githubusercontent.com/u/10321471?v=3","gravatar_id":"","url":"https://api.github.com/users/aioc","html_url":"https://github.com/aioc","followers_url":"https://api.github.com/users/aioc/followers","following_url":"https://api.github.com/users/aioc/following{/other_user}","gists_url":"https://api.github.com/users/aioc/gists{/gist_id}","starred_url":"https://api.github.com/users/aioc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aioc/subscriptions","organizations_url":"https://api.github.com/users/aioc/orgs","repos_url":"https://api.github.com/users/aioc/repos","events_url":"https://api.github.com/users/aioc/events{/privacy}","received_events_url":"https://api.github.com/users/aioc/received_events","type":"Organization","site_admin":false},"repo":{"id":30386914,"name":"cms","full_name":"aioc/cms","owner":{"login":"aioc","id":10321471,"avatar_url":"https://avatars.githubusercontent.com/u/10321471?v=3","gravatar_id":"","url":"https://api.github.com/users/aioc","html_url":"https://github.com/aioc","followers_url":"https://api.github.com/users/aioc/followers","following_url":"https://api.github.com/users/aioc/following{/other_user}","gists_url":"https://api.github.com/users/aioc/gists{/gist_id}","starred_url":"https://api.github.com/users/aioc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aioc/subscriptions","organizations_url":"https://api.github.com/users/aioc/orgs","repos_url":"https://api.github.com/users/aioc/repos","events_url":"https://api.github.com/users/aioc/events{/privacy}","received_events_url":"https://api.github.com/users/aioc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aioc/cms","description":"Contest Management System","fork":true,"url":"https://api.github.com/repos/aioc/cms","forks_url":"https://api.github.com/repos/aioc/cms/forks","keys_url":"https://api.github.com/repos/aioc/cms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aioc/cms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aioc/cms/teams","hooks_url":"https://api.github.com/repos/aioc/cms/hooks","issue_events_url":"https://api.github.com/repos/aioc/cms/issues/events{/number}","events_url":"https://api.github.com/repos/aioc/cms/events","assignees_url":"https://api.github.com/repos/aioc/cms/assignees{/user}","branches_url":"https://api.github.com/repos/aioc/cms/branches{/branch}","tags_url":"https://api.github.com/repos/aioc/cms/tags","blobs_url":"https://api.github.com/repos/aioc/cms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aioc/cms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aioc/cms/git/refs{/sha}","trees_url":"https://api.github.com/repos/aioc/cms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aioc/cms/statuses/{sha}","languages_url":"https://api.github.com/repos/aioc/cms/languages","stargazers_url":"https://api.github.com/repos/aioc/cms/stargazers","contributors_url":"https://api.github.com/repos/aioc/cms/contributors","subscribers_url":"https://api.github.com/repos/aioc/cms/subscribers","subscription_url":"https://api.github.com/repos/aioc/cms/subscription","commits_url":"https://api.github.com/repos/aioc/cms/commits{/sha}","git_commits_url":"https://api.github.com/repos/aioc/cms/git/commits{/sha}","comments_url":"https://api.github.com/repos/aioc/cms/comments{/number}","issue_comment_url":"https://api.github.com/repos/aioc/cms/issues/comments{/number}","contents_url":"https://api.github.com/repos/aioc/cms/contents/{+path}","compare_url":"https://api.github.com/repos/aioc/cms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aioc/cms/merges","archive_url":"https://api.github.com/repos/aioc/cms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aioc/cms/downloads","issues_url":"https://api.github.com/repos/aioc/cms/issues{/number}","pulls_url":"https://api.github.com/repos/aioc/cms/pulls{/number}","milestones_url":"https://api.github.com/repos/aioc/cms/milestones{/number}","notifications_url":"https://api.github.com/repos/aioc/cms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aioc/cms/labels{/name}","releases_url":"https://api.github.com/repos/aioc/cms/releases{/id}","created_at":"2015-02-06T00:47:01Z","updated_at":"2015-05-19T06:53:56Z","pushed_at":"2015-06-09T07:38:24Z","git_url":"git://github.com/aioc/cms.git","ssh_url":"git@github.com:aioc/cms.git","clone_url":"https://github.com/aioc/cms.git","svn_url":"https://github.com/aioc/cms","homepage":"http://cms-dev.github.io/","size":12087,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"aioc-v1.2"}},"_links":{"self":{"href":"https://api.github.com/repos/aioc/cms/pulls/1"},"html":{"href":"https://github.com/aioc/cms/pull/1"},"issue":{"href":"https://api.github.com/repos/aioc/cms/issues/1"},"comments":{"href":"https://api.github.com/repos/aioc/cms/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/aioc/cms/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/aioc/cms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aioc/cms/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/aioc/cms/statuses/1eabfe925295cf255645ef76a29082e4efa5c65d"}}}}