CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL...

28
Department of Informa-cs, UC Irvine SDCL Collabora-on Laboratory So:ware Design and sdcl.ics.uci.edu 1 Crowd Design André van der Hoek [email protected]

Transcript of CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL...

Page 1: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    1  

Crowd  Design  

André  van  der  Hoek  [email protected]  

Page 2: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    2  

Crowdsourcing  

•  “Crowdsourcing”  is  the  act  of  taking  a  task  tradi;onally  performed  by  a  designated  agent  (such  as  an  employee  or  a  contractor)  and  outsourcing  it  by  making  an  open  call  to  an  undefined  but  large  group  of  people.  

                     [Howe  2008]  

Page 3: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    3  

Poten-al  benefits  

•  Wisdom  of  the  crowd  

•  Reduced  ;me  to  market  

•  Genera;ng  alterna;ve  solu;ons  

•  Democra;za;on  of  par;cipa;on    •  Employing  freelance  specialists  

•  Learning  through  work  

Page 4: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    4  

Example  plaHorms  

Page 5: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    5  

What  we  know  today  

•  Various  soLware  engineering  tasks  can  and  are  crowdsourced  through  a  range  of  plaMorms  

•  Higher  quality  and  less  expensive  code  [Lakhani,  Garvin,  Lonstein  2010]  

•  Crowds  are  much  smaller  than  an;cipated;  using  crowds  contributes  to  quality  and  crea;vity  [Wu,  Tasi  &  Li  2013]  

•  Waterfall  model;  best  for  less  complex  and  stand-­‐alone  tasks;  development  costs  much  greater  than  expected;  overhead  much  greater;  quality  issues  pushed  later  in  the  life  cycle  [Stol  &  Fitzgerald  2014]  

Page 6: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    6  

Two  challenges  

•  Is  it  possible  to  crowdsource  the  more  complex  aspects  of  soLware  development?  

•  Is  it  possible  to  crowdsource  soLware  development  at  massive  scale?  

Page 7: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    7  

Two  challenges  

•  Is  it  possible  to  crowdsource  the  more  complex  aspects  of  soLware  development?  

•  Is  it  possible  to  crowdsource  soLware  development  at  massive  scale?  

debugging          programming          design  

Page 8: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    8  

“Essen-al”  workflow  design  considera-ons  

small   large  size  of  crowd  

minutes   weeks  task  length  

minimal   extensive  exper;se  demand  

client   workers  locus  of  control  

                     [LaToza  &  van  der  Hoek  2016]  

Page 9: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    9  

“Accidental”  workflow  design  considera-ons  

intrinsic   extrinsic  incen;ves  

low   high  task  interdependence  

none   extensive  task  context  

none   many  replica;on  

                     [LaToza  &  van  der  Hoek  2016]  

Page 10: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    10  

Compe--on  

small   large  size  of  crowd  

minutes   weeks  task  length  

minimal   extensive  exper;se  demand  

client   workers  locus  of  control  

intrinsic   extrinsic  incen;ves  

low   high  task  interdependence  

none   extensive  task  context  

none   many  replica;on  

Page 11: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    11  

Collabora-ve  community  

small   large  size  of  crowd  

minutes   weeks  task  length  

minimal   extensive  exper;se  demand  

client   workers  locus  of  control  

intrinsic   extrinsic  incen;ves  

low   high  task  interdependence  

none   extensive  task  context  

none   many  replica;on  

Page 12: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    12  

Microtasking  

small   large  size  of  crowd  

minutes   weeks  task  length  

minimal   extensive  exper;se  demand  

client   workers  locus  of  control  

intrinsic   extrinsic  incen;ves  

low   high  task  interdependence  

none   extensive  task  context  

none   many  replica;on  

Page 13: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    13  

A  first  trial:  two-­‐phase  compe--on  

                     [LaToza,  Chen,  Jiang,  Zhao  &  van  der  Hoek  –  ICSE  2015]  

Page 14: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    14  

Second  aZempt:  microtasking  

Page 15: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    15  

Morphological  chart  

Page 16: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    16  

Microtasking  a  morphological  chart  

Can  a  crowd  iden;fy  key  decision  points?    Can  a  crowd  iden;fy  solu;on  alterna;ves?  Can  a  crowd  iden;fy  a  complete  design?    

Page 17: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    17  

Microtasking  a  morphological  chart  

Can  a  crowd  iden;fy  key  decision  points?    Can  a  crowd  iden;fy  solu;on  alterna;ves?  Can  a  crowd  iden;fy  a  complete  design?    

Page 18: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    18  

Tool  

Page 19: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    19  

Two  experimental  condi-ons  

•  User  interface  design  versus  internal  code  design  

•  Workers  work  in  isola;on  versus  workers  see  the  completed  work  of  others  

Page 20: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    20  

Par-cipa-on  

Page 21: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    21  

Example  solu-on  alterna-ve  

Page 22: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    22  

Example  solu-on  alterna-ve  

Page 23: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    23  

Quality  

Page 24: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    24  

Diversity  

Page 25: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    25  

Overall  diversity  versus  individual  diversity  

  decision  point  descrip-on #categories dp  1 map  crea;on 11 dp  2 seVng  of  traffic  light  ;mings 13 dp  3 determining  the  flow  of  traffic 10 dp  4 visualiza;on  of  the  state  of  the  simula;on 14

Worker  IDWorker  MB1 BlocksWorker  MB2 Click  and  drag Build  as  you  go Blocks GPSWorker  MB3 Traffic  Simulation  Worker  MB4 Blocks Assisted  DrawingWorker  MB5 Click  and  drag Pencil-­‐like  (Draw) Pencil-­‐like  (Draw) Pencil-­‐like  (Draw) UI  layout  and  extra  featuresWorker  MB6 UI  layout  and  extra  features UI  layout  and  extra  features Automated  using  input UI  layout  and  extra  features UI  layout  and  extra  featuresWorker  MB7 Map  Only Map  Only Map  Only Map  Only Map  OnlyWorker  MB8 Build  as  you  goWorker  MB9 Nodes NodesWorker  MB10 Click  and  drag Click  and  dragWorker  MB11 Pencil-­‐like  (Draw) Blocks Blocks Build  as  you  goWorker  MB12 Click  and  drag Click  and  dragWorker  MB13 Map  Only Map  Only Map  Only Map  Only Map  OnlyWorker  MB14 Nodes Nodes Click  and  dragWorker  MB15 UI  layout  and  extra  features UI  layout  and  extra  features UI  layout  and  extra  features UI  layout  and  extra  features Click  and  dragWorker  MB16 Click  and  dragWorker  MB17 Assisted  Drawing Assisted  Drawing Pencil-­‐like  (Draw)Worker  MB18 Blocks UI  layout  and  extra  featuresWorker  MB19 Blocks UI  layout  and  extra  features UI  layout  and  extra  features UI  layout  and  extra  features UI  layout  and  extra  featuresWorker  MB20 Map  OnlyWorker  MB21 Build  as  you  go Blocks Pencil-­‐like  (Draw)

Category

Page 26: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    26  

Quality  across  categories  

Average  quality  score  per  category  (Map  crea;on)  

Page 27: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    27  

Conclusions  

•  It  is  feasible  for  a  crowd  to  generate  a  diverse  range  of  solu;on  alterna;ves  

•  Solu;on  alterna;ves,  however,  vary  strongly  in  quality,  with  only  a  moderate  number  that  are  of  sufficient  quality  

•  It  is  important  for  diversity  to  involve  mul;ple  workers;  individual  workers  do  not  create  diverse  sets  of  solu;on  alterna;ves  

•  Displaying  examples  has  a  nega;ve  effect:  diversity  goes  down  slightly  and  quality  goes  down  significantly  

Page 28: CrowdDesign)isr.uci.edu/sites/isr.uci.edu/files/ISR Forum 2016... · 2016. 6. 7. · SDCL Collaboraon )Laboratory DepartmentofInformacs,UCIrvine SowareDesignand sdcl.ics.uci.edu1

Department  of  Informa-cs,  UC  Irvine  SDCL  Collabora-on  Laboratory  So:ware  Design  and  sdcl.ics.uci.edu    28  

Future  work  

•  Repeat  the  experiment,  only  displaying  examples  of  sufficient  quality  (done)  

•  Repeat  the  experiment,  with  a  different  crowd  (Topcoder)  

•  Address  research  ques;on  #1:  genera;ng  decision  points  with  a  crowd  

•  Explore  hybrid  models