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: Add desk reject verification filter to PC Webfield #2425

Open haroldrubio opened 1 week ago

haroldrubio commented 1 week ago

Add the following option to the propertiesAllowed field of the webfield config to enable filtering out papers without responses:

,
      deskRejectVerificationCount: `
      const invitationToCheck="Desk_Reject_Verification"; 
      const verificationReplies = row.note?.details?.replies.filter(reply => {
        const hasReply = reply.invitations.some(invitation => invitation.includes(invitationToCheck)); 
        return hasReply;
      })
      return verificationReplies?.length??0;
      `