{"action":"created","issue":{"url":"https://api.github.com/repos/IP7/concours_runner/issues/2","repository_url":"https://api.github.com/repos/IP7/concours_runner","labels_url":"https://api.github.com/repos/IP7/concours_runner/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/IP7/concours_runner/issues/2/comments","events_url":"https://api.github.com/repos/IP7/concours_runner/issues/2/events","html_url":"https://github.com/IP7/concours_runner/issues/2","id":386137643,"node_id":"MDU6SXNzdWUzODYxMzc2NDM=","number":2,"title":"Format de donnée de sortie","user":{"login":"FauconFan","id":22058263,"node_id":"MDQ6VXNlcjIyMDU4MjYz","avatar_url":"https://avatars0.githubusercontent.com/u/22058263?v=4","gravatar_id":"","url":"https://api.github.com/users/FauconFan","html_url":"https://github.com/FauconFan","followers_url":"https://api.github.com/users/FauconFan/followers","following_url":"https://api.github.com/users/FauconFan/following{/other_user}","gists_url":"https://api.github.com/users/FauconFan/gists{/gist_id}","starred_url":"https://api.github.com/users/FauconFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FauconFan/subscriptions","organizations_url":"https://api.github.com/users/FauconFan/orgs","repos_url":"https://api.github.com/users/FauconFan/repos","events_url":"https://api.github.com/users/FauconFan/events{/privacy}","received_events_url":"https://api.github.com/users/FauconFan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"Peaupote","id":5070910,"node_id":"MDQ6VXNlcjUwNzA5MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/5070910?v=4","gravatar_id":"","url":"https://api.github.com/users/Peaupote","html_url":"https://github.com/Peaupote","followers_url":"https://api.github.com/users/Peaupote/followers","following_url":"https://api.github.com/users/Peaupote/following{/other_user}","gists_url":"https://api.github.com/users/Peaupote/gists{/gist_id}","starred_url":"https://api.github.com/users/Peaupote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peaupote/subscriptions","organizations_url":"https://api.github.com/users/Peaupote/orgs","repos_url":"https://api.github.com/users/Peaupote/repos","events_url":"https://api.github.com/users/Peaupote/events{/privacy}","received_events_url":"https://api.github.com/users/Peaupote/received_events","type":"User","site_admin":false},"assignees":[{"login":"Peaupote","id":5070910,"node_id":"MDQ6VXNlcjUwNzA5MTA=","avatar_url":"https://avatars2.githubusercontent.com/u/5070910?v=4","gravatar_id":"","url":"https://api.github.com/users/Peaupote","html_url":"https://github.com/Peaupote","followers_url":"https://api.github.com/users/Peaupote/followers","following_url":"https://api.github.com/users/Peaupote/following{/other_user}","gists_url":"https://api.github.com/users/Peaupote/gists{/gist_id}","starred_url":"https://api.github.com/users/Peaupote/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Peaupote/subscriptions","organizations_url":"https://api.github.com/users/Peaupote/orgs","repos_url":"https://api.github.com/users/Peaupote/repos","events_url":"https://api.github.com/users/Peaupote/events{/privacy}","received_events_url":"https://api.github.com/users/Peaupote/received_events","type":"User","site_admin":false},{"login":"FauconFan","id":22058263,"node_id":"MDQ6VXNlcjIyMDU4MjYz","avatar_url":"https://avatars0.githubusercontent.com/u/22058263?v=4","gravatar_id":"","url":"https://api.github.com/users/FauconFan","html_url":"https://github.com/FauconFan","followers_url":"https://api.github.com/users/FauconFan/followers","following_url":"https://api.github.com/users/FauconFan/following{/other_user}","gists_url":"https://api.github.com/users/FauconFan/gists{/gist_id}","starred_url":"https://api.github.com/users/FauconFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FauconFan/subscriptions","organizations_url":"https://api.github.com/users/FauconFan/orgs","repos_url":"https://api.github.com/users/FauconFan/repos","events_url":"https://api.github.com/users/FauconFan/events{/privacy}","received_events_url":"https://api.github.com/users/FauconFan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-11-30T10:54:41Z","updated_at":"2018-11-30T19:05:22Z","closed_at":null,"author_association":"MEMBER","body":"Pour l'instant, le format respecte cette classe.\r\n\r\n```\r\nclass ResTest(object):\r\n\tdef __init__(self, test_id):\r\n\t\tself.test_id = test_id\r\n\t\tself.res_contents = {}\r\n\t\tself.compile_success = True\r\n```\r\n\r\nres_contents ait un dict qui a pour clé l'entrée et en valeur un tuple de 3 membres, le premier est le code de sortie, le deuxième est la sortie écrite par le programme et le denier est un booléen qui donne si le test est passé ou non."},"comment":{"url":"https://api.github.com/repos/IP7/concours_runner/issues/comments/443306224","html_url":"https://github.com/IP7/concours_runner/issues/2#issuecomment-443306224","issue_url":"https://api.github.com/repos/IP7/concours_runner/issues/2","id":443306224,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzMwNjIyNA==","user":{"login":"FauconFan","id":22058263,"node_id":"MDQ6VXNlcjIyMDU4MjYz","avatar_url":"https://avatars0.githubusercontent.com/u/22058263?v=4","gravatar_id":"","url":"https://api.github.com/users/FauconFan","html_url":"https://github.com/FauconFan","followers_url":"https://api.github.com/users/FauconFan/followers","following_url":"https://api.github.com/users/FauconFan/following{/other_user}","gists_url":"https://api.github.com/users/FauconFan/gists{/gist_id}","starred_url":"https://api.github.com/users/FauconFan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FauconFan/subscriptions","organizations_url":"https://api.github.com/users/FauconFan/orgs","repos_url":"https://api.github.com/users/FauconFan/repos","events_url":"https://api.github.com/users/FauconFan/events{/privacy}","received_events_url":"https://api.github.com/users/FauconFan/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T19:05:22Z","updated_at":"2018-11-30T19:05:22Z","author_association":"MEMBER","body":"Alors là se pose une autre question, d'abord faut établir un protocole de communication, ensuite est-ce qu'on passe par une socket ? J'ai jamais manipulé ce genre de trucs.\r\n\r\nJe recompile pas à chaque test. Les tests se font en 2 temps : la compilation puis l'éxécution de tous les tests.\r\n\r\nEnsuite est-ce qu'il faut que le programme soit toujours accessible. \"Qu'il tourne en fond\". Donc doit fork pour continuer à écouter sur le flux principal si il y a un nouveau test à faire, pendant que le fils éxécute les tests.\r\n\r\nDans cette même mécanique, est-ce qu'il faut avoir un conteneur différent pour chaque test ?\r\n\r\nPour l'instant, le programme commence, fait les tests de manière pûrement linéaire, affiche le résultat et se termine.\r\n\r\nDe quelle manière le programme devrait se comporter ?"}}
{"actor":{"display_login":"FauconFan"}}