Navigating the diverse solution spaces of non-trivial software engineering tasks requires a combination of technical knowledge, problem-solving skills, and creativity. With multiple possible solutions available, each with its own set of trade-offs, it is essential for programmers to evaluate the various options and select the one that best suits the specific requirements and constraints of a project. Whether it is choosing from a range of libraries, weighing the pros and cons of different architecture and design solutions, or finding unique ways to fulfill user requirements, the ability to think creatively is crucial for making informed decisions that will result in efficient and effective software. However, the interfaces of current chatbot tools for programmers, such as OpenAI's ChatGPT or GitHub Copilot, are optimized for presenting a single solution, even for complex queries. While other solutions can be requested, they are not displayed by default and are not intuitive to access. In this paper, we present our work-in-progress prototype "GPTCompare", which allows programmers to visually compare multiple source code solutions generated by GPT-n models for the same programming-related query by highlighting their similarities and differences.
翻译:处理非平凡软件工程任务中多样的解决方案空间,需要技术知识、问题解决能力与创造力的结合。面对多种可行方案及其各自权衡,程序员必须评估不同选项,选择最符合特定项目需求与约束的方案。无论是从各类库中进行选择、权衡不同架构与设计方案的优劣,还是寻找满足用户需求的独特方式,创造性思维能力对于做出高效且有效的软件决策至关重要。然而,当前面向程序员的聊天工具(如OpenAI的ChatGPT或GitHub Copilot)的交互界面虽支持复杂查询,但优化方向仍是呈现单一解决方案。尽管可以请求其他方案,但默认不显示且访问方式不够直观。本文介绍了我们正在研发的原型系统"GPTCompare",通过高亮显示相同编程查询的异同点,使程序员能够直观对比GPT-n模型生成的多个源代码解决方案。