Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Commit-Analysis-ML
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ahmad, Rawel
Commit-Analysis-ML
Commits
d658a2b1
Commit
d658a2b1
authored
1 year ago
by
Rawel
Browse files
Options
Downloads
Patches
Plain Diff
changed path and updated ignore files accordingly
parent
343389b0
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.dockerignore
+1
-1
1 addition, 1 deletion
.dockerignore
.gitignore
+1
-1
1 addition, 1 deletion
.gitignore
Classifier/main.py
+2
-2
2 additions, 2 deletions
Classifier/main.py
docker-compose.yaml
+1
-1
1 addition, 1 deletion
docker-compose.yaml
with
5 additions
and
5 deletions
.dockerignore
+
1
−
1
View file @
d658a2b1
...
...
@@ -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
This diff is collapsed.
Click to expand it.
.gitignore
+
1
−
1
View file @
d658a2b1
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Classifier/main.py
+
2
−
2
View file @
d658a2b1
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yaml
+
1
−
1
View file @
d658a2b1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment