MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas...

47
MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Transcript of MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas...

Page 1: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

MÉTRICAS PARA TIMES ÁGEISComo ter respostas importantes usando estatística básica.

Page 2: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Product Manager na Easynvest.

http://medium.com/gestao-produtos http://tableless.com.br

@diegoeis@gestaoprodutos@tableless

Prazer, Diego Eis.

Page 3: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

tableless.com.br

Page 4: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

medium.com/gestao-produtos

Page 5: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

easynvest.com.br

Page 6: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

QUANDO SERÁ ENTREGUE?

Page 7: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Pedimos para os devs estimarem!

Page 8: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Não é possível levar todas as variáveis em consideração nas estimativas. Estimativas são um chute.

MAS NINGUÉM NUNCA ACERTA

Page 9: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

AMBIENTE COMPLEXOO desenvolvimento de software é considerado um ambiente complexo. Embora você tenha conhecimento de muitas coisas, existem variáveis que você não controla.

Page 10: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

COMO DIMINUÍMOS A COMPLEXIDADE?1. Tarefas pequenas são melhores de entender e desenvolver;

2. Quanto tempo leva para uma tarefa ser feita? 3. Quantas tarefas são feitas num determinado espaço de tempo?

Page 11: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

1. É do menor tamanho possível (não micro);

2. Entrega valor para o usuário ou para o produto; 3. É um incremento funcional;

A TAREFA É BOA QUANDO:

Page 12: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Mostra/esconde valores

Gráfico de patrimônio

Valor do patrimônio

Slide para mostrar outras informações

Quantidade de investimentos e valor

investido

Valor disponível em conta

Link para listagem de investimentos

Link para tela de saque de valor

Page 13: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

- TAREFA 1Endpoint da API que entrega valor do patrimônio;

- TAREFA 2Mostrar valor no App com o layout determinado;

Valor do patrimônio

Page 14: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Incerteza

Complexidade

Problema conhecido. Tecnologia usada conhecida.

História bem escrita. Objetivo da tarefa claro.

issue #1issue #2

issue #4

issue #9

issue #8issue #7

issue #6

issue #3

issue #5

- Falta investigação. - É necessário mais informações. - Tecnologia legada. - Dúvidas sobre o negócio. - Stakeholders indecisos.

MÉDIA GRANDEPEQUENA

PEQUENA

MÉDIA

GRANDE

Diagrama de Complexidade e Incerteza

Page 15: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Quantos tempo uma tarefa leva para ser feita?

LEADTIME

Page 16: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Backlog Doing Pull Request Ready to Test Testing Waiting to Deploy

Done

Data de início da tarefa. Data de término da tarefa.

LEADTIME A partir do momento que a tarefa começou a ser desenvolvida, quantos/

semanas ela levou para ser entregue?

Page 17: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

LEADTIME

TAREFAS INÍCIO TÉRMINO LEADTIME (dias)

Issue #1 01/06/2017 06/06/2017 4

Issue #2 01/06/2017 15/06/2017 11

Issue #3 02/06/2017 07/06/2017 4

Issue #4 02/06/2017 06/06/2017 3

Issue #5 07/06/2017 12/06/2017 4

Issue #6 05/06/2017 07/06/2017 3

Issue #7 08/06/2017 13/06/2017 4

Issue #8 09/06/2017 29/06/2017 15

Page 18: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Quantas tarefas foram feitas em um determinado espaço de tempo?

THROUGHPUT

Page 19: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Semana 1 Semana 2 Semana 3 Semana 4 Semana 5 Semana 6 Semana 7 Semana 8

4 tarefas 2 tarefas 3 tarefas 1 tarefas 4 tarefas 2 tarefas 2 tarefas 2 tarefas

THROUGHPUT Quantas tarefas em média entregamos em um período de tempo

(no exemplo abaixo, semanas)?

Page 20: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

THROUGHPUT

SEMANA THROUGHPUT

Semana 1 2

Semana 2 4

Semana 3 2

Semana 4 3

Semana 5 5

Semana 6 25

Semana 7 20

Semana 8 2

Semana 9 2

Page 21: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Leadtime: Qual o tempo médio que levamos para entregar uma tarefa?Throughput: Quantas tarefas em média entregamos em um período de tempo?

MÉDIA

Page 22: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

LEADTIME Qual o tempo médio que levamos para entregar uma tarefa?

Média 6TAREFAS INÍCIO TÉRMINO LEADTIME (dias)

Issue #1 01/06/2017 06/06/2017 4

Issue #2 01/06/2017 15/06/2017 11

Issue #3 02/06/2017 07/06/2017 4

Issue #4 02/06/2017 06/06/2017 3

Issue #5 07/06/2017 12/06/2017 4

Issue #6 05/06/2017 07/06/2017 3

Issue #7 08/06/2017 13/06/2017 4

Issue #8 09/06/2017 29/06/2017 15

Page 23: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

THROUGHPUT Quantas tarefas em média entregamos em um período de tempo?

Média 6SEMANA THROUGHPUT

Semana 1 2

Semana 2 4

Semana 3 2

Semana 4 3

Semana 5 5

Semana 6 10

Semana 7 20

Semana 8 2

Semana 9 2

Page 24: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

O PROBLEMA DA MÉDIAEm cenários com valores discrepantes, a média não é uma boa medida, dado que os valores muito alto ou muito baixos podem distorcer a realidade.

Page 25: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

MEDIANAMostra o valor do meio de um conjunto de dados. Ela não é afetada pelas discrepâncias como a média.

Page 26: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Leadtime: Em 50% das vezes, meu time levou XX dias ou menos para entregar uma tarefa.

Throughput: Em 50% das vezes, meu time entregou XX tarefas ou menos por semana?

Page 27: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

DISTRIBUIÇAO

1

4

10

2

7

3

5

15

9

DISTRIBUIÇAO

1

2

3

4

5

7

9

10

15

Page 28: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

LEADTIME Em 50% dos casos, o time leva XX dias para entregar uma tarefa.

Média 6

Mediana 4

TAREFAS INÍCIO TÉRMINO LEADTIME (dias)

Issue #1 01/06/2017 06/06/2017 4

Issue #2 01/06/2017 15/06/2017 11

Issue #3 02/06/2017 07/06/2017 4

Issue #4 02/06/2017 06/06/2017 3

Issue #5 07/06/2017 12/06/2017 4

Issue #6 05/06/2017 07/06/2017 3

Issue #7 08/06/2017 13/06/2017 4

Issue #8 09/06/2017 29/06/2017 15

Page 29: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

THROUGHPUT Em 50% dos casos, o time entrega XX tarefas por semana.

Média 6

Mediana 3

SEMANA THROUGHPUT

Semana 1 2

Semana 2 4

Semana 3 2

Semana 4 3

Semana 5 5

Semana 6 10

Semana 7 20

Semana 8 2

Semana 9 2

Page 30: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Número que ocorre com maior frequência ou o valor mais comum em um conjunto de dados

MODA

Page 31: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Leadtime:Frequentemente nosso time leva XX dias para entregar uma tarefa.

Throughput:Frequentemente nosso time entrega XX tarefas em uma semana.

Page 32: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

LEADTIME Frequentemente nós levamos XX dias para entregar uma tarefa.

Média 6

Mediana 4

Moda 4

TAREFAS INÍCIO TÉRMINO LEADTIME (dias)

Issue #1 01/06/2017 06/06/2017 4

Issue #2 01/06/2017 15/06/2017 11

Issue #3 02/06/2017 07/06/2017 4

Issue #4 02/06/2017 06/06/2017 3

Issue #5 07/06/2017 12/06/2017 4

Issue #6 05/06/2017 07/06/2017 3

Issue #7 08/06/2017 13/06/2017 4

Issue #8 09/06/2017 29/06/2017 15

Page 33: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

THROUGHPUT Frequentemente entregamos XX tarefas em uma semana.

Média 6

Mediana 3

Moda 2

SEMANA THROUGHPUT

Semana 1 2

Semana 2 4

Semana 3 2

Semana 4 3

Semana 5 5

Semana 6 10

Semana 7 20

Semana 8 2

Semana 9 2

Page 34: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

É a quantidade de valores que estão antes ou depois de determinado dado.

PERCENTIL

Page 35: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Leadtime:75% das tarefas foram entregues em XX dias.

Throughput:Em 75% das semanas, o time entregou XX tarefas.

Page 36: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Média 6

Mediana 4

Moda 4

Percentile 75 6

Percentile 95 14

LEADTIME 95% das tarefas foram entregues em XX semanas.

TAREFAS INÍCIO TÉRMINO LEADTIME (dias)

Issue #1 01/06/2017 06/06/2017 4

Issue #2 01/06/2017 15/06/2017 11

Issue #3 02/06/2017 07/06/2017 4

Issue #4 02/06/2017 06/06/2017 3

Issue #5 07/06/2017 12/06/2017 4

Issue #6 05/06/2017 07/06/2017 3

Issue #7 08/06/2017 13/06/2017 4

Issue #8 09/06/2017 29/06/2017 15

Page 37: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Média 6

Mediana 3

Moda 2

Percentil 75 5

Percentil 95 16

THROUGHPUT Em 95% das semanas, o time entrega XX tarefas.

SEMANA THROUGHPUT

Semana 1 2

Semana 2 4

Semana 3 2

Semana 4 3

Semana 5 5

Semana 6 10

Semana 7 20

Semana 8 2

Semana 9 2

Page 38: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Dois motivos simples: 1. Aumentar a previsibilidade; 2. Time se conhecer melhor;

MAS CARA, PRA QUE TUDO ISSO?

Page 39: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

http://bit.ly/metricas-ageis-diegoeis

PREVISIBILIDADE BASEADA EM DADOS HISTÓRICOS DO TIME.

Page 40: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

http://bit.ly/metricas-ageis-diegoeis

LEADTIME

Page 41: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

http://bit.ly/metricas-ageis-diegoeis

THROUGHPUT

Page 42: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

HARD SKILLS SÃO TÃO IMPORTANTES QUANTO SOFT SKILLSO mundo Ágil sempre deu muita importância para as Soft Skills. Mas infelizmente a comunidade tem esquecido de como as Hard Skills podem ajudar no processo.

Page 43: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.
Page 44: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

"Soft-skills sem hard-skills fazem o time

trabalhar feliz, mas provavelmente de forma

ineficiente. Hard-skills sem soft-skills fazem o

time estar ciente de seus problemas, mas sem

motivação alguma para melhorar. É preciso

balancear as duas." - Lucas Colucci

http://bit.ly/lucas-colucci-hard-soft-skills

Page 45: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Métricas Ágeis - Raphael Albinohttps://www.casadocodigo.com.br/products/livro-metricas-ageis

Why agile? – The Stacey complexity modelhttp://www.scrum-tips.com/2016/02/17/stacey-complexity-model/

Why we love Metrics - Plataformatechttp://blog.plataformatec.com.br/2016/02/why-we-love-metrics-learning-with-lead-time/

Começando a estimar a duração de um projeto - Kudooshttp://blog.kudoos.com.br/agile/comecando-a-estimar-a-duracao-de-um-projeto/

Vídeo explicando o Modelo de Staceyhttps://www.youtube.com/watch?v=10sTkUlylGI

Simple vs. Complicated vs. Complex vs. Chaotichttp://noop.nl/2008/08/simple-vs-complicated-vs-complex-vs-chaotic.html

Page 46: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

PERGUNTAS?

Page 47: MÉTRICAS PARA TIMES ÁGEIS - Lean Kanban · MÉTRICAS PARA TIMES ÁGEIS Como ter respostas importantes usando estatística básica.

Is we! É nóis, valeu!

http://diegoeis.com http://tableless.com.br http://medium.com/gestao-produtos

@diegoeis @gestaoprodutos @tableless