-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Identify classifications as coming from the app #11
Comments
…he app. Add: interface: murrayc.com-android-galaxyzoo to the parameters in the content of the POST to make it easier for the server to identify the app as the source of the classifications. See #11
Gladly: I've use the existing User-Agent string instead of just "android-app" because it seems more specific in case there are ever more active apps. People might think they should reuse "android-app" but they wouldn't reuse someone else's domain. So a classification now looks like this (in the POST's content):
However, maybe you'd prefer it to be classification[interface] instead of interface? For existing classifications, you can also use the User-Agent of the HTTP Post, if that gets through to your database: android-galaxyzoo/app/src/main/java/com/murrayc/galaxyzoo/app/provider/HttpUtils.java Line 56 in f0db9ff
|
Galaxy Zoo is using an old branch of the main Zooniverse library, so it has its own Classification model which doesn't include the user agent. Usually it's saved as an annotation (not a great place, but it's stuck for now) like this: https://github.com/zooniverse/Zooniverse/blob/master/src/models/classification.coffee#L91-L93 Which I think ends up looking like this:
Nothing outside the top-level |
I agree that storing user agent annotations are annoying (especially for On Fri Dec 05 2014 at 8:41:08 AM Brian Carstensen notifications@github.com
|
So I should add this parameter instead of the "interface" thing? classification[annotations][the-last-number][user_agent]:murrayc.com-android-galaxyzoo |
Think so. Will that work, @brian-c ? On Fri, Dec 5, 2014, 13:56 Murray Cumming notifications@github.com wrote:
|
That should be fine. @willettk are you working with the data directly from Mongo? I though everybody got a nice CSV with labelled columns. |
For GZ, yes. I work with the mongo data from radio galaxy zoo, where user On Fri, Dec 5, 2014, 15:13 Brian Carstensen notifications@github.com
|
OK: Here are the content parameters from an example classification POST:
I've uploaded a couple of classifications already so you can check it on the server. |
Sorry, that should be "user_agent", not "interface". |
Thanks for checking. Done: 7b3ee22 And I've uploaded some more classifications to test that. |
Could you please confirm that this is working for you? |
There are several classifications that now have the annotation marked as coming from Android. However, there are only 13 in the entire sample - I would have expected much more than that if you've deployed this to the full audience. Also: the new classification document has additional data normally associated with the subject (example below). I don't know if it's a problem, but it does bulk up the data products somewhat unnecessarily - I thought normally that one would get that data by linking to the subject_id. Is there a particular reason that it's been added, @brian-c or @murraycu?
|
Good, so it's basically working.
I bet most of them are me testing.
There are still not that many people using it, and I'd expect a lot of people to install it and forget about it after playing with it. Broadly, about 100 people have had the new version for about a week, during a time when there weren't many new installs. I'd be fascinated to know what the visitor retention numbers are for the website.
Is this specific to the classifications from the app? If so, then I think someone would have to look at what's happening on the server to trigger a change in behaviour. |
My bad - virtually all classifications (except for the first couple) do have that subject data in the classification document, so that's nothing specific to the app. |
@willettk - re numbers of classifications, check for the |
Ah - thanks, @camallen! Looks like we have 5006 classifications so far from On Wed Dec 17 2014 at 4:13:46 PM Campbell Allen notifications@github.com
|
Good stuff! Out of interest how many unique classifying app users? |
46 so far. Embarrassing that I'm apparently not among them; guess I haven't logged back in since the latest update.
|
About 27% (1354 classifications) on the app are from non-logged in users so far. 23 different countries, too (most are from Germany, UK, or the US). |
It's good to know people are using it. Thanks. So, I think this is done. Closing. |
From a data analysis standpoint, we'd like to know which classifications users made through the app as opposed to the browser. Can you add a field to the final upload that indicates this? Something like:
or equivalent would be fine.
@camallen suggested that it'd probably be done here:
android-galaxyzoo/app/src/main/java/com/murrayc/galaxyzoo/app/syncadapter/SyncAdapter.java
Line 322 in f0db9ff
The text was updated successfully, but these errors were encountered: