Manuel added a comment.

  > Are we trying then the combination of user_agent_var.is_mobile = True and 
access_method = "desktop" via the access_method column from wmf.webrequest?
  
  It is important to keep user devices and Wikidata UI separate here. For now 
we are only trying to get the device side right.
  
  From your notes in the description I took that `access_method` is related to 
the UI shown and not the device used. But based on Wikitech 
<https://wikitech.wikimedia.org/wiki/Analytics/Data_Lake/Traffic/Webrequest> 
and your comment T336361#9084157 
<https://phabricator.wikimedia.org/T336361#9084157> it seems to only be a pre 
aggregation of user agents.
  
  So all of these would be alternative ways to get to the type of our users' 
devices:
  
  - `access_method` (pre-aggregation in `webrequests`)
  - the code linked above (used in the context of Varnish)
  - is_mobile (using python-user-agents)
  
  My guess would be that python-user-agents uses the most advanced algorithm of 
the three. On the other hand, `access_method` would be very convenient.
  
  So could you please quickly test how well `access_method` is doing in 
comparison? A week of distinct user agents would do the trick, I believe:
  
  - distinct user agents
  - is_mobile value
  - `access_method`
  - #of accesses
  
  The interesting parts would be where the two sources are not aligned.

TASK DETAIL
  https://phabricator.wikimedia.org/T336361

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AndrewTavis_WMDE, Manuel
Cc: AndrewTavis_WMDE, Michael, Manuel, Aklapper, Danny_Benjafield_WMDE, 
Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, 
rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to