Trying to fix the automatic scoring & leaderboard updating in the github action.#4
Merged
Orrell merged 2 commits intoq-variance:mainfrom Dec 12, 2025
Merged
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix GitHub Actions Scoring Workflow
Problem
The GitHub Actions workflow for scoring submissions was failing because:
scoring/score_submission.pybut the file is atcode/score_submission.pyscore_submission.pywas designed to score benchmark data (readsdataset_part1.parquet, etc.), not submission dataupdate_leaderboard.pywas referenced but didn't existdataset.parquetfilesSolution
1. Preserved Original Script
code/score_submission.pycontinue-on-error: trueto prevent failures2. Created New Submission Scoring Script
code/score_new_submission.py- New script specifically for scoring new submissionssubmissions/{folder}/dataset.parquetfilesdataset.parquet(with warning)3. Created Leaderboard Update Script
code/update_leaderboard.py- Updatesleaderboard/leaderboard.jsonwith new scoresscoring_results.json4. Updated Workflow
code/score_new_submission.py,code/update_leaderboard.py)requestsdependency for GitHub API accesscontinue-on-error: true) to prevent workflow failures/codefolder5. Added
.gitignore__pycache__/,*.pyc, etc.)Files Changed
.github/workflows/score.yml- Updated paths and added error handlingcode/score_new_submission.py- NEW - Submission scoring scriptcode/update_leaderboard.py- NEW - Leaderboard update scriptleaderboard/leaderboard.json- NEW - Initial leaderboard structure.gitignore- NEW - Python/IDE ignoresTesting
This has been tested in a fork and successfully:
dataset.parquetdataset.parquet(e.g.,grok_rough_vol) without failing