Submission: Tingjun GARCH model updates #20
Workflow file for this run
This file contains hidden or 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
| name: Score Submission | |
| on: | |
| pull_request: | |
| paths: | |
| - 'submissions/**' | |
| jobs: | |
| score: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install pandas numpy scipy requests | |
| - name: Run scoring (old script - disabled) | |
| run: | | |
| echo "Skipping old score_submission.py (benchmark data only)" | |
| # python code/score_submission.py # Disabled - only scores benchmark data | |
| continue-on-error: true | |
| - name: Run scoring (new submissions) | |
| run: | | |
| python code/score_new_submission.py ${{ github.event.pull_request.number }} | |
| continue-on-error: true | |
| - name: Update leaderboard | |
| run: | | |
| python code/update_leaderboard.py # merges new score into leaderboard.json | |
| continue-on-error: true | |
| - name: Commit leaderboard | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "Update leaderboard" |