Skip to main content

System Testing Using Generative Models

Project description

stgem: System Testing Using Generative Models

stgem API Version 2

stgem is a tool for runtime verification of cyber-physical systems. It supports falsification of requirements described in Signal Temporal Logic (STL) using robustness semantics. This is achieved by training a generative machine learning model online to produce system inputs that yield a low robustness.

stgem is under development, and we are adding new algorithms and features. So far, the tool implements the algorithms presented in the following articles.

  • J. Peltomäki, I. Porres. Requirement falsification for cyber-physical systems using generative models. Autom. Softw. Eng 32(33) (2025). DOI, Preprint. The code specific for this paper is available here.

  • J. Peltomäki, I. Porres. Learning test generators for cyber-physical systems (2024), submitted. Preprint

  • T. Khandait, F. Formica, P. Arcaini, S. Chotaliya, G. Fainekos, A. Hekal, A. Kundu, E. Lew, M. Loreti, C. Menghi, L. Nenzi, G. Pedrielli, J. Peltomäki, I. Porres, R. Ray, V. Soloviev, E. Visconti, M. Waga, Z. Zhang. ARCH-COMP 2024 category report: Falsification. Proceedings of 11th International Workshop on Applied Verification of Continuous and Hybrid Systems, ARCH24. EPiC Series in Computing, Vol. 103, 122-144 (2024). DOI. The code specific for this paper is available here.

  • J. Winsten, V. Soloviev, J. Peltomäki, I. Porres. Adaptive test generation for unmanned aerial vehicles using WOGAN-UAV. The 17th Intl. Workshop on Search-Based and Fuzz Testing, SBFT 2024 (2024). DOI. The code specific for this paper is available here.

  • J. Peltomäki, J. Winsten, M. Methais, I. Porres. Testing cyber-physical systems with explicit output coverage. Proceedings of International Conference on Software Testing, Verification and Validation Workshops, ICSTW 2024 (2024). DOI. The code specific for this paper is available here.

  • C. Menghi, P. Arcaini, W. Baptista, G. Ernst, G. Fainekos, F. Formica, S. Gon, T. Khandait, A. Kundu, G. Pedrielli, J. Peltomäki, I. Porres, R. Ray, M. Waga, Z. Zhang. ARCH-COMP 2023 category report: Falsification. Proceedings of 10th International Workshop on Applied Verification of Continuous and Hybrid Systems, ARCH23. EPiC Series in Computing, Vol. 96, 151-169 (2023). DOI. The code specific for this paper is available here.

  • J. Winsten, I. Porres. WOGAN at the SBFT 2023 tool competition - Cyber-physical systems track. The 16th Intl. Workshop on Search-Based and Fuzz Testing, SBFT 2023 (2023). DOI, Preprint.

  • J. Peltomäki, F. Spencer, I. Porres. Wasserstein generative adversarial networks for online test generation for cyber physical systems. The 15th Intl. Workshop on Search-Based Software Testing, SBST 2022 (2022). DOI, Preprint.

  • J. Peltomäki, F. Spencer, I. Porres. WOGAN at the SBST 2022 CPS tool competition. The 15th Intl. Workshop on Search-Based Software Testing, SBST 2022 (2022). DOI, Preprint.

  • J. Peltomäki, I. Porres. Falsification of multiple requirements for cyber-physical systems using online generative adversarial networks and multi-armed bandits. The 6th. Intl. Workshop on Testing Extra-Functional Properties and Quality Characteristics of Software Systems, ITEQS 2022 (2022). DOI, Preprint.

Read the CONTRIBUTING.md file to learn how to set up stgem.

stgem is developed at Åbo Akademi University. Contact Ivan Porres ivan.porres@abo.fi for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stgem-2.0.0.tar.gz (103.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stgem-2.0.0-py3-none-any.whl (111.0 kB view details)

Uploaded Python 3

File details

Details for the file stgem-2.0.0.tar.gz.

File metadata

  • Download URL: stgem-2.0.0.tar.gz
  • Upload date:
  • Size: 103.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for stgem-2.0.0.tar.gz
Algorithm Hash digest
SHA256 9cc8b9b22f682674d1df067ce8dfa4b39025e529e0aff088baf28a379895bddb
MD5 368b1da4feb80e30862fdfc0db972ae2
BLAKE2b-256 b993c66a07bc79cd0e9c4748dfe95bb9c39058b2c7451412b0082ede00d0ba73

See more details on using hashes here.

File details

Details for the file stgem-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: stgem-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 111.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.10

File hashes

Hashes for stgem-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca9364a2b2aa253f973a79c20c64fc3222024abf8c7ad0661ab0c9ebef68dee0
MD5 2434e0edb1db157f4cb4c0be522abe77
BLAKE2b-256 64edc5571237b9b84232ed195c0d31da4b6b5c5028f13dea5da22b33468c5a4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page