DataDesigner/packages/data-designer-engine/tests/engine/sampling_gen
Johnny Greco 26a9cf23ac
feat: normalize validator and constraint discriminators (#414)
* feat: normalize validator and constraint discriminators

* docs: add docstring and comment to Constraint base class

Address Greptile review feedback:
- Add docstring to Constraint noting it should not be instantiated directly
- Add comment explaining the rhs fallback behavior in the resolver

* refactor: restore ABC on Constraint base class

* refactor: add explicit None guard in constraint resolver

* Fix legacy numeric sampler constraint detection

* fix: address PR review feedback from nabinchha

- Guard _can_coerce_to_float against inf/nan strings
- Add -> None return type annotations to test functions
- Add clarifying comments to ColumnConstraintT vs ColumnConstraintInputT
- Add tests for tagged constraint round-trip and missing rhs validation
2026-03-13 17:34:23 -04:00
..
data_sources chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
entities chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
conftest.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
test_column.py chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
test_constraints.py feat: normalize validator and constraint discriminators (#414) 2026-03-13 17:34:23 -04:00
test_generator.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
test_jinja_utils.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00
test_people_gen.py chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
test_schema.py chore: add publish script and update license headers (#253) 2026-01-28 08:47:34 -05:00
test_utils.py chore: Improve CLI startup with lazy heavy import cleanup (#330) 2026-02-18 16:24:15 -05:00