feat: Add CI check and PR template for leaderboard submissions. - #16
Open
jonmaaku-rev wants to merge 2 commits into
Open
feat: Add CI check and PR template for leaderboard submissions.#16jonmaaku-rev wants to merge 2 commits into
jonmaaku-rev wants to merge 2 commits into
Conversation
Validate leaderboard row entries on any PR that touches leaderboard files, enforcing the structural contract reviewers previously checked by hand: - scripts/validate_leaderboard.py: offline validator for entries under leaderboard/entries/ — job header (source UUID + matching public Harbor URL), n_trials == unique trial_ids (no duplicates within a file or across entries), required agent/model/org metadata are filled, and metrics conform to the metrics_schema in leaderboard/leaderboard.yaml. - .github/workflows/leaderboard.yml: dedicated workflow, path-filtered to leaderboard entries, the schema, and the validator, so unrelated PRs are unaffected. - .github/PULL_REQUEST_TEMPLATE/leaderboard_submission.md: selectable PR template carrying the full submission checklist (automated + manual review items, including timeout-multiplier comparability rules). - Makefile: add validate-leaderboard target (kept out of validate to avoid a double run). - CONTRIBUTING.md, docs/submit-results.md: pot contributors to the template and note which items CI now checks automatically.
…date_leaderboard.py.
jonmaaku-rev
commented
Aug 5, 2026
| r"^#\s*(https://hub\.harborframework\.com/jobs/([0-9a-fA-F-]{36}))\s*$", | ||
| re.MULTILINE, | ||
| ) | ||
| UUID_RE = re.compile(r"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-" |
Collaborator
Author
There was a problem hiding this comment.
I think there is a library that can do this.
5 tasks
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.
https://app.devrev.ai/devrev/works/ISS-350408
Validate leaderboard row entries on any PR that touches leaderboard files, enforcing the structural contract reviewers previously checked by hand:
Summary
Type of contribution
Validation
make validatepassesCommands run
# Paste commands and outcomes hereNotes for reviewers