Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists
Open accessThe DOI matches its Crossref record; 1 of the 1 references it cites were found in a registry or an index.
Abstract
Data wrangling is a difficult and time-consuming activity in computational notebooks, and existing wrangling tools do not fit the exploratory workflow for data scientists in these environments. We propose a unified interaction model based on programming-by-example that generates readable code for a variety of useful data transformations, implemented as a Jupyter notebook extension called Wrex. User study results demonstrate that data scientists are significantly more effective and efficient at data wrangling with Wrex over manual programming. Qualitative participant feedback indicates that Wrex was useful and reduced barriers in having to recall or look up the usage of various data transform functions. The synthesized code allowed data scientists to verify the intended data transformation, increased their trust and confidence in Wrex, and fit seamlessly within their cell-based notebook workflows. This work suggests that presenting readable code to professional data scientists is an indispensable component of offering data wrangling tools in notebooks.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Automating string processing in spreadsheets using input-output examples
Gulwani, S. (2011) · ACM SIGPLAN Notices · doi:10.1145/1925844.1926423 · Cited by 581
Self-citation
Research works printed but not linked: 34
- Apache. 2019. Zeppelin. (2019). https://zeppelin.apache.org/
- Carbide. 2019. Carbide Alpha. (2019). https://alpha.trycarbide.com/
- 10.1145/3242587.3242661 · DOI · Paper page
- Tamraparni Dasu and Theodore Johnson. 2003. Exploratory Data Mining and Data Cleaning (1 ed.). DOI: http://dx.doi.org/10.1002/0471448354 · DOI · Paper page
- 10.1109/VLHCC.2015.7357208 · doi:10.1109/vlhcc.2015.7357208
- 10.1145/3062341.3062351 · DOI · Paper page
- Google. 2019. OpenRefne. (2019). https://openrefine.org/
- 10.1145/1926385.1926423 · DOI · Paper page
- 10.1109/SYNASC.2012.69 · DOI
- 10.1145/2240236.2240260 · DOI · Paper page
- 10.1145/2588555.2612177 · DOI · Paper page
- Sumit Gulwani, Kunal Pathak, Arjun Radhakrishna, Ashish Tiwari, and Abhishek Udupa. 2019. Quantitative Programming by Examples. arXiv e-prints (Sep. 2019), arXiv:1909.05964. · arXiv
- 10.1145/2047196.2047205 · DOI · Paper page
- 10.1145/1993498.1993536 · DOI
- 10.1145/3183713.3193539 · DOI
- Jetbrains. 2019. Datalore. (2019). https://datalore.io/
- 10.1145/3035918.3064034 · DOI
- Jupyter. 2019. Jupyter Notebook. (2019). https://jupyter.org/
- 10.1145/2939502.2939514 · DOI
- 10.1177/1473871611415994 · DOI · Paper page
- 10.1145/1978942.1979444 · DOI · Paper page
- 10.1109/TVCG.2012.219 · DOI · Paper page
- 10.1145/3173574.3173748 · DOI · Paper page
- 10.3233/978--1--61499--649--1--87 · doi:10.3233/978--1--61499--649--1--87
- 10.14778/3229863.3240493 · DOI
- 10.1145/2594291.2594333 · DOI · Paper page
- Mozilla. 2019. Iodide. (2019). https://alpha.iodide.io/
- Observable. 2019. Observable. (2019). https://observablehq.com/
- 10.14778/2212351.2212356 · DOI · Paper page
- Rishabh Singh and Sumit Gulwani. 2012b. Synthesizing Number Transformations from Input-Output Examples. In Computer Aided Verification. 634--651. DOI: http://dx.doi.org/10.1007/978--3--642--31424--7_44 · doi:10.1007/978--3--642--31424--7_44
- Trifacta. 2019. Wrangler. (2019). https://www.trifacta.com/products/wrangler-editions/
- 10.1145/3187009.3177735 · DOI
- 10.1145/2501988.2502040 · DOI
- 10.1145/3126594.3126663 · DOI
Cited by
Grounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2023) · Proceedings of the ACM on Programming Languages · doi:10.1145/3586030 · Cited by 436
Ironies of Generative AI: Understanding and Mitigating Productivity Loss in Human-AI Interaction
Simkute, A., Tankelevitch, L., Kewenig, V., Scott, A. E., Sellen, A., & Rintel, S. (2024) · International Journal of Human–Computer Interaction · doi:10.1080/10447318.2024.2405782 · Cited by 89
“Similarly, in data science, users report feeling out of control when unable to understand AI-generated suggestions (Mcnutt et al., 2023) and highlight readability “as being a critical feature of usable synthesized code” (Drosos et al., 2020).”
Better Together? An Evaluation of AI-Supported Code Translation
Weisz, J. D., Muller, M., Ross, S. I., Martinez, F., Houde, S., Agarwal, M., Talamadupula, K., & Richards, J. T. (2022) · 27th International Conference on Intelligent User Interfaces · doi:10.1145/3490099.3511157 · Cited by 69
Exploring the Learnability of Program Synthesizers by Novice Programmers
Jayagopal, D., Lubin, J., & Chasins, S. E. (2022) · Proceedings of the 35th Annual ACM Symposium on User Interface Software and Technology · doi:10.1145/3526113.3545659 · Cited by 40
“Synthesis approaches are now sufciently mature that we are seeing them adopted within HCI [8, 13, 26, 31, 40, 47, 66, 70] and integrated into mainstream products [19, 50, 60, 73].”
BackgroundGrounded Copilot: How Programmers Interact with Code-Generating Models
Barke, S., James, M. B., & Polikarpova, N. (2022) · arXiv · doi:10.48550/arxiv.2206.15000 · Cited by 23
“…of these usability studies are for domain-specific synthesizers targeting API navigation [James et al. 2020], regular expressions [Zhang et al. 2021, 2020], web scraping [Chasins et al. 2018], or data querying, wrangling, and visualization [Drosos et al. 2020; Wang et al. 2021; Zhou et al. 2022].”
Background
Metadata
- Authors
- Drosos, I., Barik, T., Guo, P. J., DeLine, R., & Gulwani, S.
- Venue
- Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems
- Publisher
- ACM
- Published
- 2020-04-21
- Pages
- 1-12
- OpenAlex
- W3011590361
- Cited by
- 107
- References
- 1
- FWCI
- 13.75
- Type
- conference paper
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists. https://app.cochat.ai/papers/10.1145/3313831.3376442
- The paper
- Drosos, I., Barik, T., Guo, P. J., DeLine, R., & Gulwani, S. (2020). Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists. Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems. https://doi.org/10.1145/3313831.3376442
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.