-
公开(公告)号:US20240256423A1
公开(公告)日:2024-08-01
申请号:US18159712
申请日:2023-01-26
发明人: Jialu ZHANG , José Pablo CAMBRONERO SÁNCHEZ , Gustavo ARAUJO SOARES , Vu Minh LE , Sumit GULWANI , Gust Ben Anneloes VERBRUGGEN
CPC分类号: G06F11/3608 , G06F8/42 , G06F8/71
摘要: Some embodiments generate prompts and submit them in queries to a language model trained on code to perform automated program repair. Some embodiments fix syntactic mistakes and semantic mistakes by combining multimodal prompts, iterative querying, test-case-based selection of few-shots, and program chunking. In some cases, edit distance is minimized between an initial flawed program and the automatically created improved version of that program. The initial flawed program is obtained from a programming student, or from a source code generator.