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

Human-LLM CollaborationExplainable AI (XAI)Interactive Data VisualizationSoftware Engineers & DevelopersHCI Researchers

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.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/uist/206994/2025

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3746059.3747689
At a Glance

Paper Snapshot

fact_check
dataset
Source
UIST
calendar_month
Year
2025
emoji_events
Award
No award tagged
group
Authors
7 authors
sell
Subtopics
Human-LLM Collaboration, Explainable AI (XAI), Interactive Data Visualization
work
Professions
Software Engineers & Developers, HCI Researchers
article
Content Status
Abstract only
hub
Related Papers
7 related papers