-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
2021 Week 28-30 (from Jul 12)
-
3
-
Undefined
-
NEW
-
NEW
Currently, ConstraintVerifier penalizesBy / rewardsWith do not work with Constraint Streams that are terminated with `impact(...)`. This is probably caused by https://github.com/kiegroup/optaplanner/blob/e06abbce57ab64620c50eda9e25a3f50804f9017/optaplanner-test/src/main/java/org/optaplanner/test/impl/score/stream/DefaultSingleConstraintAssertion.java#L126-L128 , which handles ScoreimpactType.MIXED the same as ScoreImpactType.REWARD/ScoreImpactType.PENALTY.
- causes
-
PLANNER-2932 ConstraintVerifier: test for impact() is inverted
- Pull Request Sent