{"action":"created","issue":{"url":"https://api.github.com/repos/openstax/tutor-server/issues/425","labels_url":"https://api.github.com/repos/openstax/tutor-server/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/openstax/tutor-server/issues/425/comments","events_url":"https://api.github.com/repos/openstax/tutor-server/issues/425/events","html_url":"https://github.com/openstax/tutor-server/pull/425","id":93880734,"number":425,"title":"WIP: Import demo content from yaml files","user":{"login":"nathanstitt","id":79566,"avatar_url":"https://avatars.githubusercontent.com/u/79566?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanstitt","html_url":"https://github.com/nathanstitt","followers_url":"https://api.github.com/users/nathanstitt/followers","following_url":"https://api.github.com/users/nathanstitt/following{/other_user}","gists_url":"https://api.github.com/users/nathanstitt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanstitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanstitt/subscriptions","organizations_url":"https://api.github.com/users/nathanstitt/orgs","repos_url":"https://api.github.com/users/nathanstitt/repos","events_url":"https://api.github.com/users/nathanstitt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanstitt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-08T20:19:08Z","updated_at":"2015-07-09T18:27:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openstax/tutor-server/pulls/425","html_url":"https://github.com/openstax/tutor-server/pull/425","diff_url":"https://github.com/openstax/tutor-server/pull/425.diff","patch_url":"https://github.com/openstax/tutor-server/pull/425.patch"},"body":"Main changes:\r\n * `entries` on the assignments has been renamed to `scores`.  I'm loading the data into a Hashie::Mash, and `entries` is an existing method that lists all the key/value pairs.\r\n * In order to make the YAML a bit more brief and allow one-liner arrays of `scores`, the named values are renamed.  `incomplete` => `i` and `not_started` => `ns`\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/openstax/tutor-server/issues/comments/120095700","html_url":"https://github.com/openstax/tutor-server/pull/425#issuecomment-120095700","issue_url":"https://api.github.com/repos/openstax/tutor-server/issues/425","id":120095700,"user":{"login":"nathanstitt","id":79566,"avatar_url":"https://avatars.githubusercontent.com/u/79566?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanstitt","html_url":"https://github.com/nathanstitt","followers_url":"https://api.github.com/users/nathanstitt/followers","following_url":"https://api.github.com/users/nathanstitt/following{/other_user}","gists_url":"https://api.github.com/users/nathanstitt/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanstitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanstitt/subscriptions","organizations_url":"https://api.github.com/users/nathanstitt/orgs","repos_url":"https://api.github.com/users/nathanstitt/repos","events_url":"https://api.github.com/users/nathanstitt/events{/privacy}","received_events_url":"https://api.github.com/users/nathanstitt/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T18:27:22Z","updated_at":"2015-07-09T18:27:22Z","body":"This now works, but something really weird is occurring with the task plans for physics.  If the order of assignments is changed in `physics.yml` so they're in the \"natural\" order of:\r\n\r\n * Read 3.1 Acceleration Pt1\r\n * Read 3.2 Acceleration Pt2\r\n * Read 4.1-4.2 Force & Motion Pt1\r\n\r\nThe step counts change for the exercises.  \"Pt1\" changes from 12 steps to 10.  \"Pt2\" suddenly need 14 steps, even though it has only 13 now.   Then it suddenly changes back to 13 on it's 10th task.   This causes an exception in demo_base's `work_tasks` method."}}