ColDeco: An End User Spreadsheet Inspection Tool for AI-Generated Code
- Kasra Ferdowsi ,
- Jack Williams ,
- Ian Drosos ,
- Andy Gordon ,
- Carina Negreanu ,
- Nadia Polikarpova ,
- Advait Sarkar ,
- Ben Zorn
IEEE Symposium on Visual Languages and Human-Centric Computing |
Published by IEEE | Organized by IEEE
Code-generating large language models (LLMs) are transforming programming. Their capability to generate multi-step solutions provides even non-programmers a mechanism to harness the power of programming. Non-programmers typically use spreadsheets to manage tabular data, as it offers an intuitive understanding of data manipulation and formula outcomes. Considering that LLMs can generate complex, potentially incorrect code, our focus is on enabling user trust in the accuracy of LLM-generated code.
We present ColDeco, the first end user inspection tool for comprehending code produced by large language models for tabular data tasks. ColDeco integrates two new features for inspection with a grid-based interface. First, users can decompose a generated solution into intermediate helper columns to understand how the problem is solved. Second, users can interact with a filtered table of summary rows, which highlight interesting cases in the program. We evaluate our tool using a within-subjects user study (n=24) where participants are asked to verify the correctness of programs generated by a language model.
We found that while all features are independently useful and intuitive, participants preferred them in combination. Users especially noted the usefulness of helper columns, but wanted more transparency in how summary rows are generated to assist with understanding and trusting them. Users also highlighted the application of ColDeco in collaborative settings for explaining and understanding existing formulas.