Science! Science Harder!

Science! Science Harder!

How we reinvented ourselves to be data literate, experiment-driven, and ship faster.

Presented by Laura Thomson and Rebecca Weiss at Monitorama 2017

Fead61362ab9263d8cc3af52bd74168e?s=128

Laura Thomson

May 23, 2017
Tweet

Transcript

  1. 1.

    Science! Science Harder! How we reinvented ourselves to be data

    literate, experiment-driven, and ship faster Rebecca Weiss & Laura Thomson (@lxt) {rweiss, laura}@mozilla.com
  2. 2.

    Science! Science Harder! How we are reinventeding ourselves to be

    data literate, experiment-driven, and ship faster Rebecca Weiss & Laura Thomson (@lxt) {rweiss, laura}@mozilla.com
  3. 4.

    Data is bad. It’s bad. And you’re bad for wanting

    it. You carry only 3 things as you enter the wilderness: 1. Downloads 2. Blocklist pings 3. Crash data (kept in a monastery, guarded by ninjas)
  4. 5.
  5. 7.

    ! Did this code change affect retention? ! Are we

    regressing on Firefox performance? ! Is crashiness getting worse or better? ! How often do our users experience janky behavior? ! How many active users do we have, anyway?
  6. 10.

    =

  7. 11.

    Failure to abstract Build system to answer question. Answer the

    question! Yay! Ask more questions. Fail. Build new measurement system.
  8. 12.

    ! Blocklist ping ◦ Disables badness (default on, for your

    protection) ! Telemetry (v1) ◦ Aggregate performance measurement (default off) ! Firefox Health Report ◦ Very limited individual-level longitudinal measurement (default on) ◦ Extended individual-level longitudinal measurement (default off) ! Crash stats ◦ Crash details (default off) Measuring by accident, reluctantly
  9. 13.
  10. 14.
  11. 17.
  12. 19.
  13. 20.
  14. 21.

    Enabling a data culture Based on scientific principles Embrace data

    consistency and reliability over precision Prioritize self-service over personalized tools Build a badass experimental platform ASAP
  15. 23.

    Unified Telemetry One infrastructure, many types of probes and pings

    Many types of events to measure One good system vs many half baked Unify mental models One set of infrastructure quirks One set of errors By Mike Wutzler AKA Darth Mike (Own work) [GFDL (http://www.gnu.org/ copyleft/fdl.html), CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/ 3.0/) or FAL], via Wikimedia Commons
  16. 25.
  17. 26.

    !re:dash: automatic dashboarding for simple requests !Airflow: monitoring and job

    scheduling for dataset creation !Spark and Parquet: standardized analytical model and data format !Presto: SQL access to many data sets !And more... Now
  18. 28.

    Transparency = citation needed Results must be reproducible as a

    URL Audit a number all the way down to the code Enforce transparent model of work Open science, open methodology https://xkcd.com/285/ Transparency = [citation needed]
  19. 32.
  20. 33.
  21. 34.

    Previously: Funnelcakes Telemetry experiments Test Pilot (Mark I) Weird science

    By The original uploader was Lorax at English Wikipedia (Taken by user Lorax and released under the GNU FDL) [GFDL (http://www.gnu. copyleft/fdl.html) or CC-BY-SA-3.0 (http://creativecommons.org/licenses/by-sa/3.0/)], via Wikimedia Commons
  22. 35.

    These kind of sucked: High barriers to entry Inconsistent measurement

    approaches Not production-y Science needs to be open
  23. 36.

    Part of core Firefox, modularized into add- ons Build/test against

    existing Firefox builds Update via xpi, independent of Fx Update up to daily (for now) on any release channel (Not really an experimental mechanism) System add-ons Photo by Francesco Lodolo, l10n team.
  24. 37.

    Mark II Test Pilot Users opt-in to install and try

    whole new features with extended measurement Successful features graduate to Firefox - e.g. Firefox Screenshots More: https://testpilot.firefox.com/
  25. 38.

    Real sampling! Flip a preference, install a new feature, collect

    data Multiple experiments in flight at once SHIELD Studies
  26. 40.
  27. 41.

    Data will shape the Web. What kind of Web do

    you want? laura@mozilla.com / @lxt rweiss@mozilla.com / @rweiss