Skip to content

Conversation

@iimog
Copy link
Contributor

@iimog iimog commented Nov 24, 2025

Fixes #1389

Description

This pr adds a test that the min_constraint is properly used in _parse_range and fixes the issue in the line, that caused the bug.

Checklist

  • I have read the CONTRIBUTING docs and have a developer setup ready
  • Changes are
    • Non-breaking (would not break existing functionality)
    • Breaking (would cause existing functionality to change)
  • Tests added or modified to cover the changes
  • In-line docstrings updated
  • Documentation updated
  • This pull request is ready to be reviewed

I did not modify the docstrings or documentation because this change ensures they are accurate. Previously, the described behaviour did not occur (e.g., for RandomNoise, providing a single value for std was supposed to apply a random noise level between 0 and std, but actually, the maximum value of std was always applied). In this way, it could be considered a breaking change if users actively relied on this behavior.

@iimog iimog changed the title 1389 fix parse range Fix parse range with min constraint Nov 24, 2025
@iimog iimog force-pushed the 1389-fix-parse-range branch from cb706d8 to a3a0f87 Compare November 24, 2025 15:06
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.

Problem in _parse_range with min_constraint

1 participant