{"action":"opened","issue":{"url":"https://api.github.com/repos/maths/moodle-qtype_stack/issues/227","repository_url":"https://api.github.com/repos/maths/moodle-qtype_stack","labels_url":"https://api.github.com/repos/maths/moodle-qtype_stack/issues/227/labels{/name}","comments_url":"https://api.github.com/repos/maths/moodle-qtype_stack/issues/227/comments","events_url":"https://api.github.com/repos/maths/moodle-qtype_stack/issues/227/events","html_url":"https://github.com/maths/moodle-qtype_stack/issues/227","id":172063568,"number":227,"title":"Inconsistent response with Units and SigFIgs","user":{"login":"villehavu","id":12526133,"avatar_url":"https://avatars.githubusercontent.com/u/12526133?v=3","gravatar_id":"","url":"https://api.github.com/users/villehavu","html_url":"https://github.com/villehavu","followers_url":"https://api.github.com/users/villehavu/followers","following_url":"https://api.github.com/users/villehavu/following{/other_user}","gists_url":"https://api.github.com/users/villehavu/gists{/gist_id}","starred_url":"https://api.github.com/users/villehavu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/villehavu/subscriptions","organizations_url":"https://api.github.com/users/villehavu/orgs","repos_url":"https://api.github.com/users/villehavu/repos","events_url":"https://api.github.com/users/villehavu/events{/privacy}","received_events_url":"https://api.github.com/users/villehavu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-19T06:30:13Z","updated_at":"2016-08-19T06:30:13Z","closed_at":null,"body":"While testing a problem with units and significant figures I came up with the following inconsistency:\r\n\r\nThe correct answer to the problem is 18000.0*J rounded to two significant figures.\r\n\r\nA student input 18100.0*J gives the correct feedback about the answer being incorrect and the number of significant figures being wrong.\r\n\r\nThe input 18*kJ is accepted as a correct answer as it should. However, the input 18.1*kJ only produces the feedback 'Incorrect answer.' without giving a reason (i.e. a wrong number of significant figures as in the case above).\r\n\r\nFrom the student's point of view the answers 18100.0*J and 18.1*kJ should of course be equivalent so I suspect there is something going on with the evaluation of the prefixes.\r\n\r\n- Ville"}}
{"actor":{"display_login":"villehavu"}}