Michael Rabinovich commited on
Commit
0bd3c0a
·
1 Parent(s): 7655daf

admin: promote/demote helpers gated by CADGENBENCH_ADMINS

Browse files

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.

1 file changed +112
admin.pyAdded+112