{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/84175207","pull_request_review_id":4969244,"id":84175207,"diff_hunk":"@@ -0,0 +1,43 @@\n+# 1/usr/bin/env ruby\n+\n+operators = [\"*\", \"/\", \"+\", \"-\", \"!\"]\n+flag = true\n+count = 0\n+values = []\n+stack = []\n+def bitoperation(value, count)\n+  code = value.to_s(2).reverse\n+  if code.length > count && count.positive?\n+    code.each_char do |i|\n+      if count.nonzero? && code[i] == \"1\"\n+        code[i] = \"0\"\n+        count -= 1\n+      end\n+    end\n+  end\n+  count < code.length ? code.reverse.to_i(2) : 0\n+end\n+\n+def operation!(symbol, stack)","path":"2016/InnaKorotkova/hw-0/reverse.rb","position":21,"original_position":21,"commit_id":"fbd1e06ae400a63f66d8251bfd2a34393e414607","original_commit_id":"fbd1e06ae400a63f66d8251bfd2a34393e414607","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Assignment Branch Condition size for operation! is too high. [15.94/15]","created_at":"2016-10-19T21:49:46Z","updated_at":"2016-10-19T21:49:47Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/434#discussion_r84175207","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/84175207"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/434#discussion_r84175207"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434","id":89967758,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/434","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/434.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/434.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/434","number":434,"state":"open","locked":false,"title":"opn hometask","user":{"login":"fayriss","id":22843592,"avatar_url":"https://avatars.githubusercontent.com/u/22843592?v=3","gravatar_id":"","url":"https://api.github.com/users/fayriss","html_url":"https://github.com/fayriss","followers_url":"https://api.github.com/users/fayriss/followers","following_url":"https://api.github.com/users/fayriss/following{/other_user}","gists_url":"https://api.github.com/users/fayriss/gists{/gist_id}","starred_url":"https://api.github.com/users/fayriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayriss/subscriptions","organizations_url":"https://api.github.com/users/fayriss/orgs","repos_url":"https://api.github.com/users/fayriss/repos","events_url":"https://api.github.com/users/fayriss/events{/privacy}","received_events_url":"https://api.github.com/users/fayriss/received_events","type":"User","site_admin":false},"body":"## Фамилия Имя\r\nКороткова Инна\r\n\r\n## Email\r\nmadsenxx@gmail.com\r\n\r\n## Номер домашнего задания\r\n0\r\n\r\n## Ссылка на видео с демо работы\r\nhttps://youtu.be/CffD5xL3_CA\r\n\r\n## Комментарии\r\n как-то так :)\r\n","created_at":"2016-10-19T09:02:05Z","updated_at":"2016-10-19T21:49:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"235387ffe20e6dfd1cf8e608f5f5fe9fec602301","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434/comments","review_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/434/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/fbd1e06ae400a63f66d8251bfd2a34393e414607","head":{"label":"fayriss:homework-0","ref":"homework-0","sha":"fbd1e06ae400a63f66d8251bfd2a34393e414607","user":{"login":"fayriss","id":22843592,"avatar_url":"https://avatars.githubusercontent.com/u/22843592?v=3","gravatar_id":"","url":"https://api.github.com/users/fayriss","html_url":"https://github.com/fayriss","followers_url":"https://api.github.com/users/fayriss/followers","following_url":"https://api.github.com/users/fayriss/following{/other_user}","gists_url":"https://api.github.com/users/fayriss/gists{/gist_id}","starred_url":"https://api.github.com/users/fayriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayriss/subscriptions","organizations_url":"https://api.github.com/users/fayriss/orgs","repos_url":"https://api.github.com/users/fayriss/repos","events_url":"https://api.github.com/users/fayriss/events{/privacy}","received_events_url":"https://api.github.com/users/fayriss/received_events","type":"User","site_admin":false},"repo":{"id":71332699,"name":"bsuir-courses","full_name":"fayriss/bsuir-courses","owner":{"login":"fayriss","id":22843592,"avatar_url":"https://avatars.githubusercontent.com/u/22843592?v=3","gravatar_id":"","url":"https://api.github.com/users/fayriss","html_url":"https://github.com/fayriss","followers_url":"https://api.github.com/users/fayriss/followers","following_url":"https://api.github.com/users/fayriss/following{/other_user}","gists_url":"https://api.github.com/users/fayriss/gists{/gist_id}","starred_url":"https://api.github.com/users/fayriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayriss/subscriptions","organizations_url":"https://api.github.com/users/fayriss/orgs","repos_url":"https://api.github.com/users/fayriss/repos","events_url":"https://api.github.com/users/fayriss/events{/privacy}","received_events_url":"https://api.github.com/users/fayriss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fayriss/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/fayriss/bsuir-courses","forks_url":"https://api.github.com/repos/fayriss/bsuir-courses/forks","keys_url":"https://api.github.com/repos/fayriss/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fayriss/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fayriss/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/fayriss/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/fayriss/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/fayriss/bsuir-courses/events","assignees_url":"https://api.github.com/repos/fayriss/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/fayriss/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/fayriss/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/fayriss/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fayriss/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fayriss/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/fayriss/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fayriss/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/fayriss/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/fayriss/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/fayriss/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/fayriss/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/fayriss/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/fayriss/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/fayriss/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/fayriss/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/fayriss/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/fayriss/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/fayriss/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fayriss/bsuir-courses/merges","archive_url":"https://api.github.com/repos/fayriss/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fayriss/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/fayriss/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/fayriss/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/fayriss/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/fayriss/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fayriss/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/fayriss/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/fayriss/bsuir-courses/deployments","created_at":"2016-10-19T07:55:50Z","updated_at":"2016-10-19T07:55:52Z","pushed_at":"2016-10-19T21:49:40Z","git_url":"git://github.com/fayriss/bsuir-courses.git","ssh_url":"git@github.com:fayriss/bsuir-courses.git","clone_url":"https://github.com/fayriss/bsuir-courses.git","svn_url":"https://github.com/fayriss/bsuir-courses","homepage":null,"size":2091,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rubyroidlabs:master","ref":"master","sha":"d0f9d8959f21076a7bbdbe6069587e92a6856557","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14405320,"name":"bsuir-courses","full_name":"rubyroidlabs/bsuir-courses","owner":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubyroidlabs/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":false,"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses","forks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/forks","keys_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/events","assignees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/merges","archive_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/releases{/id}","deployments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/deployments","created_at":"2013-11-14T19:55:12Z","updated_at":"2016-10-18T20:24:26Z","pushed_at":"2016-10-19T21:49:39Z","git_url":"git://github.com/rubyroidlabs/bsuir-courses.git","ssh_url":"git@github.com:rubyroidlabs/bsuir-courses.git","clone_url":"https://github.com/rubyroidlabs/bsuir-courses.git","svn_url":"https://github.com/rubyroidlabs/bsuir-courses","homepage":null,"size":6519,"stargazers_count":26,"watchers_count":26,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":158,"mirror_url":null,"open_issues_count":32,"forks":158,"open_issues":32,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/434"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/434"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/434/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/434/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/fbd1e06ae400a63f66d8251bfd2a34393e414607"}}}}
{"actor":{"display_login":"houndci-bot"}}