openreview / openreview-py

Official Python client library for the OpenReview API
https://openreview-py.readthedocs.io/en/latest/
MIT License
157 stars 23 forks source link

ARR: Fix assignment quotas #2407

Open haroldrubio opened 3 weeks ago

haroldrubio commented 3 weeks ago

This PR resolves an issue where, if the 3rd edge (out of the Assignment + Invite_Assignment edges) posted to a paper is an Invite_Assignment edge, the process function fails because the pre-process saw it as posting a 4th edge.

The pre-process functions are changed to exclude the posted edge from the edge count if there is already an edge with that ID.

To allow the Assignment_Recruitment process function to complete, only non-accepted Invite_Assignment edges are counted. The logic is still preserved because if an Invite_Assignment edge is accepted, then there must be an Assignment edge which are counted

haroldrubio commented 3 weeks ago

There's a request to be able to increase the quota for some papers where the reviews may have been AI generated and need extra reviewers - I'm thinking of a way to properly implement this