Skip to content

Commit b5ff046

Browse files
authored
Relax a CSF test tolerance (#1448)
1 parent 5a2fbcd commit b5ff046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

r-package/grf/tests/testthat/test_causal_survival_forest.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ test_that("causal survival forest variance estimates are decent", {
148148
cs.pred <- predict(cs.forest, estimate.variance = TRUE)
149149
z.score.oob <- abs(cs.pred$predictions - true.effect) / sqrt(cs.pred$variance.estimates)
150150
cate.coverage.oob <- mean(z.score.oob <= 1.96)
151-
expect_gte(cate.coverage.oob, 0.7)
151+
expect_gte(cate.coverage.oob, 0.65)
152152

153153
X.test <- matrix(0.5, 10, p)
154154
X.test[, 1] <- seq(0, 1, length.out = 10)

0 commit comments

Comments
 (0)