{"action":"created","issue":{"url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/38","labels_url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/38/comments","events_url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/38/events","html_url":"https://github.com/empirical-org/Empirical-Core-Ideas/issues/38","id":87787960,"number":38,"title":"Set up Runscope to monitor for malformed data. ","user":{"login":"petergault","id":3667179,"avatar_url":"https://avatars.githubusercontent.com/u/3667179?v=3","gravatar_id":"","url":"https://api.github.com/users/petergault","html_url":"https://github.com/petergault","followers_url":"https://api.github.com/users/petergault/followers","following_url":"https://api.github.com/users/petergault/following{/other_user}","gists_url":"https://api.github.com/users/petergault/gists{/gist_id}","starred_url":"https://api.github.com/users/petergault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petergault/subscriptions","organizations_url":"https://api.github.com/users/petergault/orgs","repos_url":"https://api.github.com/users/petergault/repos","events_url":"https://api.github.com/users/petergault/events{/privacy}","received_events_url":"https://api.github.com/users/petergault/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/labels/Level:%20Advanced","name":"Level: Advanced","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-12T16:57:12Z","updated_at":"2015-06-12T16:57:32Z","closed_at":null,"body":"_From @petergault on February 27, 2015 16:45_\n\nWhat: When teachers are assigning activities, the site is creating multiple activity sessions. This bug has cropped up multiple times, and it is a serious bug. The question is whether we can somehow either: (1) monitor the app to see when multiple instances of the same activity session are being created at the same moment or (2) preventing the system from creating more than one activity session at a time (i.e. if a teacher is batch assigning 5 activities to 10 students, it should only create 50 activity sessions. If it creates 100 sessions or 250 sessions or any number that is not 50, the site should prevent this from happening). \r\n\r\nHow: Here are some potential options for how we can perhaps monitor this behavior. These might not be the right tools, and perhaps the solution is to limit the behavior rather than monitor the errors:\r\n\r\nhttps://www.runscope.com\r\nRunscope verifies that your APIs are returning the right data, even for complicated multi-step workflows and chained requests.\r\n\r\nhttp://apimetrics.io/\r\nSet customizable failure alerts for badly formed JSON or other unexpected results. Configure sequences of tests from our online tool for the key scenarios you depend on, then run them from anywhere in the world.\n\n_Copied from original issue: empirical-org/Empirical-Core#579_"},"comment":{"url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/comments/111556539","html_url":"https://github.com/empirical-org/Empirical-Core-Ideas/issues/38#issuecomment-111556539","issue_url":"https://api.github.com/repos/empirical-org/Empirical-Core-Ideas/issues/38","id":111556539,"user":{"login":"petergault","id":3667179,"avatar_url":"https://avatars.githubusercontent.com/u/3667179?v=3","gravatar_id":"","url":"https://api.github.com/users/petergault","html_url":"https://github.com/petergault","followers_url":"https://api.github.com/users/petergault/followers","following_url":"https://api.github.com/users/petergault/following{/other_user}","gists_url":"https://api.github.com/users/petergault/gists{/gist_id}","starred_url":"https://api.github.com/users/petergault/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petergault/subscriptions","organizations_url":"https://api.github.com/users/petergault/orgs","repos_url":"https://api.github.com/users/petergault/repos","events_url":"https://api.github.com/users/petergault/events{/privacy}","received_events_url":"https://api.github.com/users/petergault/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T16:57:32Z","updated_at":"2015-06-12T16:57:32Z","body":"@marcellosachs update - this actually might be happening for a different reason, and this might not be an actual bug. For now I am going to strip the priority from this. "}}