Skip to content
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

Venue: let PCs undeploy assignments #2116

Merged
merged 10 commits into from
May 7, 2024
Merged

Conversation

melisabok
Copy link
Member

  • New unset_assignment method.
  • Make sure we use the review and meta review names instead of hardcoded names.
  • Fix validation to set and unset assignments when there are already reviews/metareviews posted.
  • Add tests
  • Remove commented code


## Undeploy assignments
if self.is_senior_area_chair and not self.venue.sac_paper_assignments:
self.undeploy_sac_assignments()
Copy link
Member

Choose a reason for hiding this comment

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

Has this been implemented already? I can't find it

Copy link
Member Author

Choose a reason for hiding this comment

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

oops, I forgot it!

I think in this case it is only deleting the assignments edges?

Copy link
Member

Choose a reason for hiding this comment

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

Correct! About changing the status of the configuration, will this be done in the matcher code?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, I need to create a PR in openreview-matcher and openreview-web to enable this from the UI

@melisabok
Copy link
Member Author

UPDATE: I changed the strategy to undeploy the assignments related to the configuration title instead of removing all the assignments. This way we can deploy multiple assignments from the UI.

@melisabok
Copy link
Member Author

@celestemartinez this PR is ready to be reviewed again, thanks!

content = {}
if 'assigned_action_editor' in note.content:
if note.content['venueid']['value'] == journal.under_review_venue_id:
Copy link
Member

Choose a reason for hiding this comment

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

Will an AE be added to the submission only when the venueid == journal.under_review_venue_id? Could the venue id be journal.assigning_AE_venue_id instead and need the assigned_action_editor added?

Copy link
Member Author

Choose a reason for hiding this comment

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

usually assigned_action_editor is being set when the paper is under review.

I'm handling this case when the AE is unassigned and then another one is assigned when the paper is under review.

Copy link
Member Author

Choose a reason for hiding this comment

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

BTW I will make a new PR where the assigned_action_editor will be visible as soon as the AE is assigned.

@celestemartinez
Copy link
Member

We don't need to do anything about theInvite_Assignment invitation for reviewers right, which is created when we deploy reviewer assignments? Since the edge browser is not visible to ACs unless we set 'enable_reviewers_reassignment': { 'value': True } in the group content, ACs shouldn't be able to invite reviewers anyway

@melisabok
Copy link
Member Author

That's true, I didn't change the invite invitation.

@melisabok melisabok merged commit 4490d2f into master May 7, 2024
1 check was pending
@melisabok melisabok deleted the feature/support-undo-assignments branch May 7, 2024 17:00
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.

None yet

4 participants