Skip to content

Instantly share code, notes, and snippets.

@timgent
Created August 8, 2020 08:57
val predictedOrdersChecks = ChecksSuite("orders",
dualDsChecks = Map(
DescribedDsPair(DescribedDs(orders, "orders"), DescribedDs(predictedOrders, "predictedOrders")) ->
Seq(
DualMetricCheck(CountDistinctValuesMetric(List("customerId")), CountDistinctValuesMetric(List("customerId")),
"predicted orders present for every customer", MetricComparator.metricsAreEqual)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment