Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maswag/falcaun-arch-comp
Scripts for ARCH-COMP falsification track with FalCAuN
https://github.com/maswag/falcaun-arch-comp
automata-learning matlab search-based-software-testing simulink-toolbox test
Last synced: 15 days ago
JSON representation
Scripts for ARCH-COMP falsification track with FalCAuN
- Host: GitHub
- URL: https://github.com/maswag/falcaun-arch-comp
- Owner: MasWag
- License: mit
- Created: 2020-04-25T05:19:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-29T06:13:27.000Z (7 months ago)
- Last Synced: 2024-11-08T01:09:14.097Z (2 months ago)
- Topics: automata-learning, matlab, search-based-software-testing, simulink-toolbox, test
- Language: Shell
- Homepage:
- Size: 632 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
FalCAuN-ARCH-COMP
=================[![Build](https://github.com/MasWag/FalCAuN-ARCH-COMP/workflows/shellcheck/badge.svg)](https://github.com/MasWag/FalCAuN-ARCH-COMP/actions/workflows/shellcheck.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE)This repository contains the materials to execute [FalCAuN](https://github.com/MasWag/FalCAuN) with the benchmark for ARCH-COMP's [falsification](https://easychair.org/publications/paper/ps5t) track.
Note: the script in this repository requires the development version of FalCAuN (as of 2024-04-25), where we target scripting via Kotlin in addition to the original command line interface.
Requirements
------------To execute the scripts in this repository. You need to install [FalCAuN](https://github.com/MasWag/FalCAuN). As of 2024-04-25, the [`raw_simulink_model`](https://github.com/MasWag/FalCAuN/tree/raw_simulink_model) branch is required.
In addition to FalCAuN, you need to install the following tools.
- [MATLAB](https://www.mathworks.com/products/matlab.html) with Simulink and Stateflow. Some benchmarks require additional toolboxes.
- [kscript](https://github.com/kscripting/kscript)Usage
-----You can run the experiment by running the scripts, for example, `cd AT && ./AT1.main.kts`. Since the scripts are sensitive to the current directory, you need to run the scripts in the directory of the benchmark. You can also specify the number of repetitions, for example, `cd AT && ./AT1.main.kts 10`.
On the benchmarks
-----------------FalCAuN can handle the following benchmarks
- `AT`
- `AT1`
- `AT2`
- `AT6{a,b,c,abc}`
- `CC`
- `CC1`
- `CC2`
- `CC3`
- `CC4`
- `SC`
- `PM`Note on the unsupported benchmarks
----------------------------------### AFC (powertrain)
FalCAuN can execute the AFC model but for any requirements, it crashes due to stack overflow. This is because, in FalCAuN, `always_[11, 50]` is encoded to an LTL formulas with 50 nests of next operators, which is too large for its back-end model checker.
### AT (transmission)
FalCAuN can falsify AT1, AT2, and AT6{a,b,c,abc}. However, AT5{1,2,3,4} are infeasible because encoding of `ev_[0.001, 0.1]` is impossible or makes the LTL formula super huge (same as AFC).
### NN (neural)
Encoding of `always_[1.0, 37.0]` makes the LTL formula too large (same as AFC).
### WT
- WT1, WT2, WT3, WT4
### CC (Chasing Cars)
FalCAuN can falsify CC1, CC2, CC3, and CC4.
However, CC5 and CCx are infeasible because the STL formulas are encoded to huge LTL formulas (same reason as AFC).### F16 (f16-gcas)
FalCAuN cannot handle F16 benchmark because it is not a pure Simulink model but requires quite a lot of wrapper in MATLAB, which is currently not supported.
### sabo
FalCAuN cannot handle sabo benchmark because it is not a Simulink model but a model implemented in python. It is a future work to support such models.