Journal article Open Access

A Replication Package For The Paper "Improved Retrieval of Programming Solutions with Code Examples Using a Multi-featured Score"

Rodrigo F. Silva; Mohammad Masudur Rahman; CARLOS EDUARDO DE CARVALHO DANTAS; Chanchal Roy; Foutse Khomh; Marcelo A. Maia


JSON-LD (schema.org) Export

{
  "description": "<p>Developers often depend on code search engines to obtain solutions for their programming tasks. However, finding an expected solution containing code examples along with their explanations is challenging due to several issues. There is a vocabulary mismatch between the search keywords (the query) and the appropriate solutions. Semantic gap may increase for similar bag of words due to antonyms and negation. Moreover, documents retrieved by search engines might not contain solutions containing both code examples and their explanations. So, we propose CRAR (Crowd Answer Recommender) to circumvent those issues aiming at improving retrieval of relevant answers from Stack Overflow containing not only the expected code examples for the given task but also their explanations. Given a programming task, we investigate the effectiveness of &nbsp;combining information retrieval techniques along with a set of features to enhance the ranking of important threads (i.e., the units containing questions along with their answers) for the given task and then selects relevant answers contained in those threads, including semantic features, like word embeddings and sentence embeddings, for instance, a Convolutional Neural Network (CNN). CRAR also leverages social aspects of Stack Overflow discussions like popularity to select relevant answers for the tasks. Our experimental evaluation shows that the combination of the different features performs better than each one individually. We also compare the retrieval performance with the state-of-art CROKAGE (Crowd Knowledge Answer Generator), which is also a system aimed at retrieving relevant answers from Stack Overflow. We show that CRAR outperforms CROKAGE &nbsp;in Mean Reciprocal Rank and Mean Recall with small and medium effect sizes, respectively.</p>", 
  "license": "https://creativecommons.org/licenses/by/4.0/legalcode", 
  "creator": [
    {
      "affiliation": "Faculty of Computing, Federal University of Uberl\u00e2ndia", 
      "@type": "Person", 
      "name": "Rodrigo F. Silva"
    }, 
    {
      "affiliation": "Faculty of Computer Science, Dalhousie University", 
      "@id": "https://orcid.org/0000-0003-3821-5990", 
      "@type": "Person", 
      "name": "Mohammad Masudur Rahman"
    }, 
    {
      "affiliation": "Faculty of Computing, Federal University of Uberl\u00e2ndia", 
      "@type": "Person", 
      "name": "CARLOS EDUARDO DE CARVALHO DANTAS"
    }, 
    {
      "affiliation": "Department of Computer Science, University of Saskatchewan, Canada", 
      "@type": "Person", 
      "name": "Chanchal Roy"
    }, 
    {
      "affiliation": "\u00c9cole Polytechnique de Montr\u00e9al, Canada", 
      "@type": "Person", 
      "name": "Foutse Khomh"
    }, 
    {
      "affiliation": "Faculty of Computing, Federal University of Uberl\u00e2ndia", 
      "@id": "https://orcid.org/0000-0003-3578-1380", 
      "@type": "Person", 
      "name": "Marcelo A. Maia"
    }
  ], 
  "headline": "A Replication Package For The Paper \"Improved Retrieval of Programming Solutions with Code Examples Using a Multi-featured Score\"", 
  "image": "https://zenodo.org/static/img/logos/zenodo-gradient-round.svg", 
  "datePublished": "2021-07-24", 
  "url": "https://zenodo.org/record/5115300", 
  "keywords": [
    "Mining Crowd Knowledge, Stack Overflow, Word Embedding"
  ], 
  "@context": "https://schema.org/", 
  "identifier": "https://doi.org/10.5281/zenodo.5115300", 
  "@id": "https://doi.org/10.5281/zenodo.5115300", 
  "@type": "ScholarlyArticle", 
  "name": "A Replication Package For The Paper \"Improved Retrieval of Programming Solutions with Code Examples Using a Multi-featured Score\""
}
85
47
views
downloads
All versions This version
Views 8585
Downloads 4747
Data volume 151.1 GB151.1 GB
Unique views 6767
Unique downloads 2121

Share

Cite as