English

ViseGPT: Towards Better Alignment of LLM-generated Data Wrangling Scripts and User Prompts

Human-Computer Interaction 2025-08-05 v1

Abstract

Large language models (LLMs) enable the rapid generation of data wrangling scripts based on natural language instructions, but these scripts may not fully adhere to user-specified requirements, necessitating careful inspection and iterative refinement. Existing approaches primarily assist users in understanding script logic and spotting potential issues themselves, rather than providing direct validation of correctness. To enhance debugging efficiency and optimize the user experience, we develop ViseGPT, a tool that automatically extracts constraints from user prompts to generate comprehensive test cases for verifying script reliability. The test results are then transformed into a tailored Gantt chart, allowing users to intuitively assess alignment with semantic requirements and iteratively refine their scripts. Our design decisions are informed by a formative study (N=8) that explores user practices and challenges. We further evaluate the effectiveness and usability of ViseGPT through a user study (N=18). Results indicate that ViseGPT significantly improves debugging efficiency for LLM-generated data-wrangling scripts, enhances users' ability to detect and correct issues, and streamlines the workflow experience.

Keywords

Cite

@article{arxiv.2508.01279,
  title  = {ViseGPT: Towards Better Alignment of LLM-generated Data Wrangling Scripts and User Prompts},
  author = {Jiajun Zhu and Xinyu Cheng and Zhongsu Luo and Yunfan Zhou and Xinhuan Shu and Di Weng and Yingcai Wu},
  journal= {arXiv preprint arXiv:2508.01279},
  year   = {2025}
}

Comments

Accepted at Annual ACM Symposium on User Interface Software and Technology (UIST'25), September 28-October 1, 2025, Busan, Republic of Korea

R2 v1 2026-07-01T04:30:49.240Z