发明授权
- 专利标题: Program synthesis and debugging using machine learning techniques
- 专利标题(中): 使用机器学习技术的程序综合和调试
-
申请号: US11745295申请日: 2007-05-07
-
公开(公告)号: US08181163B2公开(公告)日: 2012-05-15
- 发明人: Vladimir Jojic , Nebojsa Jojic , Sumit Gulwani
- 申请人: Vladimir Jojic , Nebojsa Jojic , Sumit Gulwani
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Workman Nydegger
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
One embodiment is directed to synthesizing code fragments in a software routine using known inputs and corresponding expected outputs. A computer system provides a software routine with known inputs and corresponding expected outputs, infers software routine instructions based on the known inputs and corresponding expected outputs, and synthesizes a correctly functioning code fragment based on the inferred instructions. Another embodiment is directed to automatically resolving semantic errors in a software routine. A computer system provides the software routine with known inputs and corresponding expected outputs for portions of a program fragment where an error has been localized. The computer system learns a correctly functioning program fragment from pairs of input-output descriptions of the program fragment, determines the program statements that can transform given input states into given output states after execution of those program statements, and alters portions of the software routine with the learned program fragments.
公开/授权文献
信息查询