{"action":"opened","number":111,"pull_request":{"url":"https://api.github.com/repos/UrLab/incubator/pulls/111","id":96762988,"html_url":"https://github.com/UrLab/incubator/pull/111","diff_url":"https://github.com/UrLab/incubator/pull/111.diff","patch_url":"https://github.com/UrLab/incubator/pull/111.patch","issue_url":"https://api.github.com/repos/UrLab/incubator/issues/111","number":111,"state":"open","locked":false,"title":"Ml ouverture","user":{"login":"t00n","id":1850295,"avatar_url":"https://avatars.githubusercontent.com/u/1850295?v=3","gravatar_id":"","url":"https://api.github.com/users/t00n","html_url":"https://github.com/t00n","followers_url":"https://api.github.com/users/t00n/followers","following_url":"https://api.github.com/users/t00n/following{/other_user}","gists_url":"https://api.github.com/users/t00n/gists{/gist_id}","starred_url":"https://api.github.com/users/t00n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t00n/subscriptions","organizations_url":"https://api.github.com/users/t00n/orgs","repos_url":"https://api.github.com/users/t00n/repos","events_url":"https://api.github.com/users/t00n/events{/privacy}","received_events_url":"https://api.github.com/users/t00n/received_events","type":"User","site_admin":false},"body":"Coucou !\r\nJ'ai utilisé plein de ML super hype pour les probas d'ouverture de urlab (merci @fhennecker je t'ai volé ton idée).\r\nAvant : \r\n![2016-12-06-174300_384x202_scrot](https://cloud.githubusercontent.com/assets/1850295/20934447/769e7eec-bbdb-11e6-86f6-009ff9b07863.png)\r\nApres : \r\n![2016-12-06-174338_385x201_scrot](https://cloud.githubusercontent.com/assets/1850295/20934463/8ef06d5c-bbdb-11e6-8327-29d0e0ff7b6c.png)\r\nInfos : \r\nDans la requete pour choper les probas en JSON, y a moyen de mettre un param \"days\" qui est un integer de 0 a 6 qui indique quel jour dans le futur renvoyer (de maintenant = 0 jusqu'a dans 6 jours). Si il existe pas, ca renvoie aujourd'hui. Si il est négatif ca marche mais ca sert a rien. Si il est plus grand que 6, ca fait rien pcq les données existent pas.\r\nJ'ai viré ce qu'il y avait avant comme un salow (déso @titouanc).\r\nJ'ai créé une commande qui compute les prédictions des 7 prochains jours. Ca met moins de 10 secondes. Faut lancer : \r\n```bash\r\npython manage.py predict_openings\r\n```\r\nLes prédictions se raffinent heure par heure en fonction des nouvelles données d'ouverture donc lancer la commande chaque heure, c'est coule.\r\nSi la commande a jamais été lancée, le graphe s'affiche juste pas.\r\n","created_at":"2016-12-06T16:55:34Z","updated_at":"2016-12-06T16:55:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/UrLab/incubator/pulls/111/commits","review_comments_url":"https://api.github.com/repos/UrLab/incubator/pulls/111/comments","review_comment_url":"https://api.github.com/repos/UrLab/incubator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UrLab/incubator/issues/111/comments","statuses_url":"https://api.github.com/repos/UrLab/incubator/statuses/384834f87bdec1e69712057b8600bbec91397716","head":{"label":"UrLab:ML_ouverture","ref":"ML_ouverture","sha":"384834f87bdec1e69712057b8600bbec91397716","user":{"login":"UrLab","id":1607266,"avatar_url":"https://avatars.githubusercontent.com/u/1607266?v=3","gravatar_id":"","url":"https://api.github.com/users/UrLab","html_url":"https://github.com/UrLab","followers_url":"https://api.github.com/users/UrLab/followers","following_url":"https://api.github.com/users/UrLab/following{/other_user}","gists_url":"https://api.github.com/users/UrLab/gists{/gist_id}","starred_url":"https://api.github.com/users/UrLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrLab/subscriptions","organizations_url":"https://api.github.com/users/UrLab/orgs","repos_url":"https://api.github.com/users/UrLab/repos","events_url":"https://api.github.com/users/UrLab/events{/privacy}","received_events_url":"https://api.github.com/users/UrLab/received_events","type":"Organization","site_admin":false},"repo":{"id":31387310,"name":"incubator","full_name":"UrLab/incubator","owner":{"login":"UrLab","id":1607266,"avatar_url":"https://avatars.githubusercontent.com/u/1607266?v=3","gravatar_id":"","url":"https://api.github.com/users/UrLab","html_url":"https://github.com/UrLab","followers_url":"https://api.github.com/users/UrLab/followers","following_url":"https://api.github.com/users/UrLab/following{/other_user}","gists_url":"https://api.github.com/users/UrLab/gists{/gist_id}","starred_url":"https://api.github.com/users/UrLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrLab/subscriptions","organizations_url":"https://api.github.com/users/UrLab/orgs","repos_url":"https://api.github.com/users/UrLab/repos","events_url":"https://api.github.com/users/UrLab/events{/privacy}","received_events_url":"https://api.github.com/users/UrLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UrLab/incubator","description":"New *all-in-one* django website for UrLab","fork":false,"url":"https://api.github.com/repos/UrLab/incubator","forks_url":"https://api.github.com/repos/UrLab/incubator/forks","keys_url":"https://api.github.com/repos/UrLab/incubator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UrLab/incubator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UrLab/incubator/teams","hooks_url":"https://api.github.com/repos/UrLab/incubator/hooks","issue_events_url":"https://api.github.com/repos/UrLab/incubator/issues/events{/number}","events_url":"https://api.github.com/repos/UrLab/incubator/events","assignees_url":"https://api.github.com/repos/UrLab/incubator/assignees{/user}","branches_url":"https://api.github.com/repos/UrLab/incubator/branches{/branch}","tags_url":"https://api.github.com/repos/UrLab/incubator/tags","blobs_url":"https://api.github.com/repos/UrLab/incubator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UrLab/incubator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UrLab/incubator/git/refs{/sha}","trees_url":"https://api.github.com/repos/UrLab/incubator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UrLab/incubator/statuses/{sha}","languages_url":"https://api.github.com/repos/UrLab/incubator/languages","stargazers_url":"https://api.github.com/repos/UrLab/incubator/stargazers","contributors_url":"https://api.github.com/repos/UrLab/incubator/contributors","subscribers_url":"https://api.github.com/repos/UrLab/incubator/subscribers","subscription_url":"https://api.github.com/repos/UrLab/incubator/subscription","commits_url":"https://api.github.com/repos/UrLab/incubator/commits{/sha}","git_commits_url":"https://api.github.com/repos/UrLab/incubator/git/commits{/sha}","comments_url":"https://api.github.com/repos/UrLab/incubator/comments{/number}","issue_comment_url":"https://api.github.com/repos/UrLab/incubator/issues/comments{/number}","contents_url":"https://api.github.com/repos/UrLab/incubator/contents/{+path}","compare_url":"https://api.github.com/repos/UrLab/incubator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UrLab/incubator/merges","archive_url":"https://api.github.com/repos/UrLab/incubator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UrLab/incubator/downloads","issues_url":"https://api.github.com/repos/UrLab/incubator/issues{/number}","pulls_url":"https://api.github.com/repos/UrLab/incubator/pulls{/number}","milestones_url":"https://api.github.com/repos/UrLab/incubator/milestones{/number}","notifications_url":"https://api.github.com/repos/UrLab/incubator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UrLab/incubator/labels{/name}","releases_url":"https://api.github.com/repos/UrLab/incubator/releases{/id}","deployments_url":"https://api.github.com/repos/UrLab/incubator/deployments","created_at":"2015-02-26T20:30:49Z","updated_at":"2016-12-04T18:06:31Z","pushed_at":"2016-12-06T16:40:48Z","git_url":"git://github.com/UrLab/incubator.git","ssh_url":"git@github.com:UrLab/incubator.git","clone_url":"https://github.com/UrLab/incubator.git","svn_url":"https://github.com/UrLab/incubator","homepage":"https://urlab.be","size":2990,"stargazers_count":6,"watchers_count":6,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":6,"default_branch":"master"}},"base":{"label":"UrLab:master","ref":"master","sha":"bd1ba874eacf6c7599806719b30b6073185a6711","user":{"login":"UrLab","id":1607266,"avatar_url":"https://avatars.githubusercontent.com/u/1607266?v=3","gravatar_id":"","url":"https://api.github.com/users/UrLab","html_url":"https://github.com/UrLab","followers_url":"https://api.github.com/users/UrLab/followers","following_url":"https://api.github.com/users/UrLab/following{/other_user}","gists_url":"https://api.github.com/users/UrLab/gists{/gist_id}","starred_url":"https://api.github.com/users/UrLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrLab/subscriptions","organizations_url":"https://api.github.com/users/UrLab/orgs","repos_url":"https://api.github.com/users/UrLab/repos","events_url":"https://api.github.com/users/UrLab/events{/privacy}","received_events_url":"https://api.github.com/users/UrLab/received_events","type":"Organization","site_admin":false},"repo":{"id":31387310,"name":"incubator","full_name":"UrLab/incubator","owner":{"login":"UrLab","id":1607266,"avatar_url":"https://avatars.githubusercontent.com/u/1607266?v=3","gravatar_id":"","url":"https://api.github.com/users/UrLab","html_url":"https://github.com/UrLab","followers_url":"https://api.github.com/users/UrLab/followers","following_url":"https://api.github.com/users/UrLab/following{/other_user}","gists_url":"https://api.github.com/users/UrLab/gists{/gist_id}","starred_url":"https://api.github.com/users/UrLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrLab/subscriptions","organizations_url":"https://api.github.com/users/UrLab/orgs","repos_url":"https://api.github.com/users/UrLab/repos","events_url":"https://api.github.com/users/UrLab/events{/privacy}","received_events_url":"https://api.github.com/users/UrLab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UrLab/incubator","description":"New *all-in-one* django website for UrLab","fork":false,"url":"https://api.github.com/repos/UrLab/incubator","forks_url":"https://api.github.com/repos/UrLab/incubator/forks","keys_url":"https://api.github.com/repos/UrLab/incubator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UrLab/incubator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UrLab/incubator/teams","hooks_url":"https://api.github.com/repos/UrLab/incubator/hooks","issue_events_url":"https://api.github.com/repos/UrLab/incubator/issues/events{/number}","events_url":"https://api.github.com/repos/UrLab/incubator/events","assignees_url":"https://api.github.com/repos/UrLab/incubator/assignees{/user}","branches_url":"https://api.github.com/repos/UrLab/incubator/branches{/branch}","tags_url":"https://api.github.com/repos/UrLab/incubator/tags","blobs_url":"https://api.github.com/repos/UrLab/incubator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UrLab/incubator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UrLab/incubator/git/refs{/sha}","trees_url":"https://api.github.com/repos/UrLab/incubator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UrLab/incubator/statuses/{sha}","languages_url":"https://api.github.com/repos/UrLab/incubator/languages","stargazers_url":"https://api.github.com/repos/UrLab/incubator/stargazers","contributors_url":"https://api.github.com/repos/UrLab/incubator/contributors","subscribers_url":"https://api.github.com/repos/UrLab/incubator/subscribers","subscription_url":"https://api.github.com/repos/UrLab/incubator/subscription","commits_url":"https://api.github.com/repos/UrLab/incubator/commits{/sha}","git_commits_url":"https://api.github.com/repos/UrLab/incubator/git/commits{/sha}","comments_url":"https://api.github.com/repos/UrLab/incubator/comments{/number}","issue_comment_url":"https://api.github.com/repos/UrLab/incubator/issues/comments{/number}","contents_url":"https://api.github.com/repos/UrLab/incubator/contents/{+path}","compare_url":"https://api.github.com/repos/UrLab/incubator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UrLab/incubator/merges","archive_url":"https://api.github.com/repos/UrLab/incubator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UrLab/incubator/downloads","issues_url":"https://api.github.com/repos/UrLab/incubator/issues{/number}","pulls_url":"https://api.github.com/repos/UrLab/incubator/pulls{/number}","milestones_url":"https://api.github.com/repos/UrLab/incubator/milestones{/number}","notifications_url":"https://api.github.com/repos/UrLab/incubator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UrLab/incubator/labels{/name}","releases_url":"https://api.github.com/repos/UrLab/incubator/releases{/id}","deployments_url":"https://api.github.com/repos/UrLab/incubator/deployments","created_at":"2015-02-26T20:30:49Z","updated_at":"2016-12-04T18:06:31Z","pushed_at":"2016-12-06T16:40:48Z","git_url":"git://github.com/UrLab/incubator.git","ssh_url":"git@github.com:UrLab/incubator.git","clone_url":"https://github.com/UrLab/incubator.git","svn_url":"https://github.com/UrLab/incubator","homepage":"https://urlab.be","size":2990,"stargazers_count":6,"watchers_count":6,"language":"Jupyter Notebook","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UrLab/incubator/pulls/111"},"html":{"href":"https://github.com/UrLab/incubator/pull/111"},"issue":{"href":"https://api.github.com/repos/UrLab/incubator/issues/111"},"comments":{"href":"https://api.github.com/repos/UrLab/incubator/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/UrLab/incubator/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/UrLab/incubator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UrLab/incubator/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/UrLab/incubator/statuses/384834f87bdec1e69712057b8600bbec91397716"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":13,"additions":141,"deletions":61,"changed_files":7}}
{"actor":{"display_login":"t00n"}}