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
npatki
changed the title
Better input validation when instantiating a single table synthesizer
Better input validation when creating single and multi table synthesizers
Feb 7, 2023
Version SDV 1.0
Problem Description
All synthesizers have
enforce_min_max_values
andenforce_rounding
parameters that must be a boolean (True
orFalse
)Currently, we are accepting other values that are not boolean. It is not clear what these parameters mean.
Expected behavior
If I input anything other than a boolean for these parameters, raise an error.
For multi table synthesizers, the same error can be thrown in the
set_table_parameters
method:Additional context
Just throw a single error as soon as we find one. If multiple parameters have an error, the user will just see an error for the first one we notice.
The text was updated successfully, but these errors were encountered: