{"action":"created","issue":{"url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/13","repository_url":"https://api.github.com/repos/biancadanforth/gecko-dev","labels_url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/13/comments","events_url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/13/events","html_url":"https://github.com/biancadanforth/gecko-dev/issues/13","id":318576578,"number":13,"title":"Determine user eligibility","user":{"login":"biancadanforth","id":17437436,"avatar_url":"https://avatars3.githubusercontent.com/u/17437436?v=4","gravatar_id":"","url":"https://api.github.com/users/biancadanforth","html_url":"https://github.com/biancadanforth","followers_url":"https://api.github.com/users/biancadanforth/followers","following_url":"https://api.github.com/users/biancadanforth/following{/other_user}","gists_url":"https://api.github.com/users/biancadanforth/gists{/gist_id}","starred_url":"https://api.github.com/users/biancadanforth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biancadanforth/subscriptions","organizations_url":"https://api.github.com/users/biancadanforth/orgs","repos_url":"https://api.github.com/users/biancadanforth/repos","events_url":"https://api.github.com/users/biancadanforth/events{/privacy}","received_events_url":"https://api.github.com/users/biancadanforth/received_events","type":"User","site_admin":false},"labels":[{"id":913888725,"url":"https://api.github.com/repos/biancadanforth/gecko-dev/labels/P1","name":"P1","color":"f22136","default":false},{"id":913906454,"url":"https://api.github.com/repos/biancadanforth/gecko-dev/labels/needinfo","name":"needinfo","color":"f99aba","default":false},{"id":912974414,"url":"https://api.github.com/repos/biancadanforth/gecko-dev/labels/savant","name":"savant","color":"763cad","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-27T23:26:55Z","updated_at":"2018-05-16T21:50:06Z","closed_at":null,"author_association":"OWNER","body":"To what extent can/should the user's eligibility be determined by Normandy versus the core study code?\r\n\r\nI know we can target locale and geolocation via Normandy, so that covers that aspect. How do we identify \"new\" and \"existing\" users as defined in the study PHD?:\r\n* new users\r\n  * > profile was created in the past minutes\r\n* existing users\r\n  * > profiles that have been active at least once every 2 weeks for the past 3 months...that were created at least 3 weeks ago.\r\n\r\nI should be able to identify profile age in the code:\r\nPer Mossop, in the user profile, there’s a `times.json` that has a “created” key. I can use the `ProfileAge.jsm` module and call `const creationDate = ProfileAge.created;`.\r\n\r\nI am less certain about how to measure activity (i.e. they've been \"active at least once every 2 weeks for the past 3 months\"). @gregglind, you mentioned this might require digging through all the pings a profile has sent, can you elaborate on how I would pull the pings and what I would look for?"},"comment":{"url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/comments/389677129","html_url":"https://github.com/biancadanforth/gecko-dev/issues/13#issuecomment-389677129","issue_url":"https://api.github.com/repos/biancadanforth/gecko-dev/issues/13","id":389677129,"user":{"login":"SuYoungHong","id":7693575,"avatar_url":"https://avatars0.githubusercontent.com/u/7693575?v=4","gravatar_id":"","url":"https://api.github.com/users/SuYoungHong","html_url":"https://github.com/SuYoungHong","followers_url":"https://api.github.com/users/SuYoungHong/followers","following_url":"https://api.github.com/users/SuYoungHong/following{/other_user}","gists_url":"https://api.github.com/users/SuYoungHong/gists{/gist_id}","starred_url":"https://api.github.com/users/SuYoungHong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SuYoungHong/subscriptions","organizations_url":"https://api.github.com/users/SuYoungHong/orgs","repos_url":"https://api.github.com/users/SuYoungHong/repos","events_url":"https://api.github.com/users/SuYoungHong/events{/privacy}","received_events_url":"https://api.github.com/users/SuYoungHong/received_events","type":"User","site_admin":false},"created_at":"2018-05-16T21:50:06Z","updated_at":"2018-05-16T21:50:06Z","author_association":"NONE","body":"+1"}}
{"actor":{"display_login":"SuYoungHong"}}