-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_tests.sh
executable file
·35 lines (23 loc) · 1.08 KB
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#! /bin/bash
pip3 install . > /dev/null
mv byudml tmp_byudml
python3 submission/primitive_jsons/generate_primitive_jsons.py
mkdir /static
python3 -m d3m primitive download -p d3m.primitives.schema_discovery.profiler.BYU -o /static
python3 submission/pipelines/generate_pipelines.py
predictions_path=./38_sick_predictions.csv
pipeline_run_path=./38_sick_pipeline_run.yml
python3 -m d3m runtime --volumes /static fit-produce \
--pipeline ./submission/pipelines/semantic_profiler/f4ebb9c9-ef15-491d-9a39-595c20f3e78e.json \
--problem /datasets/seed_datasets_current/38_sick_MIN_METADATA/TRAIN/problem_TRAIN/problemDoc.json \
--input /datasets/seed_datasets_current/38_sick_MIN_METADATA/TRAIN/dataset_TRAIN/datasetDoc.json \
--test-input /datasets/seed_datasets_current/38_sick_MIN_METADATA/TEST/dataset_TEST/datasetDoc.json \
--output $predictions_path \
--output-run $pipeline_run_path \
> /dev/null
chmod 777 $predictions_path
chmod 777 $pipeline_run_path
python3 run_tests.py
python3 submission/ci_validation.py
mv tmp_byudml byudml
pip3 uninstall -y byudml > /dev/null