Skip to content

Fix multi-answer MCQ consensus group collisions - #154

Open
sylvesterkaczmarek wants to merge 1 commit into
openai:mainfrom
sylvesterkaczmarek:fix-mcq-consensus-group-collisions
Open

Fix multi-answer MCQ consensus group collisions#154
sylvesterkaczmarek wants to merge 1 commit into
openai:mainfrom
sylvesterkaczmarek:fix-mcq-consensus-group-collisions

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Summary

  • make multi-answer MCQ consensus group IDs uniquely represent the selected answer set
  • prevent distinct answer sets with the same cardinality and index sum from being merged
  • preserve the existing single-answer grouping behavior and the current < 10 answer-index constraint

MCQEval.get_summary() currently encodes a set using a fixed set of powers of ten plus the sum of the selected indices. As a result, distinct sets can collide. For example, {0, 3} and {1, 2} both receive the same group ID even though they are different answers.

The new encoding places each selected index in its own decimal digit position, so distinct sets produce distinct group IDs. This keeps consensus and answer-group correctness calculations from combining different multi-answer responses.

The change is limited to the internal multi-answer group encoding.

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.

1 participant