Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Better Together? An Evaluation of AI-Supported Code Translation (2202.07682v1)

Published 15 Feb 2022 in cs.HC and cs.SE

Abstract: Generative machine learning models have recently been applied to source code, for use cases including translating code between programming languages, creating documentation from code, and auto-completing methods. Yet, state-of-the-art models often produce code that is erroneous or incomplete. In a controlled study with 32 software engineers, we examined whether such imperfect outputs are helpful in the context of Java-to-Python code translation. When aided by the outputs of a code translation model, participants produced code with fewer errors than when working alone. We also examined how the quality and quantity of AI translations affected the work process and quality of outcomes, and observed that providing multiple translations had a larger impact on the translation process than varying the quality of provided translations. Our results tell a complex, nuanced story about the benefits of generative code models and the challenges software engineers face when working with their outputs. Our work motivates the need for intelligent user interfaces that help software engineers effectively work with generative code models in order to understand and evaluate their outputs and achieve superior outcomes to working alone.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Justin D. Weisz (26 papers)
  2. Michael Muller (70 papers)
  3. Steven I. Ross (6 papers)
  4. Fernando Martinez (8 papers)
  5. Stephanie Houde (18 papers)
  6. Mayank Agarwal (30 papers)
  7. Kartik Talamadupula (38 papers)
  8. John T. Richards (6 papers)
Citations (55)