{"action":"closed","issue":{"url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/issues/145","labels_url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/issues/145/comments","events_url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/issues/145/events","html_url":"https://github.com/HaritzPuerto/ProjectDBA/issues/145","id":74919943,"number":145,"title":"Funcionamiento de mediana_alu_relacion","user":{"login":"AlvaroFaure","id":11488816,"avatar_url":"https://avatars.githubusercontent.com/u/11488816?v=3","gravatar_id":"","url":"https://api.github.com/users/AlvaroFaure","html_url":"https://github.com/AlvaroFaure","followers_url":"https://api.github.com/users/AlvaroFaure/followers","following_url":"https://api.github.com/users/AlvaroFaure/following{/other_user}","gists_url":"https://api.github.com/users/AlvaroFaure/gists{/gist_id}","starred_url":"https://api.github.com/users/AlvaroFaure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlvaroFaure/subscriptions","organizations_url":"https://api.github.com/users/AlvaroFaure/orgs","repos_url":"https://api.github.com/users/AlvaroFaure/repos","events_url":"https://api.github.com/users/AlvaroFaure/events{/privacy}","received_events_url":"https://api.github.com/users/AlvaroFaure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/HaritzPuerto/ProjectDBA/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"AlvaroFaure","id":11488816,"avatar_url":"https://avatars.githubusercontent.com/u/11488816?v=3","gravatar_id":"","url":"https://api.github.com/users/AlvaroFaure","html_url":"https://github.com/AlvaroFaure","followers_url":"https://api.github.com/users/AlvaroFaure/followers","following_url":"https://api.github.com/users/AlvaroFaure/following{/other_user}","gists_url":"https://api.github.com/users/AlvaroFaure/gists{/gist_id}","starred_url":"https://api.github.com/users/AlvaroFaure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlvaroFaure/subscriptions","organizations_url":"https://api.github.com/users/AlvaroFaure/orgs","repos_url":"https://api.github.com/users/AlvaroFaure/repos","events_url":"https://api.github.com/users/AlvaroFaure/events{/privacy}","received_events_url":"https://api.github.com/users/AlvaroFaure/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-05-10T13:25:25Z","updated_at":"2015-05-10T17:16:33Z","closed_at":"2015-05-10T17:16:33Z","body":"@HaritzPuerto Me tiene algo perdido tu vista.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11488816/7554399/27954b9c-f728-11e4-9895-d2f1cb60afed.png)\r\n\r\n\r\nDices que te muestra la mediana de cada relación. Yo entiendo que si un usuario ha hecho dos ejercicios de la relación 1 y tres ejercicios de la relación 2 te devuelve la mediana de la relación 1 (la suma de las notas entre 2) y la mediana de la relación 2 (la suma de las notas entre 3).\r\n\r\nSin embargo, mira esto:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11488816/7554405/71155596-f728-11e4-9bc5-80bc178e5913.png)\r\n\r\nEl usuario 3 (Jack Kerouac) ha hecho dos ejercicios de la relación 6 y un ejercicio de la relación 7. Entiendo que tu vista debería mostrar la mediana de Jack para la relación 7 (un 5) y la mediana para la relación 6 (un 1), pero:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/11488816/7554408/9a3abace-f728-11e4-81de-1cb70e4851b3.png)\r\n\r\nParece como si estuviese haciendo la media de cada alumno por asignatura.\r\n¿Estoy entendiendo algo mal o es un error?"}}