You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description LeapHybridNLSampler accepts models with more than maximum_number_of_states states initialized but quietly ignore the rest. Users might think the rest are being used.
Expected it to reject: "Alex C 6 days ago Something that came up... we need to add it. And reject problems based on that num_states field in the header"
Expected behavior
Reject such problems
Environment:
OS: WIN
Python version: 3.11
Additional context @alexzucca90 suggested to move to here.
I notice we actually check maximum_number_of_states property here so can easily do this in the client.
The text was updated successfully, but these errors were encountered:
We could also just raise a user warning and continue with the truncated states. Seems more user friendly (but less explicit), unless you think it's really important for users to realize only one state is used (currently).
Description
LeapHybridNLSampler
accepts models with more thanmaximum_number_of_states
states initialized but quietly ignore the rest. Users might think the rest are being used.To Reproduce
Expected it to reject: "Alex C 6 days ago Something that came up... we need to add it. And reject problems based on that num_states field in the header"
Expected behavior
Reject such problems
Environment:
Additional context
@alexzucca90 suggested to move to here.
I notice we actually check
maximum_number_of_states
property here so can easily do this in the client.The text was updated successfully, but these errors were encountered: