Interface: GenerateNegativesRequest
@kortexya/reasoninglayer / GenerateNegativesRequest
Interface: GenerateNegativesRequest
Section titled “Interface: GenerateNegativesRequest”Defined in: src/types/synthetic.ts:192
Request to generate enhanced negative examples for target sorts.
Properties
Section titled “Properties”enableConstraintViolation?
Section titled “enableConstraintViolation?”
optionalenableConstraintViolation?:boolean
Defined in: src/types/synthetic.ts:199
Whether to violate each declared feature constraint — enum, range, pattern, maximum cardinality — one negative per constraint, each naming the constraint in NegativeExampleDto.violatedConstraint (default: true).
enableCrossSortConfusion?
Section titled “enableCrossSortConfusion?”
optionalenableCrossSortConfusion?:boolean
Defined in: src/types/synthetic.ts:201
Whether to use cross-sort confusion strategy (default: true).
enableFeaturePerturbation?
Section titled “enableFeaturePerturbation?”
optionalenableFeaturePerturbation?:boolean
Defined in: src/types/synthetic.ts:203
Whether to use feature perturbation strategy (default: true).
enableSortIncompatibility?
Section titled “enableSortIncompatibility?”
optionalenableSortIncompatibility?:boolean
Defined in: src/types/synthetic.ts:205
Whether to use sort incompatibility strategy (default: true).
maxPerSort?
Section titled “maxPerSort?”
optionalmaxPerSort?:number|null
Defined in: src/types/synthetic.ts:207
Maximum negatives per sort (default: 5).
optionalseed?:number|null
Defined in: src/types/synthetic.ts:209
Random seed for reproducibility (default: 42).
targetSorts
Section titled “targetSorts”targetSorts:
string[]
Defined in: src/types/synthetic.ts:211
Target sort IDs to generate negatives for.