.piperider/pluginsas custom assertion functions automatically.
.piperider/pluginsis created by
piperider initwith a scaffolding of a custom assertion function,
customized_assertions.py. You can rename the file or create assertion functions in other python file there.
piperider runwill generate profiling results containing a plenty of metrics that your assertions could refer to those metrics for the data quality measurement. Metrics are saved in the
.piperider/outputs/<run>/.profiler.jsonand the context are categorized into tables/columns according to data types, String, Datetime, and Numeric.
piperider run, You will be prompted for the generation of recommended assertions, if yes, recommended assertions will be generated, otherwise, assertion scaffoldings will be generated at
customized_assertions.py. A custom assertion class has to implement
BaseAssertionType__ and its functions,