SlideShare a Scribd company logo
1 of 39
Download to read offline
Sebastian Müller and Thomas Fritz
Stuck and Frustrated or in Flow and Happy:
Sensing Developers’ Emotions and Progress
ICSE 2015, Florence, Italy
Benefits of Knowing
Emotions and Progress
4
Support developers when stuck and
making no progress
Avoid interruptions when in flow and
making a lot of progress
Biometric Sensing of

Emotions & Progress
5
positive/negative emotions (e.g. Lin et al)
happiness, sadness (e.g. Li et al)
positive/negative emotions (e.g. Haag et al)
frustration (e.g. Scheirer et al)
positive/negative emotions (e.g. Muldner et al)
EEG
(Electroencephalography)
frustration (e.g. Kapoor et al)
anxiety (e.g. Doehring)
Pupil sizes
Eye blinks
positive/negative emotions (e.g. Haag et al)
boredom, anxiety (e.g. Chanel et al)
positive/negative emotions (e.g. Drachen et al)
happiness (e.g. Steptoe et al)
EDA
(Electro-dermal activity)
Skin temperature
HR(V)
(Heart rate (variability))
Research Questions
6
Correlation of emotions and progress?
Aspects and practices that affect developers’ emotions
and progress?
Biometric sensors to determine developers’ emotions
and progress?
Study Participants & Tasks
17 participants: 6 professionals and 11 PhD students
• on average 7.1 years of prof. development experience
• only minor differences between professionals and students
Two change tasks
• Task 1: small program to interact with StackExchange API
• Task 2: new feature in JHotDraw
7
Lab Study Setup
8
Lab Study Setup
8
Neurosky
headband
Empatica
wristband
Eyetribe
eye tracker
Study Method
9
Fish tank video as a baseline for biometric measurements
Study Method
9
Fish tank video as a baseline for biometric measurements
Work on two change tasks, each for 30 minutes
Study Method
9
Fish tank video as a baseline for biometric measurements
Work on two change tasks, each for 30 minutes
• progress
• valence: ‘’very unpleasant’’ to ‘’very pleasant’’
arousal: ‘’very calm’’ to ‘’very excited’’
• reasons for the current state of emotions / progress & aspects
that would help to improve
Assessments every 5 minutes or at signs of strong negative/
positive emotions
Study Method
9
Fish tank video as a baseline for biometric measurements
Work on two change tasks, each for 30 minutes
After working on both change tasks: set of emotion inducing pictures
• progress
• valence: ‘’very unpleasant’’ to ‘’very pleasant’’
arousal: ‘’very calm’’ to ‘’very excited’’
• reasons for the current state of emotions / progress & aspects
that would help to improve
Assessments every 5 minutes or at signs of strong negative/
positive emotions
Data Collection
10
biometric data from 3 sensors
213 data points
• emotion and progress ratings
• answers to the questions we asked
2 emotion ratings for the set of emotion
inducing pictures
Research Questions
11
Correlation of emotions and progress?
Aspects and practices that affect developers’ emotions
and progress
Biometric sensors to determine developers’ emotions
and progress
Correlation Emotions & Progress
12
Linear Mixed Model
Dependent variable: Self-reported progress
Fixed effects: Valence, arousal
Random effects: Participant, task, measurement time
Correlation Emotions & Progress
13
Linear Mixed Model
Dependent variable: Self-reported progress
Fixed effects: Valence, arousal
Random effects: Participant, task, measurement time
Random effects: Measurement time no effect, task medium effect and
participant highest effect
Effect Estimate Deviance explained
Valence 0.66 28.03
Arousal 0.10 1.09
Correlation Emotions & Progress
14
Correlation Emotions & Progress
14
Subject 1
Significant correlation between
progress and valence
Correlation Emotions & Progress
14
Subject 6Subject 1
Significant correlation between
progress and valence
No significant correlation
between progress and valence
Correlation Emotions & Progress
14
Subject 6Subject 1
Significant correlation between
progress and valence
No significant correlation
between progress and valence
significant correlations for 12 subjects,
but not for the other 5 subjects
Research Questions
15
Correlation of emotions and progress?
Aspects and practices that affect developers’ emotions
and progress?
Biometric sensors to determine developers’ emotions
and progress
Top 3 Reasons for a Change in
Emotions / Progress
16
Increase in emotions/progress # Cases # Subjects
localize relevant code 21 (11.3%) 14 (82.4%)
(better) understand parts of the code 18 (9.7%) 13 (76.5%)
next steps are clear 12 (6.5%) 9 (52.9%)
Top 3 Reasons for a Change in
Emotions / Progress
16
Increase in emotions/progress # Cases # Subjects
localize relevant code 21 (11.3%) 14 (82.4%)
(better) understand parts of the code 18 (9.7%) 13 (76.5%)
next steps are clear 12 (6.5%) 9 (52.9%)
”I’ve found a starting point almost
immediately. I have a good feeling that I’ll
make significant progress very soon.” (S1)
Top 3 Reasons for a Change in
Emotions / Progress
17
Decrease in emotions/progress # Cases # Subjects
difficulty in understanding how parts of the code / API works 33 (17.7%) 12 (70.6%)
difficulty in localizing relevant code 15 (8.1%) 8 (47.1%)
not being sure about next steps 9 (4.8%) 9 (52.9%)
Top 3 Reasons for a Change in
Emotions / Progress
17
Decrease in emotions/progress # Cases # Subjects
difficulty in understanding how parts of the code / API works 33 (17.7%) 12 (70.6%)
difficulty in localizing relevant code 15 (8.1%) 8 (47.1%)
not being sure about next steps 9 (4.8%) 9 (52.9%)
”It’s going too slow. I think it’s very cumbersome
when so much time is needed to understand the
project and find a starting point.” (S9)
Emotions and Progress
are Often Intertwined
18
”I finally figured out how to do it. I’m really
happy and I’m not feeling completely stuck
anymore.” (S6)
”I can’t make any progress.
That’s annoying.” (S13)
Research Questions
19
Correlation of emotions and progress?
Aspects and practices that affect developers’ emotions
and progress
Biometric sensors to determine developers’ emotions
and progress?
Electro-dermal Activity (EDA)

and Valence
20
1 2 3 4
Machine Learning Approach
21
Data Cleaning and Feature Extraction
• Noise cleaning
• Feature extraction following established methods
{Min, Max}Attention; {Min, Max}Meditation, …
∆(α); ∆(β); ∆(γ); ∆(δ); ∆(θ), …
{Min, Max}PeakAmpl; ∆NumPhasicPeaks/Min, …
MinPupilSize; MaxPupilSize, …
EEG
(Electroencephalography)
Pupil sizes
Eye blinks
EDA
(Electro-dermal activity)
Skin temperature
HR(V)
(Heart rate (variability))
MeanTemp; ∆MeanTemp, …
∆MeanHR; ∆VarianceHR, …
∆Eyeblinks/Min
Machine Learning Approach
22
Data Cleaning and Feature Extraction
• Noise cleaning
• Feature extraction following established methods
Data Labeling
• binary split of emotions (positive/negative) and progress (low/high)
Machine Learning Approach
23
Data Cleaning and Feature Extraction
• Noise cleaning
• Feature extraction following established methods
Data Labeling
• binary split of emotions (positive/negative) and progress (low/high)
Machine Learning
• Leave-one-out approach
• Classifier: decision tree S01
T1
S17
T1
S01
T2
S17
T2
T1
...S01 S17
Test data Training data
......
T2
Machine Learning Results
24
Prediction Correct Impr. Precision Recall Features
Emotion 71.36% 18.76% 64.32% 82.03%
α, β/θ, MinPupilSize,
∆MeanHR
Progress 67.70% 32.93% 67.85% 68.29%
α, β/θ,
∆MeanTempPeakAmpl,
MaxPupilSize,
∆MeanPupilSize,
∆MeanSCL
Contributions and Outlook
25
Study on developers’ emotions and progress with 17 participants
• Emotions and perceived progress are strongly correlated
• Biometric sensors can be used to predict emotions and progress
Future challenges
• Individual differences
• Privacy concerns
New opportunities for developer support
• Avoid interruptions when in flow and making a lot of progress
• Support when stuck and making no progress
Individual Machine Learning
Results
26
Accuracy(%)
0
25
50
75
100
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17
Emotions Progress
Individual Machine Learning
Results
27
Accuracy(%)
0
25
50
75
100
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17
Emotions Progress
Individual Machine Learning
Results
28
Accuracy(%)
0
25
50
75
100
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17
Emotions Progress
Individual Machine Learning
Results
29
Accuracy(%)
0
25
50
75
100
S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17
Emotions Progress
Biometric Features
3030
EEG: {Min, Max}Attention; {Min, Max}Meditation; ∆{Mean, Stdev}
Attention; ∆{Mean, Stdev}Meditation;
∆(α); ∆(β); ∆(γ); ∆(δ); ∆(θ); ∆(α/β); ∆(α/γ); ∆(α/δ); ∆(α/θ); ∆(β/α);
∆(β/γ); ∆(β/δ); ∆(β/θ); ∆(γ/α); ∆(γ/β); ∆(γ/δ); ∆(γ/θ); ∆(δ/α); ∆(δ/β);
∆(δ/γ); ∆(δ/θ); ∆(θ/α); ∆(θ/β); ∆(θ/γ); ∆(θ/δ); ∆(θ/(α+β)); ∆(β/(α+θ))
EDA: {Min, Max}PeakAmpl; ∆NumPhasicPeaks/Min;
∆MeanPhasicPeakAmpl; ∆SumPhasicPeakAmpl/Min
∆MeanSCL; ∆AUCPhasic
Skin temperature: MeanTemp; ∆MeanTemp; {Max, Mean}
TempPeakAmpl; SumTempPeakAmpl/Min
HR(V): ∆MeanHR; ∆VarianceHR; SDNN; RMSSD; NN20; NN50;
pNN20; pNN50
Pupil size: MinPupilSize; MaxPupilSize; ∆{Mean, Stdev}PupilSize;
∆NumPupilSizeOutliers
Eye blinks: ∆Eyeblinks/Min

More Related Content

What's hot

Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
tboubez
 
Understanding randomness
Understanding randomnessUnderstanding randomness
Understanding randomness
suncil0071
 
Finding New Ways ( Innovation) Map
Finding  New  Ways ( Innovation) MapFinding  New  Ways ( Innovation) Map
Finding New Ways ( Innovation) Map
Peter Ferreira
 

What's hot (8)

MLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs UnsupervisedMLSEV Virtual. Supervised vs Unsupervised
MLSEV Virtual. Supervised vs Unsupervised
 
Analysis 101 correlation v causation
Analysis 101   correlation v causationAnalysis 101   correlation v causation
Analysis 101 correlation v causation
 
Testing in the Wild
Testing in the WildTesting in the Wild
Testing in the Wild
 
Transtech presentation: Advances in computer vision technology and analysis
Transtech presentation: Advances in computer vision technology and analysisTranstech presentation: Advances in computer vision technology and analysis
Transtech presentation: Advances in computer vision technology and analysis
 
Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
Data centre analytics toufic boubez-metafor-dev ops days vancouver-2013-10-25
 
Understanding randomness
Understanding randomnessUnderstanding randomness
Understanding randomness
 
MLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model SelectionMLSEV Virtual. Automating Model Selection
MLSEV Virtual. Automating Model Selection
 
Finding New Ways ( Innovation) Map
Finding  New  Ways ( Innovation) MapFinding  New  Ways ( Innovation) Map
Finding New Ways ( Innovation) Map
 

Viewers also liked

Pinnacle Group Presentation
Pinnacle Group PresentationPinnacle Group Presentation
Pinnacle Group Presentation
Lorissa Walker
 
Deyplasa pvc catalogo
Deyplasa pvc catalogoDeyplasa pvc catalogo
Deyplasa pvc catalogo
Javier Alonso
 
Trebo Lis Numero 4[1]
Trebo Lis Numero 4[1]Trebo Lis Numero 4[1]
Trebo Lis Numero 4[1]
FCO PERAN
 
Cac tenerife
Cac tenerifeCac tenerife
Cac tenerife
ecucrw
 
Troy Petteway Resume_ 02Jun2011
Troy Petteway Resume_ 02Jun2011Troy Petteway Resume_ 02Jun2011
Troy Petteway Resume_ 02Jun2011
Troy Petteway
 
GUIÓN LITERARIO - PILOTO - ÚNICOS
GUIÓN LITERARIO - PILOTO - ÚNICOSGUIÓN LITERARIO - PILOTO - ÚNICOS
GUIÓN LITERARIO - PILOTO - ÚNICOS
Pepe Ruiz
 
Madrid RegióN InéDita
Madrid RegióN InéDitaMadrid RegióN InéDita
Madrid RegióN InéDita
loveis .
 

Viewers also liked (20)

Curso SEO
Curso SEOCurso SEO
Curso SEO
 
Trg dept group rules and tea break
Trg dept group rules and tea breakTrg dept group rules and tea break
Trg dept group rules and tea break
 
Pinnacle Group Presentation
Pinnacle Group PresentationPinnacle Group Presentation
Pinnacle Group Presentation
 
Deyplasa pvc catalogo
Deyplasa pvc catalogoDeyplasa pvc catalogo
Deyplasa pvc catalogo
 
Trebo Lis Numero 4[1]
Trebo Lis Numero 4[1]Trebo Lis Numero 4[1]
Trebo Lis Numero 4[1]
 
Felicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USOFelicitacion Navidad 2008-2009 FEP-USO
Felicitacion Navidad 2008-2009 FEP-USO
 
Diego Ricol Freyre: casas unicas
Diego Ricol Freyre: casas unicasDiego Ricol Freyre: casas unicas
Diego Ricol Freyre: casas unicas
 
Honeywell Access OKP0N26 Data Sheet
Honeywell Access OKP0N26 Data SheetHoneywell Access OKP0N26 Data Sheet
Honeywell Access OKP0N26 Data Sheet
 
Teknologikaravanen - katalog
Teknologikaravanen - katalogTeknologikaravanen - katalog
Teknologikaravanen - katalog
 
Mcdowellaaron_masteryjournaltimeline
Mcdowellaaron_masteryjournaltimelineMcdowellaaron_masteryjournaltimeline
Mcdowellaaron_masteryjournaltimeline
 
Cac tenerife
Cac tenerifeCac tenerife
Cac tenerife
 
Informe comunidades de práctica 1er semestre 10102014.pdf
Informe comunidades de práctica 1er semestre 10102014.pdfInforme comunidades de práctica 1er semestre 10102014.pdf
Informe comunidades de práctica 1er semestre 10102014.pdf
 
Troy Petteway Resume_ 02Jun2011
Troy Petteway Resume_ 02Jun2011Troy Petteway Resume_ 02Jun2011
Troy Petteway Resume_ 02Jun2011
 
GUIÓN LITERARIO - PILOTO - ÚNICOS
GUIÓN LITERARIO - PILOTO - ÚNICOSGUIÓN LITERARIO - PILOTO - ÚNICOS
GUIÓN LITERARIO - PILOTO - ÚNICOS
 
Catalogo1
Catalogo1Catalogo1
Catalogo1
 
Madrid RegióN InéDita
Madrid RegióN InéDitaMadrid RegióN InéDita
Madrid RegióN InéDita
 
Master en Comunicación, Organización de Eventos y Protocolo
Master en Comunicación, Organización de Eventos y ProtocoloMaster en Comunicación, Organización de Eventos y Protocolo
Master en Comunicación, Organización de Eventos y Protocolo
 
A Ds World Credentials
A Ds World   CredentialsA Ds World   Credentials
A Ds World Credentials
 
Kiko milano
Kiko milanoKiko milano
Kiko milano
 
Paul Harris Society: What's New, What's the Same, and Best Practices From the...
Paul Harris Society: What's New, What's the Same, and Best Practices From the...Paul Harris Society: What's New, What's the Same, and Best Practices From the...
Paul Harris Society: What's New, What's the Same, and Best Practices From the...
 

Similar to Stuck and Frustrated or In Flow and Happy: Sensing Developers’ Emotions and Progress

The Anatomy of Problem Solving
The Anatomy of Problem SolvingThe Anatomy of Problem Solving
The Anatomy of Problem Solving
Damian T. Gordon
 
[Seminar] 200910 Hyeonwook Lee
[Seminar] 200910 Hyeonwook Lee[Seminar] 200910 Hyeonwook Lee
[Seminar] 200910 Hyeonwook Lee
ivaderivader
 
A3 Problem Solving Template v1.2 (April 2015) by Henrik Knibe.docx
A3 Problem Solving Template v1.2 (April 2015) by  Henrik Knibe.docxA3 Problem Solving Template v1.2 (April 2015) by  Henrik Knibe.docx
A3 Problem Solving Template v1.2 (April 2015) by Henrik Knibe.docx
SALU18
 
Bringing Science to Software Development
Bringing Science to Software DevelopmentBringing Science to Software Development
Bringing Science to Software Development
Arty Starr
 
Week05 reading
Week05 readingWeek05 reading
Week05 reading
henry KKK
 
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
CYP MH
 

Similar to Stuck and Frustrated or In Flow and Happy: Sensing Developers’ Emotions and Progress (20)

Program evaluation part 2
Program evaluation part 2Program evaluation part 2
Program evaluation part 2
 
Sentimental Analysis - Naive Bayes Algorithm
Sentimental Analysis - Naive Bayes AlgorithmSentimental Analysis - Naive Bayes Algorithm
Sentimental Analysis - Naive Bayes Algorithm
 
Beyond Eye Tracking: Using User Temperature, Rating Dials, and Facial Analysi...
Beyond Eye Tracking: Using User Temperature, Rating Dials, and Facial Analysi...Beyond Eye Tracking: Using User Temperature, Rating Dials, and Facial Analysi...
Beyond Eye Tracking: Using User Temperature, Rating Dials, and Facial Analysi...
 
tutor2u Strong Foundations A Level Psychology
tutor2u Strong Foundations A Level Psychologytutor2u Strong Foundations A Level Psychology
tutor2u Strong Foundations A Level Psychology
 
Data Analysis
Data AnalysisData Analysis
Data Analysis
 
Cause and effect diagrams
Cause and effect diagramsCause and effect diagrams
Cause and effect diagrams
 
The Anatomy of Problem Solving
The Anatomy of Problem SolvingThe Anatomy of Problem Solving
The Anatomy of Problem Solving
 
Can Concussions Be Diagnosed Using the Microsoft Kinect and Machine Learning?
Can Concussions Be Diagnosed Using the Microsoft Kinect and Machine Learning?Can Concussions Be Diagnosed Using the Microsoft Kinect and Machine Learning?
Can Concussions Be Diagnosed Using the Microsoft Kinect and Machine Learning?
 
[Seminar] 200910 Hyeonwook Lee
[Seminar] 200910 Hyeonwook Lee[Seminar] 200910 Hyeonwook Lee
[Seminar] 200910 Hyeonwook Lee
 
Using Your Data: Which, When and How? Mo SW-PBS SI 2008
Using Your Data: Which, When and How? Mo SW-PBS SI 2008Using Your Data: Which, When and How? Mo SW-PBS SI 2008
Using Your Data: Which, When and How? Mo SW-PBS SI 2008
 
A3 Problem Solving Template v1.2 (April 2015) by Henrik Knibe.docx
A3 Problem Solving Template v1.2 (April 2015) by  Henrik Knibe.docxA3 Problem Solving Template v1.2 (April 2015) by  Henrik Knibe.docx
A3 Problem Solving Template v1.2 (April 2015) by Henrik Knibe.docx
 
Measuring Impact
Measuring ImpactMeasuring Impact
Measuring Impact
 
Synthetic Emotions Bicycle (SEB)
Synthetic Emotions Bicycle (SEB)Synthetic Emotions Bicycle (SEB)
Synthetic Emotions Bicycle (SEB)
 
Designing Indicators
Designing IndicatorsDesigning Indicators
Designing Indicators
 
Investigacion cualitativa
Investigacion cualitativaInvestigacion cualitativa
Investigacion cualitativa
 
Bringing Science to Software Development
Bringing Science to Software DevelopmentBringing Science to Software Development
Bringing Science to Software Development
 
Week05 reading
Week05 readingWeek05 reading
Week05 reading
 
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
Findings so far from outcomes data and looking to the future - Dr Miranda Wol...
 
Towards Discovering the Role of Emotions in Stack Overflow
Towards Discovering the Role of Emotions in Stack OverflowTowards Discovering the Role of Emotions in Stack Overflow
Towards Discovering the Role of Emotions in Stack Overflow
 
Nora Eilert
Nora Eilert Nora Eilert
Nora Eilert
 

Recently uploaded

The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
seri bangash
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
Areesha Ahmad
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
PirithiRaju
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
levieagacer
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
Areesha Ahmad
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
NazaninKarimi6
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Sérgio Sacani
 

Recently uploaded (20)

Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)GBSN - Biochemistry (Unit 1)
GBSN - Biochemistry (Unit 1)
 
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICESAMASTIPUR CALL GIRL 7857803690  LOW PRICE  ESCORT SERVICE
SAMASTIPUR CALL GIRL 7857803690 LOW PRICE ESCORT SERVICE
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
Module for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learningModule for Grade 9 for Asynchronous/Distance learning
Module for Grade 9 for Asynchronous/Distance learning
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
FAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical ScienceFAIRSpectra - Enabling the FAIRification of Analytical Science
FAIRSpectra - Enabling the FAIRification of Analytical Science
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 

Stuck and Frustrated or In Flow and Happy: Sensing Developers’ Emotions and Progress

  • 1. Sebastian Müller and Thomas Fritz Stuck and Frustrated or in Flow and Happy: Sensing Developers’ Emotions and Progress ICSE 2015, Florence, Italy
  • 2.
  • 3.
  • 4. Benefits of Knowing Emotions and Progress 4 Support developers when stuck and making no progress Avoid interruptions when in flow and making a lot of progress
  • 5. Biometric Sensing of
 Emotions & Progress 5 positive/negative emotions (e.g. Lin et al) happiness, sadness (e.g. Li et al) positive/negative emotions (e.g. Haag et al) frustration (e.g. Scheirer et al) positive/negative emotions (e.g. Muldner et al) EEG (Electroencephalography) frustration (e.g. Kapoor et al) anxiety (e.g. Doehring) Pupil sizes Eye blinks positive/negative emotions (e.g. Haag et al) boredom, anxiety (e.g. Chanel et al) positive/negative emotions (e.g. Drachen et al) happiness (e.g. Steptoe et al) EDA (Electro-dermal activity) Skin temperature HR(V) (Heart rate (variability))
  • 6. Research Questions 6 Correlation of emotions and progress? Aspects and practices that affect developers’ emotions and progress? Biometric sensors to determine developers’ emotions and progress?
  • 7. Study Participants & Tasks 17 participants: 6 professionals and 11 PhD students • on average 7.1 years of prof. development experience • only minor differences between professionals and students Two change tasks • Task 1: small program to interact with StackExchange API • Task 2: new feature in JHotDraw 7
  • 10. Study Method 9 Fish tank video as a baseline for biometric measurements
  • 11. Study Method 9 Fish tank video as a baseline for biometric measurements Work on two change tasks, each for 30 minutes
  • 12. Study Method 9 Fish tank video as a baseline for biometric measurements Work on two change tasks, each for 30 minutes • progress • valence: ‘’very unpleasant’’ to ‘’very pleasant’’ arousal: ‘’very calm’’ to ‘’very excited’’ • reasons for the current state of emotions / progress & aspects that would help to improve Assessments every 5 minutes or at signs of strong negative/ positive emotions
  • 13. Study Method 9 Fish tank video as a baseline for biometric measurements Work on two change tasks, each for 30 minutes After working on both change tasks: set of emotion inducing pictures • progress • valence: ‘’very unpleasant’’ to ‘’very pleasant’’ arousal: ‘’very calm’’ to ‘’very excited’’ • reasons for the current state of emotions / progress & aspects that would help to improve Assessments every 5 minutes or at signs of strong negative/ positive emotions
  • 14. Data Collection 10 biometric data from 3 sensors 213 data points • emotion and progress ratings • answers to the questions we asked 2 emotion ratings for the set of emotion inducing pictures
  • 15. Research Questions 11 Correlation of emotions and progress? Aspects and practices that affect developers’ emotions and progress Biometric sensors to determine developers’ emotions and progress
  • 16. Correlation Emotions & Progress 12 Linear Mixed Model Dependent variable: Self-reported progress Fixed effects: Valence, arousal Random effects: Participant, task, measurement time
  • 17. Correlation Emotions & Progress 13 Linear Mixed Model Dependent variable: Self-reported progress Fixed effects: Valence, arousal Random effects: Participant, task, measurement time Random effects: Measurement time no effect, task medium effect and participant highest effect Effect Estimate Deviance explained Valence 0.66 28.03 Arousal 0.10 1.09
  • 18. Correlation Emotions & Progress 14
  • 19. Correlation Emotions & Progress 14 Subject 1 Significant correlation between progress and valence
  • 20. Correlation Emotions & Progress 14 Subject 6Subject 1 Significant correlation between progress and valence No significant correlation between progress and valence
  • 21. Correlation Emotions & Progress 14 Subject 6Subject 1 Significant correlation between progress and valence No significant correlation between progress and valence significant correlations for 12 subjects, but not for the other 5 subjects
  • 22. Research Questions 15 Correlation of emotions and progress? Aspects and practices that affect developers’ emotions and progress? Biometric sensors to determine developers’ emotions and progress
  • 23. Top 3 Reasons for a Change in Emotions / Progress 16 Increase in emotions/progress # Cases # Subjects localize relevant code 21 (11.3%) 14 (82.4%) (better) understand parts of the code 18 (9.7%) 13 (76.5%) next steps are clear 12 (6.5%) 9 (52.9%)
  • 24. Top 3 Reasons for a Change in Emotions / Progress 16 Increase in emotions/progress # Cases # Subjects localize relevant code 21 (11.3%) 14 (82.4%) (better) understand parts of the code 18 (9.7%) 13 (76.5%) next steps are clear 12 (6.5%) 9 (52.9%) ”I’ve found a starting point almost immediately. I have a good feeling that I’ll make significant progress very soon.” (S1)
  • 25. Top 3 Reasons for a Change in Emotions / Progress 17 Decrease in emotions/progress # Cases # Subjects difficulty in understanding how parts of the code / API works 33 (17.7%) 12 (70.6%) difficulty in localizing relevant code 15 (8.1%) 8 (47.1%) not being sure about next steps 9 (4.8%) 9 (52.9%)
  • 26. Top 3 Reasons for a Change in Emotions / Progress 17 Decrease in emotions/progress # Cases # Subjects difficulty in understanding how parts of the code / API works 33 (17.7%) 12 (70.6%) difficulty in localizing relevant code 15 (8.1%) 8 (47.1%) not being sure about next steps 9 (4.8%) 9 (52.9%) ”It’s going too slow. I think it’s very cumbersome when so much time is needed to understand the project and find a starting point.” (S9)
  • 27. Emotions and Progress are Often Intertwined 18 ”I finally figured out how to do it. I’m really happy and I’m not feeling completely stuck anymore.” (S6) ”I can’t make any progress. That’s annoying.” (S13)
  • 28. Research Questions 19 Correlation of emotions and progress? Aspects and practices that affect developers’ emotions and progress Biometric sensors to determine developers’ emotions and progress?
  • 30. Machine Learning Approach 21 Data Cleaning and Feature Extraction • Noise cleaning • Feature extraction following established methods {Min, Max}Attention; {Min, Max}Meditation, … ∆(α); ∆(β); ∆(γ); ∆(δ); ∆(θ), … {Min, Max}PeakAmpl; ∆NumPhasicPeaks/Min, … MinPupilSize; MaxPupilSize, … EEG (Electroencephalography) Pupil sizes Eye blinks EDA (Electro-dermal activity) Skin temperature HR(V) (Heart rate (variability)) MeanTemp; ∆MeanTemp, … ∆MeanHR; ∆VarianceHR, … ∆Eyeblinks/Min
  • 31. Machine Learning Approach 22 Data Cleaning and Feature Extraction • Noise cleaning • Feature extraction following established methods Data Labeling • binary split of emotions (positive/negative) and progress (low/high)
  • 32. Machine Learning Approach 23 Data Cleaning and Feature Extraction • Noise cleaning • Feature extraction following established methods Data Labeling • binary split of emotions (positive/negative) and progress (low/high) Machine Learning • Leave-one-out approach • Classifier: decision tree S01 T1 S17 T1 S01 T2 S17 T2 T1 ...S01 S17 Test data Training data ...... T2
  • 33. Machine Learning Results 24 Prediction Correct Impr. Precision Recall Features Emotion 71.36% 18.76% 64.32% 82.03% α, β/θ, MinPupilSize, ∆MeanHR Progress 67.70% 32.93% 67.85% 68.29% α, β/θ, ∆MeanTempPeakAmpl, MaxPupilSize, ∆MeanPupilSize, ∆MeanSCL
  • 34. Contributions and Outlook 25 Study on developers’ emotions and progress with 17 participants • Emotions and perceived progress are strongly correlated • Biometric sensors can be used to predict emotions and progress Future challenges • Individual differences • Privacy concerns New opportunities for developer support • Avoid interruptions when in flow and making a lot of progress • Support when stuck and making no progress
  • 35. Individual Machine Learning Results 26 Accuracy(%) 0 25 50 75 100 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 Emotions Progress
  • 36. Individual Machine Learning Results 27 Accuracy(%) 0 25 50 75 100 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 Emotions Progress
  • 37. Individual Machine Learning Results 28 Accuracy(%) 0 25 50 75 100 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 Emotions Progress
  • 38. Individual Machine Learning Results 29 Accuracy(%) 0 25 50 75 100 S1 S2 S3 S4 S5 S6 S7 S8 S9 S10 S11 S12 S13 S14 S15 S16 S17 Emotions Progress
  • 39. Biometric Features 3030 EEG: {Min, Max}Attention; {Min, Max}Meditation; ∆{Mean, Stdev} Attention; ∆{Mean, Stdev}Meditation; ∆(α); ∆(β); ∆(γ); ∆(δ); ∆(θ); ∆(α/β); ∆(α/γ); ∆(α/δ); ∆(α/θ); ∆(β/α); ∆(β/γ); ∆(β/δ); ∆(β/θ); ∆(γ/α); ∆(γ/β); ∆(γ/δ); ∆(γ/θ); ∆(δ/α); ∆(δ/β); ∆(δ/γ); ∆(δ/θ); ∆(θ/α); ∆(θ/β); ∆(θ/γ); ∆(θ/δ); ∆(θ/(α+β)); ∆(β/(α+θ)) EDA: {Min, Max}PeakAmpl; ∆NumPhasicPeaks/Min; ∆MeanPhasicPeakAmpl; ∆SumPhasicPeakAmpl/Min ∆MeanSCL; ∆AUCPhasic Skin temperature: MeanTemp; ∆MeanTemp; {Max, Mean} TempPeakAmpl; SumTempPeakAmpl/Min HR(V): ∆MeanHR; ∆VarianceHR; SDNN; RMSSD; NN20; NN50; pNN20; pNN50 Pupil size: MinPupilSize; MaxPupilSize; ∆{Mean, Stdev}PupilSize; ∆NumPupilSizeOutliers Eye blinks: ∆Eyeblinks/Min