-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix/ Tests: check status before break in await_queue_edit() (#2411)
* check status before break * fix AAAI test * fix CVPR test * fix emnlp and iclr tests * fix ICML test * more fixes to aaai and emnlp * more fixes * fix aaai test again * fix EMNLP test again * fix ICLR test again * fix NeurIPS test * fix venue request test * fix venue submission test * fix single blind test * fix matching test * fix ICML * more fixes * fix aaai tests * fix workshop tests * fix request form v2 test * create deepcopy of submission content * fix * create deep copies instead * Await process logs for ARR (#2417) * Await process logs for ARR * Temporary print logs * Log id * Reverse if statement * Use equality * Revert logging * search profile by first and last * remove venue configuration files --------- Co-authored-by: Harold Rubio <[email protected]>
- Loading branch information
1 parent
e91e237
commit f63f542
Showing
20 changed files
with
281 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -402,6 +402,8 @@ def test_post_submission(self, client, openreview_client, test_client, helpers, | |
|
||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Post_Submission-0-1', count=3) | ||
|
||
submissions = openreview_client.get_notes(invitation='AAAI.org/2025/Conference/-/Submission', sort='number:asc') | ||
assert len(submissions) == 10 | ||
assert ['AAAI.org/2025/Conference', | ||
|
@@ -589,6 +591,8 @@ def test_ac_bidding(self, client, openreview_client, helpers, test_client, reque | |
|
||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Post_Submission-0-1', count=4) | ||
|
||
ac_client = openreview.api.OpenReviewClient(username = '[email protected]', password=helpers.strong_password) | ||
submissions = ac_client.get_notes(invitation='AAAI.org/2025/Conference/-/Submission', sort='number:asc') | ||
assert len(submissions) == 10 | ||
|
@@ -724,6 +728,8 @@ def test_review_stage(self, client, openreview_client, helpers, selenium, reques | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/First_Round_Review-0-1', count=1) | ||
|
||
invitation = openreview_client.get_invitation('AAAI.org/2025/Conference/Submission1/-/First_Round_Review') | ||
|
||
assert len(openreview_client.get_invitations(invitation='AAAI.org/2025/Conference/-/First_Round_Review')) == 10 | ||
|
@@ -817,6 +823,8 @@ def test_review_stage(self, client, openreview_client, helpers, selenium, reques | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Second_Round_Review-0-1', count=1) | ||
|
||
assert len(openreview_client.get_invitations(invitation='AAAI.org/2025/Conference/-/Second_Round_Review')) == 9 | ||
assert openreview_client.get_invitation('AAAI.org/2025/Conference/Submission1/-/Second_Round_Review') | ||
|
||
|
@@ -877,6 +885,8 @@ def test_release_reviews(self, client, openreview_client, helpers, selenium, req | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, edit_id='AAAI.org/2025/Conference/-/Second_Round_Review-0-1', count=2) | ||
|
||
review_note = openreview_client.get_notes(invitation='AAAI.org/2025/Conference/Submission1/-/Second_Round_Review', sort='number:asc')[0] | ||
assert 'AAAI.org/2025/Conference/Submission1/Authors' in review_note.readers | ||
|
||
|
@@ -922,6 +932,9 @@ def test_meta_review_stage(self, client, openreview_client, helpers, selenium, r | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, edit_id='AAAI.org/2025/Conference/-/Meta_Review-0-1', count=1) | ||
helpers.await_queue_edit(openreview_client, edit_id='AAAI.org/2025/Conference/-/Meta_Review_AC_Revision-0-1', count=1) | ||
|
||
invitations = openreview_client.get_invitations(invitation='AAAI.org/2025/Conference/-/Meta_Review') | ||
assert len(invitations) == 9 | ||
assert invitations[0].edit['note']['id']['param']['withInvitation'] == invitations[0].id | ||
|
@@ -1030,6 +1043,8 @@ def test_comment_emails(self, client, openreview_client, helpers, request_page, | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Official_Comment-0-1', count=1) | ||
|
||
assert comment_stage_note | ||
|
||
# Post comment as reviewer | ||
|
@@ -1095,6 +1110,8 @@ def test_rebuttal_stage(self, client, openreview_client, helpers, selenium, requ | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Rebuttal-0-1', count=1) | ||
|
||
assert len(openreview_client.get_invitations(invitation='AAAI.org/2025/Conference/-/Rebuttal')) == 9 | ||
|
||
submissions = openreview_client.get_notes(invitation='AAAI.org/2025/Conference/-/Submission', sort='number:asc') | ||
|
@@ -1152,6 +1169,8 @@ def test_release_rebuttals(self, client, openreview_client, helpers, selenium, r | |
)) | ||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'AAAI.org/2025/Conference/-/Rebuttal-0-1', count=2) | ||
|
||
rebuttals = pc_client_v2.get_notes(invitation='AAAI.org/2025/Conference/Submission1/-/Rebuttal') | ||
assert len(rebuttals) == 1 | ||
assert rebuttals[0].readers == [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,7 +164,7 @@ def test_search_profiles(self, client, helpers): | |
|
||
assert '~Melisa_Bokk1' == client.search_profiles(ids = ['~Melisa_Bokk1'])[0].id | ||
assert '~Melisa_Bokk1' == client.search_profiles(confirmedEmails = ['[email protected]'])['[email protected]'].id | ||
assert '~Melisa_Bokk1' == client.search_profiles(first = 'Melisa')[0].id | ||
assert '~Melisa_Bokk1' == client.search_profiles(first = 'Melisa', last = 'Bokk')[0].id | ||
assert len(client.search_profiles(ids = ['~Melisa_Bok2'])) == 0 | ||
assert len(client.search_profiles(emails = ['[email protected]'])) == 0 | ||
assert len(client.search_profiles(first = 'Anna')) == 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -528,6 +528,8 @@ def test_review_rating_stage(self, client, openreview_client, helpers, test_clie | |
|
||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'thecvf.com/CVPR/2024/Conference/-/Official_Review-0-1', count=1) | ||
|
||
comment_invitation = f'openreview.net/Support/-/Request{request_form.number}/Stage_Error_Status' | ||
error_comments = client.get_notes(invitation=comment_invitation, sort='tmdate') | ||
assert not error_comments or len(error_comments) == 0 | ||
|
@@ -875,6 +877,8 @@ def test_secondary_ac_assignment(self, openreview_client, helpers, client): | |
|
||
helpers.await_queue() | ||
|
||
helpers.await_queue_edit(openreview_client, 'thecvf.com/CVPR/2024/Conference/-/Official_Comment-0-1', count=1) | ||
|
||
## post a comment as a Secondary AC | ||
submission = openreview_client.get_notes(invitation='thecvf.com/CVPR/2024/Conference/-/Submission', number=4)[0] | ||
anon_reviewers_group_id = ac1_client.get_groups(prefix=f'thecvf.com/CVPR/2024/Conference/Submission4/Secondary_Area_Chair_', signatory='[email protected]')[0].id | ||
|
Oops, something went wrong.