arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.14992cs.SE
收藏

探索用于设计模型与代码之间双向可追溯性问题的ChatGPT方法

Exploring the ChatGPT Approach for Bidirectional Traceability Problem between Design Models and Code

Hideyuki Kanuka, Genta Koreki, Ryo Soga, Kazu Nishikawa

AI总结:

本研究探索ChatGPT在设计模型与代码双向可追溯性问题上的能力,通过案例研究验证其可从自然语言需求生成设计模型和代码、修正二者一致性,证明用其实现该双向追溯具备可行性。

摘要:

本研究探索了大语言模型(尤其是OpenAI的ChatGPT)在应对软件建模相关挑战方面的能力,明确聚焦于设计模型与代码之间的双向可追溯性问题。本研究的目标是证明ChatGPT在理解特定需求并将其整合到设计模型与代码中的熟练程度。我们还通过案例研究探索了其为双向可追溯性问题提供解决方案的潜力。研究结果表明,ChatGPT能够根据自然语言需求生成设计模型与代码,从而弥合这些需求与软件建模之间的差距。尽管它在提出一种利用ChatGPT本身解决该问题的具体方法方面存在局限性,但展现出了提供修正以使设计模型与代码保持一致的能力。因此,本研究得出结论:使用ChatGPT实现设计模型与代码之间的双向可追溯性是可行的。

英文摘要:

This study explores the capabilities of Large Language Models, particularly OpenAI's ChatGPT, in addressing the challenges associated with software modeling, explicitly focusing on the bidirectional traceability problem between design models and code. The objective of this study is to demonstrate the proficiency of ChatGPT in understanding and integrating specific requirements into design models and code. We also explore its potential to offer solutions to the bidirectional traceability problem through a case study. The findings indicate that ChatGPT is capable of generating design models and code from natural language requirements, thereby bridging the gap between these requirements and software modeling. Despite its limitations in suggesting a specific method to resolve the problem using ChatGPT itself, it exhibited the capacity to provide corrections to be consistent between design models and code. As a result, the study concludes that achieving bidirectional traceability between design models and code is feasible using ChatGPT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑