首页> 外国专利> Debugging Code Using a Question and Answer System Based on Documentation and Code Change Records

Debugging Code Using a Question and Answer System Based on Documentation and Code Change Records

机译:使用基于文档和代码更改记录的问答系统调试代码

摘要

Mechanisms are provided, in a Question and Answer (QA) system comprising a processor and a memory, for debugging code. An input question identifying an error during execution of code is processed by the QA system using a corpus corresponding to a software product associated with the code, thereby generating a first candidate answer set. The QA system processes the input question using a code change record repository identifying changes to the code performed over time to generate a second candidate answer set. The QA system generates a final answer to the input question based on the first and second candidate answer sets and outputs the final answer to the input question. The final answer to the input question identifies at least one of a source, in the code, of the error or a solution to resolving the error.
机译:在包括处理器和存储器的问答系统中,提供了用于调试代码的机制。由QA系统使用与与该代码相关联的软件产品相对应的语料库来处理在代码执行期间识别错误的输入问题,从而生成第一候选答案集。 QA系统使用代码更改记录存储库处理输入问题,该代码更改记录存储库标识随时间推移执行的代码更改,以生成第二个候选答案集。 QA系统基于第一和第二候选答案集生成输入问题的最终答案,并输出输入问题的最终答案。输入问题的最终答案至少可以识别代码中的错误源之一或解决错误的方法。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号