-
Notifications
You must be signed in to change notification settings - Fork 18
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: add bid invitation to assignment configuration #2111
Conversation
openreview/venue/invitation.py
Outdated
scores_spec['value']['param']['default'][bid_invitation.id] = { | ||
'weight': 1, | ||
'default': 0, | ||
'translate_map' : { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good, I think we should store this mapping function somewhere so it is not repeated in the code.
What about storing it in the Bid Invitation content and then read it to set the score spec?
'Very Low': -1.0 | ||
} | ||
} | ||
score_spec[invitation.id] = invitation.content['scores_spec']['value'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@melisabok I am worried any already created invitations would not have this value and this would give an error, and setting a default would mean we still have duplicated code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@melisabok what do you think about this? I wonder the same thing, but it may not be a big issue if bidding isn't commonly used
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can leave this as it its, I didn't want to hav the translate_map duplicated in the code, that is why I suggested to store it in the invitation.content.
Sometimes a venue may want to use a different scale or bid labels so it would be nice this can be configure by themselves.
Fixes #2079