Towards Understanding Human Mistakes of Programming by Example

Tak Yeon Lee, Casey Dugan and Benjamin B. Bederson

Abstract

Programming-by-Example (PBE) enables users to create programs without writing a line of code. However, there is little research on people's ability to accomplish complex tasks by providing examples, which is the key to successful PBE solutions. This paper presents an online user study, which reports observations on how well people decompose complex tasks, and disambiguate sub-tasks. Our findings suggest that disambiguation and decomposition are difficult for inexperienced users. We identify seven types of mistakes made, and suggest new opportunities for actionable feedback based on unsuccessful examples, with design implications for future PBE systems.

Venue
IUI 2017
Volume
Proceedings of the 22nd International Conference on Intelligent User Interfaces
DOI
10.1145/3025171.3025203
PDF
https://dl.acm.org/doi/pdf/10.1145/3025171.3025203
Anthology ID
2017.iui.32

Cite

@inproceedings{lee-etal-2017-understanding,
    title = {{Towards Understanding Human Mistakes of Programming by Example}},
    author = {Tak Yeon Lee and Casey Dugan and Benjamin B. Bederson},
    booktitle = {Proceedings of the 22nd International Conference on Intelligent User Interfaces},
    isbn = {9781450343480},
    year = {2017},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3025171.3025203},
    url = {https://doi.org/10.1145/3025171.3025203},
    abstract = {Programming-by-Example (PBE) enables users to create programs without writing a line of code. However, there is little research on people's ability to accomplish complex tasks by providing examples, which is the key to successful PBE solutions. This paper presents an online user study, which reports observations on how well people decompose complex tasks, and disambiguate sub-tasks. Our findings suggest that disambiguation and decomposition are difficult for inexperienced users. We identify seven types of mistakes made, and suggest new opportunities for actionable feedback based on unsuccessful examples, with design implications for future PBE systems.}
}