SlideShare a Scribd company logo
1 of 32
Download to read offline
Building evidence-based guidelines:
the role of emotions in Stack Overflow
Filippo Lanubile
University of Bari
15th International Advanced School on Empirical Software Engineering (IASESE 2018)
October 10, 2018 - Oulu, Finland
Community-based
Q&A: Stack Overflow
• Largest SE Q&A
community
• SO Annual Developer Survey 2018
insights.stackoverflow.com/survey/2018
– ~50M visits per month
• ~21M are professional developers and university-level
students (25%)
– > 80% rely on SO when learning
something new
• Developers read manuals less and less,
they rather “search”
(Mary Shaw’s keynote at ICSE 2016)
Research question 1
• How an information seeker
can increase the chance of
eliciting an answer?
Or better
• How an information seeker
can increase the chance of
eliciting a good answer?
But how do we know whether
an answer is actually good?
• How an information seeker
can increase the chance of
eliciting a useful answer?
One of the answers is
marked as accepted by the
question asker
 successful (or resolved)
question
Research question 2
What is the role of emotions in Stack Overflow?
Complaints about harsh
interactions, downvotes, and
handling of duplicate questions
https://stackoverflow.blog/2018/08/07/get-to-know-our-new-code-of-conduct/
Refining RQ 2
We focus on question-writing
What is effect of expressing emotions when
asking a question in Stack Overflow?
“I have very simple and stupid trouble […]. I'm
pretty confused, explain please, what is wrong?”
“[…] Any help would be really great! :-)”
“I want them to resize based on the length of the
data they’re showing”
Theoretical framework:
critical factors of successful questions
Actionable
• Affect
• Presentation
quality
• Time
Non Actionable
• Reputation
Knowledge sources
Prior research findings about Q&A sites
– technical, linguistic, and human aspects
Mixed-methods approach
Sequential explanatory strategy Steps
1. Operationalization of success
factors
2. Data preparation
3. Logistic regression
4. Qualitative analysis of
emotions
5. User survey
Collection/analysis of
quantitative data
Collection/analysis
of qualitative data
Interpretation
Operationalization of
success factors
Reputation factor
Model
Based on SO privileges
• New → Q&A
• Low → vote, comment
• Established → edit
• Trusted → delete Q&A
Measurement
Based on points received
for acknowledged help
• New: <10
• Low: [10, 1K[
• Established: [1K, 20K[
• Trusted: ≥ 20K
Modeling the Affect factor
Russel, 1980 - A circumplex model of affect. J. Personality and Social Psychology, 39, 1161-1178.
Polarity
(valence)
ActivationRussel’s
Circumplex Model
of Affect
Measuring the Affect factor
Sentiment analysis
• Classification of a text according to its positive,
negative or neutral semantic orientation
How? SentiStrength
• Estimates the
strength of both
positive and
negative polarity in a text
Excerpts from the Stack Overflow Sentiment Strength
Scores
Discretized Sentiment
Scores
Positive Negative Positive Negative Neutral
“I have very simple and stupid trouble […].
I'm pretty confused, explain please, what is
wrong?”
+1 -2 False True False
“[…] Any help would be really great! :-)” +5 -1 True False False
“I want them to resize based on the length
of the data they’re showing”
+1 -1 False False True
Data preparation
from July 2008
to Sept 2014
13M questions
SO dump
Only in the last month
but at least 3 days old
No self-answers
No closed or removed
No edits
87K questions
Filtering
• Discard code
snippets
• Remove HTML
tags
Cleaning
Logistic regression
• Dependent variable
– success of a question: yes (35%) vs no (65%)
• Independent variables
Logistic regression:
results about Reputation
Predictor Odds
Ratio
‘New’ as
default value
Low [10, 1K[ 2.39
Established
[1K, 20K[
2.67
Trusted
[20K,+∞[
3.24
Many ‘New’ users
forget to accept useful
answers!
Logistic regression:
results about actionable factors
• Affect
– Positive Sentiment (OR=0.94) down
– Negative Sentiment (OR=0.81) down
• Presentation quality
– Few Uppercase chars (OR=1.27) up
– Body Length > 199 words (OR=0.65) down
– Code snippets (OR=2.04) up
• Time
– GMT evening hours (OR=1.16) up
Simulating the improvement
of a bad question
Qualitative analysis of
emotions
Subset of questions across 4 reputation categories
• 120 questions with positive sentiment
• 120 questions with negative sentiment
as measured by SentiStrength
Content analysis according to
• Sentiment polarity (misclassification)
• Sentiment direction
– Object
– Self
– Other
Qualitative analysis of emotions:
misclassification of sentiment polarity
Established and Trusted users
are richer in technical details and jargon
Qualitative analysis of emotions:
direction of negative sentiment
New users express more frustration
Qualitative analysis of emotions:
direction of positive sentiment
New and Low reputation users
pay gratitude forward to potential helpers
No chit-chat
User survey
Logistic regression
model
87K questions
Online survey
open-ended questions
one multiple choice question for each predictor
43 developers
Some responses to
open-ended questions
People on Stack Overflow
can be extremely rude
Novice users get flamed
in this forum
Now I access Stack Overflow
through Google without a user
account
It’s my last resort, I don’t really
want to deal with their arrogant
comments
“
“
# Guideline
Success
factor
Empirical
support
User
perception
Source
1
Write questions using
a neutral emotional
style
Affect Yes Effective
Skeet, SO Help Center,
Kucuktunc et al., Bazelli et
al.
2
Provide sample code
and data
Presentation
quality
Yes Effective
Skeet, Asaduzzaman et al.,
Duijn et al., Treude et al.
3
Use capital letters
where appropriate
Presentation
quality
Yes Effective Skeet
4 Be concise
Presentation
quality
Yes Ineffective Skeet
5
Use short, descriptive
question titles
Presentation
quality
No Ineffective Skeet
6
Provide context
through tags
Presentation
quality
No Effective Skeet
7
Provide context
through URLs
Presentation
quality
No Effective Ponzanelli et al.
8
Be aware of low-
efficiency hours
Time Yes Ineffective Bosu et al.
=
=
=
=


= match
 mismatch


Netiquette for effective question writing on SO:
Evidence vs. User Perception
Work in progress:
SentiStrength → Senti4SD
• Supervised:
gold standard of over 4K
posts from Stack Overflow
– questions, answers, and
comments
manually annotated for
sentiment polarity
• Feature set
– Lexicon
– Keyword
– Semantics
• Reduced “negative” bias
– SentiStrength tends to
misclassify neutral as
negative
Tool and dataset
github.com/collab-uniba/Senti4SD
Work in progress:
Virtual mentor for Q&A (qavmentor)
Chrome plugin + API
github.com/collab-uniba/qavmentor-plugin github.com/collab-uniba/qavmentor
Conclusions: we do our best
to follow the scientific method
• Observe
• State the problem
• Theory
• Experimentation
• Communicate to
increase awareness
• Improve
instrumentation
• Tool building to
mitigate the problem
• Design new empirical
studies to test
changes to the theory
@lanubile
filippo.lanubile@uniba.it

More Related Content

What's hot

Analytical thinking team
Analytical thinking teamAnalytical thinking team
Analytical thinking teamShrikant Tyagi
 
1 persuasive logic
1 persuasive logic1 persuasive logic
1 persuasive logicspepley
 
Exploring Users' Values, Motivations and Emotions
Exploring Users' Values, Motivations and EmotionsExploring Users' Values, Motivations and Emotions
Exploring Users' Values, Motivations and EmotionsNorthern User Experience
 
LANE 462- FA-HA- Term2-Part 1
LANE 462- FA-HA- Term2-Part 1LANE 462- FA-HA- Term2-Part 1
LANE 462- FA-HA- Term2-Part 1Dr. Shadia Banjar
 
DOES 2016 Sciencing the Crap Out of DevOps
DOES 2016 Sciencing the Crap Out of DevOpsDOES 2016 Sciencing the Crap Out of DevOps
DOES 2016 Sciencing the Crap Out of DevOpsNicole Forsgren
 
Nabep analytics presentation
Nabep analytics presentationNabep analytics presentation
Nabep analytics presentationaarongblack1
 
Ask an Expert: Findings and Decisions
Ask an Expert: Findings and DecisionsAsk an Expert: Findings and Decisions
Ask an Expert: Findings and DecisionsKevin Gamble
 
Landing your first Data Science Job: The Technical Interview
Landing your first Data Science Job: The Technical InterviewLanding your first Data Science Job: The Technical Interview
Landing your first Data Science Job: The Technical InterviewAnidata
 
Using critical thinking to crack case based interviews
Using critical thinking to crack case based interviewsUsing critical thinking to crack case based interviews
Using critical thinking to crack case based interviewspritiagarwal
 
Managerial Decision Making
Managerial Decision MakingManagerial Decision Making
Managerial Decision MakingLee Schlenker
 
The End of an Era: The Time has Come to Demote the Resume
The End of an Era: The Time has Come to Demote the ResumeThe End of an Era: The Time has Come to Demote the Resume
The End of an Era: The Time has Come to Demote the ResumeMarina Dawson
 
Investigating Serendipity in Recommender Systems Based on Real User Feedback
Investigating Serendipity in Recommender Systems Based on Real User FeedbackInvestigating Serendipity in Recommender Systems Based on Real User Feedback
Investigating Serendipity in Recommender Systems Based on Real User FeedbackDenis Kotkov
 
Exploratory user research (How to figure out what to test)
Exploratory user research (How to figure out what to test)Exploratory user research (How to figure out what to test)
Exploratory user research (How to figure out what to test)Dhyana Scarano
 

What's hot (14)

Analytical thinking team
Analytical thinking teamAnalytical thinking team
Analytical thinking team
 
1 persuasive logic
1 persuasive logic1 persuasive logic
1 persuasive logic
 
Exploring Users' Values, Motivations and Emotions
Exploring Users' Values, Motivations and EmotionsExploring Users' Values, Motivations and Emotions
Exploring Users' Values, Motivations and Emotions
 
LANE 462- FA-HA- Term2-Part 1
LANE 462- FA-HA- Term2-Part 1LANE 462- FA-HA- Term2-Part 1
LANE 462- FA-HA- Term2-Part 1
 
Campus Session 2
Campus Session 2Campus Session 2
Campus Session 2
 
DOES 2016 Sciencing the Crap Out of DevOps
DOES 2016 Sciencing the Crap Out of DevOpsDOES 2016 Sciencing the Crap Out of DevOps
DOES 2016 Sciencing the Crap Out of DevOps
 
Nabep analytics presentation
Nabep analytics presentationNabep analytics presentation
Nabep analytics presentation
 
Ask an Expert: Findings and Decisions
Ask an Expert: Findings and DecisionsAsk an Expert: Findings and Decisions
Ask an Expert: Findings and Decisions
 
Landing your first Data Science Job: The Technical Interview
Landing your first Data Science Job: The Technical InterviewLanding your first Data Science Job: The Technical Interview
Landing your first Data Science Job: The Technical Interview
 
Using critical thinking to crack case based interviews
Using critical thinking to crack case based interviewsUsing critical thinking to crack case based interviews
Using critical thinking to crack case based interviews
 
Managerial Decision Making
Managerial Decision MakingManagerial Decision Making
Managerial Decision Making
 
The End of an Era: The Time has Come to Demote the Resume
The End of an Era: The Time has Come to Demote the ResumeThe End of an Era: The Time has Come to Demote the Resume
The End of an Era: The Time has Come to Demote the Resume
 
Investigating Serendipity in Recommender Systems Based on Real User Feedback
Investigating Serendipity in Recommender Systems Based on Real User FeedbackInvestigating Serendipity in Recommender Systems Based on Real User Feedback
Investigating Serendipity in Recommender Systems Based on Real User Feedback
 
Exploratory user research (How to figure out what to test)
Exploratory user research (How to figure out what to test)Exploratory user research (How to figure out what to test)
Exploratory user research (How to figure out what to test)
 

Similar to Filippo Lanubile's talk @IASESE 2018

How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...
How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...
How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...Fabio Calefato
 
Capturing and Analyzing Qualitative Data in Surveys
Capturing and Analyzing Qualitative Data in SurveysCapturing and Analyzing Qualitative Data in Surveys
Capturing and Analyzing Qualitative Data in SurveysPerformance Solutions Corp.
 
Getting The Most Out of Your Data Analyst - HAS Session 9
Getting The Most Out of Your Data Analyst - HAS Session 9Getting The Most Out of Your Data Analyst - HAS Session 9
Getting The Most Out of Your Data Analyst - HAS Session 9Health Catalyst
 
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 OverflowNicole Novielli
 
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)Using Surveys to Improve Your Library: Part 2 (Sept. 2018)
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)ALATechSource
 
Innovations in situational judgment tests cullen paullin 2013
Innovations in situational judgment tests cullen paullin 2013Innovations in situational judgment tests cullen paullin 2013
Innovations in situational judgment tests cullen paullin 2013Cheryl Paullin
 
UXPA 2021: How do you know your users feel satisfied
UXPA 2021: How do you know your users feel satisfied   UXPA 2021: How do you know your users feel satisfied
UXPA 2021: How do you know your users feel satisfied UXPA International
 
Fundamentals of measurement
Fundamentals of measurementFundamentals of measurement
Fundamentals of measurementPat Barlow
 
SXSWedu 2018: Making Critical Thinking Real with Digital Content
 SXSWedu 2018: Making Critical Thinking Real with Digital Content SXSWedu 2018: Making Critical Thinking Real with Digital Content
SXSWedu 2018: Making Critical Thinking Real with Digital ContentJulie Evans
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.pptMcPoolMac
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.pptlynette70
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.pptRizkyAmelia80
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.pptssuser23a6db1
 
Qualitative & quantitative-research-ppt.ppt
Qualitative & quantitative-research-ppt.pptQualitative & quantitative-research-ppt.ppt
Qualitative & quantitative-research-ppt.pptDaoudAlHumaidi1
 
PR2-Questionnaire.pptx
PR2-Questionnaire.pptxPR2-Questionnaire.pptx
PR2-Questionnaire.pptxJessaBejer1
 
Pentascope Masterclass Cooperrider 2008
Pentascope Masterclass Cooperrider 2008Pentascope Masterclass Cooperrider 2008
Pentascope Masterclass Cooperrider 2008dlc6
 

Similar to Filippo Lanubile's talk @IASESE 2018 (20)

How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...
How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...
How to Ask for Technical Help? Evidence-based Guidelines for Writing Question...
 
And Now for the Good News: Appreciative Inquiry
And Now for the Good News: Appreciative InquiryAnd Now for the Good News: Appreciative Inquiry
And Now for the Good News: Appreciative Inquiry
 
Capturing and Analyzing Qualitative Data in Surveys
Capturing and Analyzing Qualitative Data in SurveysCapturing and Analyzing Qualitative Data in Surveys
Capturing and Analyzing Qualitative Data in Surveys
 
Survey design basics
Survey design basicsSurvey design basics
Survey design basics
 
Getting The Most Out of Your Data Analyst - HAS Session 9
Getting The Most Out of Your Data Analyst - HAS Session 9Getting The Most Out of Your Data Analyst - HAS Session 9
Getting The Most Out of Your Data Analyst - HAS Session 9
 
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
 
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)Using Surveys to Improve Your Library: Part 2 (Sept. 2018)
Using Surveys to Improve Your Library: Part 2 (Sept. 2018)
 
Avishkar
AvishkarAvishkar
Avishkar
 
Innovations in situational judgment tests cullen paullin 2013
Innovations in situational judgment tests cullen paullin 2013Innovations in situational judgment tests cullen paullin 2013
Innovations in situational judgment tests cullen paullin 2013
 
UXPA 2021: How do you know your users feel satisfied
UXPA 2021: How do you know your users feel satisfied   UXPA 2021: How do you know your users feel satisfied
UXPA 2021: How do you know your users feel satisfied
 
Community needs assessment.pla_2014.handout
Community needs assessment.pla_2014.handoutCommunity needs assessment.pla_2014.handout
Community needs assessment.pla_2014.handout
 
Fundamentals of measurement
Fundamentals of measurementFundamentals of measurement
Fundamentals of measurement
 
SXSWedu 2018: Making Critical Thinking Real with Digital Content
 SXSWedu 2018: Making Critical Thinking Real with Digital Content SXSWedu 2018: Making Critical Thinking Real with Digital Content
SXSWedu 2018: Making Critical Thinking Real with Digital Content
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt
 
12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt12_quantitative-research-methodology.ppt
12_quantitative-research-methodology.ppt
 
Qualitative & quantitative-research-ppt.ppt
Qualitative & quantitative-research-ppt.pptQualitative & quantitative-research-ppt.ppt
Qualitative & quantitative-research-ppt.ppt
 
PR2-Questionnaire.pptx
PR2-Questionnaire.pptxPR2-Questionnaire.pptx
PR2-Questionnaire.pptx
 
Pentascope Masterclass Cooperrider 2008
Pentascope Masterclass Cooperrider 2008Pentascope Masterclass Cooperrider 2008
Pentascope Masterclass Cooperrider 2008
 

Recently uploaded

RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
Data Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationData Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationBoston Institute of Analytics
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystSamantha Rae Coolbeth
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...shivangimorya083
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiSuhani Kapoor
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxStephen266013
 

Recently uploaded (20)

RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
Data Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health ClassificationData Science Project: Advancements in Fetal Health Classification
Data Science Project: Advancements in Fetal Health Classification
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Unveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data AnalystUnveiling Insights: The Role of a Data Analyst
Unveiling Insights: The Role of a Data Analyst
 
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
Full night 🥵 Call Girls Delhi New Friends Colony {9711199171} Sanya Reddy ✌️o...
 
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service AmravatiVIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
VIP Call Girls in Amravati Aarohi 8250192130 Independent Escort Service Amravati
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
B2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docxB2 Creative Industry Response Evaluation.docx
B2 Creative Industry Response Evaluation.docx
 

Filippo Lanubile's talk @IASESE 2018

  • 1. Building evidence-based guidelines: the role of emotions in Stack Overflow Filippo Lanubile University of Bari 15th International Advanced School on Empirical Software Engineering (IASESE 2018) October 10, 2018 - Oulu, Finland
  • 2.
  • 3. Community-based Q&A: Stack Overflow • Largest SE Q&A community • SO Annual Developer Survey 2018 insights.stackoverflow.com/survey/2018 – ~50M visits per month • ~21M are professional developers and university-level students (25%) – > 80% rely on SO when learning something new • Developers read manuals less and less, they rather “search” (Mary Shaw’s keynote at ICSE 2016)
  • 4.
  • 5. Research question 1 • How an information seeker can increase the chance of eliciting an answer? Or better • How an information seeker can increase the chance of eliciting a good answer? But how do we know whether an answer is actually good? • How an information seeker can increase the chance of eliciting a useful answer? One of the answers is marked as accepted by the question asker  successful (or resolved) question
  • 6. Research question 2 What is the role of emotions in Stack Overflow?
  • 7. Complaints about harsh interactions, downvotes, and handling of duplicate questions
  • 9. Refining RQ 2 We focus on question-writing What is effect of expressing emotions when asking a question in Stack Overflow? “I have very simple and stupid trouble […]. I'm pretty confused, explain please, what is wrong?” “[…] Any help would be really great! :-)” “I want them to resize based on the length of the data they’re showing”
  • 10. Theoretical framework: critical factors of successful questions Actionable • Affect • Presentation quality • Time Non Actionable • Reputation Knowledge sources Prior research findings about Q&A sites – technical, linguistic, and human aspects
  • 11. Mixed-methods approach Sequential explanatory strategy Steps 1. Operationalization of success factors 2. Data preparation 3. Logistic regression 4. Qualitative analysis of emotions 5. User survey Collection/analysis of quantitative data Collection/analysis of qualitative data Interpretation
  • 13. Reputation factor Model Based on SO privileges • New → Q&A • Low → vote, comment • Established → edit • Trusted → delete Q&A Measurement Based on points received for acknowledged help • New: <10 • Low: [10, 1K[ • Established: [1K, 20K[ • Trusted: ≥ 20K
  • 14. Modeling the Affect factor Russel, 1980 - A circumplex model of affect. J. Personality and Social Psychology, 39, 1161-1178. Polarity (valence) ActivationRussel’s Circumplex Model of Affect
  • 15. Measuring the Affect factor Sentiment analysis • Classification of a text according to its positive, negative or neutral semantic orientation How? SentiStrength • Estimates the strength of both positive and negative polarity in a text Excerpts from the Stack Overflow Sentiment Strength Scores Discretized Sentiment Scores Positive Negative Positive Negative Neutral “I have very simple and stupid trouble […]. I'm pretty confused, explain please, what is wrong?” +1 -2 False True False “[…] Any help would be really great! :-)” +5 -1 True False False “I want them to resize based on the length of the data they’re showing” +1 -1 False False True
  • 16. Data preparation from July 2008 to Sept 2014 13M questions SO dump Only in the last month but at least 3 days old No self-answers No closed or removed No edits 87K questions Filtering • Discard code snippets • Remove HTML tags Cleaning
  • 17. Logistic regression • Dependent variable – success of a question: yes (35%) vs no (65%) • Independent variables
  • 18. Logistic regression: results about Reputation Predictor Odds Ratio ‘New’ as default value Low [10, 1K[ 2.39 Established [1K, 20K[ 2.67 Trusted [20K,+∞[ 3.24 Many ‘New’ users forget to accept useful answers!
  • 19. Logistic regression: results about actionable factors • Affect – Positive Sentiment (OR=0.94) down – Negative Sentiment (OR=0.81) down • Presentation quality – Few Uppercase chars (OR=1.27) up – Body Length > 199 words (OR=0.65) down – Code snippets (OR=2.04) up • Time – GMT evening hours (OR=1.16) up
  • 21. Qualitative analysis of emotions Subset of questions across 4 reputation categories • 120 questions with positive sentiment • 120 questions with negative sentiment as measured by SentiStrength Content analysis according to • Sentiment polarity (misclassification) • Sentiment direction – Object – Self – Other
  • 22. Qualitative analysis of emotions: misclassification of sentiment polarity Established and Trusted users are richer in technical details and jargon
  • 23. Qualitative analysis of emotions: direction of negative sentiment New users express more frustration
  • 24. Qualitative analysis of emotions: direction of positive sentiment New and Low reputation users pay gratitude forward to potential helpers
  • 26. User survey Logistic regression model 87K questions Online survey open-ended questions one multiple choice question for each predictor 43 developers
  • 27. Some responses to open-ended questions People on Stack Overflow can be extremely rude Novice users get flamed in this forum Now I access Stack Overflow through Google without a user account It’s my last resort, I don’t really want to deal with their arrogant comments “ “
  • 28. # Guideline Success factor Empirical support User perception Source 1 Write questions using a neutral emotional style Affect Yes Effective Skeet, SO Help Center, Kucuktunc et al., Bazelli et al. 2 Provide sample code and data Presentation quality Yes Effective Skeet, Asaduzzaman et al., Duijn et al., Treude et al. 3 Use capital letters where appropriate Presentation quality Yes Effective Skeet 4 Be concise Presentation quality Yes Ineffective Skeet 5 Use short, descriptive question titles Presentation quality No Ineffective Skeet 6 Provide context through tags Presentation quality No Effective Skeet 7 Provide context through URLs Presentation quality No Effective Ponzanelli et al. 8 Be aware of low- efficiency hours Time Yes Ineffective Bosu et al. = = = =   = match  mismatch   Netiquette for effective question writing on SO: Evidence vs. User Perception
  • 29. Work in progress: SentiStrength → Senti4SD • Supervised: gold standard of over 4K posts from Stack Overflow – questions, answers, and comments manually annotated for sentiment polarity • Feature set – Lexicon – Keyword – Semantics • Reduced “negative” bias – SentiStrength tends to misclassify neutral as negative Tool and dataset github.com/collab-uniba/Senti4SD
  • 30. Work in progress: Virtual mentor for Q&A (qavmentor) Chrome plugin + API github.com/collab-uniba/qavmentor-plugin github.com/collab-uniba/qavmentor
  • 31. Conclusions: we do our best to follow the scientific method • Observe • State the problem • Theory • Experimentation • Communicate to increase awareness • Improve instrumentation • Tool building to mitigate the problem • Design new empirical studies to test changes to the theory