Skip to content

Commit 840cf4a

Browse files
committed
Run leaderboard aggregator in GHA
1 parent b429916 commit 840cf4a

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.github/workflows/build-docs.yaml

+8-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
- uses: actions/checkout@master
21+
with:
22+
fetch-depth: 0
23+
repository: scicode-bench/submissions
2024
- name: Configure Git Credentials
2125
run: |
2226
git config user.name github-actions[bot]
@@ -34,7 +38,10 @@ jobs:
3438
- name: Install uv
3539
run: |
3640
curl -LsSf https://astral.sh/uv/install.sh | sh
37-
- run: uv pip install --python ${Python_ROOT_DIR} -r 'requirements.txt'
41+
- name: Installing requirements
42+
run: uv pip install --python ${Python_ROOT_DIR} -r 'requirements.txt'
43+
- name: Building leaderboard
44+
run: python leaderboard/create_leaderboard.py --input ../submissions --output docs/leaderboard_table.md
3845
- name: Build Documentation
3946
if: github.ref != 'refs/heads/main'
4047
run: mkdocs build

docs/leaderboard.md

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
<center>
44

5-
| Date | Authors | Model | Score | Notes |
6-
| -------- | ------- | --- | --- | --- |
7-
| January | 0.8 |
8-
| February | 0.7 |
9-
| March | 0.6 |
5+
{% include-markdown "leaderboard_table.md" %}
106

117
</center>
128

0 commit comments

Comments
 (0)