This folder contains 2 benchmarks strprose and strstun. Example files need to be generated before running the evaluation.
- Run
python3 generate_examples_strstun.pyto generate all examples for StrSTUN. - Use
python3 generate_examples_strprose.pyto generate all examples for StrPROSE.
After those commands succeed, please proceed to the next step in Evaluation.md.
More details about the benchmarks is listed below.
strproseThe benchmark for theStrPROSEandSynGuar-PROSE(SynGuarparameterized byStrPROSE).strstunThe benchmark for theStrSTUNandSynGuar-STUN(SynGuarparameterized byStrSTUN).generate_examples_strprose.pyThe script to generate example files forstrprosebenchmark.generate_examples_strstun.pyThe script to generate example files forstrstunbenchmark.__manual_preprocessingInformation about the original SyGuS benchmark and the format transformation.
- random seeds file for StrPROSE:
benchmark/strprose/example_files/seeds.txt - random seeds file for StrSTUN:
benchmark/strstun/example_files/seeds.txt
-
Generate example file For
StrSTUNUse
generate_examples_strstun_onefile.py.It is used in the following way:
python3 ./benchmark/generate_examples_strstun_onefile.py --out_file <output_path> <max_sample_size> <example_file> <target_program_file> <random_seed>For example:
python3 ./benchmark/generate_examples_strstun_onefile.py --out_file ./benchmark/strstun/example_files/2171308.seed0.eg.txt 1000 ./benchmark/strstun/targets/2171308.sl.eg.txt benchmark/strstun/targets/2171308.sl.manual.strec 0 -
Generate example file for
StrPROSEThe example generation is a built-in functionality of the
StrPROSEsynthesizer. See Details-StrPROSE.md for details.