Skip to content

Add xfail tests documenting non-unique generated RSF labels#992

Open
d-kad wants to merge 2 commits into
gambitproject:masterfrom
d-kad:bug_dup_str_ind
Open

Add xfail tests documenting non-unique generated RSF labels#992
d-kad wants to merge 2 commits into
gambitproject:masterfrom
d-kad:bug_dup_str_ind

Conversation

@d-kad

@d-kad d-kad commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description of the changes in this PR

Reduced-strategy labels are generated by concatenating action numbers with no separator,
so they are non-unique once an information set has ten or more actions: assignments (1, 11) and (11, 1)
both render as "111". This violates the per-player label uniqueness that #981 enforces on user-set labels,
and it breaks NFG round-tripping — WriteNfgFile emits the duplicate labels and ReadNfgFile then rejects.

This PR documents the bug with two xfail tests for the smallest tree that produces exactly one collision.

@d-kad d-kad added the bug label Jul 20, 2026
@d-kad
d-kad requested a review from tturocy July 20, 2026 13:20
@tturocy

tturocy commented Jul 20, 2026

Copy link
Copy Markdown
Member

This is a good point and something that was in the back of my mind. But also as I note in #991, actually we should be thinking about what we want auto-generated labels to be especially now that actions do (or shortly will) be required to have nonempty labels.

@tturocy
tturocy requested a review from rahulsavani July 20, 2026 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants