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

Feature/Venue Configuration by Invitation #2118

Merged
merged 106 commits into from
Jul 18, 2024
Merged

Conversation

celestemartinez
Copy link
Member

@celestemartinez celestemartinez commented May 1, 2024

No description provided.

}
}
},
'force_profiles_only': {
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 remove it from the request form and use the invitations to edit this.

}
}
},
'submission_readers': {
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 remove it from the request form and use the invitations to edit this.

}
}
},
'submission_license': {
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 remove it from the request form and use the invitations to edit this.

}
}
},
'email_pcs_for_new_submissions': {
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 remove it from the request form and use the invitations to edit this.

@xkopenreview
Copy link
Contributor

venue configuration test is throwing a process function error that edit, official_review, submission, post_submission invitation can't be retrieved

@melisabok
Copy link
Member

We are accumulating too many changes here, I suggest to merge this branch and make smaller PRs.

}
)
helpers.await_queue_edit(openreview_client, invitation='ICLR.cc/2025/Conference/-/Submission/Deadlines')
helpers.await_queue_edit(openreview_client, edit_id='ICLR.cc/2025/Conference/-/Post_Submission-0-0', count=1)
Copy link
Contributor

Choose a reason for hiding this comment

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

my test will stuck at this assert.
does the post_submission process run only after submission invitation is expired?

Copy link
Member Author

Choose a reason for hiding this comment

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

In the process function of the submission deadlines invitations we edit the Post_Submission invitation, and this is what we are checking here. I am not getting any errors but let me check again

@@ -39,7 +41,8 @@ def process(client, edit, invitation):
To view the comment, click here: https://openreview.net/forum?id={submission.id}&noteId={comment.id}'''

program_chairs_id = domain.get_content_value('program_chairs_id')
if parent_invitation.content.get('email_pcs', {}).get('value', False) and (program_chairs_id in comment.readers or 'everyone' in comment.readers):
comment_email_pcs = parent_invitation.content.get('email_pcs', {}).get('value', domain.get_content_value('comment_email_pcs'))
Copy link
Member

Choose a reason for hiding this comment

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

get_content_value has a default value too, so you can do:

parent_invitation.get_content_value('email_pcs', domain.get_content_value('comment_email_pcs'))

Copy link
Member Author

Choose a reason for hiding this comment

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

It looks like this wouldn't work, because we only return the default value if the invitation/group has no content; otherwise, we return the value of the field, which could be None. Looks like get_content_value() does not work exactly like get() does. I can fix this

Copy link
Member

Choose a reason for hiding this comment

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

ohhhhh, you are right.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed!

@melisabok melisabok marked this pull request as ready for review July 18, 2024 16:03
@melisabok melisabok merged commit 0ecde4c into master Jul 18, 2024
1 check passed
@melisabok melisabok deleted the feature/venue-invitations branch July 18, 2024 20:19
reply_readers_invitation_id = invitation_id + '/Readers'

reply_readers = [
{'value': venue.get_program_chairs_id(), 'optional': False, 'description': 'Program Chairs.'}
Copy link
Contributor

Choose a reason for hiding this comment

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

@celestemartinez there's an extra dot in description

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.

3 participants