{"action":"opened","issue":{"url":"https://api.github.com/repos/ELVIS-Project/VIS-Ohrwurm/issues/10","repository_url":"https://api.github.com/repos/ELVIS-Project/VIS-Ohrwurm","labels_url":"https://api.github.com/repos/ELVIS-Project/VIS-Ohrwurm/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ELVIS-Project/VIS-Ohrwurm/issues/10/comments","events_url":"https://api.github.com/repos/ELVIS-Project/VIS-Ohrwurm/issues/10/events","html_url":"https://github.com/ELVIS-Project/VIS-Ohrwurm/issues/10","id":231734885,"number":10,"title":"P3: Overlapping Line Segments","user":{"login":"DavidGarfinkle","id":9759091,"avatar_url":"https://avatars0.githubusercontent.com/u/9759091?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidGarfinkle","html_url":"https://github.com/DavidGarfinkle","followers_url":"https://api.github.com/users/DavidGarfinkle/followers","following_url":"https://api.github.com/users/DavidGarfinkle/following{/other_user}","gists_url":"https://api.github.com/users/DavidGarfinkle/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidGarfinkle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidGarfinkle/subscriptions","organizations_url":"https://api.github.com/users/DavidGarfinkle/orgs","repos_url":"https://api.github.com/users/DavidGarfinkle/repos","events_url":"https://api.github.com/users/DavidGarfinkle/events{/privacy}","received_events_url":"https://api.github.com/users/DavidGarfinkle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-26T21:06:00Z","updated_at":"2017-05-26T21:06:00Z","closed_at":null,"body":"Algorithm P3 counts the total intersection between horizontal line segments. This can lead to some cool, and some bad situations:\r\n\r\n1) if two instruments share the same note of a single melody, the total intersection of the occurrence will be higher than if just one instrument was playing the melody (and so, we can prioritize it in the ranking)\r\n\r\n2) if just the single note of the pattern is repeated many times in various parts, then the total intersection length might be as large as the pattern itself, even though only the first note has matched.\r\n\r\nPossible solutions:\r\n- merge all of the overlapping segments so the anomaly is ignored altogether and we don't include the intersection value to rank the results\r\n- filter the results by threshold, making sure that a minimum number of pattern notes are found"}}
{"actor":{"display_login":"DavidGarfinkle"}}