{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/graphing-lines/issues/75","repository_url":"https://api.github.com/repos/phetsims/graphing-lines","labels_url":"https://api.github.com/repos/phetsims/graphing-lines/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/graphing-lines/issues/75/comments","events_url":"https://api.github.com/repos/phetsims/graphing-lines/issues/75/events","html_url":"https://github.com/phetsims/graphing-lines/issues/75","id":222475334,"number":75,"title":"Assertion failure, two different points are required","user":{"login":"phet-steele","id":5863899,"avatar_url":"https://avatars1.githubusercontent.com/u/5863899?v=3","gravatar_id":"","url":"https://api.github.com/users/phet-steele","html_url":"https://github.com/phet-steele","followers_url":"https://api.github.com/users/phet-steele/followers","following_url":"https://api.github.com/users/phet-steele/following{/other_user}","gists_url":"https://api.github.com/users/phet-steele/gists{/gist_id}","starred_url":"https://api.github.com/users/phet-steele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phet-steele/subscriptions","organizations_url":"https://api.github.com/users/phet-steele/orgs","repos_url":"https://api.github.com/users/phet-steele/repos","events_url":"https://api.github.com/users/phet-steele/events{/privacy}","received_events_url":"https://api.github.com/users/phet-steele/received_events","type":"User","site_admin":false},"labels":[{"id":52716871,"url":"https://api.github.com/repos/phetsims/graphing-lines/labels/type:bug","name":"type:bug","color":"FF00AA","default":false}],"state":"closed","locked":false,"assignee":{"login":"phet-steele","id":5863899,"avatar_url":"https://avatars1.githubusercontent.com/u/5863899?v=3","gravatar_id":"","url":"https://api.github.com/users/phet-steele","html_url":"https://github.com/phet-steele","followers_url":"https://api.github.com/users/phet-steele/followers","following_url":"https://api.github.com/users/phet-steele/following{/other_user}","gists_url":"https://api.github.com/users/phet-steele/gists{/gist_id}","starred_url":"https://api.github.com/users/phet-steele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phet-steele/subscriptions","organizations_url":"https://api.github.com/users/phet-steele/orgs","repos_url":"https://api.github.com/users/phet-steele/repos","events_url":"https://api.github.com/users/phet-steele/events{/privacy}","received_events_url":"https://api.github.com/users/phet-steele/received_events","type":"User","site_admin":false},"assignees":[{"login":"phet-steele","id":5863899,"avatar_url":"https://avatars1.githubusercontent.com/u/5863899?v=3","gravatar_id":"","url":"https://api.github.com/users/phet-steele","html_url":"https://github.com/phet-steele","followers_url":"https://api.github.com/users/phet-steele/followers","following_url":"https://api.github.com/users/phet-steele/following{/other_user}","gists_url":"https://api.github.com/users/phet-steele/gists{/gist_id}","starred_url":"https://api.github.com/users/phet-steele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phet-steele/subscriptions","organizations_url":"https://api.github.com/users/phet-steele/orgs","repos_url":"https://api.github.com/users/phet-steele/repos","events_url":"https://api.github.com/users/phet-steele/events{/privacy}","received_events_url":"https://api.github.com/users/phet-steele/received_events","type":"User","site_admin":false}],"milestone":null,"comments":23,"created_at":"2017-04-18T16:35:26Z","updated_at":"2017-04-21T18:19:53Z","closed_at":"2017-04-21T18:19:53Z","body":"This can be hit in either graphing-lines or graphing-slope-intercept. @pixelzoom this IS in the current production version (1.1.10).\r\n\r\n1. Choose either the Slope-Intercept or Point-Slope screens.\r\n2. Create a line with undefined slope while also placing the y-intercept at 10 or -10.\r\n3. Increment/decrement the rise to get a slope of 0/0:\r\n\r\n![gl01](https://cloud.githubusercontent.com/assets/5863899/25152073/178fbc22-2445-11e7-8659-191f0336d639.gif)\r\n\r\nWithout the interrupting assertion, the points visually overlap:\r\n<img width=\"1389\" alt=\"screen shot 2017-04-18 at 2 47 54 pm\" src=\"https://cloud.githubusercontent.com/assets/5863899/25152388/0aba9aac-2446-11e7-93de-81462d693eef.png\">\r\n\r\n(See better assertion at https://github.com/phetsims/graphing-lines/issues/75#issuecomment-294969709)\r\n```\r\nError: Assertion failed: undefined\r\n    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/assert/js/assert.js:21:13)\r\n    at new Line (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/graphing-lines/js/common/model/Line.js?bust=1492509803464:28:15)\r\n    at Function.createPointSlope (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/graphing-lines/js/common/model/Line.js?bust=1492509803464:184:14)\r\n    at Function.createSlopeIntercept (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/graphing-lines/js/common/model/Line.js?bust=1492509803464:193:19)\r\n    at https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/graphing-lines/js/slopeintercept/view/SlopeInterceptEquationNode.js?bust=1492509803464:359:36\r\n    at Array.listener (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/axon/js/Multilink.js?bust=1492509803464:40:18)\r\n    at Emitter.emit2 (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/axon/js/Emitter.js?bust=1492509803464:147:49)\r\n    at Property._notifyObservers (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/axon/js/Property.js?bust=1492509803464:208:29)\r\n    at Property._setAndNotifyObservers (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/axon/js/Property.js?bust=1492509803464:197:14)\r\n    at Property.set (https://bayes.colorado.edu/continuous-testing/snapshot-1492506543283/axon/js/Property.js?bust=1492509803464:141:16)\r\nApproximately 4/18/2017, 3:09:03 AM\r\n```\r\n\r\nThe assertion in question appears to be:\r\n```\r\nfunction Line( x1, y1, x2, y2, color ) {\r\n    assert && assert( x1 !== x2 || y1 !== y2 ); // 2 different points are required\r\n    ...\r\n  }\r\n```\r\n\r\nSeen on macOS 10.12.4 Chrome. For phetsims/tasks/issues/815 and phetsims/tasks/issues/816.\r\nURL: http://www.colorado.edu/physics/phet/dev/html/graphing-slope-intercept/1.0.0-rc.1/graphing-slope-intercept_en.html\r\nVersion: 1.0.0-rc.1 2017-04-12 19:48:25 UTC\r\nFeatures missing: touch\r\nFlags: pixelRatioScaling\r\nUser Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36\r\nLanguage: en-US\r\nWindow: 1920x1014\r\nPixel Ratio: 2/1\r\nWebGL: WebGL 1.0 (OpenGL ES 2.0 Chromium)\r\nGLSL: WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)\r\nVendor: WebKit (WebKit WebGL)\r\nVertex: attribs: 16 varying: 32 uniform: 1024\r\nTexture: size: 16384 imageUnits: 16 (vertex: 16, combined: 80)\r\nMax viewport: 16384x16384\r\nOES_texture_float: true\r\nDependencies JSON: {\"assert\":{\"sha\":\"a707328c\",\"branch\":\"HEAD\"},\"axon\":{\"sha\":\"81919d26\",\"branch\":\"HEAD\"},\"babel\":{\"sha\":\"fdde4356\",\"branch\":\"master\"},\"brand\":{\"sha\":\"054ca5c3\",\"branch\":\"HEAD\"},\"chipper\":{\"sha\":\"36dc0e55\",\"branch\":\"HEAD\"},\"dot\":{\"sha\":\"a0c5770e\",\"branch\":\"HEAD\"},\"graphing-lines\":{\"sha\":\"032bc04e\",\"branch\":\"HEAD\"},\"graphing-slope-intercept\":{\"sha\":\"a851237a\",\"branch\":\"HEAD\"},\"joist\":{\"sha\":\"91516011\",\"branch\":\"HEAD\"},\"kite\":{\"sha\":\"81166ce9\",\"branch\":\"HEAD\"},\"phet-core\":{\"sha\":\"c5c6c2a8\",\"branch\":\"HEAD\"},\"phetcommon\":{\"sha\":\"68053a7d\",\"branch\":\"HEAD\"},\"query-string-machine\":{\"sha\":\"d8a4ff18\",\"branch\":\"HEAD\"},\"scenery\":{\"sha\":\"17b5a7e4\",\"branch\":\"HEAD\"},\"scenery-phet\":{\"sha\":\"8ea5852c\",\"branch\":\"HEAD\"},\"sherpa\":{\"sha\":\"0e326d54\",\"branch\":\"HEAD\"},\"sun\":{\"sha\":\"50c6a1d0\",\"branch\":\"HEAD\"},\"tandem\":{\"sha\":\"18703f2f\",\"branch\":\"HEAD\"},\"vegas\":{\"sha\":\"3c3561d2\",\"branch\":\"HEAD\"},\"vibe\":{\"sha\":\"49fdbe7d\",\"branch\":\"HEAD\"}}"},"comment":{"url":"https://api.github.com/repos/phetsims/graphing-lines/issues/comments/296265838","html_url":"https://github.com/phetsims/graphing-lines/issues/75#issuecomment-296265838","issue_url":"https://api.github.com/repos/phetsims/graphing-lines/issues/75","id":296265838,"user":{"login":"phet-steele","id":5863899,"avatar_url":"https://avatars1.githubusercontent.com/u/5863899?v=3","gravatar_id":"","url":"https://api.github.com/users/phet-steele","html_url":"https://github.com/phet-steele","followers_url":"https://api.github.com/users/phet-steele/followers","following_url":"https://api.github.com/users/phet-steele/following{/other_user}","gists_url":"https://api.github.com/users/phet-steele/gists{/gist_id}","starred_url":"https://api.github.com/users/phet-steele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phet-steele/subscriptions","organizations_url":"https://api.github.com/users/phet-steele/orgs","repos_url":"https://api.github.com/users/phet-steele/repos","events_url":"https://api.github.com/users/phet-steele/events{/privacy}","received_events_url":"https://api.github.com/users/phet-steele/received_events","type":"User","site_admin":false},"created_at":"2017-04-21T18:19:53Z","updated_at":"2017-04-21T18:19:53Z","body":"@pixelzoom, magnifico."}}
{"actor":{"display_login":"phet-steele"}}