adds load_admin_table to the leaderboard reader: a single flat frame of
every row (both tiers) with a leading editable select column, for the
admin tab to act on. reworks admin.py around bulk helpers
(promote_rows, demote_rows, delete_rows) that each do one results.jsonl
write for the whole selection; delete also best-effort removes the
companion zip and report artifacts. the singular promote_row/demote_row
stay as thin wrappers. tests cover the bulk paths, a missing-id abort,
empty-selection guards, and artifact deletion, all with the hub mocked.
admin: promote/demote helpers gated by CADGENBENCH_ADMINS
Michael Rabinovich
0bd3c0a
adds admin.py with is_admin, promote_row and demote_row. promotion sets
validation_status to validated and records the evidence type; demotion
reverses it and nulls validation_method. row writes reuse
submit._hub_rmw_results so the lock and read-modify-write semantics
match the submit path. the admin set is read from the CADGENBENCH_ADMINS
space variable.