How to Sync Manual and Automatic Assignments
Using manual assignment adds Reviewers to SubmissionX/Reviewers groups without posting an assignment edge. If you originally used automatic assignment but then add assignments manually through the PC console instead of the edge browser, your groups and assignment edges will become out of sync. Here is how you can restore them:
If you have not done so, you will need to install and instantiate the openreview-py client. To get the edges use the API 1 client, however for everything else you will need to use the API 2 client.
Retrieve all of the assignment edges and all of the Submission#/Reviewers groups for your venue. Make two dictionaries: one mapping groups by their IDs, the other mapping edges by their head. The head of each edge is the forum of the paper that the reviewer is assigned to.
3. Iterate through all assignment edges. For each one, check that the reviewer in the assignment edge is in the correct SubmissionX/Reviewers group. For example, if an edge has a tail of ~User_One1 and a head corresponding to Submission2, then Submission2/Reviewers should include ~User_One1. If the reviewer is not in the correct group, add them.
4. Now we want to check for the opposite case, where a Reviewer has been added to a group but there is not an associated assignment edge. Retrieve all submissions, then create a dictionary with submission numbers as the keys. Iterate through the submissions, get the associated Reviewers' group for each, and check that there is an assignment edge for each group member. If there is not, remove the reviewer.
Last updated