openreview-py
openreview-py copied to clipboard
Feature: ARR Rebuttal Comment Email Threshold
Resolves #2265
This PR adds a new hidden field comment_notification_threshold
to the request form and stores the variable in the domain and the Venue class. It also parameterizes the process/pre-process function scripts.
The ARR class passes in its own Official_Comment process function that counts (each reply is only counted once):
- the number of comments (including the newest one) written by the signature
- the number of comments in the author-reviewer discussion that's visible to the signature
The process function only emails the SACs/ACs if:
- the comment threshold wasn't set
- the comment was written by an author/reviewer and the total count is below the threshold
- the comment was written by an AC/SAC/PC
I also added a small delay between the stages to stabilize the tests when its creating the custom stages