Skip to content

Commit 044e7fa

Browse files
authored
Merge pull request #52 from PLtier/chores
Chores
2 parents ea834e1 + d4f6378 commit 044e7fa

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.github/workflows/test_action.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,13 @@ jobs:
3333
with:
3434
name: all-artifacts
3535
path: artifacts/
36-
36+
3737
- name: Upload Best Model Artifact
3838
uses: actions/upload-artifact@v4.4.0
3939
with:
4040
name: model
4141
path: artifacts/model.pkl
4242

43-
- name: tree
44-
uses: jaywcjlove/github-action-folder-tree@main
45-
id: tree
46-
with:
47-
path: ./
48-
depth: 3
49-
5043
test_model:
5144
needs: train_and_upload
5245
name: Unit Test Model Artifacts
@@ -80,4 +73,4 @@ jobs:
8073
echo "All required files are present."
8174
8275
- name: Run Model Inference Test Action
83-
uses: PLtier/itu-sdse-project-model-validator@main
76+
uses: lasselundstenjensen/itu-sdse-project-model-validator@main

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ all: setup test
66
.PHONY: setup
77
setup: venv
88
$(VENV)/pre-commit install
9+
go mod download
910

1011
.PHONY: test
1112
test:
12-
dagger run go test -v
13+
dagger run go test -v
14+
15+
.PHONY: container_run
16+
dagger run go run pipeline.go

github_dagger_workflow_project/03_model_selection.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ def save_best_model(experiment_best, best_model_type) -> None:
3333

3434
experiment_best = select_best_model(experiment_name)
3535
# Save best model
36-
# Currently we pick only LR, no matter what the best model is. When ready, uncomment to consider xgboost.
36+
# Currently we pick only LR, no matter what the best model is.
37+
# When ready, uncomment to consider xgboost.
3738
# best_model_type = experiment_best["params.model_type"]
3839
# and comment below code
3940
best_model_type = "LogisticRegression"

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@ ignore = [
3737
"ISC001", # single-line-implicit-string-concatenation
3838
]
3939

40+
select = [
41+
"E", # PEP 8 Errors
42+
"W", # PEP 8 warnings
43+
]
44+
4045

4146

0 commit comments

Comments
 (0)