{"id":"https://openalex.org/W4403491064","doi":"https://doi.org/10.1145/3689484.3690738","title":"Automated Generation of Code Contracts: Generative AI to the Rescue?","display_name":"Automated Generation of Code Contracts: Generative AI to the Rescue?","publication_year":2024,"publication_date":"2024-10-17","ids":{"openalex":"https://openalex.org/W4403491064","doi":"https://doi.org/10.1145/3689484.3690738"},"language":"en","primary_location":{"id":"doi:10.1145/3689484.3690738","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3689484.3690738","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 23rd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences","raw_type":"proceedings-article"},"type":"article","indexed_in":["crossref"],"open_access":{"is_oa":true,"oa_status":"gold","oa_url":"https://doi.org/10.1145/3689484.3690738","any_repository_has_fulltext":true},"authorships":[{"author_position":"first","author":{"id":"https://openalex.org/A5057541021","display_name":"Sandra Greiner","orcid":"https://orcid.org/0000-0001-8950-0092"},"institutions":[{"id":"https://openalex.org/I177969490","display_name":"University of Southern Denmark","ror":"https://ror.org/03yrrjy16","country_code":"DK","type":"education","lineage":["https://openalex.org/I177969490"]}],"countries":["DK"],"is_corresponding":true,"raw_author_name":"Sandra Greiner","raw_affiliation_strings":["University of Southern Denmark, Odense, Denmark"],"affiliations":[{"raw_affiliation_string":"University of Southern Denmark, Odense, Denmark","institution_ids":["https://openalex.org/I177969490"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5037346710","display_name":"Noah B\u00fchlmann","orcid":"https://orcid.org/0000-0001-6324-4780"},"institutions":[{"id":"https://openalex.org/I118564535","display_name":"University of Bern","ror":"https://ror.org/02k7v4d05","country_code":"CH","type":"education","lineage":["https://openalex.org/I118564535"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Noah B\u00fchlmann","raw_affiliation_strings":["University of Bern, Bern, Switzerland"],"affiliations":[{"raw_affiliation_string":"University of Bern, Bern, Switzerland","institution_ids":["https://openalex.org/I118564535"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5019968177","display_name":"Manuel Ohrndorf","orcid":"https://orcid.org/0009-0002-2135-1136"},"institutions":[{"id":"https://openalex.org/I118564535","display_name":"University of Bern","ror":"https://ror.org/02k7v4d05","country_code":"CH","type":"education","lineage":["https://openalex.org/I118564535"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Manuel Ohrndorf","raw_affiliation_strings":["University of Bern, Bern, Switzerland"],"affiliations":[{"raw_affiliation_string":"University of Bern, Bern, Switzerland","institution_ids":["https://openalex.org/I118564535"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5057850035","display_name":"Christos Tsigkanos","orcid":"https://orcid.org/0000-0002-9493-3404"},"institutions":[{"id":"https://openalex.org/I200777214","display_name":"National and Kapodistrian University of Athens","ror":"https://ror.org/04gnjpq42","country_code":"GR","type":"education","lineage":["https://openalex.org/I200777214"]}],"countries":["GR"],"is_corresponding":false,"raw_author_name":"Christos Tsigkanos","raw_affiliation_strings":["University of Athens, Athens, Greece"],"affiliations":[{"raw_affiliation_string":"University of Athens, Athens, Greece","institution_ids":["https://openalex.org/I200777214"]}]},{"author_position":"middle","author":{"id":"https://openalex.org/A5041096019","display_name":"Oscar Nierstrasz","orcid":"https://orcid.org/0000-0002-9975-9791"},"institutions":[],"countries":[],"is_corresponding":false,"raw_author_name":"Oscar Nierstrasz","raw_affiliation_strings":["Feenk, Bern, Switzerland"],"affiliations":[{"raw_affiliation_string":"Feenk, Bern, Switzerland","institution_ids":[]}]},{"author_position":"last","author":{"id":"https://openalex.org/A5078065547","display_name":"Timo Kehrer","orcid":"https://orcid.org/0000-0002-2582-5557"},"institutions":[{"id":"https://openalex.org/I118564535","display_name":"University of Bern","ror":"https://ror.org/02k7v4d05","country_code":"CH","type":"education","lineage":["https://openalex.org/I118564535"]}],"countries":["CH"],"is_corresponding":false,"raw_author_name":"Timo Kehrer","raw_affiliation_strings":["University of Bern, Bern, Switzerland"],"affiliations":[{"raw_affiliation_string":"University of Bern, Bern, Switzerland","institution_ids":["https://openalex.org/I118564535"]}]}],"institutions":[],"countries_distinct_count":3,"institutions_distinct_count":6,"corresponding_author_ids":["https://openalex.org/A5057541021"],"corresponding_institution_ids":["https://openalex.org/I177969490"],"apc_list":null,"apc_paid":null,"fwci":13.6249,"has_fulltext":true,"cited_by_count":6,"citation_normalized_percentile":{"value":0.98547422,"is_in_top_1_percent":false,"is_in_top_10_percent":true},"cited_by_percentile_year":{"min":97,"max":99},"biblio":{"volume":null,"issue":null,"first_page":"1","last_page":"14"},"is_retracted":false,"is_paratext":false,"is_xpac":false,"primary_topic":{"id":"https://openalex.org/T13643","display_name":"Artificial Intelligence in Law","score":0.9531000256538391,"subfield":{"id":"https://openalex.org/subfields/3320","display_name":"Political Science and International Relations"},"field":{"id":"https://openalex.org/fields/33","display_name":"Social Sciences"},"domain":{"id":"https://openalex.org/domains/2","display_name":"Social Sciences"}},"topics":[{"id":"https://openalex.org/T13643","display_name":"Artificial Intelligence in Law","score":0.9531000256538391,"subfield":{"id":"https://openalex.org/subfields/3320","display_name":"Political Science and International Relations"},"field":{"id":"https://openalex.org/fields/33","display_name":"Social Sciences"},"domain":{"id":"https://openalex.org/domains/2","display_name":"Social Sciences"}},{"id":"https://openalex.org/T12509","display_name":"Corporate Insolvency and Governance","score":0.9039999842643738,"subfield":{"id":"https://openalex.org/subfields/1402","display_name":"Accounting"},"field":{"id":"https://openalex.org/fields/14","display_name":"Business, Management and Accounting"},"domain":{"id":"https://openalex.org/domains/2","display_name":"Social Sciences"}}],"keywords":[{"id":"https://openalex.org/keywords/computer-science","display_name":"Computer science","score":0.7131080627441406},{"id":"https://openalex.org/keywords/generative-grammar","display_name":"Generative grammar","score":0.670134961605072},{"id":"https://openalex.org/keywords/code","display_name":"Code (set theory)","score":0.48770198225975037},{"id":"https://openalex.org/keywords/programming-language","display_name":"Programming language","score":0.4861454665660858},{"id":"https://openalex.org/keywords/code-generation","display_name":"Code generation","score":0.4843069612979889},{"id":"https://openalex.org/keywords/artificial-intelligence","display_name":"Artificial intelligence","score":0.42812204360961914},{"id":"https://openalex.org/keywords/computer-security","display_name":"Computer security","score":0.11786985397338867}],"concepts":[{"id":"https://openalex.org/C41008148","wikidata":"https://www.wikidata.org/wiki/Q21198","display_name":"Computer science","level":0,"score":0.7131080627441406},{"id":"https://openalex.org/C39890363","wikidata":"https://www.wikidata.org/wiki/Q36108","display_name":"Generative grammar","level":2,"score":0.670134961605072},{"id":"https://openalex.org/C2776760102","wikidata":"https://www.wikidata.org/wiki/Q5139990","display_name":"Code (set theory)","level":3,"score":0.48770198225975037},{"id":"https://openalex.org/C199360897","wikidata":"https://www.wikidata.org/wiki/Q9143","display_name":"Programming language","level":1,"score":0.4861454665660858},{"id":"https://openalex.org/C133162039","wikidata":"https://www.wikidata.org/wiki/Q1061077","display_name":"Code generation","level":3,"score":0.4843069612979889},{"id":"https://openalex.org/C154945302","wikidata":"https://www.wikidata.org/wiki/Q11660","display_name":"Artificial intelligence","level":1,"score":0.42812204360961914},{"id":"https://openalex.org/C38652104","wikidata":"https://www.wikidata.org/wiki/Q3510521","display_name":"Computer security","level":1,"score":0.11786985397338867},{"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/C26517878","wikidata":"https://www.wikidata.org/wiki/Q228039","display_name":"Key (lock)","level":2,"score":0.0}],"mesh":[],"locations_count":2,"locations":[{"id":"doi:10.1145/3689484.3690738","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3689484.3690738","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 23rd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences","raw_type":"proceedings-article"},{"id":"pmh:oai:sdu.dk:openaire_cris_publications/385bf54e-943a-4b69-acc1-489ac9c58e20","is_oa":true,"landing_page_url":"https://portal.findresearcher.sdu.dk/da/publications/385bf54e-943a-4b69-acc1-489ac9c58e20","pdf_url":"https://portal.findresearcher.sdu.dk/files/282670361/3689484.3690738.pdf","source":{"id":"https://openalex.org/S4306400423","display_name":"University of Southern Denmark Research Portal (University of Southern Denmark)","issn_l":null,"issn":null,"is_oa":false,"is_in_doaj":false,"is_core":false,"host_organization":"https://openalex.org/I177969490","host_organization_name":"University of Southern Denmark","host_organization_lineage":["https://openalex.org/I177969490"],"host_organization_lineage_names":[],"type":"repository"},"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"submittedVersion","is_accepted":false,"is_published":false,"raw_source_name":"Greiner, S, B\u00fchlmann, N, Ohrndorf, M, Tsigkanos, C, Nierstrasz, O & Kehrer, T 2024, Automated Generation of Code Contracts: Generative AI to the Rescue? in S Chiba & T Th\u00fcm (eds), Proceedings of the 23rd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences. Association for Computing Machinery, pp. 1-14, 23rd ACM SIGPLAN International Conference on Generative Programming, Pasadena, California, United States, 21/10/2024. https://doi.org/10.1145/3689484.3690738","raw_type":"info:eu-repo/semantics/publishedVersion"}],"best_oa_location":{"id":"doi:10.1145/3689484.3690738","is_oa":true,"landing_page_url":"https://doi.org/10.1145/3689484.3690738","pdf_url":null,"source":null,"license":"cc-by","license_id":"https://openalex.org/licenses/cc-by","version":"publishedVersion","is_accepted":true,"is_published":true,"raw_source_name":"Proceedings of the 23rd ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences","raw_type":"proceedings-article"},"sustainable_development_goals":[],"awards":[],"funders":[{"id":"https://openalex.org/F4320327859","display_name":"Hellenic Foundation for Research and Innovation","ror":null}],"has_content":{"pdf":false,"grobid_xml":false},"content_urls":null,"referenced_works_count":33,"referenced_works":["https://openalex.org/W1498946538","https://openalex.org/W1503677488","https://openalex.org/W1543330234","https://openalex.org/W1569384739","https://openalex.org/W1600469512","https://openalex.org/W1885986695","https://openalex.org/W2035529004","https://openalex.org/W2043100293","https://openalex.org/W2044653231","https://openalex.org/W2052363833","https://openalex.org/W2090496119","https://openalex.org/W2094160561","https://openalex.org/W2101105183","https://openalex.org/W2103318645","https://openalex.org/W2103953153","https://openalex.org/W2108325777","https://openalex.org/W2132661148","https://openalex.org/W2146177878","https://openalex.org/W2163319971","https://openalex.org/W2908510526","https://openalex.org/W2950599942","https://openalex.org/W2981852735","https://openalex.org/W3034999214","https://openalex.org/W3104907093","https://openalex.org/W3192256856","https://openalex.org/W3192478068","https://openalex.org/W4229772528","https://openalex.org/W4288089799","https://openalex.org/W4385970045","https://openalex.org/W4386081573","https://openalex.org/W4387006148","https://openalex.org/W4387427818","https://openalex.org/W4392669753"],"related_works":["https://openalex.org/W2380075625","https://openalex.org/W4390718435","https://openalex.org/W4390549206","https://openalex.org/W3137171911","https://openalex.org/W4379540039","https://openalex.org/W4237784285","https://openalex.org/W2163672025","https://openalex.org/W2048831961","https://openalex.org/W1606349578","https://openalex.org/W4399567378"],"abstract_inverted_index":{"Design":[0,32,187],"by":[1,15,33,188],"Contract":[2,34,189],"represents":[3],"an":[4],"established,":[5],"lightweight":[6],"paradigm":[7],"for":[8,79,140,179],"engineering":[9],"reliable":[10],"and":[11,19,77,97,119,133,148,161,166,182],"robust":[12],"software":[13,22,141,191],"systems":[14],"specifying":[16],"verifiable":[17],"expectations":[18],"obligations":[20],"between":[21],"components.":[23],"Due":[24],"to":[25,44,68],"its":[26],"laborious":[27],"nature,":[28],"developers":[29],"hardly":[30],"adopt":[31],"in":[35,58,73,111,145,190],"practice.":[36,59,193],"A":[37],"plethora":[38],"of":[39,54,65,75,103,113,126,136,154,186],"research":[40,181],"on":[41,123],"(semi-)-automated":[42],"inference":[43],"reduce":[45],"the":[46,52,63,121,124,131,137,146,155,177],"manual":[47],"burden":[48],"has":[49],"not":[50,143],"improved":[51],"adoption":[53,185],"so-called":[55],"code":[56,71],"contracts":[57,72,110,138,157],"This":[60],"paper":[61],"examines":[62],"potential":[64],"Generative":[66],"AI":[67],"automatically":[69],"generate":[70],"terms":[74],"pre-":[76],"postconditions":[78],"any":[80,85],"Java":[81,107,114],"project":[82],"without":[83],"requiring":[84],"additional":[86],"auxiliary":[87],"artifact.":[88],"To":[89,169],"fine-tune":[90],"two":[91],"state-of-the-art":[92],"Large":[93],"Language":[94,116],"Models,":[95],"CodeT5":[96],"CodeT5+,":[98],"we":[99],"derive":[100],"a":[101],"dataset":[102],"more":[104,151],"than":[105,152],"14k":[106],"methods":[108],"comprising":[109],"form":[112],"Modeling":[115],"(JML)":[117],"annotations,":[118],"train":[120],"models":[122],"task":[125],"generating":[127],"contracts.":[128],"We":[129],"examine":[130],"syntactic":[132],"semantic":[134,167],"validity":[135],"generated":[139,156],"projects":[142],"used":[144],"fine-tuning":[147],"find":[149],"that":[150],"95%":[153],"are":[158],"syntactically":[159],"correct":[160],"exhibit":[162],"remarkably":[163],"high":[164],"completeness":[165],"correctness.":[168],"this":[170],"end,":[171],"our":[172],"fully":[173],"automated":[174],"method":[175],"sets":[176],"stage":[178],"future":[180],"eventual":[183],"broader":[184],"development":[192]},"counts_by_year":[{"year":2026,"cited_by_count":1},{"year":2025,"cited_by_count":5}],"updated_date":"2026-03-20T23:20:44.827607","created_date":"2025-10-10T00:00:00"}
