Andrea Maldonado commited on
Commit
f190c20
Β·
1 Parent(s): 6f628d3

Renames test data dir-

Browse files
.github/workflows/test_gedi.yml CHANGED
@@ -31,7 +31,7 @@ jobs:
31
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/feature_extraction.json
32
 
33
  - name: Compare output
34
- run: diff data/test_2_feat.csv data/test_2_feat.csv
35
 
36
  test_generation:
37
  runs-on: ubuntu-latest
@@ -60,7 +60,7 @@ jobs:
60
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/generation.json
61
 
62
  - name: Compare output
63
- run: diff output/features/2_grid_test/2_enself_rt20v/genELexperiment2_07_04.json output/features/2_grid_test/2_enself_rt20v/genELexperiment2_07_04.json
64
 
65
  test_benchmark:
66
  runs-on: ubuntu-latest
@@ -85,7 +85,7 @@ jobs:
85
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/benchmark.json
86
 
87
  - name: Compare output
88
- run: diff output/benchmark/test_2_benchmark.csv output/benchmark/test_2_benchmark.csv
89
 
90
  test_augmentation:
91
  runs-on: ubuntu-latest
 
31
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/feature_extraction.json
32
 
33
  - name: Compare output
34
+ run: diff data/test_feat.csv data/test_feat.csv
35
 
36
  test_generation:
37
  runs-on: ubuntu-latest
 
60
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/generation.json
61
 
62
  - name: Compare output
63
+ run: diff output/features/grid_feat/2_enself_rt20v/genELexperiment2_07_04.json output/features/grid_feat/2_enself_rt20v/genELexperiment2_07_04.json
64
 
65
  test_benchmark:
66
  runs-on: ubuntu-latest
 
85
  python main.py -o config_files/options/baseline.json -a config_files/algorithm/benchmark.json
86
 
87
  - name: Compare output
88
+ run: diff output/benchmark/test_benchmark.csv output/benchmark/test_benchmark.csv
89
 
90
  test_augmentation:
91
  runs-on: ubuntu-latest
config.py CHANGED
@@ -63,8 +63,8 @@ def get_files_and_kwargs(params: dict):
63
 
64
  #TODO: generate parent directories if they don't exist
65
  if input_name == 'test':
66
- filename_list = list(tqdm(sort_files(os.listdir('data/test_2'))))
67
- kwargs = {FILENAME: filename_list, FOLDER_PATH: 'data/test_2'}
68
  elif input_name == 'realLogs':
69
  filename_list = list(tqdm(sort_files(os.listdir('data/real_event_logs'))))
70
  kwargs = {FILENAME: filename_list, FOLDER_PATH: 'data/real_event_logs'}
 
63
 
64
  #TODO: generate parent directories if they don't exist
65
  if input_name == 'test':
66
+ filename_list = list(tqdm(sort_files(os.listdir('data/test'))))
67
+ kwargs = {FILENAME: filename_list, FOLDER_PATH: 'data/test'}
68
  elif input_name == 'realLogs':
69
  filename_list = list(tqdm(sort_files(os.listdir('data/real_event_logs'))))
70
  kwargs = {FILENAME: filename_list, FOLDER_PATH: 'data/real_event_logs'}
config_files/algorithm/benchmark.json CHANGED
@@ -2,7 +2,7 @@
2
  {
3
  "pipeline_step": "benchmark_test",
4
  "benchmark_test": "discovery",
5
- "input_path":"data/test_2",
6
  "output_path":"output",
7
  "miners" : ["inductive", "heuristics", "imf", "ilp"]
8
  }
 
2
  {
3
  "pipeline_step": "benchmark_test",
4
  "benchmark_test": "discovery",
5
+ "input_path":"data/test",
6
  "output_path":"output",
7
  "miners" : ["inductive", "heuristics", "imf", "ilp"]
8
  }
config_files/algorithm/experiment_test.json CHANGED
@@ -9,7 +9,7 @@
9
  {
10
  "pipeline_step": "event_logs_generation",
11
  "output_path": "output/features/2_bpic_features/2_ense_rmcv_feat.csv",
12
- "output_path": "data/test_2",
13
  "generator_params": {
14
  "experiment": "data/grid_objectives.csv",
15
  "experiment": {"input_path": "data/2_bpic_features.csv",
@@ -36,7 +36,7 @@
36
  },
37
  {
38
  "pipeline_step": "feature_extraction",
39
- "input_path": "data/test_2",
40
  "feature_params": {"feature_set":["trace_length"]},
41
  "output_path": "output/plots",
42
  "real_eventlog_path": "data/bpic_features.csv",
@@ -45,7 +45,7 @@
45
  {
46
  "pipeline_step": "benchmark_test",
47
  "benchmark_test": "discovery",
48
- "input_path":"data/test_2",
49
  "output_path":"output",
50
  "miners" : ["inductive", "heuristics", "imf", "ilp"]
51
  }
 
9
  {
10
  "pipeline_step": "event_logs_generation",
11
  "output_path": "output/features/2_bpic_features/2_ense_rmcv_feat.csv",
12
+ "output_path": "data/test",
13
  "generator_params": {
14
  "experiment": "data/grid_objectives.csv",
15
  "experiment": {"input_path": "data/2_bpic_features.csv",
 
36
  },
37
  {
38
  "pipeline_step": "feature_extraction",
39
+ "input_path": "data/test",
40
  "feature_params": {"feature_set":["trace_length"]},
41
  "output_path": "output/plots",
42
  "real_eventlog_path": "data/bpic_features.csv",
 
45
  {
46
  "pipeline_step": "benchmark_test",
47
  "benchmark_test": "discovery",
48
+ "input_path":"data/test",
49
  "output_path":"output",
50
  "miners" : ["inductive", "heuristics", "imf", "ilp"]
51
  }
config_files/algorithm/feature_extraction.json CHANGED
@@ -1,7 +1,7 @@
1
  [
2
  {
3
  "pipeline_step": "feature_extraction",
4
- "input_path": "data/test_2",
5
  "feature_params": {"feature_set":["simple_stats", "trace_length", "trace_variant", "activities", "start_activities", "end_activities", "eventropies", "epa_based"]},
6
  "output_path": "output/plots",
7
  "real_eventlog_path": "data/bpic_features.csv",
 
1
  [
2
  {
3
  "pipeline_step": "feature_extraction",
4
+ "input_path": "data/test",
5
  "feature_params": {"feature_set":["simple_stats", "trace_length", "trace_variant", "activities", "start_activities", "end_activities", "eventropies", "epa_based"]},
6
  "output_path": "output/plots",
7
  "real_eventlog_path": "data/bpic_features.csv",
config_files/algorithm/generation.json CHANGED
@@ -3,7 +3,7 @@
3
  "pipeline_step": "event_logs_generation",
4
  "output_path": "output",
5
  "generator_params": {
6
- "experiment": {"input_path": "data/test/2_grid_test.csv",
7
  "objectives": ["ratio_top_20_variants", "epa_normalized_sequence_entropy_linear_forgetting"]
8
  },
9
  "config_space": {
 
3
  "pipeline_step": "event_logs_generation",
4
  "output_path": "output",
5
  "generator_params": {
6
+ "experiment": {"input_path": "data/test/grid_feat.csv",
7
  "objectives": ["ratio_top_20_variants", "epa_normalized_sequence_entropy_linear_forgetting"]
8
  },
9
  "config_space": {
data/{test_2 β†’ test}/gen_el_168.xes RENAMED
File without changes
data/{test_2 β†’ test}/gen_el_169.xes RENAMED
File without changes
data/{test_2/2_grid_test.csv β†’ test/grid_feat.csv} RENAMED
File without changes