stateright icon indicating copy to clipboard operation
stateright copied to clipboard

Panic on property name collision

Open cjen1-msft opened this issue 10 months ago • 1 comments

If there are multiple properties with the same name, for example a Sometimes and a Eventually property, then the Sometimes discovery may be misattributed to an Eventually counterexample.

This prevents that by enforcing that all property names are unique.

cjen1-msft avatar Jun 18 '25 13:06 cjen1-msft

Thanks for this, looks fine to me. Makes me wonder if we should use something other than the property name in the discovery checks though, like an internal id.

What do you think?

jeffa5 avatar Jun 18 '25 19:06 jeffa5

Thanks @cjen1-msft.

@jeffa5 I'm open to alternatives if they don't hurt the ergonomics too much. Somewhat related: I'm thinking in retrospect properties should be passed to the checker rather than being part of the Model so would probably start there first.

jonnadal avatar Jul 14 '25 05:07 jonnadal