Show simple item record

dc.contributor.authorMattis, Toni
dc.contributor.authorKrebs, Eva
dc.contributor.authorRinard, Martin C.
dc.contributor.authorHirschfeld, Robert
dc.date.accessioned2024-08-02T16:39:31Z
dc.date.available2024-08-02T16:39:31Z
dc.date.issued2024-03-11
dc.identifier.isbn979-8-4007-0634-9
dc.identifier.urihttps://hdl.handle.net/1721.1/155929
dc.descriptionProgramming›Companion ’24, March 11–15, 2024, Lund, Swedenen_US
dc.description.abstractProgrammers often benefit from the availability of concrete run-time data alongside abstract source code. However, programmers need to manually exercise the program to reach an interesting state or write code that reproducibly executes a functionality with concrete inputs to be able to observe concrete data. This work aims to automate this process by leveraging generative AI. We present a framework and a preliminary Smalltalk-based prototype allowing programmers to obtain and run examples for the currently viewed source code section from a large language model. Our approach demonstrates how locally hosted LLMs can be fine-tuned and used for such a task with reasonable computational effort while minimizing common problems like hallucinations and out-of-date knowledge. The framework has direct applications in example-based live programming, where it can suggest new examples, and in learning settings where novices need to know how to use certain functionality.en_US
dc.publisherACM|Companion Proceedings of the 8th International Conference on the Art, Science, and Engineering of Programmingen_US
dc.relation.isversionof10.1145/3660829.3660845en_US
dc.rightsCreative Commons Attributionen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titleExamples out of Thin Air: AI-Generated Dynamic Context to Assist Program Comprehension by Exampleen_US
dc.typeArticleen_US
dc.identifier.citationMattis, Toni, Krebs, Eva, Rinard, Martin C. and Hirschfeld, Robert. 2024. "Examples out of Thin Air: AI-Generated Dynamic Context to Assist Program Comprehension by Example."
dc.identifier.mitlicensePUBLISHER_CC
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2024-08-01T07:50:13Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2024-08-01T07:50:13Z
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record