Skip to content

ERATOMMSD/MCTS-Falsification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This tool is based on Breach (https://github.com/decyphir/breach).

Quickstart

Requirements:

Matlab can be called from commandline. (Add Matlab path to the system PATH). Python 2.7.

Install and Run:

  1. Install Breach following https://github.com/decyphir/breach;

  2. set environment variable 'FALHOME=[path]', [path] is the tool path, e.g., /home/zhenya/FalSTAR/ (note: ending with '/' !!);

  3. set environment variable 'BRHOME=[path]', [path] is breach's path.

  4. put Simulink model at src/model. The model is required to be a successfully compiled one;

  5. write a configuration file following Configuration section below and put it (not necessarily) in src/test/config.

  6. cd src/test, run 'python generate_benchmark.py [configuration file]'

  7. cd src/benchmarks, run 'chmod 744 *'

  8. cd ., run 'make'

  9. cd results/, run 'python analyze_pre.py' to formalize the results.

Output:

Table in .csv, including filename, property, algorithm, optimization solver, control points, hyper-parameters falsification result, time consumption, (falsified during preprocessing and time, falsified after preprocessing and time).

Configuration:

format is like: " block1 block2 ... "

(note: no empty lines between blocks)

blocki's format is like:

" [string] [int] [stringlist] "

[string] is one of the followings:

model|algorithm|addpath|loadfile|input_name|input_range|optimization|phi|controlpoints|scalar|partitions|T_playout|N_max|parameters|timespan|T

and the number of lines of [stringlist] is equal to [int].

(Some examples are already in the folder.)

ARCH friendly competition

  1. Results are in ./experiment
  2. Experiments ran Breach version 1.2.9 and MATLAB R2017b on an Amazon EC2 c4.large instance (2.9 GHz Intel Xeon E5-2666, 2 virtual CPU cores, 4 GB main memory), no parallel.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published