-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
38 additions
and
9,814 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Reference: | ||
# https://swcarpentry.github.io/make-novice/02-makefiles.html | ||
# https://ubc-dsci.github.io/reproducible-and-trustworthy-workflows-for-data-science/materials/lectures/09-pipelines.html | ||
|
||
# The .PHONY rule is used to tell make that 'all', 'clean' are not files. | ||
.PHONY : all | ||
# The 'all' target is the default target. It depends on 'report/docs/index.html', which triggers the build process for this file. | ||
all : report/docs/index.html | ||
|
||
# Unzip batch_run.zip | ||
data/batch_run/batch_run_3.5-turbo \ | ||
data/batch_run/batch_run_4-turbo \ | ||
data/batch_run/batch_run_4o : | ||
unzip data/batch_run/batch_run.zip -d data/batch_run/ | ||
|
||
# Preprocess | ||
data/processed/ground_truth.csv : analysis/preprocess_batch_run_result.py data/batch_run/batch_run_3.5-turbo | ||
python analysis/preprocess_batch_run_result.py | ||
|
||
# Build 'report/docs/index.html' by rendering the Jupyter notebooks using Quarto. | ||
report/docs/index.html : data/processed/ground_truth.csv | ||
quarto render | ||
|
||
.PHONY : publish | ||
publish : data/processed/ground_truth.csv | ||
quarto publish gh-pages | ||
|
||
# The 'clean' target is used to clean up generated files and directories. | ||
.PHONY : clean | ||
clean : | ||
rm -rf report/docs/* | ||
touch report/docs/.gitkeep | ||
rm -rf data/batch_run/batch_run_3.5-turbo | ||
rm -rf data/batch_run/batch_run_4-turbo | ||
rm -rf data/batch_run/batch_run_4o | ||
rm -rf data/processed/ground_truth.csv | ||
rm -rf data/processed/score_*csv | ||
|
Binary file not shown.
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
report/docs/report/final_report_files/final_report/execute-results/html.json
This file was deleted.
Oops, something went wrong.
2,018 changes: 0 additions & 2,018 deletions
2,018
report/docs/report/final_report_files/final_report/libs/bootstrap/bootstrap-icons.css
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-160 KB
report/docs/report/final_report_files/final_report/libs/bootstrap/bootstrap-icons.woff
Binary file not shown.
10 changes: 0 additions & 10 deletions
10
report/docs/report/final_report_files/final_report/libs/bootstrap/bootstrap.min.css
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
report/docs/report/final_report_files/final_report/libs/bootstrap/bootstrap.min.js
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
report/docs/report/final_report_files/final_report/libs/clipboard/clipboard.min.js
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
report/docs/report/final_report_files/final_report/libs/quarto-html/anchor.min.js
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
report/docs/report/final_report_files/final_report/libs/quarto-html/popper.min.js
This file was deleted.
Oops, something went wrong.
203 changes: 0 additions & 203 deletions
203
...cs/report/final_report_files/final_report/libs/quarto-html/quarto-syntax-highlighting.css
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.