How Users Interpret Bugs in Trigger-Action Programming
Abstract
Trigger-action programming (TAP) is a programming model enabling users to connect services and devices by writing if-then rules. As such systems are deployed in increasingly complex scenarios, users must be able to identify programming bugs and reason about how to fix them. We first systematize the temporal paradigms through which TAP systems could express rules. We then identify ten classes of TAP programming bugs related to control flow, timing, and inaccurate user expectations. We report on a 153-participant online study where participants were assigned to a temporal paradigm and shown a series of pre-written TAP rules. Half of the rules exhibited bugs from our ten bug classes. For most of the bug classes, we found that the presence of a bug made it harder for participants to correctly predict the behavior of the rule. Our findings suggest directions for better supporting end-user programmers.
- Venue
- CHI 2019
- Volume
- Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3290605.3300782
- https://dl.acm.org/doi/pdf/10.1145/3290605.3300782
- Anthology ID
2019.chi.550
Cite
@inproceedings{brackenbury-etal-2019-users,
title = {{How Users Interpret Bugs in Trigger-Action Programming}},
author = {Will Brackenbury and Abhimanyu Deora and Jillian Ritchey and Jason Vallee and Weijia He and Guan Wang and Michael L. Littman and Blase Ur},
booktitle = {Proceedings of the 2019 CHI Conference on Human Factors in Computing Systems},
isbn = {9781450359702},
year = {2019},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3290605.3300782},
url = {https://doi.org/10.1145/3290605.3300782},
abstract = {Trigger-action programming (TAP) is a programming model enabling users to connect services and devices by writing if-then rules. As such systems are deployed in increasingly complex scenarios, users must be able to identify programming bugs and reason about how to fix them. We first systematize the temporal paradigms through which TAP systems could express rules. We then identify ten classes of TAP programming bugs related to control flow, timing, and inaccurate user expectations. We report on a 153-participant online study where participants were assigned to a temporal paradigm and shown a series of pre-written TAP rules. Half of the rules exhibited bugs from our ten bug classes. For most of the bug classes, we found that the presence of a bug made it harder for participants to correctly predict the behavior of the rule. Our findings suggest directions for better supporting end-user programmers.}
}