{"action":"created","comment":{"url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/comments/26902455","id":26902455,"diff_hunk":"@@ -0,0 +1,155 @@\n+﻿//Different graph interfaces and implementations\n+//                by Alexander Chebykin\n+open System\n+//Task 20: graph interface\n+type IGraph<'A>  =\n+  interface\n+    abstract IsWay : int -> int -> bool\n+    abstract Size  : int\n+    abstract ValAt : int -> 'A\n+  end\n+//Task 25: polymorph graph interface\n+type IGraphMarked<'A>  =\n+  interface\n+    inherit IGraph<'A>\n+    abstract WayLength  : int -> int -> int\n+    abstract SetLengths : int[] -> unit\n+  end\n+//Task 21: IGraph implementation with adjacency matrix\n+type ArrayOrgraph<'A> (verges: list<int*int>, numberOfNods, vals: 'A[]) =\n+  class\n+    let nodeVals = vals\n+    let adjMatrix = Array2D.zeroCreate numberOfNods numberOfNods\n+    do \n+      for (n1, n2) in verges do Array2D.set adjMatrix n1 n2 1\n+    interface IGraph<'A> with\n+      override s.IsWay a b =\n+        if (adjMatrix.[a, b] = 1) then true else false\n+      override s.Size = \n+        Array2D.length1 adjMatrix\n+      override s.ValAt a = \n+        nodeVals.[a]\n+    end\n+  end\n+//Task 21: IGraph implementation with adjacency lists\n+type ListOrgraph<'A> (verges: list<int*int>, numberOfNods, vals: 'A[]) = \n+  class \n+    let nodeVals = vals\n+    let nodes = Array.create numberOfNods []\n+    do \n+      for (n1, n2) in verges do nodes.[n1] <- n2 :: nodes.[n1]\n+    interface IGraph<'A> with\n+      override s.IsWay a b =\n+        let rec listFind x l = \n+          match l with\n+          | [] -> None\n+          | a :: l -> \n+            if (x = a) then Some x\n+               else listFind x l\n+        if (listFind b (nodes.[a]) = Some b) then true else false\n+\n+      override s.Size =\n+        nodes.GetLength 0\n+      override s.ValAt a = \n+        nodeVals.[a]\n+    end\n+  end\n+//Task 23\n+let canGoTo graph init = \n+  let visited = Array.create (graph :> IGraph<'A>).Size false\n+  visited.[init] <- true\n+  let rec find (visited :bool[]) gr cur = \n+    let mutable res = []\n+    for i = 0 to ((gr :> IGraph<'A>).Size - 1) do\n+      if ((gr :> IGraph<'A>).IsWay cur i) then \n+        if (visited.[i] = false) then \n+          visited.[i] <- true\n+          res <- i :: res @ (find visited gr i)\n+    res\n+  List.sort (find visited graph init)\n+//Task 24\n+let canGetFrom graph init = \n+\n+  let rec find (visited :bool[]) gr cur target = \n+    let mutable res = false\n+    for i = 0 to ((gr :> IGraph<'A>).Size - 1) do\n+      if ((gr :> IGraph<'A>).IsWay cur i) then \n+        if (visited.[i] = false) then \n+          if (i = target) then res <- true\n+          else\n+            visited.[i] <- true\n+            res <- res || (find visited gr i target)\n+    res\n+\n+  let mutable res = []\n+  for i = 0 to ((graph :> IGraph<'A>).Size - 1) do\n+    if not (i = init) then\n+       let visited = Array.create (graph :> IGraph<'A>).Size false\n+       visited.[i] <- true\n+       if (find visited graph i init) then res <- i :: res\n+  List.sort res\n+\n+type Computer(os)=\n+  class\n+    let name = os\n+    let chanse =\n+     match name with\n+     | \"Windows\" -> 0.4\n+     | \"Linux\" -> 0.1\n+     | \"OS X\" -> 0.2\n+     | _ -> 0.5\n+    let mutable infection = 0 \n+    member self.Print = \n+      printf \"%A\" infection\n+    member self.InfectionChanse = chanse\n+    member self.Infection = infection\n+    member self.ChangeInfection value = //0 - healthy; 1 - has been infected on the current move (will become viral on the next move); 2 - viral\n+      infection <- value\n+  end\n+\n+type Net(verges: list<int*int>, numberOfNods, OSs :string[]) = \n+  class\n+    inherit ArrayOrgraph<Computer> (verges, numberOfNods, [| for i in 0 .. OSs.Length - 1 -> new Computer(OSs.[i]) |])\n+    member self.PrintInfection = \n+      for i = 0 to numberOfNods - 1 do\n+        printf \"%i \" ((self  :> IGraph<Computer>).ValAt i).Infection\n+      printfn \"\"\n+  end\n+\n+let emulate (graph: Net) = \n+  let random = System.Random()\n+  for i = 0 to (graph :> IGraph<Computer>).Size - 1 do\n+    if ((graph :> IGraph<Computer>).ValAt i).Infection = 2 then \n+      for j = 0 to (graph :> IGraph<Computer>).Size - 1 do\n+        if (((graph :> IGraph<Computer>).IsWay i j) && \n+            (((graph :> IGraph<Computer>).ValAt j).Infection = 0) &&\n+              (random.NextDouble() < ((graph :> IGraph<Computer>).ValAt j).InfectionChanse)) \n+                then ((graph :> IGraph<Computer>).ValAt j).ChangeInfection 1\n+  // And now infected Computers are getting completely viral so that on the next mobe they'll be able to infect their neighbours:\n+  for i = 0 to (graph :> IGraph<Computer>).Size - 1 do\n+   if ((graph :> IGraph<Computer>).ValAt i).Infection = 1 then ((graph :> IGraph<Computer>).ValAt i).ChangeInfection 2\n+  graph ","path":"Semester 2/Homework_16_03_15/Tasks20to26.fs","position":131,"original_position":131,"commit_id":"0d676cb8c7fb718825eae59f8f17a91aa7fc8ad8","original_commit_id":"0d676cb8c7fb718825eae59f8f17a91aa7fc8ad8","user":{"login":"anlun","id":711192,"avatar_url":"https://avatars.githubusercontent.com/u/711192?v=3","gravatar_id":"","url":"https://api.github.com/users/anlun","html_url":"https://github.com/anlun","followers_url":"https://api.github.com/users/anlun/followers","following_url":"https://api.github.com/users/anlun/following{/other_user}","gists_url":"https://api.github.com/users/anlun/gists{/gist_id}","starred_url":"https://api.github.com/users/anlun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anlun/subscriptions","organizations_url":"https://api.github.com/users/anlun/orgs","repos_url":"https://api.github.com/users/anlun/repos","events_url":"https://api.github.com/users/anlun/events{/privacy}","received_events_url":"https://api.github.com/users/anlun/received_events","type":"User","site_admin":false},"body":"Шаг эмуляции стоит сделать методом класса Net.","created_at":"2015-03-22T12:32:37Z","updated_at":"2015-03-22T12:32:37Z","html_url":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2#discussion_r26902455","pull_request_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/comments/26902455"},"html":{"href":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2#discussion_r26902455"},"pull_request":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2","id":31668325,"html_url":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2","diff_url":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2.diff","patch_url":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2.patch","issue_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/2","number":2,"state":"open","locked":false,"title":"Homework from 16/03/15","user":{"login":"AwesomeLemon","id":8983709,"avatar_url":"https://avatars.githubusercontent.com/u/8983709?v=3","gravatar_id":"","url":"https://api.github.com/users/AwesomeLemon","html_url":"https://github.com/AwesomeLemon","followers_url":"https://api.github.com/users/AwesomeLemon/followers","following_url":"https://api.github.com/users/AwesomeLemon/following{/other_user}","gists_url":"https://api.github.com/users/AwesomeLemon/gists{/gist_id}","starred_url":"https://api.github.com/users/AwesomeLemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AwesomeLemon/subscriptions","organizations_url":"https://api.github.com/users/AwesomeLemon/orgs","repos_url":"https://api.github.com/users/AwesomeLemon/repos","events_url":"https://api.github.com/users/AwesomeLemon/events{/privacy}","received_events_url":"https://api.github.com/users/AwesomeLemon/received_events","type":"User","site_admin":false},"body":"Contains tasks from 20 to 29\r\n![img_20150321_113316](https://cloud.githubusercontent.com/assets/8983709/6764348/8b01c72a-cfc6-11e4-9881-94f466ff85bc.jpg)\r\n","created_at":"2015-03-21T08:34:12Z","updated_at":"2015-03-22T12:32:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce31c94871e26a6a53a5d925b52ea1c7a483ae69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2/commits","review_comments_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2/comments","review_comment_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/2/comments","statuses_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/statuses/0d676cb8c7fb718825eae59f8f17a91aa7fc8ad8","head":{"label":"AwesomeLemon:hw03","ref":"hw03","sha":"0d676cb8c7fb718825eae59f8f17a91aa7fc8ad8","user":{"login":"AwesomeLemon","id":8983709,"avatar_url":"https://avatars.githubusercontent.com/u/8983709?v=3","gravatar_id":"","url":"https://api.github.com/users/AwesomeLemon","html_url":"https://github.com/AwesomeLemon","followers_url":"https://api.github.com/users/AwesomeLemon/followers","following_url":"https://api.github.com/users/AwesomeLemon/following{/other_user}","gists_url":"https://api.github.com/users/AwesomeLemon/gists{/gist_id}","starred_url":"https://api.github.com/users/AwesomeLemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AwesomeLemon/subscriptions","organizations_url":"https://api.github.com/users/AwesomeLemon/orgs","repos_url":"https://api.github.com/users/AwesomeLemon/repos","events_url":"https://api.github.com/users/AwesomeLemon/events{/privacy}","received_events_url":"https://api.github.com/users/AwesomeLemon/received_events","type":"User","site_admin":false},"repo":{"id":31076811,"name":"SPBU-Homeworks","full_name":"AwesomeLemon/SPBU-Homeworks","owner":{"login":"AwesomeLemon","id":8983709,"avatar_url":"https://avatars.githubusercontent.com/u/8983709?v=3","gravatar_id":"","url":"https://api.github.com/users/AwesomeLemon","html_url":"https://github.com/AwesomeLemon","followers_url":"https://api.github.com/users/AwesomeLemon/followers","following_url":"https://api.github.com/users/AwesomeLemon/following{/other_user}","gists_url":"https://api.github.com/users/AwesomeLemon/gists{/gist_id}","starred_url":"https://api.github.com/users/AwesomeLemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AwesomeLemon/subscriptions","organizations_url":"https://api.github.com/users/AwesomeLemon/orgs","repos_url":"https://api.github.com/users/AwesomeLemon/repos","events_url":"https://api.github.com/users/AwesomeLemon/events{/privacy}","received_events_url":"https://api.github.com/users/AwesomeLemon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AwesomeLemon/SPBU-Homeworks","description":"Homeworks from the Univercity","fork":false,"url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks","forks_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/forks","keys_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/teams","hooks_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/hooks","issue_events_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/events","assignees_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/tags","blobs_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/languages","stargazers_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/stargazers","contributors_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/contributors","subscribers_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/subscribers","subscription_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/subscription","commits_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/merges","archive_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/downloads","issues_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/releases{/id}","created_at":"2015-02-20T17:48:16Z","updated_at":"2015-03-19T15:34:38Z","pushed_at":"2015-03-21T08:34:12Z","git_url":"git://github.com/AwesomeLemon/SPBU-Homeworks.git","ssh_url":"git@github.com:AwesomeLemon/SPBU-Homeworks.git","clone_url":"https://github.com/AwesomeLemon/SPBU-Homeworks.git","svn_url":"https://github.com/AwesomeLemon/SPBU-Homeworks","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":true,"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":"master"}},"base":{"label":"AwesomeLemon:master","ref":"master","sha":"9d406022114948b47490d1ce04507f08225de25e","user":{"login":"AwesomeLemon","id":8983709,"avatar_url":"https://avatars.githubusercontent.com/u/8983709?v=3","gravatar_id":"","url":"https://api.github.com/users/AwesomeLemon","html_url":"https://github.com/AwesomeLemon","followers_url":"https://api.github.com/users/AwesomeLemon/followers","following_url":"https://api.github.com/users/AwesomeLemon/following{/other_user}","gists_url":"https://api.github.com/users/AwesomeLemon/gists{/gist_id}","starred_url":"https://api.github.com/users/AwesomeLemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AwesomeLemon/subscriptions","organizations_url":"https://api.github.com/users/AwesomeLemon/orgs","repos_url":"https://api.github.com/users/AwesomeLemon/repos","events_url":"https://api.github.com/users/AwesomeLemon/events{/privacy}","received_events_url":"https://api.github.com/users/AwesomeLemon/received_events","type":"User","site_admin":false},"repo":{"id":31076811,"name":"SPBU-Homeworks","full_name":"AwesomeLemon/SPBU-Homeworks","owner":{"login":"AwesomeLemon","id":8983709,"avatar_url":"https://avatars.githubusercontent.com/u/8983709?v=3","gravatar_id":"","url":"https://api.github.com/users/AwesomeLemon","html_url":"https://github.com/AwesomeLemon","followers_url":"https://api.github.com/users/AwesomeLemon/followers","following_url":"https://api.github.com/users/AwesomeLemon/following{/other_user}","gists_url":"https://api.github.com/users/AwesomeLemon/gists{/gist_id}","starred_url":"https://api.github.com/users/AwesomeLemon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AwesomeLemon/subscriptions","organizations_url":"https://api.github.com/users/AwesomeLemon/orgs","repos_url":"https://api.github.com/users/AwesomeLemon/repos","events_url":"https://api.github.com/users/AwesomeLemon/events{/privacy}","received_events_url":"https://api.github.com/users/AwesomeLemon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AwesomeLemon/SPBU-Homeworks","description":"Homeworks from the Univercity","fork":false,"url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks","forks_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/forks","keys_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/teams","hooks_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/hooks","issue_events_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/events{/number}","events_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/events","assignees_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/assignees{/user}","branches_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/branches{/branch}","tags_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/tags","blobs_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/refs{/sha}","trees_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/statuses/{sha}","languages_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/languages","stargazers_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/stargazers","contributors_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/contributors","subscribers_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/subscribers","subscription_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/subscription","commits_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/commits{/sha}","git_commits_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/git/commits{/sha}","comments_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/comments{/number}","issue_comment_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/comments{/number}","contents_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/contents/{+path}","compare_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/merges","archive_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/downloads","issues_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues{/number}","pulls_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls{/number}","milestones_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/milestones{/number}","notifications_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/labels{/name}","releases_url":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/releases{/id}","created_at":"2015-02-20T17:48:16Z","updated_at":"2015-03-19T15:34:38Z","pushed_at":"2015-03-21T08:34:12Z","git_url":"git://github.com/AwesomeLemon/SPBU-Homeworks.git","ssh_url":"git@github.com:AwesomeLemon/SPBU-Homeworks.git","clone_url":"https://github.com/AwesomeLemon/SPBU-Homeworks.git","svn_url":"https://github.com/AwesomeLemon/SPBU-Homeworks","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":true,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2"},"html":{"href":"https://github.com/AwesomeLemon/SPBU-Homeworks/pull/2"},"issue":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/2"},"comments":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/AwesomeLemon/SPBU-Homeworks/statuses/0d676cb8c7fb718825eae59f8f17a91aa7fc8ad8"}}}}