Andrea Maldonado commited on
Commit
83149cf
·
1 Parent(s): 1852a54

Adds integration test

Browse files
.github/workflows/test_gedi.yml CHANGED
@@ -115,4 +115,28 @@ jobs:
115
 
116
  - name: Run test
117
  run:
118
- python main.py -o config_files/options/baseline.json -a config_files/algorithm/augmentation.json
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  - name: Run test
117
  run:
118
+
119
+ test_integration:
120
+ runs-on: ubuntu-latest
121
+
122
+ # Setting up a python envronment for the test script to run
123
+ steps:
124
+ - name: Checkout code
125
+ uses: actions/checkout@v2
126
+
127
+ - name: Set up Python
128
+ uses: actions/setup-python@v2
129
+ with:
130
+ python-version: 3.x
131
+
132
+ - name: Install dependencies
133
+ run: |
134
+ sudo apt install python3-packaging
135
+ - name: Install feeed
136
+ run: |
137
+ python -m pip install --upgrade pip
138
+ pip install .
139
+
140
+ - name: Run test
141
+ run:
142
+ python main.py -o config_files/options/baseline.json -a config_files/algorithm/experiment_test.json
.gitignore CHANGED
@@ -1,6 +1,6 @@
1
  smac3_output/
2
  data/
3
  output/
4
- .ipynb_checkpoints
5
  */.ipynb_checkpoints/*
6
  gedi.egg-info/
 
1
  smac3_output/
2
  data/
3
  output/
4
+ .ipynb_checkpoints/
5
  */.ipynb_checkpoints/*
6
  gedi.egg-info/
config_files/algorithm/experiment_test.json CHANGED
@@ -15,10 +15,10 @@
15
  "experiment": {"input_path": "data/2_bpic_features.csv",
16
  "objectives": ["ratio_top_20_variants", "epa_normalized_sequence_entropy_linear_forgetting"]},
17
  "experiment": [
18
- {"epa_normalized_sequence_entropy_linear_forgetting": 0.05, "ratio_top_20_variants": 0.4},
19
- {"epa_normalized_sequence_entropy_linear_forgetting": 0.5, "ratio_top_20_variants": 0.04}
20
  ],
21
- "experiment": {"epa_normalized_sequence_entropy_linear_forgetting": 0.05, "ratio_top_20_variants": 0.4},
22
  "config_space": {
23
  "mode": [5, 20],
24
  "sequence": [0.01, 1],
@@ -27,7 +27,7 @@
27
  "loop": [0.01, 1],
28
  "silent": [0.01, 1],
29
  "lt_dependency": [0.01, 1],
30
- "num_traces": [100, 10001],
31
  "duplicate": [0],
32
  "or": [0]
33
  },
 
15
  "experiment": {"input_path": "data/2_bpic_features.csv",
16
  "objectives": ["ratio_top_20_variants", "epa_normalized_sequence_entropy_linear_forgetting"]},
17
  "experiment": [
18
+ {"epa_normalized_sequence_entropy_linear_forgetting": 0.2, "ratio_top_20_variants": 0.4},
19
+ {"epa_normalized_sequence_entropy_linear_forgetting": 0.4, "ratio_top_20_variants": 0.7}
20
  ],
21
+ "experiment": {"epa_normalized_sequence_entropy_linear_forgetting": 0.2, "ratio_top_20_variants": 0.4},
22
  "config_space": {
23
  "mode": [5, 20],
24
  "sequence": [0.01, 1],
 
27
  "loop": [0.01, 1],
28
  "silent": [0.01, 1],
29
  "lt_dependency": [0.01, 1],
30
+ "num_traces": [10, 100],
31
  "duplicate": [0],
32
  "or": [0]
33
  },