{"action":"created","comment":{"url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/comments/66899499","id":66899499,"diff_hunk":"@@ -33,27 +34,41 @@ def initialize(g1, g2, comparer: nil, &block)\n \n         # setup corresponding edges\n         cache = EdgeCache.new\n-        each_vertex do |v_v|\n-          each_vertex do |w_w|\n-            v1, v2 = v_v\n-            w1, w2 = w_w\n+        each_vertex do |vw1|\n+          each_vertex do |vw2|\n+            v1, w1 = vw1\n+            v2, w2 = vw2\n \n             # without loop at each associated vertex\n-            next if v1 == w1 && v2 == w2\n+            next if v1 == v2 && w1 == w2\n \n-            edge = [v_v, w_w]\n+            edge = [vw1, vw2]\n             next if cache.has?(*edge) # without dual reverse edges\n             # TODO: may not be worth adding edges to add and back edge, and use the current overlooked property of the set of vertices\n             cache.add(*edge)\n \n-            e1 = @g1.edge(v1, w1)\n-            e2 = @g2.edge(v2, w2)\n-\n-            if e1 && e2 && (e1 == e2 ||\n-              (block_given? && e1.same?(e2) && block[[v1, w1], [v2, w2]]))\n-\n+            e1 = @g1.edge(v1, v2)\n+            e2 = @g2.edge(w1, w2)\n+\n+            possible_same, realy_not_same =\n+              if block_given?\n+                cmp = block[[v1, v2], [w1, w2]]\n+                [cmp, !cmp]\n+              else\n+                [false, false]\n+              end\n+\n+            similar_edges =\n+              (e1 && e2 && (e1 == e2 || (possible_same && e1.same?(e2)))) ||\n+                (realy_not_same &&\n+                          ((!e1 && e2 && !e2.exist?) || (!e2 && e1 && !e1.exist?))) ||\n+                (bonds_checker && possible_same &&","path":"analyzer/lib/mcs/assoc_graph.rb","position":56,"original_position":56,"commit_id":"bcc7378494cd376a2fc6e026eaa546a66ba729be","original_commit_id":"bcc7378494cd376a2fc6e026eaa546a66ba729be","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":"Align the operands of an expression in an assignment spanning multiple lines.","created_at":"2016-06-14T02:07:22Z","updated_at":"2016-06-14T02:07:22Z","html_url":"https://github.com/newmen/versatile-diamond/pull/30#discussion_r66899499","pull_request_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/comments/66899499"},"html":{"href":"https://github.com/newmen/versatile-diamond/pull/30#discussion_r66899499"},"pull_request":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30","id":73670252,"html_url":"https://github.com/newmen/versatile-diamond/pull/30","diff_url":"https://github.com/newmen/versatile-diamond/pull/30.diff","patch_url":"https://github.com/newmen/versatile-diamond/pull/30.patch","issue_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/30","number":30,"state":"open","locked":false,"title":"Do it","user":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"body":"- Essence has been fixed for resolving species only from anchor atoms\r\n- Code generates from syntax tree of expressions\r\n- Reaction applying algorithm generation was added","created_at":"2016-06-14T02:06:31Z","updated_at":"2016-06-14T02:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdf137f7dbd0a404eae5358b938ecee69f1d4e62","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30/commits","review_comments_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30/comments","review_comment_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls/comments{/number}","comments_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/30/comments","statuses_url":"https://api.github.com/repos/newmen/versatile-diamond/statuses/bcc7378494cd376a2fc6e026eaa546a66ba729be","head":{"label":"newmen:doit","ref":"doit","sha":"bcc7378494cd376a2fc6e026eaa546a66ba729be","user":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"repo":{"id":9896814,"name":"versatile-diamond","full_name":"newmen/versatile-diamond","owner":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/newmen/versatile-diamond","description":"Modeling crystal growth by gas-solid phase transition at atomic level","fork":false,"url":"https://api.github.com/repos/newmen/versatile-diamond","forks_url":"https://api.github.com/repos/newmen/versatile-diamond/forks","keys_url":"https://api.github.com/repos/newmen/versatile-diamond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newmen/versatile-diamond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newmen/versatile-diamond/teams","hooks_url":"https://api.github.com/repos/newmen/versatile-diamond/hooks","issue_events_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/events{/number}","events_url":"https://api.github.com/repos/newmen/versatile-diamond/events","assignees_url":"https://api.github.com/repos/newmen/versatile-diamond/assignees{/user}","branches_url":"https://api.github.com/repos/newmen/versatile-diamond/branches{/branch}","tags_url":"https://api.github.com/repos/newmen/versatile-diamond/tags","blobs_url":"https://api.github.com/repos/newmen/versatile-diamond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newmen/versatile-diamond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newmen/versatile-diamond/git/refs{/sha}","trees_url":"https://api.github.com/repos/newmen/versatile-diamond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newmen/versatile-diamond/statuses/{sha}","languages_url":"https://api.github.com/repos/newmen/versatile-diamond/languages","stargazers_url":"https://api.github.com/repos/newmen/versatile-diamond/stargazers","contributors_url":"https://api.github.com/repos/newmen/versatile-diamond/contributors","subscribers_url":"https://api.github.com/repos/newmen/versatile-diamond/subscribers","subscription_url":"https://api.github.com/repos/newmen/versatile-diamond/subscription","commits_url":"https://api.github.com/repos/newmen/versatile-diamond/commits{/sha}","git_commits_url":"https://api.github.com/repos/newmen/versatile-diamond/git/commits{/sha}","comments_url":"https://api.github.com/repos/newmen/versatile-diamond/comments{/number}","issue_comment_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/comments{/number}","contents_url":"https://api.github.com/repos/newmen/versatile-diamond/contents/{+path}","compare_url":"https://api.github.com/repos/newmen/versatile-diamond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newmen/versatile-diamond/merges","archive_url":"https://api.github.com/repos/newmen/versatile-diamond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newmen/versatile-diamond/downloads","issues_url":"https://api.github.com/repos/newmen/versatile-diamond/issues{/number}","pulls_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls{/number}","milestones_url":"https://api.github.com/repos/newmen/versatile-diamond/milestones{/number}","notifications_url":"https://api.github.com/repos/newmen/versatile-diamond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newmen/versatile-diamond/labels{/name}","releases_url":"https://api.github.com/repos/newmen/versatile-diamond/releases{/id}","deployments_url":"https://api.github.com/repos/newmen/versatile-diamond/deployments","created_at":"2013-05-06T21:00:59Z","updated_at":"2016-01-16T17:27:17Z","pushed_at":"2016-06-14T02:06:31Z","git_url":"git://github.com/newmen/versatile-diamond.git","ssh_url":"git@github.com:newmen/versatile-diamond.git","clone_url":"https://github.com/newmen/versatile-diamond.git","svn_url":"https://github.com/newmen/versatile-diamond","homepage":"","size":18934,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"newmen:master","ref":"master","sha":"5340866d2df99b53aa79d533988be21371608058","user":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"repo":{"id":9896814,"name":"versatile-diamond","full_name":"newmen/versatile-diamond","owner":{"login":"newmen","id":983853,"avatar_url":"https://avatars.githubusercontent.com/u/983853?v=3","gravatar_id":"","url":"https://api.github.com/users/newmen","html_url":"https://github.com/newmen","followers_url":"https://api.github.com/users/newmen/followers","following_url":"https://api.github.com/users/newmen/following{/other_user}","gists_url":"https://api.github.com/users/newmen/gists{/gist_id}","starred_url":"https://api.github.com/users/newmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newmen/subscriptions","organizations_url":"https://api.github.com/users/newmen/orgs","repos_url":"https://api.github.com/users/newmen/repos","events_url":"https://api.github.com/users/newmen/events{/privacy}","received_events_url":"https://api.github.com/users/newmen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/newmen/versatile-diamond","description":"Modeling crystal growth by gas-solid phase transition at atomic level","fork":false,"url":"https://api.github.com/repos/newmen/versatile-diamond","forks_url":"https://api.github.com/repos/newmen/versatile-diamond/forks","keys_url":"https://api.github.com/repos/newmen/versatile-diamond/keys{/key_id}","collaborators_url":"https://api.github.com/repos/newmen/versatile-diamond/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/newmen/versatile-diamond/teams","hooks_url":"https://api.github.com/repos/newmen/versatile-diamond/hooks","issue_events_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/events{/number}","events_url":"https://api.github.com/repos/newmen/versatile-diamond/events","assignees_url":"https://api.github.com/repos/newmen/versatile-diamond/assignees{/user}","branches_url":"https://api.github.com/repos/newmen/versatile-diamond/branches{/branch}","tags_url":"https://api.github.com/repos/newmen/versatile-diamond/tags","blobs_url":"https://api.github.com/repos/newmen/versatile-diamond/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/newmen/versatile-diamond/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/newmen/versatile-diamond/git/refs{/sha}","trees_url":"https://api.github.com/repos/newmen/versatile-diamond/git/trees{/sha}","statuses_url":"https://api.github.com/repos/newmen/versatile-diamond/statuses/{sha}","languages_url":"https://api.github.com/repos/newmen/versatile-diamond/languages","stargazers_url":"https://api.github.com/repos/newmen/versatile-diamond/stargazers","contributors_url":"https://api.github.com/repos/newmen/versatile-diamond/contributors","subscribers_url":"https://api.github.com/repos/newmen/versatile-diamond/subscribers","subscription_url":"https://api.github.com/repos/newmen/versatile-diamond/subscription","commits_url":"https://api.github.com/repos/newmen/versatile-diamond/commits{/sha}","git_commits_url":"https://api.github.com/repos/newmen/versatile-diamond/git/commits{/sha}","comments_url":"https://api.github.com/repos/newmen/versatile-diamond/comments{/number}","issue_comment_url":"https://api.github.com/repos/newmen/versatile-diamond/issues/comments{/number}","contents_url":"https://api.github.com/repos/newmen/versatile-diamond/contents/{+path}","compare_url":"https://api.github.com/repos/newmen/versatile-diamond/compare/{base}...{head}","merges_url":"https://api.github.com/repos/newmen/versatile-diamond/merges","archive_url":"https://api.github.com/repos/newmen/versatile-diamond/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/newmen/versatile-diamond/downloads","issues_url":"https://api.github.com/repos/newmen/versatile-diamond/issues{/number}","pulls_url":"https://api.github.com/repos/newmen/versatile-diamond/pulls{/number}","milestones_url":"https://api.github.com/repos/newmen/versatile-diamond/milestones{/number}","notifications_url":"https://api.github.com/repos/newmen/versatile-diamond/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/newmen/versatile-diamond/labels{/name}","releases_url":"https://api.github.com/repos/newmen/versatile-diamond/releases{/id}","deployments_url":"https://api.github.com/repos/newmen/versatile-diamond/deployments","created_at":"2013-05-06T21:00:59Z","updated_at":"2016-01-16T17:27:17Z","pushed_at":"2016-06-14T02:06:31Z","git_url":"git://github.com/newmen/versatile-diamond.git","ssh_url":"git@github.com:newmen/versatile-diamond.git","clone_url":"https://github.com/newmen/versatile-diamond.git","svn_url":"https://github.com/newmen/versatile-diamond","homepage":"","size":18934,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30"},"html":{"href":"https://github.com/newmen/versatile-diamond/pull/30"},"issue":{"href":"https://api.github.com/repos/newmen/versatile-diamond/issues/30"},"comments":{"href":"https://api.github.com/repos/newmen/versatile-diamond/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/newmen/versatile-diamond/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/newmen/versatile-diamond/statuses/bcc7378494cd376a2fc6e026eaa546a66ba729be"}}}}
{"actor":{"display_login":"houndci-bot"}}