-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: add option to delay new assignments after review has been submitted #2464
base: master
Are you sure you want to change the base?
Conversation
openreview/journal/invitation.py
Outdated
if self.journal.get_assignment_delay_after_submitted_review() > 0: | ||
weeks = datetime.timedelta(weeks=self.journal.get_assignment_delay_after_submitted_review()) | ||
milliseconds = int(weeks.total_seconds() * 1000) | ||
invitation['postprocesses'] = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when a postprocesses run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The postprocess will run after a reply is posted to the invitation, so kind of like the process function. However, we can add a delay, so the postprocess will run after the specified delay (in ms). More info here: https://github.com/openreview/openreview-api/pull/630
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we always add this post process and if the delay is 0 then we update the pending review edge right away?
then we need to remove the code that updates the edge in the review process
@@ -8,7 +8,7 @@ parameters: | |||
default: "master" | |||
openreview-api-v2-branch: | |||
type: string | |||
default: "main" | |||
default: "feature/postprocesses" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to wait until this is merged before merging this
TMLR wants there to be a 2 week delay between when a reviewer submits their review and when they are once again available to be assigned to a new paper.
In this case, I implemented a post process that will run 2 weeks after the review was submitted to decrease the pending reviews counter. If the journal does not want a delay, the counter is decreased as soon as the review is posted.