{"action":"created","issue":{"url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/344","labels_url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/344/comments","events_url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/344/events","html_url":"https://github.com/edx/edx-analytics-dashboard/pull/344","id":103672972,"number":344,"title":"Typology","user":{"login":"bradenmacdonald","id":945577,"avatar_url":"https://avatars.githubusercontent.com/u/945577?v=3","gravatar_id":"","url":"https://api.github.com/users/bradenmacdonald","html_url":"https://github.com/bradenmacdonald","followers_url":"https://api.github.com/users/bradenmacdonald/followers","following_url":"https://api.github.com/users/bradenmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/bradenmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenmacdonald/subscriptions","organizations_url":"https://api.github.com/users/bradenmacdonald/orgs","repos_url":"https://api.github.com/users/bradenmacdonald/repos","events_url":"https://api.github.com/users/bradenmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/bradenmacdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-28T08:43:02Z","updated_at":"2015-08-30T20:33:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/edx-analytics-dashboard/pulls/344","html_url":"https://github.com/edx/edx-analytics-dashboard/pull/344","diff_url":"https://github.com/edx/edx-analytics-dashboard/pull/344.diff","patch_url":"https://github.com/edx/edx-analytics-dashboard/pull/344.patch"},"body":"**Description**\r\nPR 4 of 4 to implement Student Typology / Trajectory.\r\n\r\nTypology is a new report that categorizes students into specific 'types' for each section of each course.\r\n\r\nThere are nine types:\r\n\r\n |  | |\r\n------------------------------------ | --------------------------------- | ---------------------------------\r\nWatch all the videos, do all the the problems | Watch some videos, do all the problems | Don't watch any videos, do all the problems\r\nWatch all the videos, do some problems | Watch some videos, do some problems | Don't watch any videos, do some problems\r\nWatch all the videos, don't do any problems | Watch some videos, don't do any problems | Don't watch any videos, don't do any problems (Not included in report)\r\n\r\nThe new breakdown in Insights shows the \"types\" of users per course section, so that one can see the trajectory of students who may transition from one type to another as they progress through the course.\r\n\r\n**Dependencies**:\r\n* https://github.com/edx/edx-analytics-pipeline/pull/142\r\n* https://github.com/edx/edx-analytics-data-api/pull/83\r\n* https://github.com/edx/edx-analytics-data-api-client/pull/23\r\n\r\n**Screenshot**:\r\n![typology-ss2](https://cloud.githubusercontent.com/assets/945577/9542447/afba993e-4d25-11e5-980c-d3b4fff8fbe8.png)\r\n\r\n**Partner information**: not an edX partner - 3rd party-hosted open edX instance\r\n\r\n**Reviewers**: @itsjeyd and TBD"},"comment":{"url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/comments/136183286","html_url":"https://github.com/edx/edx-analytics-dashboard/pull/344#issuecomment-136183286","issue_url":"https://api.github.com/repos/edx/edx-analytics-dashboard/issues/344","id":136183286,"user":{"login":"smarnach","id":249196,"avatar_url":"https://avatars.githubusercontent.com/u/249196?v=3","gravatar_id":"","url":"https://api.github.com/users/smarnach","html_url":"https://github.com/smarnach","followers_url":"https://api.github.com/users/smarnach/followers","following_url":"https://api.github.com/users/smarnach/following{/other_user}","gists_url":"https://api.github.com/users/smarnach/gists{/gist_id}","starred_url":"https://api.github.com/users/smarnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarnach/subscriptions","organizations_url":"https://api.github.com/users/smarnach/orgs","repos_url":"https://api.github.com/users/smarnach/repos","events_url":"https://api.github.com/users/smarnach/events{/privacy}","received_events_url":"https://api.github.com/users/smarnach/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T20:33:43Z","updated_at":"2015-08-30T20:33:43Z","body":"I can't make the typology page in the Insights dashboard work so far.  I'm getting a 404 from the data API (which is using the correct branch):\r\n\r\n    [30/Aug/2015 20:20:04] \"GET /api/v0/courses/course-v1:SvenX+1+2015/typology/ HTTP/1.1\" 404 23\r\n\r\nThe problem seems to be that the course ID is in split-mongo format, while the [URL definition in the API](https://github.com/open-craft/edx-analytics-data-api/blob/typology/analytics_data_api/v0/urls/courses.py#L5) assumes a slash-separated format:\r\n\r\n    COURSE_ID_PATTERN = r'(?P<course_id>[^/+]+[/+][^/+]+[/+][^/]+)'\r\n\r\nI'm not sure whether you should format the course ID in legacy format, or update the pattern the data API is using, or whether I've misdiagnosed the problem and my setup is wrong or something.  For what it's worth, all pipeline tasks ran successfully and importing the typology example data worked fine.\r\n"}}