generator: --append mode for automated board PRs#6
Merged
Conversation
--append PUBLIC_DIR writes the generated table/cost rows directly into the release CSVs, preserving each file's own line endings (table LF, cost CRLF) and refusing duplicate model rows; --links-meta JSON additionally inserts the modelLinks.js entry (url/organization/displayName + openweight/reasoner flags). After writing it re-verifies its own rows against the CSVs. Byte-for-byte validated against the hand-built add-mimo-v2.5-pro branch: all three files identical; duplicate append refused; check_data green. This is the piece the eval workflow's board-PR step calls. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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 two flags to
scripts/generate_model_rows.pyso the eval workflow can build board PRs without ad-hoc append code:--append PUBLIC_DIR— writes the generated table + cost rows into the release CSVs, preserving each file's own line endings (table LF, cost CRLF), refusing duplicates, and re-verifying its own rows after writing (round-trip--verify).--links-meta '{...}'— with--append, inserts themodelLinks.jsentry (url, organization, displayName,openweight/reasonerflags) before the map's closing brace; skips if an entry exists.Validation
Ran
--appendformimo-v2.5-proon a clean main checkout and byte-diffed against the hand-built #5 branch: all three files identical. Re-running refuses with "row already exists".check_data.jsgreen (41/41, no orphans).Companion: the livebench-private workflow step that calls this (board-PR automation).
🤖 Generated with Claude Code