本文提出一种新颖的代码生成方法,利用行为驱动开发测试规约作为基于 Transformer 的机器学习模型的输入,为流行的 Angular 框架生成前端组件代码,旨在大幅减少 Web 应用开发时间并提升软件质量。
摘要:
自动代码生成近期引起了广泛关注,在软件开发过程中变得愈发重要。基于机器学习和人工智能的解决方案正以强大且创新的方式被用于提升人类与软件的效率。在本文中,我们旨在利用这些进展,引入一种为流行的 Angular 框架生成前端组件代码的新颖方法。我们提议使用行为驱动开发测试规约作为基于 Transformer 的机器学习模型的输入来实现这一目标。我们的方法旨在大幅减少 Web 应用程序所需的开发时间,同时潜在地提升软件质量,并为自动代码生成引入新的研究思路。
英文摘要:
Automatic code generation has recently attracted large attention and is becoming more significant to the software development process. Solutions based on Machine Learning and Artificial Intelligence are being used to increase human and software efficiency in potent and innovative ways. In this paper, we aim to leverage these developments and introduce a novel approach to generating frontend component code for the popular Angular framework. We propose to do this using behavior-driven development test specifications as input to a transformer-based machine learning model. Our approach aims to drastically reduce the development time needed for web applications while potentially increasing software quality and introducing new research ideas toward automatic code generation.
Filling the Gap between Business Process Modeling and Behavior Driven Development
行为驱动开发(Behavior Driven Development,NORTH,2006)是一种规范技术,在敏捷方法社区中越来越被接受。BDD通过将这些需求的文本描述连接到测试,允许安全地验证所有功能需求都被源代码正确处理。另一方面,企业信息系统(EIS)的研究人员和实践者则主张在定义系统的任何部分之前,使用业务流程建模(BPM)对系统的底层业务流程进行建模。因此,可以说,在EIS的情况下,功能需求是通过从业务流程模型中识别用例来获得的。本文的目的是,在一个较窄的角度来看,提出使用有限状态机(FSM)的业务流程建模,然后将它们连接到BDD机器,从而推动更好的质量为EIS。从更广泛的角度来看,本文旨在引发对各种BPM符号映射的讨论,因为业务流程建模还没有真正的标准(Moller et al.,2007年,BDD。首先,从历史的角度来看,从以前的建议,这一个出现的演变,然后从模型驱动开发(MDD)的BDD的变化的原因也将在历史的角度。最后,使用FSM的建议,特别是通过使用UML状态图,将提出,其次是一些结论。
E2Edev: Benchmarking Large Language Models in End-to-End Software Development Task
College of Computer Science, Sichuan University(四川大学计算机学院);Institute of Data Science, National University of Singapore(新加坡国立大学数据科学研究所);CHAT NLP Group, Singapore Management University(新加坡国立管理大学CHAT NLP组);Engineering Research Center of Machine Learning and Industry Intelligence, Ministry of Education, China(教育部长机器学习与产业智能工程研究中心)
GenAI-based test case generation and execution in SDV platform
Mercedes-Benz AG, Germany(梅赛德斯-奔驰集团,德国);Technical University of Munich, Germany(慕尼黑技术大学,德国);Ferdinand-Steinbeis-Institut der Steinbeis-Stiftung, Germany(施坦贝格基金会费尔迪南-斯坦贝格研究所,德国)