From 24c6586a20d378445dbd08c8d7e540f9915e27ca Mon Sep 17 00:00:00 2001 From: jangorecki Date: Sun, 23 Feb 2020 20:20:55 +0530 Subject: [PATCH] address dask rounding issue #136 --- _report/report.R | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_report/report.R b/_report/report.R index dc45156b..f4627e16 100644 --- a/_report/report.R +++ b/_report/report.R @@ -70,8 +70,13 @@ clean_questions = function(q) { model_time = function(d) { # chk tolerance for cudf disabled as of now: https://github.com/rapidsai/cudf/issues/2494 #d[!is.na(chk) & solution=="cudf", .(unq_chk=paste(unique(chk), collapse=","), unqn_chk=uniqueN(chk)), .(task, solution, data, question)][unqn_chk>1L] + # as well for dask due to #136 + #d[!is.na(chk) & solution=="dask", .(unq_chk=paste(unique(chk), collapse=","), unqn_chk=uniqueN(chk)), .(task, solution, data, question)][unqn_chk>1L] if (nrow( - d[!is.na(chk) & solution!="cudf", + d[!is.na(chk) & ( + solution!="cudf" & + solution!="dask" + ), .(unqn_chk=uniqueN(chk)), .(task, solution, data, question)][unqn_chk>1L] )) stop("Value of 'chk' varies for different runs for single solution+question")