dc.contributor.author | Mattis, Toni | |
dc.contributor.author | Krebs, Eva | |
dc.contributor.author | Rinard, Martin C. | |
dc.contributor.author | Hirschfeld, Robert | |
dc.date.accessioned | 2024-08-02T16:39:31Z | |
dc.date.available | 2024-08-02T16:39:31Z | |
dc.date.issued | 2024-03-11 | |
dc.identifier.isbn | 979-8-4007-0634-9 | |
dc.identifier.uri | https://hdl.handle.net/1721.1/155929 | |
dc.description | Programming›Companion ’24, March 11–15, 2024, Lund, Sweden | en_US |
dc.description.abstract | Programmers 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.publisher | ACM|Companion Proceedings of the 8th International Conference on the Art, Science, and Engineering of Programming | en_US |
dc.relation.isversionof | 10.1145/3660829.3660845 | en_US |
dc.rights | Creative Commons Attribution | en_US |
dc.rights.uri | https://creativecommons.org/licenses/by/4.0/ | en_US |
dc.source | Association for Computing Machinery | en_US |
dc.title | Examples out of Thin Air: AI-Generated Dynamic Context to Assist Program Comprehension by Example | en_US |
dc.type | Article | en_US |
dc.identifier.citation | Mattis, 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.contributor.department | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science | |
dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | |
dc.identifier.mitlicense | PUBLISHER_CC | |
dc.eprint.version | Final published version | en_US |
dc.type.uri | http://purl.org/eprint/type/ConferencePaper | en_US |
eprint.status | http://purl.org/eprint/status/NonPeerReviewed | en_US |
dc.date.updated | 2024-08-01T07:50:13Z | |
dc.language.rfc3066 | en | |
dc.rights.holder | The author(s) | |
dspace.date.submission | 2024-08-01T07:50:13Z | |
mit.license | PUBLISHER_CC | |
mit.metadata.status | Authority Work and Publication Information Needed | en_US |