{"action":"opened","number":257,"pull_request":{"url":"https://api.github.com/repos/NetLogo/models/pulls/257","id":71411272,"html_url":"https://github.com/NetLogo/models/pull/257","diff_url":"https://github.com/NetLogo/models/pull/257.diff","patch_url":"https://github.com/NetLogo/models/pull/257.patch","issue_url":"https://api.github.com/repos/NetLogo/models/issues/257","number":257,"state":"open","locked":false,"title":"Traffic 2 Lanes: checkout and promotion","user":{"login":"nicolaspayette","id":908754,"avatar_url":"https://avatars.githubusercontent.com/u/908754?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaspayette","html_url":"https://github.com/nicolaspayette","followers_url":"https://api.github.com/users/nicolaspayette/followers","following_url":"https://api.github.com/users/nicolaspayette/following{/other_user}","gists_url":"https://api.github.com/users/nicolaspayette/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaspayette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaspayette/subscriptions","organizations_url":"https://api.github.com/users/nicolaspayette/orgs","repos_url":"https://api.github.com/users/nicolaspayette/repos","events_url":"https://api.github.com/users/nicolaspayette/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaspayette/received_events","type":"User","site_admin":false},"body":"Main changes from the original model:\r\n\r\n- The look of the model has been improved.\r\n- The gap between lanes has been reduced from three patches to one.\r\n- The `number` slider has been renamed to `number-of-cars`. It can now be adjusted while the model is running (which makes it easier to see the impact of the number of cars on traffic).\r\n- The range of `speed-up` and `slow-down` sliders have been changed to show the values that are actually used for speed up and slow down instead of a multiple of those values. (This is consistent with other traffic models).\r\n- The setup code has been modified to avoid cars ending up almost on top of one another. (The original code ensured they were not on the same patch, but one car could be at 0.99 and the other at 1.01. It also used to hang when there were too many cars.)\r\n- The car movement code has been generally improved, now avoiding car overlap or car jumping over one another (to help resolve that last issue, the maximum possible speed has been reduced from 2.0 to 1.0.)\r\n- The `look-ahead` slider has been eliminated. The distance cars look ahead is now relative to their speed. The old code didn't work well and played a big part in the problematic \"car jumping\" behavior.  I wrote a version of \"adjustable look ahead\" that did work, but it needlessly complicated the code and produced behavior that didn't look realistic.\r\n- There are new buttons for watching and following the selected car. Following works especially well with the new look of the model.\r\n- The mechanism for driver patience has been revised. The old one was convoluted and not entirely consistent with its description in the info tab. The new one is much simpler: every time you hit the brakes, you loose a little patience. When your patience runs out, you try to change lanes and your patience gets reset.\r\n- There is a new plot for showing the current patience of drivers.\r\n- There is a new plot for showing the current ycor of cars, thereby showing the proportion of cars in each lane.\r\n- The revised model code makes it easy to change the number of lanes in the model, but I didn't put a slider for it on the interface to avoid having to change the name of the model. Doing so is left as an exercise for the user.\r\n- The info tab has been updated to reflect all those changes.","created_at":"2016-05-25T15:24:59Z","updated_at":"2016-05-25T15:24:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NetLogo/models/pulls/257/commits","review_comments_url":"https://api.github.com/repos/NetLogo/models/pulls/257/comments","review_comment_url":"https://api.github.com/repos/NetLogo/models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/NetLogo/models/issues/257/comments","statuses_url":"https://api.github.com/repos/NetLogo/models/statuses/3d873351e40d022ddf6b78d0fc0406b4627ebea8","head":{"label":"NetLogo:traffic-2-lanes","ref":"traffic-2-lanes","sha":"3d873351e40d022ddf6b78d0fc0406b4627ebea8","user":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"repo":{"id":13742421,"name":"models","full_name":"NetLogo/models","owner":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetLogo/models","description":"NetLogo Models Library","fork":false,"url":"https://api.github.com/repos/NetLogo/models","forks_url":"https://api.github.com/repos/NetLogo/models/forks","keys_url":"https://api.github.com/repos/NetLogo/models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetLogo/models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetLogo/models/teams","hooks_url":"https://api.github.com/repos/NetLogo/models/hooks","issue_events_url":"https://api.github.com/repos/NetLogo/models/issues/events{/number}","events_url":"https://api.github.com/repos/NetLogo/models/events","assignees_url":"https://api.github.com/repos/NetLogo/models/assignees{/user}","branches_url":"https://api.github.com/repos/NetLogo/models/branches{/branch}","tags_url":"https://api.github.com/repos/NetLogo/models/tags","blobs_url":"https://api.github.com/repos/NetLogo/models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetLogo/models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetLogo/models/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetLogo/models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetLogo/models/statuses/{sha}","languages_url":"https://api.github.com/repos/NetLogo/models/languages","stargazers_url":"https://api.github.com/repos/NetLogo/models/stargazers","contributors_url":"https://api.github.com/repos/NetLogo/models/contributors","subscribers_url":"https://api.github.com/repos/NetLogo/models/subscribers","subscription_url":"https://api.github.com/repos/NetLogo/models/subscription","commits_url":"https://api.github.com/repos/NetLogo/models/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetLogo/models/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetLogo/models/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetLogo/models/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetLogo/models/contents/{+path}","compare_url":"https://api.github.com/repos/NetLogo/models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetLogo/models/merges","archive_url":"https://api.github.com/repos/NetLogo/models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetLogo/models/downloads","issues_url":"https://api.github.com/repos/NetLogo/models/issues{/number}","pulls_url":"https://api.github.com/repos/NetLogo/models/pulls{/number}","milestones_url":"https://api.github.com/repos/NetLogo/models/milestones{/number}","notifications_url":"https://api.github.com/repos/NetLogo/models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetLogo/models/labels{/name}","releases_url":"https://api.github.com/repos/NetLogo/models/releases{/id}","deployments_url":"https://api.github.com/repos/NetLogo/models/deployments","created_at":"2013-10-21T12:59:22Z","updated_at":"2016-05-20T00:29:15Z","pushed_at":"2016-05-24T22:43:57Z","git_url":"git://github.com/NetLogo/models.git","ssh_url":"git@github.com:NetLogo/models.git","clone_url":"https://github.com/NetLogo/models.git","svn_url":"https://github.com/NetLogo/models","homepage":null,"size":32122,"stargazers_count":16,"watchers_count":16,"language":"NetLogo","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":1,"forks":26,"open_issues":1,"watchers":16,"default_branch":"master"}},"base":{"label":"NetLogo:master","ref":"master","sha":"f309985cb81ca18f69ea78559e652e4976c64340","user":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"repo":{"id":13742421,"name":"models","full_name":"NetLogo/models","owner":{"login":"NetLogo","id":767367,"avatar_url":"https://avatars.githubusercontent.com/u/767367?v=3","gravatar_id":"","url":"https://api.github.com/users/NetLogo","html_url":"https://github.com/NetLogo","followers_url":"https://api.github.com/users/NetLogo/followers","following_url":"https://api.github.com/users/NetLogo/following{/other_user}","gists_url":"https://api.github.com/users/NetLogo/gists{/gist_id}","starred_url":"https://api.github.com/users/NetLogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NetLogo/subscriptions","organizations_url":"https://api.github.com/users/NetLogo/orgs","repos_url":"https://api.github.com/users/NetLogo/repos","events_url":"https://api.github.com/users/NetLogo/events{/privacy}","received_events_url":"https://api.github.com/users/NetLogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/NetLogo/models","description":"NetLogo Models Library","fork":false,"url":"https://api.github.com/repos/NetLogo/models","forks_url":"https://api.github.com/repos/NetLogo/models/forks","keys_url":"https://api.github.com/repos/NetLogo/models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NetLogo/models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NetLogo/models/teams","hooks_url":"https://api.github.com/repos/NetLogo/models/hooks","issue_events_url":"https://api.github.com/repos/NetLogo/models/issues/events{/number}","events_url":"https://api.github.com/repos/NetLogo/models/events","assignees_url":"https://api.github.com/repos/NetLogo/models/assignees{/user}","branches_url":"https://api.github.com/repos/NetLogo/models/branches{/branch}","tags_url":"https://api.github.com/repos/NetLogo/models/tags","blobs_url":"https://api.github.com/repos/NetLogo/models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NetLogo/models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NetLogo/models/git/refs{/sha}","trees_url":"https://api.github.com/repos/NetLogo/models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NetLogo/models/statuses/{sha}","languages_url":"https://api.github.com/repos/NetLogo/models/languages","stargazers_url":"https://api.github.com/repos/NetLogo/models/stargazers","contributors_url":"https://api.github.com/repos/NetLogo/models/contributors","subscribers_url":"https://api.github.com/repos/NetLogo/models/subscribers","subscription_url":"https://api.github.com/repos/NetLogo/models/subscription","commits_url":"https://api.github.com/repos/NetLogo/models/commits{/sha}","git_commits_url":"https://api.github.com/repos/NetLogo/models/git/commits{/sha}","comments_url":"https://api.github.com/repos/NetLogo/models/comments{/number}","issue_comment_url":"https://api.github.com/repos/NetLogo/models/issues/comments{/number}","contents_url":"https://api.github.com/repos/NetLogo/models/contents/{+path}","compare_url":"https://api.github.com/repos/NetLogo/models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NetLogo/models/merges","archive_url":"https://api.github.com/repos/NetLogo/models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NetLogo/models/downloads","issues_url":"https://api.github.com/repos/NetLogo/models/issues{/number}","pulls_url":"https://api.github.com/repos/NetLogo/models/pulls{/number}","milestones_url":"https://api.github.com/repos/NetLogo/models/milestones{/number}","notifications_url":"https://api.github.com/repos/NetLogo/models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NetLogo/models/labels{/name}","releases_url":"https://api.github.com/repos/NetLogo/models/releases{/id}","deployments_url":"https://api.github.com/repos/NetLogo/models/deployments","created_at":"2013-10-21T12:59:22Z","updated_at":"2016-05-20T00:29:15Z","pushed_at":"2016-05-24T22:43:57Z","git_url":"git://github.com/NetLogo/models.git","ssh_url":"git@github.com:NetLogo/models.git","clone_url":"https://github.com/NetLogo/models.git","svn_url":"https://github.com/NetLogo/models","homepage":null,"size":32122,"stargazers_count":16,"watchers_count":16,"language":"NetLogo","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":1,"forks":26,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/NetLogo/models/pulls/257"},"html":{"href":"https://github.com/NetLogo/models/pull/257"},"issue":{"href":"https://api.github.com/repos/NetLogo/models/issues/257"},"comments":{"href":"https://api.github.com/repos/NetLogo/models/issues/257/comments"},"review_comments":{"href":"https://api.github.com/repos/NetLogo/models/pulls/257/comments"},"review_comment":{"href":"https://api.github.com/repos/NetLogo/models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/NetLogo/models/pulls/257/commits"},"statuses":{"href":"https://api.github.com/repos/NetLogo/models/statuses/3d873351e40d022ddf6b78d0fc0406b4627ebea8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":6,"additions":370,"deletions":269,"changed_files":2}}
{"actor":{"display_login":"nicolaspayette"}}