{"id":"https://openalex.org/W3096795448","doi":"https://doi.org/10.1145/3368089.3417052","title":"Exempla gratis (E.G.): code examples for free","display_name":"Exempla gratis (E.G.): code examples for free","publication_year":2020,"publication_date":"2020-11-08","ids":{"openalex":"https://openalex.org/W3096795448","doi":"https://doi.org/10.1145/3368089.3417052","mag":"3096795448"},"language":"en","primary_location":{"id":"doi:10.1145/3368089.3417052","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3368089.3417052","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3368089.3417052","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering","raw_type":"proceedings-article"},"type":"preprint","indexed_in":["arxiv","crossref","datacite"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://dl.acm.org/doi/pdf/10.1145/3368089.3417052","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5008002025","display_name":"Celeste Barnaby","orcid":"https://orcid.org/0000-0001-7688-6133"},"institutions":[{"id":"https://openalex.org/I2252078561","display_name":"Meta (Israel)","ror":"https://ror.org/02388em19","country_code":"IL","type":"company","lineage":["https://openalex.org/I2252078561","https://openalex.org/I4210114444"]},{"id":"https://openalex.org/I4210114444","display_name":"Meta (United States)","ror":"https://ror.org/01zbnvs85","country_code":"US","type":"company","lineage":["https://openalex.org/I4210114444"]}],"countries":["IL","US"],"is_corresponding":false,"raw_author_name":"Celeste Barnaby","raw_affiliation_strings":["Facebook, USA","Facebook"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Facebook, USA","institution_ids":["https://openalex.org/I4210114444"]},{"raw_affiliation_string":"Facebook","institution_ids":["https://openalex.org/I2252078561"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5101569699","display_name":"Koushik Sen","orcid":"https://orcid.org/0000-0002-4539-9188"},"institutions":[{"id":"https://openalex.org/I95457486","display_name":"University of California, Berkeley","ror":"https://ror.org/01an7q238","country_code":"US","type":"education","lineage":["https://openalex.org/I95457486"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Koushik Sen","raw_affiliation_strings":["University of California at Berkeley, USA","University of California\u2013Berkeley"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"University of California at Berkeley, USA","institution_ids":["https://openalex.org/I95457486"]},{"raw_affiliation_string":"University of California\u2013Berkeley","institution_ids":["https://openalex.org/I95457486"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5100437448","display_name":"Tianyi Zhang","orcid":"https://orcid.org/0000-0002-1000-4887"},"institutions":[{"id":"https://openalex.org/I2801851002","display_name":"Harvard University Press","ror":"https://ror.org/006v7bf86","country_code":"US","type":"other","lineage":["https://openalex.org/I136199984","https://openalex.org/I2801851002"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Tianyi Zhang","raw_affiliation_strings":["Harvard University, USA","Harvard University ,"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Harvard University, USA","institution_ids":["https://openalex.org/I2801851002"]},{"raw_affiliation_string":"Harvard University ,","institution_ids":["https://openalex.org/I2801851002"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5045866597","display_name":"Elena L. Glassman","orcid":"https://orcid.org/0000-0001-5178-3496"},"institutions":[{"id":"https://openalex.org/I2801851002","display_name":"Harvard University Press","ror":"https://ror.org/006v7bf86","country_code":"US","type":"other","lineage":["https://openalex.org/I136199984","https://openalex.org/I2801851002"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Elena Glassman","raw_affiliation_strings":["Harvard University, USA","Harvard University ,"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Harvard University, USA","institution_ids":["https://openalex.org/I2801851002"]},{"raw_affiliation_string":"Harvard University ,","institution_ids":["https://openalex.org/I2801851002"]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5101965118","display_name":"Satish Chandra","orcid":"https://orcid.org/0000-0003-2546-9000"},"institutions":[{"id":"https://openalex.org/I1321014770","display_name":"Association for Computing Machinery","ror":"https://ror.org/03wsadn68","country_code":"US","type":"nonprofit","lineage":["https://openalex.org/I1321014770"]},{"id":"https://openalex.org/I4210114444","display_name":"Meta (United States)","ror":"https://ror.org/01zbnvs85","country_code":"US","type":"company","lineage":["https://openalex.org/I4210114444"]}],"countries":["US"],"is_corresponding":false,"raw_author_name":"Satish Chandra","raw_affiliation_strings":["Facebook, USA","Association for Computing Machinery"],"raw_orcid":null,"affiliations":[{"raw_affiliation_string":"Facebook, USA","institution_ids":["https://openalex.org/I4210114444"]},{"raw_affiliation_string":"Association for Computing Machinery","institution_ids":["https://openalex.org/I1321014770"]}]}],"institutions":[],"countries_distinct_count":2,"institutions_distinct_count":5,"corresponding_author_ids":[],"corresponding_institution_ids":[],"apc_list":null,"apc_paid":null,"fwci":0.0,"has_fulltext":true,"cited_by_count":0,"citation_normalized_percentile":{"value":0.20812585,"is_in_top_1_percent":false,"is_in_top_10_percent":false},"cited_by_percentile_year":null,"biblio":{"volume":null,"issue":null,"first_page":"1353","last_page":"1364"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":1.0,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},"topics":[{"id":"https://openalex.org/T10260","display_name":"Software Engineering Research","score":1.0,"subfield":{"id":"https://openalex.org/subfields/1710","display_name":"Information Systems"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T11241","display_name":"Advanced Malware Detection Techniques","score":0.9955000281333923,"subfield":{"id":"https://openalex.org/subfields/1711","display_name":"Signal Processing"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}},{"id":"https://openalex.org/T10743","display_name":"Software Testing and Debugging Techniques","score":0.9927999973297119,"subfield":{"id":"https://openalex.org/subfields/1712","display_name":"Software"},"field":{"id":"https://openalex.org/fields/17","display_name":"Computer Science"},"domain":{"id":"https://openalex.org/domains/3","display_name":"Physical Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.8684772253036499},{"id":"https://openalex.org/keywords/python","display_name":"Python (programming language)","score":0.770455002784729},{"id":"https://openalex.org/keywords/documentation","display_name":"Documentation","score":0.7537506818771362},{"id":"https://openalex.org/keywords/source-code","display_name":"Source code","score":0.6138190627098083},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.5984941720962524},{"id":"https://openalex.org/keywords/open-source","display_name":"Open source","score":0.5837271809577942},{"id":"https://openalex.org/keywords/coding","display_name":"Coding (social sciences)","score":0.5445908904075623},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.5395808219909668},{"id":"https://openalex.org/keywords/world-wide-web","display_name":"World Wide Web","score":0.49876856803894043},{"id":"https://openalex.org/keywords/software","display_name":"Software","score":0.4639425277709961},{"id":"https://openalex.org/keywords/software-engineering","display_name":"Software engineering","score":0.41375473141670227},{"id":"https://openalex.org/keywords/information-retrieval","display_name":"Information retrieval","score":0.39162179827690125},{"id":"https://openalex.org/keywords/database","display_name":"Database","score":0.3336583971977234}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.8684772253036499},{"id":"https://openalex.org/C519991488","wikidata":"https://www.wikidata.org/wiki/Q28865","display_name":"Python (programming language)","level":2,"score":0.770455002784729},{"id":"https://openalex.org/C56666940","wikidata":"https://www.wikidata.org/wiki/Q788790","display_name":"Documentation","level":2,"score":0.7537506818771362},{"id":"https://openalex.org/C43126263","wikidata":"https://www.wikidata.org/wiki/Q128751","display_name":"Source code","level":2,"score":0.6138190627098083},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.5984941720962524},{"id":"https://openalex.org/C3018397939","wikidata":"https://www.wikidata.org/wiki/Q3644502","display_name":"Open source","level":3,"score":0.5837271809577942},{"id":"https://openalex.org/C179518139","wikidata":"https://www.wikidata.org/wiki/Q5140297","display_name":"Coding (social sciences)","level":2,"score":0.5445908904075623},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.5395808219909668},{"id":"https://openalex.org/C136764020","wikidata":"https://www.wikidata.org/wiki/Q466","display_name":"World Wide Web","level":1,"score":0.49876856803894043},{"id":"https://openalex.org/C2777904410","wikidata":"https://www.wikidata.org/wiki/Q7397","display_name":"Software","level":2,"score":0.4639425277709961},{"id":"https://openalex.org/C115903868","wikidata":"https://www.wikidata.org/wiki/Q80993","display_name":"Software engineering","level":1,"score":0.41375473141670227},{"id":"https://openalex.org/C23123220","wikidata":"https://www.wikidata.org/wiki/Q816826","display_name":"Information retrieval","level":1,"score":0.39162179827690125},{"id":"https://openalex.org/C77088390","wikidata":"https://www.wikidata.org/wiki/Q8513","display_name":"Database","level":1,"score":0.3336583971977234},{"id":"https://openalex.org/C177264268","wikidata":"https://www.wikidata.org/wiki/Q1514741","display_name":"Set (abstract data type)","level":2,"score":0.0},{"id":"https://openalex.org/C33923547","wikidata":"https://www.wikidata.org/wiki/Q395","display_name":"Mathematics","level":0,"score":0.0},{"id":"https://openalex.org/C105795698","wikidata":"https://www.wikidata.org/wiki/Q12483","display_name":"Statistics","level":1,"score":0.0}],"mesh":[],"locations_count":4,"locations":[{"id":"doi:10.1145/3368089.3417052","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3368089.3417052","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3368089.3417052","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering","raw_type":"proceedings-article"},{"id":"pmh:oai:arXiv.org:2011.01407","is_oa":true,"landing_page_url":"http://arxiv.org/abs/2011.01407","pdf_url":"https://arxiv.org/pdf/2011.01407","source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"","raw_type":"text"},{"id":"doi:10.48550/arxiv.2011.01407","is_oa":true,"landing_page_url":"https://doi.org/10.48550/arxiv.2011.01407","pdf_url":null,"source":{"id":"https://openalex.org/S4306400194","display_name":"arXiv (Cornell University)","issn_l":null,"issn":null,"is_oa":true,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I205783295","host_organization_name":"Cornell University","host_organization_lineage":["https://openalex.org/I205783295"],"host_organization_lineage_names":[],"type":"repository"},"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":null,"raw_source_name":null,"raw_type":"article"},{"id":"mag:3096795448","is_oa":false,"landing_page_url":null,"pdf_url":null,"source":null,"license":null,"license_id":null,"version":null,"is_accepted":false,"is_published":null,"raw_source_name":null,"raw_type":null}],"best_oa_location":{"id":"doi:10.1145/3368089.3417052","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3368089.3417052","pdf_url":"https://dl.acm.org/doi/pdf/10.1145/3368089.3417052","source":null,"license":null,"license_id":null,"version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering","raw_type":"proceedings-article"},"sustainable_development_goals":[{"score":0.5600000023841858,"id":"https://metadata.un.org/sdg/9","display_name":"Industry, innovation and infrastructure"}],"awards":[],"funders":[],"has_content":{"grobid_xml":true,"pdf":true},"content_urls":{"pdf":"https://content.openalex.org/works/W3096795448.pdf","grobid_xml":"https://content.openalex.org/works/W3096795448.grobid-xml"},"referenced_works_count":40,"referenced_works":["https://openalex.org/W1494726994","https://openalex.org/W1977971855","https://openalex.org/W1993786160","https://openalex.org/W2006291142","https://openalex.org/W2008107570","https://openalex.org/W2035632280","https://openalex.org/W2051204868","https://openalex.org/W2052657693","https://openalex.org/W2056139220","https://openalex.org/W2084887015","https://openalex.org/W2097001189","https://openalex.org/W2106259924","https://openalex.org/W2114315419","https://openalex.org/W2122401044","https://openalex.org/W2123333323","https://openalex.org/W2134092629","https://openalex.org/W2134829794","https://openalex.org/W2139374478","https://openalex.org/W2141422241","https://openalex.org/W2153943889","https://openalex.org/W2155452486","https://openalex.org/W2161847731","https://openalex.org/W2169952536","https://openalex.org/W2547405428","https://openalex.org/W2612300213","https://openalex.org/W2794601162","https://openalex.org/W2794992746","https://openalex.org/W2795013376","https://openalex.org/W2795536361","https://openalex.org/W2796218495","https://openalex.org/W2902618648","https://openalex.org/W2955685982","https://openalex.org/W2956048495","https://openalex.org/W2964144088","https://openalex.org/W3014451403","https://openalex.org/W3121414853","https://openalex.org/W3147574292","https://openalex.org/W4230667638","https://openalex.org/W4232188856","https://openalex.org/W4239948188"],"related_works":["https://openalex.org/W3106371149","https://openalex.org/W2796218495","https://openalex.org/W2083350976","https://openalex.org/W3133366476","https://openalex.org/W2106112694","https://openalex.org/W2052661990","https://openalex.org/W3099950908","https://openalex.org/W2115130131","https://openalex.org/W90447038","https://openalex.org/W2166732561","https://openalex.org/W2796354015","https://openalex.org/W2766321344","https://openalex.org/W2901099344","https://openalex.org/W2898562807","https://openalex.org/W3138651963","https://openalex.org/W2513722160","https://openalex.org/W3188888451","https://openalex.org/W2472431292","https://openalex.org/W2039197756","https://openalex.org/W3027681153"],"abstract_inverted_index":{"Modern":[0],"software":[1],"engineering":[2],"often":[3],"involves":[4],"using":[5],"many":[6],"existing":[7],"APIs,":[8],"both":[9],"open":[10],"source":[11],"and":[12,22,46,48,70,93,110,132],"\u2013":[13],"in":[14,100,151],"industrial":[15],"coding":[16],"environments\u2013":[17],"proprietary.":[18],"Programmers":[19],"reference":[20],"documentation":[21],"code":[23,55,86,107],"search":[24,56,87,108],"tools":[25],"to":[26,44,60],"remind":[27],"themselves":[28],"of":[29,34,153],"proper":[30],"common":[31],"usage":[32,39,50],"patterns":[33],"APIs.":[35],"However,":[36],"high-quality":[37],"API":[38,49,78],"examples":[40,51,76,112,125,148],"are":[41,129,149],"computationally":[42],"expensive":[43],"curate":[45],"maintain,":[47],"retrieved":[52],"from":[53,113],"company-wide":[54],"can":[57],"be":[58],"tedious":[59],"review.":[61],"We":[62],"present":[63],"a":[64,114,140],"tool,":[65],"EG,":[66],"that":[67,146],"mines":[68],"codebases":[69],"shows":[71,145],"the":[72,90],"common,":[73],"idiomatic":[74],"us-age":[75],"for":[77,89],"methods.":[79],"EG":[80,102,128,147],"was":[81,103],"integrated":[82],"into":[83],"Facebook\u2019s":[84],"internal":[85],"tool":[88],"Hack":[91],"language":[92],"evaluated":[94],"on":[95],"open-source":[96],"GitHub":[97],"projects":[98],"written":[99],"Python.":[101],"also":[104],"compared":[105],"against":[106],"results":[109],"hand-written":[111],"popular":[115],"programming":[116],"website":[117],"called":[118],"ProgramCreek.":[119],"Compared":[120],"with":[121,134,142],"these":[122],"two":[123],"baselines,":[124],"generated":[126],"by":[127],"more":[130],"succinct":[131],"representative":[133],"less":[135],"extraneous":[136],"statements.":[137],"In":[138],"addition,":[139],"survey":[141],"Facebook":[143],"developers":[144],"preferred":[150],"97%":[152],"cases.":[154]},"counts_by_year":[],"updated_date":"2026-06-11T09:08:48.828518","created_date":"2025-10-10T00:00:00"}
