A collection of useful tools to running FATE tests and :file_folder:examples.
install
pip install -e python/fate_test
# edit priority config file with system default editor
# filling some field according to comments
fate_test config edit
configure FATE-Pipeline and FATE-Flow Commandline server setting
# configure FATE-Pipeline server setting
pipeline init --port 9380 --ip 127.0.0.1
# configure FATE-Flow Commandline server setting
flow init --port 9380 --ip 127.0.0.1
fate_test suite -i <path contains *testsuite.json>
run some fate_test benchmark
fate_test benchmark-quality -i <path contains *benchmark.json>
fate_test suite -i <path contains *testsuite.json>
data: used for upload, delete, and generate dataset
upload/delete data command:
fate_test data [upload|delete] -i <path1 contains *testsuite.json | *benchmark.json>
fate_test data upload -t min_test
fate_test data upload -t all_examples
fate_test data generate -i <path1 contains *testsuite.json | *benchmark.json>
fate_test bq -i <path contains *benchmark.json>
fate_test data generate -i <path contains *benchmark.json> -ng 10000 -fg 10 -fh 10 -m 1.0 --upload-data
fate_test performance -i <path contains *benchmark.json> --skip-data
fate_test op-test paillier
fate_test op-test spdz
fate_test convert pipeline-to-dsl -i ${your pipeline file}
fate_test convert pipeline-testsuite-to-dsl-testsuite -i {your pipeline testsuite folder}