Title :
CPSGrader: Synthesizing temporal logic testers for auto-grading an embedded systems laboratory
Author :
Juniwal, Garvit ; Donze, Alexandre ; Jensen, Jeff C. ; Seshia, Sanjit A.
Abstract :
We consider the problem of designing an automatic grader for a laboratory in the area of cyber-physical systems. The goal of this laboratory is to program a robot for specified navigation tasks. Given a candidate student solution (control program for the robot), our grader first checks whether the robot performs the task correctly under a representative set of environment conditions. If it does not, the grader automatically generates feedback hinting at possible errors in the program. The auto-grader is based on a novel notion of constrained parameterized tests based on signal temporal logic (STL) that capture symptoms pointing to success or causes of failure in traces obtained from a realistic simulator. We define and solve the problem of synthesizing constraints on a parameterized test such that it is consistent with a set of reference solutions with and without the desired symptom. The usefulness of our grader is demonstrated using a large data set obtained from an on-campus laboratory-based course at UC Berkeley.
Keywords :
courseware; educational courses; embedded systems; robot programming; temporal logic; CPSGrader; UC Berkeley; auto-grading; automatic feedback hinting generation; automatic grader; constrained parameterized tests; cyber-physical systems; embedded system laboratory; navigation tasks; on-campus laboratory-based course; realistic simulator; robot programming; signal temporal STL logic; temporal logic testers; Collision avoidance; Cost accounting; Laboratories; Robot kinematics; Robot sensing systems;
Conference_Titel :
Embedded Software (EMSOFT), 2014 International Conference on
Conference_Location :
Jaypee Greens
DOI :
10.1145/2656045.2656053