DataDesigner/packages/data-designer-engine
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
..
src/data_designer/engine fix: preserve extra_body for LiteLLM to avoid UnsupportedParamsError (#409) (#412) 2026-03-13 13:35:32 -06:00
tests feat: normalize validator and constraint discriminators (#414) 2026-03-13 17:34:23 -04:00
pyproject.toml fix: add chardet<6 constraint to published engine package (#406) 2026-03-12 18:34:41 -04:00
README.md refactor: slim package refactor into three subpackages (#240) 2026-01-27 13:53:20 -05:00

data-designer-engine

Generation engine for NeMo Data Designer synthetic data generation framework.

This package contains the execution engine that powers Data Designer. It depends on data-designer-config and includes heavy dependencies like pandas, numpy, and LLM integration via litellm.

Installation

pip install data-designer-engine

This automatically installs data-designer-config as a dependency.

See main README.md for more information.