stgem: A software library to develop falsification and test generation tools for cyber-physical systems using generative models

Research output: Contribution to journalArticleScientificpeer-review

Abstract

We present stgem, a Python library for the development of black-box falsification and test generation tools for cyber-physical systems. stgem supports systems under test whose inputs and outputs can be modeled as signals over time and whose correctness requirements are expressed using signal temporal logic or any other method supporting a robustness runtime monitor. stgem has been designed specifically to develop and evaluate test generation methods based on generative machine learning models. We expect that stgem modular architecture facilitates the development of new test generation methods and their evaluation in many different benchmark problems. Until now, it has been used to develop three novel test generation algorithms based on generative adversarial networks, Wasserstein adversarial networks, and diffusion models. stgem has also been used to evaluate these methods in five research competitions.

Original languageEnglish
Article number103412
Number of pages10
JournalScience of Computer Programming
DOIs
Publication statusAccepted/In press - 9 Nov 2025
MoE publication typeA1 Journal article-refereed

Fingerprint

Dive into the research topics of 'stgem: A software library to develop falsification and test generation tools for cyber-physical systems using generative models'. Together they form a unique fingerprint.

Cite this