Skip to content
Snippets Groups Projects
Commit d658a2b1 authored by Rawel's avatar Rawel
Browse files

changed path and updated ignore files accordingly

parent 343389b0
Branches
No related tags found
No related merge requests found
......@@ -306,4 +306,4 @@ pip-selfcheck.json
/Data/DatasetSources/syzkaller/reproducers/*
# Exclude the data folder which is the volume for the databases
/Docker/commit-analysis/classifier/*
\ No newline at end of file
/Classifier/Training/*
\ No newline at end of file
......@@ -321,4 +321,4 @@ pip-selfcheck.json
!/Data/DatasetSources/syzkaller/reproducers/.gitkeep
# Exclude the data folder which is the volume for the databases
/Docker/commit-analysis/classifier/*
\ No newline at end of file
/Classifier/Training/*
\ No newline at end of file
......@@ -25,7 +25,7 @@ def store_vcc(mapping: dict):
config_code = mapping["vcc_config_code"]
repo_path = get_config_nodes_repo_dict()[config_code].find("./path").text
directory = "Training/vccs"
directory = "Classifier/Training/vccs"
if mapping["determined_by_heuristic"] is False:
directory = f"{directory}/{config_code.lower()}/ground_truth"
......@@ -50,7 +50,7 @@ def store_vcc(mapping: dict):
def store_fixing_commit(mapping: dict):
config_code = mapping["fixing_config_code"]
repo_path = get_config_nodes_repo_dict()[config_code].find("./path").text
directory = "Training/unclassified"
directory = "Classifier/Training/unclassified"
if mapping["determined_by_heuristic"] is False:
directory = f"{directory}/{config_code.lower()}/ground_truth"
......
......@@ -62,7 +62,7 @@ services:
- default
volumes:
- ./Docker/commit-analysis/repos:/srv/vcc_repos
- ./Docker/commit-analysis/classifier:/project/Classifier/Training
- ./Classifier/Training:/project/Classifier/Training
depends_on:
- mysql
- mongo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment