Report Open Access

Quality Metrics and Oracles for Autonomous Vehicles Testing

Gunel Jahangirova; Andrea Stocco; Paolo Tonella

The race for deploying AI-enabled autonomous vehicles (AVs) on public roads is based on the promise that such self-driving cars will be as safe as or safer than human drivers. Numerous techniques have been proposed to test AVs, which however lack oracle definitions that account for the quality of driving, due to the lack of a commonly used set of metrics.

Towards filling this gap, we first performed a systematic analysis of the literature concerning the assessment of the quality of driving of human drivers and extracted 126 metrics. Then, we measured the correlation between such metrics and the human perception of driving quality when AVs are driving. Lastly, we performed a study based on mutation analysis to assess whether the 26 metrics that best capture the quality of AV driving according to the human study can be used as functional oracles. Our results, targeting the Udacity platform, indicate that our automated oracles can kill a high proportion of mutants at a zero or very low false alarm rate, and therefore can be used as effective functional oracles for the quality of driving of AVs.

Files (662.1 kB)
Name Size
662.1 kB Download
All versions This version
Views 3030
Downloads 5353
Data volume 35.1 MB35.1 MB
Unique views 2929
Unique downloads 4949


Cite as