arrow
Return

Helping Users Debug Trigger-Action Programs

delete2023-01-11
delete6
delete
OA
AI
L
Lefan Zhang *
C
Cyrus Zhou
Michael L. Littman cover
Michael L. Littman (Michael L. Littman)
B
Blase Ur
S
Shan Lu
DOI:10.1145/3569506delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Trigger-action programming (TAP) empowers a wide array of users to automate Internet of Things (IoT) devices. However, it can be challenging for users to create completely correct trigger-action programs (TAPs) on the first try, necessitating debugging. While TAP has received substantial research attention, TAP debugging has not. In this paper, we present the first empirical study of users' end-to-end TAP debugging process, focusing on obstacles users face in debugging TAPs and how well users ultimately fix incorrect automations. To enable this study, we added TAP capabilities to an existing 3-D smart home simulator. Thirty remote participants spent a total of 84 hours debugging TAPs using this simulator. Without additional support, participants were often unable to fix buggy TAPs due to a series of obstacles we document. However, we also found that two novel tools we developed helped participants overcome many of these obstacles and more successfully debug TAPs. These tools collect either implicit or explicit feedback from users about automations that should or should not have happened in the past, using a SAT-solving-based algorithm we developed to automatically modify the TAPs to account for this feedback.
Keywords:
Trigger-action programming
end-user programming
end-user debugging
smart environment
symbolic reasoning
IoT
Internet of Things
IFTTT
Trace2TAP: Synthesizing Trigger-Action Programs from Traces of Behavior
err2020-09-04
err18
errOAAI
errZhang, Lefan; He, Weijia; Morkved, Olivia; Zhao, Valerie; Littman, Michael L.; Lu, Shan; Ur, Blase
errShare
errSave
Supporting end-user debugging of trigger-action rules for IoT applications
err2019-03-01
err41
PREAI
errManca, Marco; Fabio, Paterno; Santoro, Carmen; Corcella, Luca
errShare
errSave
Why-Oriented End-User Debugging of Naive Bayes Text Classification
err2011-10-31
err43
errOAAI
errKulesza, Todd; Stumpf, Simone; Wong, Weng-Keen; Burnett, Margaret M.; Perona, Stephen; Ko, Amy J.; Oberst, Ian
errShare
errSave
Understanding In-Situ Programming for Smart Home Automation
err2023-06-12
err7
errOAAI
errLiu, Xiaoyi; Shi, Yingtian; Yu, Chun; Gao, Cheng; Yang, Tianao; Liang, Chen; Shi, Yuanchun
errShare
errSave
Fix the leaking tap: A survey of Trigger-Action Programming (TAP) security issues, detection techniques and solutions
err2022-09-01
err6
PREAI
errChen, Xuyang; Zhang, Xiaolu; Elliot, Michael; Wang, Xiaoyin; Wang, Feng
errShare
errSave
errShare
errSave

Journal

P
Proceedings of the ACM on Interactive Mobile Wearable and Ubiquitous Technologies
IF:
4.5
Papers:
1.1K
Citations:
8.5K

Organization

B
brown university
Scholars:
1.6K
Papers: 634
Citations: 1.8W
U
university of chicago
Scholars:
3.2K
Papers: 1.2K
Citations: 3.1W
Cited Papers

Cited Papers

OWL 2: The next step for OWL
err2008-11-01
err0
PREAI
errBernardo Cuenca Grau; Ian Horrocks; Boris Motik; Bijan Parsia; Peter Patel-Schneider; Ulrike Sattler
errShare
errSave
Whisker and Nose Tactile Sense Guide Rat Behavior in a Skilled Reaching Task
err2018-02-21
err0
errOAAI
errPierantonio Parmiani; Cristina Lucchetti; Gianfranco Franchi
errShare
errSave
errShare
errSave
North Atlantic Craton architecture revealed by kimberlite-hosted crustal zircons
err2020-03-01
err0
errOAAI
errNicholas J. Gardiner; Christopher L. Kirkland; Julie A. Hollis; Peter A. Cawood; Oliver Nebel; Kristoffer Szilas; Chris Yakymchuk
errShare
errSave
Trace2TAP: Synthesizing Trigger-Action Programs from Traces of Behavior
err2020-09-04
err18
errOAAI
errZhang, Lefan; He, Weijia; Morkved, Olivia; Zhao, Valerie; Littman, Michael L.; Lu, Shan; Ur, Blase
errShare
errSave
researcher View more