Skip to content

fix: Bid Console instructions: Display conflict/affinity score text if#2944

Open
JiwaniZakir wants to merge 3 commits intoopenreview:masterfrom
JiwaniZakir:fix/issue-2324
Open

fix: Bid Console instructions: Display conflict/affinity score text if#2944
JiwaniZakir wants to merge 3 commits intoopenreview:masterfrom
JiwaniZakir:fix/issue-2324

Conversation

@JiwaniZakir
Copy link
Copy Markdown

Fixes #2324

The Bid Console instructions in paperBidWebfield.js unconditionally displayed the conflict-of-interest tip and omitted the affinity score tip for venues that had neither configured, showing irrelevant text to reviewers. The root cause was that conflictInvitationId was inlined in the properties object without being available for use in the instructions template, and neither bullet used conditional rendering.

Extracts conflictInvitationId into a top-level variable alongside affinityScoreId, then gates the conflict bullet on conflictInvitationId and restores the existing conditional for the affinity score bullet in the instructions template string. The conflictInvitationId property assignment is updated to reference the extracted variable.

Verified by reviewing rendered output for venues with and without conflict/affinity score invitations configured.

JiwaniZakir and others added 3 commits March 17, 2026 09:20
…nsole instructions (openreview#2324)

Remove misleading static instruction text about conflicts and affinity scores
from the bid console since these features are optional and may not be configured.
Show the conflict-of-interest bullet only when conflictInvitationId is
configured, and the affinity score bullet only when affinityScoreId is
configured, instead of removing them unconditionally.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Bid Console webfield configuration to conditionally include instruction tips related to conflicts and affinity scores, aiming to avoid showing irrelevant guidance when those features aren’t configured/available.

Changes:

  • Extracts conflictInvitationId into a top-level variable alongside affinityScoreId.
  • Updates the instructions markdown template to conditionally render the conflict and affinity-score tips.
  • Updates the conflictInvitationId property assignment to reference the extracted variable.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 14 to +15
const affinityScoreId = domain.content[`${internalRole}_affinity_score_id`]?.value
const conflictInvitationId = domain.content[`${internalRole}_conflict_id`]?.value

- Papers for which you have a conflict of interest are not shown.
- Positive bids ("High" and "Very High") will, in most cases, increase the likelihood that you will be assigned that paper.
${conflictInvitationId ? '- Papers for which you have a conflict of interest are not shown.\n' : ''}- Positive bids ("High" and "Very High") will, in most cases, increase the likelihood that you will be assigned that paper.
submissionVenueId: domain.content.submission_venue_id?.value,
scoreIds: affinityScoreId ? [affinityScoreId] : [],
conflictInvitationId: domain.content[`${internalRole}_conflict_id`]?.value,
conflictInvitationId: conflictInvitationId,
@JiwaniZakir
Copy link
Copy Markdown
Author

Good catch, will fix that to use shorthand.

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.

Bid Console instructions: Display conflict/affinity score text if invitation exists or if edges exist

3 participants