Skip to content

Commit

Permalink
merged new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
John Shiu committed Jun 22, 2024
2 parents dcd4c94 + 907a8c4 commit abda5a0
Show file tree
Hide file tree
Showing 41 changed files with 38 additions and 9,814 deletions.
38 changes: 38 additions & 0 deletions Makefile
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 added data/batch_run/batch_run.zip
Binary file not shown.
Empty file added report/docs/.gitkeep
Empty file.
Binary file removed report/docs/img/checklist_sample.png
Binary file not shown.
Binary file removed report/docs/img/logo.png
Binary file not shown.
Binary file removed report/docs/img/proposed_system_overview.png
Binary file not shown.
Binary file removed report/docs/img/test_evaluation_report_sample.png
Binary file not shown.
Binary file removed report/docs/img/test_spec_sample.png
Binary file not shown.
8 changes: 0 additions & 8 deletions report/docs/index.html

This file was deleted.

1,246 changes: 0 additions & 1,246 deletions report/docs/report/final_report.html

This file was deleted.

This file was deleted.

This file was deleted.

Binary file not shown.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit abda5a0

Please sign in to comment.