{"action":"created","comment":{"url":"https://api.github.com/repos/makqien/coursemology2/pulls/comments/171778451","pull_request_review_id":100692029,"id":171778451,"diff_hunk":"@@ -0,0 +1,273 @@\n+# frozen_string_literal: true\n+require 'rwordnet'\n+class Course::Assessment::Answer::TextResponseComprehensionAutoGradingService < \\\n+  Course::Assessment::Answer::AutoGradingService\n+  def evaluate(answer)\n+    answer.correct, grade, messages = evaluate_answer(answer.actable)\n+    answer.auto_grading.result = { messages: messages }\n+    grade\n+  end\n+\n+  private\n+\n+  # Grades the given answer.\n+  #\n+  # @param [Course::Assessment::Answer::TextResponse] answer The answer specified by the\n+  #   student.\n+  # @return [Array<(Boolean, Integer, Object)>] The correct status, grade and the messages to be\n+  #   assigned to the grading.\n+  def evaluate_answer(answer)\n+    question = answer.question.actable\n+    answer_text = answer.normalized_answer_text\n+    answer_text_array = answer_text.downcase.gsub(/([^a-z ])/, ' ').split(' ')\n+    answer_text_lemma_array = []\n+    answer_text_array.each { |a| answer_text_lemma_array.push(WordNet::Synset.morphy_all(a).first || a) }\n+\n+    hash_lifted_word_points = hash_compre_lifted_word(question)\n+\n+    hash_keyword_solutions = hash_compre_keyword(question)\n+\n+    lifted_word_status = find_compre_lifted_word_in_answer(answer_text_lemma_array, hash_lifted_word_points)\n+\n+    keyword_status = find_compre_keyword_in_answer(answer_text_lemma_array, lifted_word_status, hash_keyword_solutions)\n+\n+    answer_text_lemma_status = {\n+      :compre_lifted_word => lifted_word_status,\n+      :compre_keyword => keyword_status\n+    }\n+\n+    answer_grade = grade_for(question, answer_text_lemma_status)\n+\n+    [\n+      correctness_for(question, answer_grade),\n+      answer_grade,\n+      explanations_for(question, answer_grade, answer_text_array, answer_text_lemma_status)\n+    ]\n+  end\n+\n+  # All lifted words in a question as keys and\n+  # an array of Points where words are found as values.\n+  #\n+  # @param [Course::Assessment::Question::TextResponse] question The question answered by the\n+  #   student.\n+  # @return [Hash{String=>Array<Course::Assessment::Question::TextResponseComprehensionPoint>}]\n+  #   The mapping from lifted words to Points.\n+  def hash_compre_lifted_word(question)\n+    hash = {}\n+    question.groups.each do |group|\n+      group.points.each do |point|\n+        # for all TextResponseComprehensionSolution where solution_type == compre_lifted_word\n+        point.solutions.select(&:compre_lifted_word?).each do |s|\n+          s.solution_lemma.each do |solution_key|\n+            if hash.key?(solution_key)\n+              hash_value = hash[solution_key]\n+              hash_value.push(point) unless hash_value.include?(point)\n+            else\n+              hash[solution_key] = [point]\n+            end\n+          end\n+        end\n+      end\n+    end\n+    hash\n+  end\n+\n+  # All keywords in a question as keys and\n+  # an array of Solutions where words are found as values.\n+  #\n+  # @param [Course::Assessment::Question::TextResponse] question The question answered by the\n+  #   student.\n+  # @return [Hash{String=>Array<Course::Assessment::Question::TextResponseComprehensionSolution>}]\n+  #   The mapping from keywords to Solutions.\n+  def hash_compre_keyword(question)\n+    hash = {}\n+    question.groups.each do |group|\n+      group.points.each do |point|\n+        # for all TextResponseComprehensionSolution where solution_type == compre_keyword\n+        point.solutions.select(&:compre_keyword?).each do |s|\n+          s.solution_lemma.each do |solution_key|\n+            if hash.key? solution_key\n+              hash_value = hash[solution_key]\n+              hash_value.push(s) unless hash_value.include?(s)\n+            else\n+              hash[solution_key] = [s]\n+            end\n+          end\n+        end\n+      end\n+    end\n+    hash\n+  end\n+\n+  # Find for all compre_lifted_word in answer.\n+  # If word is found, set +answer_text_lemma_status[\"compre_lifted_word\"][index]+ to the\n+  # corresponding Point.\n+  #\n+  # @param [Array<String>] answer_text_lemma_array The lemmatised answer text in array form.\n+  # @param [Hash{String=>Array<Course::Assessment::Question::TextResponseComprehensionPoint>}] hash\n+  #   The mapping from lifted words to Points.\n+  # @return [Array<nil or TextResponseComprehensionPoint>}] lifted_word\n+  #   The lifted word status of each element in +answer_text_lemma+.\n+  def find_compre_lifted_word_in_answer(answer_text_lemma_array, hash)\n+    lifted_word_status =  Array.new(answer_text_lemma_array.length, nil)\n+\n+    answer_text_lemma_array.each_with_index do |answer_text_lemma_word, index|\n+      next unless hash.key?(answer_text_lemma_word) && !hash[answer_text_lemma_word].empty?\n+\n+      # lifted word found in answer\n+      first_point = hash[answer_text_lemma_word].shift\n+      lifted_word_status[index] = first_point\n+\n+      # for same Point, remove from all other values in hash\n+      hash.each_value do |point_array|\n+        point_array.delete_if { |point| point.equal? first_point }\n+      end\n+    end\n+\n+    lifted_word_status\n+  end\n+\n+  # Find for all compre_keyword in answer.\n+  # If word is found, set +answer_text_lemma_status[\"compre_keyword\"][index]+ to the\n+  # corresponding Solution.\n+  # and collate an array of all Solutions where keywords are found in answer.\n+  #\n+  # @param [Array<String>] answer_text_lemma_array The lemmatised answer text in array form.\n+  # @param [Array<nil or TextResponseComprehensionPoint>] lifted_word_status\n+  #   The lifted word status of each element in +answer_text_lemma+.\n+  # @param [Hash{String=>Array<Course::Assessment::Question::TextResponseComprehensionSolution>}] hash\n+  #   The mapping from keywords to Solutions.\n+  # @return [Array<nil or TextResponseComprehensionSolution>}] keyword_status\n+  #   The keyword status of each element in +answer_text_lemma+.\n+  def find_compre_keyword_in_answer(answer_text_lemma_array, lifted_word_status, hash)\n+    keyword_status =  Array.new(answer_text_lemma_array.length, nil)\n+    p answer_text_lemma_array\n+    p lifted_word_status\n+    answer_text_lemma_array.each_with_index do |answer_text_lemma_word, index|\n+      next unless lifted_word_status[index].nil? ||\n+                  (hash.key?(answer_text_lemma_word) && !hash[answer_text_lemma_word].empty?)\n+\n+      # keyword found in answer\n+      until (!hash.key?(answer_text_lemma_word) || hash[answer_text_lemma_word].empty?)\n+        first_solution = hash[answer_text_lemma_word].shift\n+        first_solution_point = first_solution.point\n+\n+        # for same Solution, remove from all other values in hash\n+        hash.each_value do |solution_array|\n+          solution_array.delete_if { |solution| solution.equal? first_solution }\n+        end\n+\n+        unless lifted_word_status.include?(first_solution_point)\n+          # keyword (Solution) does NOT belong to a \"lifted\" Point\n+          keyword_status[index] = first_solution\n+          break\n+        end\n+      end\n+\n+      keyword_status\n+    end\n+\n+    keyword_status\n+  end\n+\n+  # Returns the grade for a question with all matched solutions.\n+  #\n+  # The grade is considered to be the sum of grades assigned to all matched solutions, but not\n+  # exceeding the maximum grade of the point, group and question.\n+  #\n+  # @param [Course::Assessment::Question::TextResponse] question The question answered by the\n+  #   student.\n+  # @param [Hash{String=>Array<nil or TextResponseComprehensionPoint or TextResponseComprehensionSolution>}]\n+  #   answer_text_lemma_status The status of each element in +answer_text_lemma+.\n+  # @return [Integer] The grade of the student answer for the question.\n+  def grade_for(question, answer_text_lemma_status)\n+    lifted_word_points = answer_text_lemma_status[:compre_lifted_word]\n+    keyword_solutions = answer_text_lemma_status[:compre_keyword]\n+\n+    question_grade = question.groups.reduce(0) do |question_sum, group|\n+      group_grade = group.points\n+        .reject { |point| lifted_word_points.include?(point) }\n+        .select { |point| point.solutions.select(&:compre_keyword?).all? { |s| keyword_solutions.include?(s) } }\n+        .reduce(0) { |group_sum, point| group_sum + point.point_grade }","path":"app/services/course/assessment/answer/text_response_comprehension_auto_grading_service.rb","position":191,"original_position":191,"commit_id":"8746e5aec87006b7ccb51db3d8fa2c62195a4089","original_commit_id":"8746e5aec87006b7ccb51db3d8fa2c62195a4089","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"Place the . on the previous line, together with the method call receiver.<br>Align .reduce with .points on line 188.<br>Name reduce block params |acc, elem|.","created_at":"2018-03-02T07:26:51Z","updated_at":"2018-03-02T07:26:53Z","html_url":"https://github.com/makqien/coursemology2/pull/4#discussion_r171778451","pull_request_url":"https://api.github.com/repos/makqien/coursemology2/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/comments/171778451"},"html":{"href":"https://github.com/makqien/coursemology2/pull/4#discussion_r171778451"},"pull_request":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/makqien/coursemology2/pulls/4","id":162286106,"html_url":"https://github.com/makqien/coursemology2/pull/4","diff_url":"https://github.com/makqien/coursemology2/pull/4.diff","patch_url":"https://github.com/makqien/coursemology2/pull/4.patch","issue_url":"https://api.github.com/repos/makqien/coursemology2/issues/4","number":4,"state":"open","locked":false,"title":"Compre autograding","user":{"login":"makqien","id":10508961,"avatar_url":"https://avatars0.githubusercontent.com/u/10508961?v=4","gravatar_id":"","url":"https://api.github.com/users/makqien","html_url":"https://github.com/makqien","followers_url":"https://api.github.com/users/makqien/followers","following_url":"https://api.github.com/users/makqien/following{/other_user}","gists_url":"https://api.github.com/users/makqien/gists{/gist_id}","starred_url":"https://api.github.com/users/makqien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makqien/subscriptions","organizations_url":"https://api.github.com/users/makqien/orgs","repos_url":"https://api.github.com/users/makqien/repos","events_url":"https://api.github.com/users/makqien/events{/privacy}","received_events_url":"https://api.github.com/users/makqien/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-01-11T03:36:56Z","updated_at":"2018-03-02T07:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d89d9efdf4446f3acaa1a1a43d77f2c765159000","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/makqien/coursemology2/pulls/4/commits","review_comments_url":"https://api.github.com/repos/makqien/coursemology2/pulls/4/comments","review_comment_url":"https://api.github.com/repos/makqien/coursemology2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/makqien/coursemology2/issues/4/comments","statuses_url":"https://api.github.com/repos/makqien/coursemology2/statuses/8746e5aec87006b7ccb51db3d8fa2c62195a4089","head":{"label":"makqien:compre-autograding","ref":"compre-autograding","sha":"8746e5aec87006b7ccb51db3d8fa2c62195a4089","user":{"login":"makqien","id":10508961,"avatar_url":"https://avatars0.githubusercontent.com/u/10508961?v=4","gravatar_id":"","url":"https://api.github.com/users/makqien","html_url":"https://github.com/makqien","followers_url":"https://api.github.com/users/makqien/followers","following_url":"https://api.github.com/users/makqien/following{/other_user}","gists_url":"https://api.github.com/users/makqien/gists{/gist_id}","starred_url":"https://api.github.com/users/makqien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makqien/subscriptions","organizations_url":"https://api.github.com/users/makqien/orgs","repos_url":"https://api.github.com/users/makqien/repos","events_url":"https://api.github.com/users/makqien/events{/privacy}","received_events_url":"https://api.github.com/users/makqien/received_events","type":"User","site_admin":false},"repo":{"id":108849541,"name":"coursemology2","full_name":"makqien/coursemology2","owner":{"login":"makqien","id":10508961,"avatar_url":"https://avatars0.githubusercontent.com/u/10508961?v=4","gravatar_id":"","url":"https://api.github.com/users/makqien","html_url":"https://github.com/makqien","followers_url":"https://api.github.com/users/makqien/followers","following_url":"https://api.github.com/users/makqien/following{/other_user}","gists_url":"https://api.github.com/users/makqien/gists{/gist_id}","starred_url":"https://api.github.com/users/makqien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makqien/subscriptions","organizations_url":"https://api.github.com/users/makqien/orgs","repos_url":"https://api.github.com/users/makqien/repos","events_url":"https://api.github.com/users/makqien/events{/privacy}","received_events_url":"https://api.github.com/users/makqien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makqien/coursemology2","description":"Rails 5 re-write of Coursemology","fork":true,"url":"https://api.github.com/repos/makqien/coursemology2","forks_url":"https://api.github.com/repos/makqien/coursemology2/forks","keys_url":"https://api.github.com/repos/makqien/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makqien/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makqien/coursemology2/teams","hooks_url":"https://api.github.com/repos/makqien/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/makqien/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/makqien/coursemology2/events","assignees_url":"https://api.github.com/repos/makqien/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/makqien/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/makqien/coursemology2/tags","blobs_url":"https://api.github.com/repos/makqien/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makqien/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makqien/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/makqien/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makqien/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/makqien/coursemology2/languages","stargazers_url":"https://api.github.com/repos/makqien/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/makqien/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/makqien/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/makqien/coursemology2/subscription","commits_url":"https://api.github.com/repos/makqien/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/makqien/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/makqien/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/makqien/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/makqien/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/makqien/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makqien/coursemology2/merges","archive_url":"https://api.github.com/repos/makqien/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makqien/coursemology2/downloads","issues_url":"https://api.github.com/repos/makqien/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/makqien/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/makqien/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/makqien/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makqien/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/makqien/coursemology2/releases{/id}","deployments_url":"https://api.github.com/repos/makqien/coursemology2/deployments","created_at":"2017-10-30T12:44:36Z","updated_at":"2017-11-05T02:14:36Z","pushed_at":"2018-03-02T07:26:40Z","git_url":"git://github.com/makqien/coursemology2.git","ssh_url":"git@github.com:makqien/coursemology2.git","clone_url":"https://github.com/makqien/coursemology2.git","svn_url":"https://github.com/makqien/coursemology2","homepage":"https://coursemology.org","size":11397,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"makqien:master","ref":"master","sha":"21fd7b8e12ecd3410e19219b4fcb98a4924a2113","user":{"login":"makqien","id":10508961,"avatar_url":"https://avatars0.githubusercontent.com/u/10508961?v=4","gravatar_id":"","url":"https://api.github.com/users/makqien","html_url":"https://github.com/makqien","followers_url":"https://api.github.com/users/makqien/followers","following_url":"https://api.github.com/users/makqien/following{/other_user}","gists_url":"https://api.github.com/users/makqien/gists{/gist_id}","starred_url":"https://api.github.com/users/makqien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makqien/subscriptions","organizations_url":"https://api.github.com/users/makqien/orgs","repos_url":"https://api.github.com/users/makqien/repos","events_url":"https://api.github.com/users/makqien/events{/privacy}","received_events_url":"https://api.github.com/users/makqien/received_events","type":"User","site_admin":false},"repo":{"id":108849541,"name":"coursemology2","full_name":"makqien/coursemology2","owner":{"login":"makqien","id":10508961,"avatar_url":"https://avatars0.githubusercontent.com/u/10508961?v=4","gravatar_id":"","url":"https://api.github.com/users/makqien","html_url":"https://github.com/makqien","followers_url":"https://api.github.com/users/makqien/followers","following_url":"https://api.github.com/users/makqien/following{/other_user}","gists_url":"https://api.github.com/users/makqien/gists{/gist_id}","starred_url":"https://api.github.com/users/makqien/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/makqien/subscriptions","organizations_url":"https://api.github.com/users/makqien/orgs","repos_url":"https://api.github.com/users/makqien/repos","events_url":"https://api.github.com/users/makqien/events{/privacy}","received_events_url":"https://api.github.com/users/makqien/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/makqien/coursemology2","description":"Rails 5 re-write of Coursemology","fork":true,"url":"https://api.github.com/repos/makqien/coursemology2","forks_url":"https://api.github.com/repos/makqien/coursemology2/forks","keys_url":"https://api.github.com/repos/makqien/coursemology2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/makqien/coursemology2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/makqien/coursemology2/teams","hooks_url":"https://api.github.com/repos/makqien/coursemology2/hooks","issue_events_url":"https://api.github.com/repos/makqien/coursemology2/issues/events{/number}","events_url":"https://api.github.com/repos/makqien/coursemology2/events","assignees_url":"https://api.github.com/repos/makqien/coursemology2/assignees{/user}","branches_url":"https://api.github.com/repos/makqien/coursemology2/branches{/branch}","tags_url":"https://api.github.com/repos/makqien/coursemology2/tags","blobs_url":"https://api.github.com/repos/makqien/coursemology2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/makqien/coursemology2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/makqien/coursemology2/git/refs{/sha}","trees_url":"https://api.github.com/repos/makqien/coursemology2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/makqien/coursemology2/statuses/{sha}","languages_url":"https://api.github.com/repos/makqien/coursemology2/languages","stargazers_url":"https://api.github.com/repos/makqien/coursemology2/stargazers","contributors_url":"https://api.github.com/repos/makqien/coursemology2/contributors","subscribers_url":"https://api.github.com/repos/makqien/coursemology2/subscribers","subscription_url":"https://api.github.com/repos/makqien/coursemology2/subscription","commits_url":"https://api.github.com/repos/makqien/coursemology2/commits{/sha}","git_commits_url":"https://api.github.com/repos/makqien/coursemology2/git/commits{/sha}","comments_url":"https://api.github.com/repos/makqien/coursemology2/comments{/number}","issue_comment_url":"https://api.github.com/repos/makqien/coursemology2/issues/comments{/number}","contents_url":"https://api.github.com/repos/makqien/coursemology2/contents/{+path}","compare_url":"https://api.github.com/repos/makqien/coursemology2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/makqien/coursemology2/merges","archive_url":"https://api.github.com/repos/makqien/coursemology2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/makqien/coursemology2/downloads","issues_url":"https://api.github.com/repos/makqien/coursemology2/issues{/number}","pulls_url":"https://api.github.com/repos/makqien/coursemology2/pulls{/number}","milestones_url":"https://api.github.com/repos/makqien/coursemology2/milestones{/number}","notifications_url":"https://api.github.com/repos/makqien/coursemology2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/makqien/coursemology2/labels{/name}","releases_url":"https://api.github.com/repos/makqien/coursemology2/releases{/id}","deployments_url":"https://api.github.com/repos/makqien/coursemology2/deployments","created_at":"2017-10-30T12:44:36Z","updated_at":"2017-11-05T02:14:36Z","pushed_at":"2018-03-02T07:26:40Z","git_url":"git://github.com/makqien/coursemology2.git","ssh_url":"git@github.com:makqien/coursemology2.git","clone_url":"https://github.com/makqien/coursemology2.git","svn_url":"https://github.com/makqien/coursemology2","homepage":"https://coursemology.org","size":11397,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/4"},"html":{"href":"https://github.com/makqien/coursemology2/pull/4"},"issue":{"href":"https://api.github.com/repos/makqien/coursemology2/issues/4"},"comments":{"href":"https://api.github.com/repos/makqien/coursemology2/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/makqien/coursemology2/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/makqien/coursemology2/statuses/8746e5aec87006b7ccb51db3d8fa2c62195a4089"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}