{"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/A5057312812","display_name":"Celeste Barnaby","orcid":null},"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":true,"raw_author_name":"Celeste Barnaby","raw_affiliation_strings":["Facebook, USA","Facebook"],"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"],"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 ,"],"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 ,"],"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"],"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":["https://openalex.org/A5057312812"],"corresponding_institution_ids":["https://openalex.org/I2252078561","https://openalex.org/I4210114444"],"apc_list":null,"apc_paid":null,"fwci":0.0,"has_fulltext":true,"cited_by_count":0,"citation_normalized_percentile":{"value":0.20557969,"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":[{"display_name":"Industry, innovation and infrastructure","id":"https://metadata.un.org/sdg/9","score":0.5600000023841858}],"awards":[],"funders":[],"has_content":{"pdf":true,"grobid_xml":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],"in":[13,99,150],"industrial":[14],"coding":[15],"environments,":[16],"proprietary.":[17],"Programmers":[18],"reference":[19],"documentation":[20],"and":[21,45,47,69,92,109,131],"code":[22,54,85,106],"search":[23,55,86,107],"tools":[24],"to":[25,43,59],"remind":[26],"themselves":[27],"of":[28,33,153],"proper":[29],"common":[30],"usage":[31,38,49,74],"patterns":[32],"APIs.":[34],"However,":[35],"high-quality":[36],"API":[37,48,77],"examples":[39,50,75,111,124,147],"are":[40,128,148],"computationally":[41],"expensive":[42],"curate":[44],"maintain,":[46],"retrieved":[51],"from":[52,112],"company-wide":[53],"can":[56],"be":[57],"tedious":[58],"review.":[60],"We":[61],"present":[62],"a":[63,113,139],"tool,":[64],"EG,":[65],"that":[66,145],"mines":[67],"codebases":[68],"shows":[70,144],"the":[71,89],"common,":[72],"idiomatic":[73],"for":[76,88],"methods.":[78],"EG":[79,101,127,146],"was":[80,102],"integrated":[81],"into":[82],"Facebook's":[83],"internal":[84],"tool":[87],"Hack":[90],"language":[91],"evaluated":[93],"on":[94],"open-source":[95],"GitHub":[96],"projects":[97],"written":[98],"Python.":[100],"also":[103],"compared":[104],"against":[105],"results":[108],"hand-written":[110],"popular":[114],"programming":[115],"website":[116],"called":[117],"ProgramCreek.":[118],"Compared":[119],"with":[120,133,141],"these":[121],"two":[122],"baselines,":[123],"generated":[125],"by":[126],"more":[129],"succinct":[130],"representative":[132],"less":[134],"extraneous":[135],"statements.":[136],"In":[137],"addition,":[138],"survey":[140],"Facebook":[142],"developers":[143],"preferred":[149],"97":[151],"percent":[152],"cases.":[154]},"counts_by_year":[],"updated_date":"2026-02-09T09:26:11.010843","created_date":"2025-10-10T00:00:00"}
