The satisfies constraint was incorrectly using the provided assertion to evaluate the row level outcomes. The assertion should only be used to evaluate the final outcome.
As part of this change, we have updated the row level results to return a true/false. The cast to an integer happens as part of the aggregation result.
Added a test to verify the row level results using checks made up of different assertions.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: https://github.com/awslabs/deequ/issues/519
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.