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 Copilit等,在提出单一解决方案时,即使是对于复杂的询问,都是最优化的。虽然可以要求其他解决方案,但它们并不是默认的,也不是直观的。 在本文中,我们介绍了我们进展中的工作原型“ GPTCompare”,它使程序设计员能够通过强调相似性和差异,对 GPT-n 模型为同一方案相关查询生成的多种源代码解决方案进行视觉比较。