Open
Conversation
Pre-submission checker that catches common issues from openai#677: missing required files, malformed submission.json, syntax errors in training scripts, and artifact size violations. Runs against all 25 existing records with zero false positives on well-formed submissions.
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.
Adds
validate_submission.py- a standalone pre-submission checker that catches the most common issues from #677 before participants open a PR.Usage:
What it checks:
records/track_10min_16mb/orrecords/track_non_record_16mb/README.md,submission.json,train_gpt*.py, and at least one train logsubmission.jsonhas required fields (val_bpb/mean_val_bpb,name/run_name,date) with correct typesExample output (current SOTA):
Tested against all 25 existing records in the repo. 21 pass clean, 4 flag known issues (genuinely missing files or fields in those specific submissions).
Uses only Python stdlib - no extra dependencies. 263 lines.
This contribution was developed with AI assistance (Claude Code).