Skip to content

FudanSELab/Research-FSE2022-taskKG

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replication Package for How to Formulate Specific How-to Questions

Motivational Study

  • Task-Related Question Selection. In Section III Motivational Study. We randomly selected questions with title edit records from the dump and manually removed questions not related to tasks. The sampling and removal were conducted several times until we obtained 410 task-related questions. The manual removal was conducted by two students independently (two MS students, both with more than four years Java experience). This xlsx file includes all questions we sampled. As a result, we annotated 737 question and 410 questions are task-related and 327 questions are not related to task. Each row in xlsx file corresponds to a sampled question with our annotation. The last three columns, “annotator1”, “annotator2”, “arbitration” indicate the results of the two annotators and the final arbitration result respectively. 0 means that the question is not task-related, and 1 means that the question is task-related.
  • Task-related Questions with Title Edit Records. It contains sampled 410 task related questions with title edit records. The “posthistoryTypeID” colunm, ‘1’ represents the initial question title and ‘4’ represents a title edit record. The Text field is the current title of the question. The edit records for the same question are arranged in chronological order.
  • Edit Record Classification. This file includes the manual classification results for sampled title edit records. We classified the edit record into four categories: Edit Action、Edit Object、Edit Constraint and Others. Last four columns indicate the classification result for those four category. “1” represents that the edit record belongs to the category and “0” represents that the edit record doesn’t belong to the category.

Experiments

  • RQ1. We evaluate the intrinsic quality of the task KG by assessing the correctness of the annotated questions in the task KG.
  • RQ2. We compared TaskKQ4Q with two baselines through 18 tasks selected from Stack Overflow. We invited 9 participants to use different tools to formulate how-to questions for the selected tasks. The implementation of ChatBot4QR we obtained comes from here. After evaluation, we obtain following results.
  • RQ3. We evaluate the usefulness of TaskKQ4Q by asking participants to complete a set of programming tasks. When they need to learn how to solve a specific task, we ask them to find the specifics on Stack Overflow. They do that writing questions on their own and with the TaskKQ4Q tool.
    • Participants Selection. To recruit participants, we used a questionnaire to select 16 qualified students from a class of 49 students as participants. The questionnaire assessed their programming knowledge and whether they would need help to complete the four given programming tasks. The doc is the questionnaire to select participants.
    • Programming Tasks. Tasks with detail context. The file includes all tasks with detail context.
    • TaskKQ4Q we built will be released after the paper is accepted.