Skip to content

Commit e949cae

Browse files
web page for RepairComp results (#17)
* add testing deployment for marimo notebook * fix workflow for testing * update requirements.txt * add marimo dashboard * tsting web page * update workflow * update * removing executable lines from util notebook * add workflow for main * fix typo on copy data to public/ * add marimo folders on gitignore * add new notebook Utils for cleaner notebooks * fix the random sample files as they missed diff file link * Improving readability * changing sanity check to functional check as used on the paper * fix readability of PatchesOverview.ipynb * update with final results * removing test-deploy workflow
1 parent f885533 commit e949cae

26 files changed

+2346
-3985
lines changed

.github/workflows/deploy.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: ['main']
6+
workflow_dispatch:
7+
8+
concurrency:
9+
group: 'pages'
10+
cancel-in-progress: false
11+
12+
env:
13+
UV_SYSTEM_PYTHON: 1
14+
15+
jobs:
16+
build:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: 🚀 Install uv
22+
uses: astral-sh/setup-uv@v4
23+
24+
- name: 🐍 Set up Python
25+
uses: actions/setup-python@v5
26+
with:
27+
python-version: 3.12
28+
29+
- name: 📦 Install dependencies
30+
run: |
31+
pip install -r requirements.txt
32+
33+
- name: Copy data files to notebooks/public
34+
run: |
35+
mkdir -p notebooks/public
36+
cp results/smartbugs/data_analysis/all_patches_stats.csv notebooks/public/
37+
ls -la notebooks/public/ # Verify the copy worked
38+
39+
40+
- name: 🛠️ Export notebooks
41+
run: |
42+
python scripts/build.py
43+
44+
- name: 📤 Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: _site
48+
49+
deploy:
50+
needs: build
51+
52+
permissions:
53+
pages: write
54+
id-token: write
55+
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
steps:
61+
- name: 🚀 Deploy to GitHub Pages
62+
id: deployment
63+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,9 @@ cython_debug/
157157
# and can be added to the global gitignore or merged into this file. For a more nuclear
158158
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
159159
#.idea/
160+
161+
.DS_Store
162+
.marimo
163+
# Marimo specific files
164+
.marimo_cache/
165+
_site/

0 commit comments

Comments
 (0)