Skip to content

Feat/ Venue Config: refactor + AC workflow #2579

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

Merged
merged 73 commits into from
Jun 11, 2025
Merged

Conversation

celestemartinez
Copy link
Member

No description provided.

def set_reviewers_only_comment(self):

support_group_id = self.support_group_id
comment_invitation_id = f'{support_group_id}/Venue_Request/Reviewers_Only/-/Comment'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this invitation seems to be very similar to all the workflow requests, can we use one invitation for all requests? same as the deployment invitation.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure about using the same deployment invitation, because each workflow will have its own deployment process.
I can make the change for the comment invitation now.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest using the same code to create the invitation and parametrie the name of the process function?

@melisabok
Copy link
Member

  • Should we have a folder for each workflow request? Only_Reviewers and Only_ACs_And_Reviewers. Each folder can have the deploy process function that extend the workflow templates.

@@ -0,0 +1,57 @@
def process(client, edit, invitation):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is something that I would like to refactor to be the same for any group that we want to create that requires messaging and recruitment.

@@ -13,10 +13,14 @@ def process(client, edit, invitation):
if edit.id != note_edits[0].id:
print('not first edit, exiting...')
return

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would move this file outside of the workflows folder. Maybe another folder?

@@ -31,6 +31,9 @@ def get_venue(client, venue_id, support_user='OpenReview.net/Support'):
venue.allow_gurobi_solver = domain.content.get('allow_gurobi_solver', {}).get('value', False)
venue.preferred_emails_groups = domain.content.get('preferred_emails_groups', [])

venue.submission_stage = openreview.stages.SubmissionStage(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@melisabok Using the venue code to upload decisions works, but I had to add the submission_stage here. submission_stage.name is used when we call get_paper_group_prefix() to get the paper decision invitation. Is there a better way to do this?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it is great! then all the code will work, a lot of places call to venue.submission_stage so I think setting this up in the get_venue function seems correct. We should do the same for other stages if needed

@@ -277,6 +286,9 @@ def create_venue_group(self):
if self.venue.request_form_id:
content['request_form_id'] = { 'value': self.venue.request_form_id }

if self.venue.request_form_invitation:
content['request_form_invitation'] = { 'value': self.venue.request_form_invitation }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xkopenreview is this keyword exists then the venue is running on the new workflow configuration

@celestemartinez celestemartinez marked this pull request as ready for review June 11, 2025 18:21
@@ -0,0 +1,104 @@
def process(client, edit, invitation):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we delete this file?

@melisabok melisabok merged commit c948c06 into master Jun 11, 2025
6 checks passed
@melisabok melisabok deleted the feat/acs-workflow branch June 11, 2025 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants