{"action":"created","comment":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/154836390","pull_request_review_id":81056647,"id":154836390,"diff_hunk":"@@ -0,0 +1,242 @@\n+<template>\n+  <div class=\"panel-body\">\n+    <label><input type=\"radio\"\n+           v-model=\"type\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"delta\"> {{ T.profileStatisticsDelta }}</label> <label><input type=\"radio\"\n+           v-model=\"type\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"cumulative\"> {{ T.profileStatisticsCumulative }}</label> <input id=\"total\"\n+         type=\"radio\"\n+         v-model=\"type\"\n+         v-on:click=\"onSelectTypeTotals\"\n+         value=\"total\"> <label for=\"total\">{{ T.profileStatisticsTotal }}</label>\n+    <div class=\"period_group text-center\"\n+         v-if=\"type != 'total' &amp;&amp; type != ''\">\n+      <input id=\"day\"\n+           name=\"period\"\n+           type=\"radio\"\n+           v-model=\"period\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"day\"> <label for=\"day\">{{ T.profileStatisticsDay }}</label> <input id=\"week\"\n+           name=\"period\"\n+           type=\"radio\"\n+           v-model=\"period\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"week\"> <label for=\"week\">{{ T.profileStatisticsWeek }}</label> <input id=\"month\"\n+           name=\"period\"\n+           type=\"radio\"\n+           v-model=\"period\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"month\"> <label for=\"month\">{{ T.profileStatisticsMonth }}</label> <input id=\n+           \"year\"\n+           name=\"period\"\n+           type=\"radio\"\n+           v-model=\"period\"\n+           v-on:click=\"onSelectPeriod\"\n+           value=\"year\"> <label for=\"year\">{{ T.profileStatisticsYear }}</label>\n+    </div>\n+    <div v-show=\"type == 'total'\">\n+      <div id=\"verdict-chart\"></div>\n+    </div>\n+    <div v-show=\"type != 'total'\">\n+      <div id=\"verdict-period-chart\"></div>\n+    </div>\n+  </div>\n+</template>\n+\n+<script>\n+import {T} from '../../omegaup.js';\n+import UI from '../../ui.js';\n+\n+export default {\n+  props: {data: Object, username: String},\n+  data: function() { return {T: T, UI: UI, type: '', period: 'day'};},\n+  computed: {\n+    verdictPeriodCounts: function() {\n+      let runs = this.normalizePeriodRunCounts;\n+      let data = runs[this.type];\n+      return new Highcharts.Chart({\n+        chart: {type: 'column', renderTo: 'verdict-period-chart'},\n+        title: {\n+          text: omegaup.UI.formatString(omegaup.T.profileStatisticsVerdictsOf,\n+                                        {user: this.username})\n+        },\n+        xAxis: {\n+          categories: runs.categories,\n+          title: {text: omegaup.T.profileStatisticsPeriod},\n+          labels: {\n+            rotation: -45,\n+          }\n+        },\n+        yAxis: {\n+          min: 0,\n+          title: {text: omegaup.T.profileStatisticsNumberOfSolvedProblems},\n+          stackLabels: {\n+            enabled: false,\n+            style: {\n+              fontWeight: 'bold',\n+              color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'\n+            }\n+          }\n+        },\n+        legend: {\n+          align: 'right',\n+          x: -30,\n+          verticalAlign: 'top',\n+          y: 25,\n+          floating: true,\n+          backgroundColor:\n+              (Highcharts.theme && Highcharts.theme.background2) || 'white',\n+          borderColor: '#CCC',\n+          borderWidth: 1,\n+          shadow: false\n+        },\n+        tooltip: {\n+          headerFormat: '<b>{point.x}</b><br/>',\n+          pointFormat: '{series.name}: {point.y}<br/>Total: {point.stackTotal}'\n+        },\n+        plotOptions: {\n+          column: {\n+            stacking: 'normal',\n+            dataLabels: {\n+              enabled: false,\n+              color: (Highcharts.theme && Highcharts.theme.dataLabelsColor) ||\n+                         'white'\n+            }\n+          }\n+        },\n+        series: data\n+      });\n+    },\n+    verdictCounts: function() {\n+      console.log('Entra a verdictCounts');\n+      let runs = this.normalizeRunCounts;\n+      return new Highcharts.Chart({\n+        chart: {\n+          plotBackgroundColor: null,\n+          plotBorderWidth: null,\n+          plotShadow: false,\n+          renderTo: 'verdict-chart'\n+        },\n+        title: {\n+          text: omegaup.UI.formatString(omegaup.T.profileStatisticsVerdictsOf,\n+                                        {user: this.username})\n+        },\n+        tooltip: {\n+          formatter: function() {\n+            return omegaup.UI.formatString(\n+                omegaup.T.profileStatisticsRuns,\n+                {runs: runs.runs[this.point.name].count});\n+          }\n+        },\n+        plotOptions: {\n+          pie: {\n+            allowPointSelect: true,\n+            cursor: 'pointer',\n+            dataLabels: {\n+              enabled: true,\n+              color: '#000000',\n+              connectorColor: '#000000',\n+              formatter: function() {\n+                return '<b>' + this.point.name + '</b>: ' +\n+                       this.percentage.toFixed(2) + ' % (' +\n+                       runs.runs[this.point.name].count + ')';\n+              }\n+            }\n+          }\n+        },\n+        series: [{type: 'pie', name: 'Proporción', data: runs.percentage}]\n+      });\n+    },\n+    normalizeRunCounts: function() {\n+      let total = this.countRuns(this.data.runs);\n+      let runs = this.groupRuns(this.data.runs, 'verdict');\n+      let verdicts = ['WA', 'PA', 'AC', 'TLE', 'MLE', 'OLE', 'RTE', 'CE', 'JE'];\n+      let response = {runs: {}, percentage: []};\n+      for (let[index, verdict] of verdicts.entries()) {\n+        let num_runs =\n+            typeof runs[verdict] == 'undefined' ? 0 : runs[verdict][verdict];\n+        response['runs'][verdict] = {name: verdict, count: num_runs};\n+        if (verdict == 'AC') {\n+          response['percentage'][index] = {\n+            name: 'AC',\n+            y: (num_runs / total) * 100,\n+            sliced: true,\n+            selected: true\n+          };\n+        } else {\n+          response['percentage'][index] = [verdict, (num_runs / total) * 100];\n+        }\n+      }\n+      return response;\n+    },\n+    normalizePeriodRunCounts: function() {\n+      let runs =\n+          this.groupRuns(this.createPeriodGroup(this.data.runs), this.period);\n+      let response = {categories: Object.keys(runs), delta: [], cumulative: []};\n+      let verdicts = ['AC', 'PA', 'WA', 'TLE', 'RTE'];\n+      for (let verdict of verdicts) {\n+        runs[verdict] = 0;\n+      }\n+      for (let[index, verdict] of verdicts.entries()) {\n+        response.delta[index] = {name: verdict, data: []};\n+        response.cumulative[index] = {name: verdict, data: []};\n+        for (let[ind, date] of response.categories.entries()) {\n+          runs[verdict] += parseInt(runs[date][verdict]);\n+          response.delta[index]['data'][ind] = parseInt(runs[date][verdict]);\n+          response.cumulative[index]['data'][ind] = runs[verdict];\n+        }\n+      }\n+      return response;\n+    }\n+  },\n+  methods: {\n+    onSelectTypeTotals: function() { this.verdictCounts;},\n+    onSelectPeriod: function() { this.verdictPeriodCounts;},\n+    countRuns: function(stats) {\n+      let total = 0;\n+      for (let runs of stats) {\n+        total += parseInt(runs['runs']);\n+      }\n+      return total;\n+    },\n+    groupRuns: function(stats, prop) {\n+      return stats.reduce(function(groups, item) {\n+        let val = item[prop];\n+        groups[val] =\n+            groups[val] ||\n+            {WA: 0, PA: 0, AC: 0, TLE: 0, MLE: 0, OLE: 0, RTE: 0, CE: 0, JE: 0};","path":"frontend/www/js/omegaup/components/user/Charts.vue","position":209,"original_position":209,"commit_id":"36fa0e37b864beb923ac7f6cbadd7e4af86fb2e8","original_commit_id":"36fa0e37b864beb923ac7f6cbadd7e4af86fb2e8","user":{"login":"lhchavez","id":168028,"avatar_url":"https://avatars0.githubusercontent.com/u/168028?v=4","gravatar_id":"","url":"https://api.github.com/users/lhchavez","html_url":"https://github.com/lhchavez","followers_url":"https://api.github.com/users/lhchavez/followers","following_url":"https://api.github.com/users/lhchavez/following{/other_user}","gists_url":"https://api.github.com/users/lhchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/lhchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhchavez/subscriptions","organizations_url":"https://api.github.com/users/lhchavez/orgs","repos_url":"https://api.github.com/users/lhchavez/repos","events_url":"https://api.github.com/users/lhchavez/events{/privacy}","received_events_url":"https://api.github.com/users/lhchavez/received_events","type":"User","site_admin":false},"body":"por qué no mejor pones este arreglo como segundo parámetro de `reduce`?","created_at":"2017-12-05T03:03:09Z","updated_at":"2017-12-05T03:19:28Z","html_url":"https://github.com/omegaup/omegaup/pull/1586#discussion_r154836390","pull_request_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1586","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments/154836390"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1586#discussion_r154836390"},"pull_request":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1586"}}},"pull_request":{"url":"https://api.github.com/repos/omegaup/omegaup/pulls/1586","id":154601321,"html_url":"https://github.com/omegaup/omegaup/pull/1586","diff_url":"https://github.com/omegaup/omegaup/pull/1586.diff","patch_url":"https://github.com/omegaup/omegaup/pull/1586.patch","issue_url":"https://api.github.com/repos/omegaup/omegaup/issues/1586","number":1586,"state":"open","locked":false,"title":"Se agregan gráficas de avance en el perfil de usuario","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"body":"Se agregan gráficas de progreso en la página de perfil.  Estas contienen agrupadores de día, semana, mes y año.\r\n\r\nFixes #1355 ","created_at":"2017-11-24T19:41:09Z","updated_at":"2017-12-05T03:19:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e50fcc5d9ae4dd3c9f87e3c1724edffb2ef2449","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1586/commits","review_comments_url":"https://api.github.com/repos/omegaup/omegaup/pulls/1586/comments","review_comment_url":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}","comments_url":"https://api.github.com/repos/omegaup/omegaup/issues/1586/comments","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/36fa0e37b864beb923ac7f6cbadd7e4af86fb2e8","head":{"label":"pabo99:add-charts","ref":"add-charts","sha":"36fa0e37b864beb923ac7f6cbadd7e4af86fb2e8","user":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"repo":{"id":101674377,"name":"omegaup","full_name":"pabo99/omegaup","owner":{"login":"pabo99","id":3230352,"avatar_url":"https://avatars0.githubusercontent.com/u/3230352?v=4","gravatar_id":"","url":"https://api.github.com/users/pabo99","html_url":"https://github.com/pabo99","followers_url":"https://api.github.com/users/pabo99/followers","following_url":"https://api.github.com/users/pabo99/following{/other_user}","gists_url":"https://api.github.com/users/pabo99/gists{/gist_id}","starred_url":"https://api.github.com/users/pabo99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pabo99/subscriptions","organizations_url":"https://api.github.com/users/pabo99/orgs","repos_url":"https://api.github.com/users/pabo99/repos","events_url":"https://api.github.com/users/pabo99/events{/privacy}","received_events_url":"https://api.github.com/users/pabo99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pabo99/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":true,"url":"https://api.github.com/repos/pabo99/omegaup","forks_url":"https://api.github.com/repos/pabo99/omegaup/forks","keys_url":"https://api.github.com/repos/pabo99/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pabo99/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pabo99/omegaup/teams","hooks_url":"https://api.github.com/repos/pabo99/omegaup/hooks","issue_events_url":"https://api.github.com/repos/pabo99/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/pabo99/omegaup/events","assignees_url":"https://api.github.com/repos/pabo99/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/pabo99/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/pabo99/omegaup/tags","blobs_url":"https://api.github.com/repos/pabo99/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pabo99/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pabo99/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/pabo99/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pabo99/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/pabo99/omegaup/languages","stargazers_url":"https://api.github.com/repos/pabo99/omegaup/stargazers","contributors_url":"https://api.github.com/repos/pabo99/omegaup/contributors","subscribers_url":"https://api.github.com/repos/pabo99/omegaup/subscribers","subscription_url":"https://api.github.com/repos/pabo99/omegaup/subscription","commits_url":"https://api.github.com/repos/pabo99/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/pabo99/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/pabo99/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/pabo99/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/pabo99/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/pabo99/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pabo99/omegaup/merges","archive_url":"https://api.github.com/repos/pabo99/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pabo99/omegaup/downloads","issues_url":"https://api.github.com/repos/pabo99/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/pabo99/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/pabo99/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/pabo99/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pabo99/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/pabo99/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/pabo99/omegaup/deployments","created_at":"2017-08-28T18:28:19Z","updated_at":"2017-08-28T18:28:22Z","pushed_at":"2017-12-05T00:03:59Z","git_url":"git://github.com/pabo99/omegaup.git","ssh_url":"git@github.com:pabo99/omegaup.git","clone_url":"https://github.com/pabo99/omegaup.git","svn_url":"https://github.com/pabo99/omegaup","homepage":"https://omegaup.com","size":223928,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"omegaup:master","ref":"master","sha":"8b6d9d35a7e4af3f0c87befb85c36902c25eb536","user":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"repo":{"id":1243685,"name":"omegaup","full_name":"omegaup/omegaup","owner":{"login":"omegaup","id":558429,"avatar_url":"https://avatars0.githubusercontent.com/u/558429?v=4","gravatar_id":"","url":"https://api.github.com/users/omegaup","html_url":"https://github.com/omegaup","followers_url":"https://api.github.com/users/omegaup/followers","following_url":"https://api.github.com/users/omegaup/following{/other_user}","gists_url":"https://api.github.com/users/omegaup/gists{/gist_id}","starred_url":"https://api.github.com/users/omegaup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omegaup/subscriptions","organizations_url":"https://api.github.com/users/omegaup/orgs","repos_url":"https://api.github.com/users/omegaup/repos","events_url":"https://api.github.com/users/omegaup/events{/privacy}","received_events_url":"https://api.github.com/users/omegaup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/omegaup/omegaup","description":"omegaUp automatic programming contest evaluator & arena","fork":false,"url":"https://api.github.com/repos/omegaup/omegaup","forks_url":"https://api.github.com/repos/omegaup/omegaup/forks","keys_url":"https://api.github.com/repos/omegaup/omegaup/keys{/key_id}","collaborators_url":"https://api.github.com/repos/omegaup/omegaup/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/omegaup/omegaup/teams","hooks_url":"https://api.github.com/repos/omegaup/omegaup/hooks","issue_events_url":"https://api.github.com/repos/omegaup/omegaup/issues/events{/number}","events_url":"https://api.github.com/repos/omegaup/omegaup/events","assignees_url":"https://api.github.com/repos/omegaup/omegaup/assignees{/user}","branches_url":"https://api.github.com/repos/omegaup/omegaup/branches{/branch}","tags_url":"https://api.github.com/repos/omegaup/omegaup/tags","blobs_url":"https://api.github.com/repos/omegaup/omegaup/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/omegaup/omegaup/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/omegaup/omegaup/git/refs{/sha}","trees_url":"https://api.github.com/repos/omegaup/omegaup/git/trees{/sha}","statuses_url":"https://api.github.com/repos/omegaup/omegaup/statuses/{sha}","languages_url":"https://api.github.com/repos/omegaup/omegaup/languages","stargazers_url":"https://api.github.com/repos/omegaup/omegaup/stargazers","contributors_url":"https://api.github.com/repos/omegaup/omegaup/contributors","subscribers_url":"https://api.github.com/repos/omegaup/omegaup/subscribers","subscription_url":"https://api.github.com/repos/omegaup/omegaup/subscription","commits_url":"https://api.github.com/repos/omegaup/omegaup/commits{/sha}","git_commits_url":"https://api.github.com/repos/omegaup/omegaup/git/commits{/sha}","comments_url":"https://api.github.com/repos/omegaup/omegaup/comments{/number}","issue_comment_url":"https://api.github.com/repos/omegaup/omegaup/issues/comments{/number}","contents_url":"https://api.github.com/repos/omegaup/omegaup/contents/{+path}","compare_url":"https://api.github.com/repos/omegaup/omegaup/compare/{base}...{head}","merges_url":"https://api.github.com/repos/omegaup/omegaup/merges","archive_url":"https://api.github.com/repos/omegaup/omegaup/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/omegaup/omegaup/downloads","issues_url":"https://api.github.com/repos/omegaup/omegaup/issues{/number}","pulls_url":"https://api.github.com/repos/omegaup/omegaup/pulls{/number}","milestones_url":"https://api.github.com/repos/omegaup/omegaup/milestones{/number}","notifications_url":"https://api.github.com/repos/omegaup/omegaup/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/omegaup/omegaup/labels{/name}","releases_url":"https://api.github.com/repos/omegaup/omegaup/releases{/id}","deployments_url":"https://api.github.com/repos/omegaup/omegaup/deployments","created_at":"2011-01-12T00:11:21Z","updated_at":"2017-11-18T02:03:12Z","pushed_at":"2017-12-05T00:04:00Z","git_url":"git://github.com/omegaup/omegaup.git","ssh_url":"git@github.com:omegaup/omegaup.git","clone_url":"https://github.com/omegaup/omegaup.git","svn_url":"https://github.com/omegaup/omegaup","homepage":"https://omegaup.com","size":223607,"stargazers_count":39,"watchers_count":39,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"archived":false,"open_issues_count":216,"license":{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":56,"open_issues":216,"watchers":39,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1586"},"html":{"href":"https://github.com/omegaup/omegaup/pull/1586"},"issue":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1586"},"comments":{"href":"https://api.github.com/repos/omegaup/omegaup/issues/1586/comments"},"review_comments":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1586/comments"},"review_comment":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/omegaup/omegaup/pulls/1586/commits"},"statuses":{"href":"https://api.github.com/repos/omegaup/omegaup/statuses/36fa0e37b864beb923ac7f6cbadd7e4af86fb2e8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"lhchavez"}}