What Answer for Which Audience? Identifying Categories of Answers on - - PowerPoint PPT Presentation

what answer for which audience
SMART_READER_LITE
LIVE PREVIEW

What Answer for Which Audience? Identifying Categories of Answers on - - PowerPoint PPT Presentation

What Answer for Which Audience? Identifying Categories of Answers on Stack Overflow Damien & Glaucia CS846 - Fall 2019 RQ1: Are there categories of answer on SO? RQ2: Are those categories distributed differently depending on the audience?


slide-1
SLIDE 1

What Answer for Which Audience?

Identifying Categories of Answers on Stack Overflow

Damien & Glaucia

CS846 - Fall 2019

slide-2
SLIDE 2

RQ1: Are there categories of answer on SO? RQ2: Are those categories distributed differently depending on the audience?

Exploratory Study

Most viewed questions

Exploratory Study

Answer semantics

Words of interest = {solution, answer, approach, version}

slide-3
SLIDE 3

Exploratory Study: Mining categories

Semantics

Exploratory Study: Mining categories

Semantics

1) Alternative answers 2) Version-specific answers 3) Similar answers

Exploratory Study: Mining categories

Answer features

1) Length of code 2) Length of text 3) Readability score (Flesh-Kincaid) 4) Score 5) Similarity with question (Jaccard) 6) Edits 7) Order 8) Contains link 9) Contains bold 10) Contains list 11) Contains image 12) Number of comments 13) Response time 1 2 3 4 6 8 9

12 13

Exploratory Study

Answer features

1) Length of code 2) Length of text 3) Readability score (Flesh-Kincaid) 4) Score 5) Similarity with question (Jaccard) 6) Edits 7) Order 8) Contains link 9) Contains bold 10) Contains list 11) Contains image 12) Number of comments 13) Response time 1) Code ratio 2) Similarity with question 3) Formatting ratio 4) Response time

}

}

slide-4
SLIDE 4

Mining Categories

Features: k-means and decision tree

Mining Categories

  • Late code
  • Late fancy explanation
  • Late plain explanation
  • Quick general code
  • Quick general fancy

explanation

  • Quick general plain explanation
  • Quick specific

Example

  • Alternative answers
  • Version-specific answers
  • Similar answers

Example

  • Late code
  • Late fancy explanation
  • Late plain explanation
  • Quick general code
  • Quick general fancy

explanation

  • Quick general plain explanation
  • Quick specific

Source: https://stackoverflow.com/questions/4105331/how-do-i-convert-from-int-to-string

slide-5
SLIDE 5

Example

  • Late code
  • Late fancy explanation
  • Late plain explanation
  • Quick general code
  • Quick general fancy

explanation

  • Quick general plain explanation
  • Quick specific

Source: https://stackoverflow.com/questions/245825/what-does-initializecomponent-do-and-how-does-it-work-in-wpf/247018#247018

Distribution of answers *conflicts Conclusions

We showed that:

  • Different categories of answers
  • Devs are interested by different categories of answers

Implications:

  • For lurkers: Filters to find answers faster (RQ1)
  • For respondents: Guidelines for how to write for a specific audience (RQ2)

Future Work:

  • Investigate Semantics
  • Explore other feature combinations

Questions?