datajudge
datajudge copied to clipboard
Assessing whether data from database complies with reference information.

cf. PR #89 This includes calling the function `diff_color` ```py3 factual_fmt, target_fmt = diff_color(factual, target) ``` and then printing the `_fmt` variables instead of the original numbers.
I'm getting constraint failure messages like ``` 6.288887928086567e-05% (20 out of 31802125) ``` and ``` 1.0073226238812658% (320350 out of 31802125) ``` In both cases, using fewer decimal places would be...
I am trying to specify constraints for a Snowflake table with a schema that includes a column named "ALTER". After adding an `add_uniques_equality_constraint` constraint, testing the code results in a...
One can see it as a user error that `Condition(rawstring="col is not NULL")` fails if col does not exist in table. However, the general concept of datajudge seems to be...
Our `CI` currently let's runners run on old commits even though a newer one arrived. This can be solved pretty easy by adding the following concurrency group to the `ci.yaml`...
For example, `max_relative_deviation` or `max_absolute_deviation` are typically expected to be positive. Yet, we currently do hardly any input validation in the respective `Constraint` constructors. Validating this input could help users...
The doc string of the corresponding `add_*_constraint` method claims the following: > Since we expect aggregate_column to be a numeric column, this leads to a multiset of aggregated values. These...
Hey, this is an issue I have encountered using datajudge within some projects and I'd like to discuss whether this is a general use case. ### Status Quo Currently, the...
An example of such a parameter would be [add_date_min_constraint](https://datajudge.readthedocs.io/en/latest/api/datajudge.requirements.html#datajudge.requirements.WithinRequirement.add_date_min_constraint) and its `min_value` parameter. First, it should be clarified, what currently works. Exemplary questions to ask: * Can timestamps be used,...