[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-654538-105":59,"doc-detail-654538-en":130,"doc-similar-654538":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","an-exploratory-study-of-ml-sketches-and-visual-code-assistants","An Exploratory Study of ML Sketches and Visual Code Assistants","","This paper explores how Visual Code Assistants can be integrated into IDEs to turn software whiteboard sketches into executable code. It addresses a gap in sketch-based code generation by building a first in-IDE prototype and collecting feedback from 19 data scientists. The study analyzes common sketch components used during ML workflow development, uses an LLM-to-judge setup to evaluate code quality from sketch inputs, and reports a positive correlation between sketch time and code quality. Extensive interviews assess usefulness and likely use cases.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/an-exploratory-study-of-ml-sketches-and-visual-code-assistants/654538/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/an-exploratory-study-of-ml-sketches-and-visual-code-assistants/654538.png","ImageObject",300,407,{"name":92,"@type":93},"Malam Tenang","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does the paper address about using sketches for code generation?","Question",{"text":112,"@type":113},"It targets the limited methods for directly using structure-capturing sketches to generate code, especially within IDE workflows, by leveraging visually-equipped large language models.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How was the Visual Code Assistant prototype evaluated in the study?",{"text":117,"@type":113},"A user study with 19 data scientists followed a two-part sketching-and-programming protocol. Sketches were converted into an initial Python notebook, then participants edited to reach final solutions.",{"name":119,"@type":110,"acceptedAnswer":120},"What sketch patterns and code-quality effects did the authors observe?",{"text":121,"@type":113},"The analysis shows diagrams were the most common organizational component, often paired with lists and numbered points. The LLM-as-judge evaluation indicates even brief sketching can produce useful code outlines, and sketch time positively correlates with code quality.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},654538,1793097443,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":41,"preview_page_count":19,"preview_urls":145},962093532863,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","An Exploratory Study of ML Sketches and Visual  \nCode Assistants  \nLu´ıs F. Gomes  \nSoftware and Societal Systems Dept. Carnegie Mellon University Pittsburgh, USA[lfgomes@andrew.cmu.edu](lfgomes@andrew.cmu.edu)  \nVincent J. Hellendoorn  \nSoftware and Societal Systems Dept. Carnegie Mellon University Pittsburgh, USA [vhellendoorn@cmu.edu](vhellendoorn@cmu.edu)  \narXiv :2412 . 13386v1 [ cs . SE] 17 Dec 2024  \nJonathan Aldrich  \nSoftware and Societal Systems Dept. Carnegie Mellon University Pittsburgh, USA [jonathan.aldrich@cs.cmu.edu](jonathan.aldrich@cs.cmu.edu)  \nRui Abreu  \nINESC-ID  \nFaculty of Engineering, University of Porto Porto, Portugal [rui@computer.org](rui@computer.org)  \nAbstract—This paper explores the integration of Visual Code Assistants in Integrated Development Environments (IDEs). In Software Engineering, whiteboard sketching is often the initial step before coding, serving as a crucial collaboration tool for developers. Previous studies have investigated patterns in SE sketches and how they are used in practice, yet methods for directly using these sketches for code generation remain limited. The emergence of visually-equipped large language models presents an opportunity to bridge this gap, which is the focus of our research. In this paper, we built a first prototype of a Visual Code Assistant to get user feedback regarding in-IDE sketch-to-code tools. We conduct an experiment with 19 data scientists, most of whom regularly sketch as part of their job. We investigate developers’ mental models by analyzing patterns commonly observed in their sketches when developing an ML workflow. Analysis indicates that diagrams were the preferred organizational component (52.6%), often accompanied by lists (42.1%) and numbered points (36.8%). Our tool converts their sketches into a Python notebook by querying an LLM. We use an LLM-as-judge setup to score the quality of the generated code, finding that even brief sketching can effectively generate useful code outlines. We also find a positive correlation between sketch time and the quality of the generated code. We conclude the study by conducting extensive interviews to assess the tool’s usefulness, explore potential use cases, and understand developers’ needs. As noted by participants, promising applications for these assistants include education, prototyping, and collaborative settings. Our findings signal promise for the next generation of Code Assistants to integrate visual information, both to improve code generation and to better leverage developers’ existing sketching practices.  \nIndex Terms—AI4SE, Code generation, Visual programming, Sketching, Machine learning, Tool development, Human-AI Interaction  \nI. INTRODUCTION  \nA. Motivation  \nDeveloping software is a collaborative process that relies on the collective creativity and problem-solving skills of a team [1] . It often begins with brainstorming sessions where developers gather around a whiteboard to sketch out initial ideas and concepts [2] . This collaborative sketching helps in  \naligning everyone’s understanding, creating a more solid foundation for the subsequent stages of development. Developers also use sketches as a form of planning their own code [3], [4], communicating and expressing their mental models through sketches, as in the typical whiteboard meetings [5] . Drawings and diagrams thus serve as visual aids to express and refinemental models of the code structure [6] .  \nThis ties into a recent development in Artifical Intelligence research: Large Language Models (LLMs) have evolved towards multi-modality, which includes strong vision capabilities [7],[8] . While the use of natural language to generate code (text-to-code) is already widespread and a common focus of research with many Code LLMs being developed [9]–[11], using image-to-code techniques has almost exclusively been explored for tasks such as front-end development [12] where the sketch directly captures the visual layout that the code ","cbCaifHTE7nCqhqU","https://ap.wps.com/l/cbCaifHTE7nCqhqU","pdf",5106956,12,"English","# Introduction\n## Motivation\n## Contributions","[{\"question\":\"What problem does the paper address about using sketches for code generation?\",\"answer\":\"It targets the limited methods for directly using structure-capturing sketches to generate code, especially within IDE workflows, by leveraging visually-equipped large language models.\"},{\"question\":\"How was the Visual Code Assistant prototype evaluated in the study?\",\"answer\":\"A user study with 19 data scientists followed a two-part sketching-and-programming protocol. Sketches were converted into an initial Python notebook, then participants edited to reach final solutions.\"},{\"question\":\"What sketch patterns and code-quality effects did the authors observe?\",\"answer\":\"The analysis shows diagrams were the most common organizational component, often paired with lists and numbered points. The LLM-as-judge evaluation indicates even brief sketching can produce useful code outlines, and sketch time positively correlates with code quality.\"}]","An Exploratory Study of ML Sketches and Visual Code Assistants | PDF",1792924745,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e723f8b4c4534ef3ca3eaf8f4d2400ae.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/51529303d3f46b21bbefac8b44b2f569.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8fa3c5d01d020ca99cf95731bba550d9.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ec4ec032048e7366e311f4047e735086.webp",980,1268,{"list":163,"token":66},[164,171,177,184,190,197,203,209,215,221],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":40,"create_tm":170},86220,"From GUI Tests to Conversational Interaction: A New Perspective on App-Specific Voice Assistants","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809390303/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=ZqSeI5cV85TJOKPK2IEOKcixIAI%3D","from-gui-tests-to-conversational-interaction-a-new-perspective-on-app-specific-voice-assistants",22,1784209575,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":44,"category_name":40,"create_tm":176},496409,"How Do Analysts Understand and Verify AI-Assisted Data Analyses","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929469689/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=UD6%2FPuBqg1tcciI78lNITe7S%2BJo%3D","how-do-analysts-understand-and-verify-ai-assisted-data-analyses",1790931799,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":40,"create_tm":183},121051,"Building Sketch-to-Sound Mapping - with Unsupervised Feature Extraction and Interactive Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835255167/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=q6UrD%2BR18oT7mw0EmZd8AB%2FEabI%3D","building-sketch-to-sound-mapping-with-unsupervised-feature-extraction-and-interactive-machine-learning",18,1785733499,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":52,"category_name":40,"create_tm":189},655717,"CAS2UML - A Handwritten Sketch-to-PlantUML Dataset for Class and Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288422/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=9xDi%2BWQnXdFdfs%2BzajMqMhhb5hU%3D","cas2uml-a-handwritten-sketch-to-plantuml-dataset-for-class-and-activity-diagrams",1792963461,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":40,"create_tm":196},82385,"Balancing Usefulness and Naturalness An LLM-based Curation Pipeline for Code Review Comments","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808737611/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=yXhTQhi%2FAhzvGpooXMJTinbpjK0%3D","balancing-usefulness-and-naturalness-an-llm-based-curation-pipeline-for-code-review-comments",26,1784180066,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":52,"category_name":40,"create_tm":202},502077,"Talk2Traffic - Interactive and Editable Traffic Scenario Generation for Autonomous Driving with Multimodal Large Language Model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229931449546/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=nho6%2B6NRGCfa2EP2%2Bwa6xSMysXk%3D","talk2traffic-interactive-and-editable-traffic-scenario-generation-for-autonomous-driving-with-multimodal-large-language-model",1791028588,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":81,"category_name":40,"create_tm":208},672882,"Prompt2DAG - A Modular Methodology for LLM-Based Data Enrichment Pipeline Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990162413/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=45C0G1TkB8kz0Mrk812uTc6X%2Bto%3D","prompt2dag-a-modular-methodology-for-llm-based-data-enrichment-pipeline-generation",1793611880,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":195,"category_name":40,"create_tm":214},82225,"Evaluating Semantic and Quality-Aware Retrieval for Source Code Repositories","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808678557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=SutuN8rQgn4hHdev0XeE7Fp1dOQ%3D","evaluating-semantic-and-quality-aware-retrieval-for-source-code-repositories",1784178962,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":39,"category_name":40,"create_tm":220},655815,"SketchAgent - Generating Structured Diagrams from Hand-Drawn Sketches","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974778109/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=qjGpIrAdcoc5fhMJRytwlcQekNM%3D","sketchagent-generating-structured-diagrams-from-hand-drawn-sketches",1792964061,{"doc_id":222,"doc_title":217,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":34,"category_name":40,"create_tm":225},655890,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974779713/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796169719&Signature=YvvKMFN61rhpUZgheKIUs87gVIo%3D","sketchagent-generating-structured-diagrams-from-hand-drawn-sketches-655890",1792964615]