Slide 1

Slide 1 text

Data Science for Community Managers J. Manrique López de la Fuente @jsmanrique jsmanrique at bitergia dot com https://speakerdeck.com/bitergia CLSxEurope, London 2016

Slide 2

Slide 2 text

Outline Introduction Community Metrics Open Development Analytics Playing with GrimoireLab

Slide 3

Slide 3 text

Introduction A bit about me Why am I here? Disclaimer

Slide 4

Slide 4 text

/me Hello, my name is Manrique and I am a community junkie Involved in: HPCC, AsturLiNUX, HispaLiNUX, GPE, Maemo, Meego, Gnome, GDG, Mozilla, ... Business & marketing developer in Bitergia, the software development analytics company

Slide 5

Slide 5 text

/why

Slide 6

Slide 6 text

/disclaimer I am not a computer scientist, how many of you are? I am not a data scientist, how many of you are? Presentation focus in open source related communities

Slide 7

Slide 7 text

Community Metrics What is a community? Community Management Metrics that matter

Slide 8

Slide 8 text

/communities “A community is commonly considered a social unit (a group of people) who share something in common, such as norms, values, identity, and often a sense of place that is situated in a given geographical area (e.g. a village, town, or neighborhood). Durable relations that extend beyond immediate genealogical ties also define a sense of community. People tend to define those social ties as important to their identity, practice, and roles in social institutions like family, home, work, government, society, or humanity, at large. Although communities are usually small relative to personal social ties (micro-level), "community" may also refer to large group affiliations (or macro-level), such as national communities, international communities, and virtual communities. The word "community" derives from the Old French comuneté which comes from the Latin communitas (from Latin communis, things held in common)” By https://en.wikipedia.org/wiki/Community

Slide 9

Slide 9 text

/communities It’s about people

Slide 10

Slide 10 text

/communities It’s about people who share

Slide 11

Slide 11 text

/communities It’s about people who share something in common

Slide 12

Slide 12 text

/communities Potential members Observers Attendees Participants Champions Anatomy of a community Alex Hillman

Slide 13

Slide 13 text

/management The Community Manager Do communities need to be managed? Do communities need leadership? Why is becoming so important? How many of you are community managers, developers relationship (AKA DevRels), etc.?

Slide 14

Slide 14 text

/management Community Manager Responsibilities Community health Community productivity Community visibility

Slide 15

Slide 15 text

/management “To measure is to know” “If you can not measure it, you can not improve it” Lord Kelvin “Without data, you are just another person with an opinion” W. Edwards Deming

Slide 16

Slide 16 text

/management Metrics that matter Activity Size Performance Demography Diversity

Slide 17

Slide 17 text

Open Development Analytics The issue GrimoireLab Transparency & objectivity matters

Slide 18

Slide 18 text

/the_issue The community manager nightmare! I need information

Slide 19

Slide 19 text

/the_issue Where is everything happening?

Slide 20

Slide 20 text

/the_issue Data silos

Slide 21

Slide 21 text

/the_issue The community manager nightmare: - Time, time, time... - How to take decisions without reliable data?

Slide 22

Slide 22 text

/grimoirelab grimoirelab.github.io Free, libre, open source tools for software development analytics

Slide 23

Slide 23 text

/grimoirelab Architecture

Slide 24

Slide 24 text

/grimoirelab Some features Drill down Time frame selection Sharing / embedding Data export (CSV…) Query API (ElasticSearch) Allowed users can create widgets and panels Easy validation Links to real artifacts (commits, tickets, etc.) Search box

Slide 25

Slide 25 text

Playing with GrimoireLab Showtime!

Slide 26

Slide 26 text

/grimoirelab Let’s start.. $ git clone http://.../perceval.git $ sudo python3 setup.py install … $ git clone http://.../grimoireelk.git $ elasticsearch-rc5/bin/elastic & $ kibana-rc5/bin/kibana & GrimoireELK/utils$ python3 ./p2o.py --enrich --index git_yarn -e http://localhost:9200 --no_inc --debug git https://github.com/yarnpkg/yarn.git … 2016-10-14 14:09:32,392 Total items enriched 897 2016-10-14 14:09:32,392 Done git 2016-10-14 14:09:32,392 Enrich backend completed 2016-10-14 14:09:32,393 Finished in 0.75 min GrimoireELK/utils$ python3 ./p2o.py --enrich --index github_yarn -e http://localhost:9200 --no_inc --debug github -t *** --owner yarnpkg --repository yarn … 2016-10-14 14:20:19,736 Total items enriched 900 2016-10-14 14:20:19,736 Done github 2016-10-14 14:20:19,737 Enrich backend completed 2016-10-14 14:20:19,738 Finished in 7.20 min $

Slide 27

Slide 27 text

/grimoirelab Let’s get this..

Slide 28

Slide 28 text

/grimoirelab Activity

Slide 29

Slide 29 text

/grimoirelab Size

Slide 30

Slide 30 text

/grimoirelab Performance

Slide 31

Slide 31 text

/grimoirelab Demography

Slide 32

Slide 32 text

/grimoirelab Diversity

Slide 33

Slide 33 text

/grimoirelab Data driven community management

Slide 34

Slide 34 text

/grimoirelab Some live examples: eclipse.biterg.io puppet.biterg.io coreos.biterg.io cncf.biterg.io opnfv.biterg.io

Slide 35

Slide 35 text

/grimoirelab Some extra capabilities examples: Linux kernel ownership analysis: linux25.biterg.io Gender-diversity analysis of technical contributions to Linux Kernel Development cycle analysis (from the idea to the deployment analysis) Inner Source metrics

Slide 36

Slide 36 text

/grimoirelab Do you wanna play with it? Cauldron.io (use OSCON16 as invitation code) github.com/grimoirelab/use_cases www.gitbook.com/book/jgbarah/grimoirelab-training/ Ask us: [email protected]

Slide 37

Slide 37 text

/bonus Are you a community manager consultant? Are you working as developer advocate for other companies? We are looking for partners!! Ask us about our partnership program: [email protected]

Slide 38

Slide 38 text

Data Science for Community Managers J. Manrique López de la Fuente @jsmanrique jsmanrique at bitergia dot com https://speakerdeck.com/bitergia CLSxEurope, London 2016