4. Compute the conflicts. If no conflicts are found, get_conflicts will return an empty list. Otherwise, the list will contain the shared groups that put them in conflict with each other.
for reviewer in reviewers:
conflicts = openreview.tools.get_conflicts(
author_profiles,
reviewer,
policy='default',
n_years=5
)
The last step is posting the conflict Edges. You can follow this , and keep the label as 'Conflict'.
.
Get all submissions, authorids of all submissions, and the author and reviewer Profiles. If you're using a custom policy that does not need the author's publications, you can exclude with_publications=True
Get conflicts for each reviewer.
The last step is posting the conflict Edges. You can follow this , and keep the label as 'Conflict'.
Get and save them to a variable "submissions".
Get the profiles for the new reviewers.
For each submission, get the author_profiles and then get conflicts for each reviewer.
Getting the author profiles for each submission can be inefficient if the venue has too many submissions, you can first query all the author profile ids and get all the profiles together:
for reviewer in reviewers:
conflicts_for_reviewer = openreview.tools.get_conflicts(author_profiles, reviewer, policy=own_policy, n_years=None) # Returns a list of conflicts