Closed richelbilderbeek closed 4 years ago
Marked as such:
test_that("different error filenames between generative and candidate", {
if (rappdirs::app_dir()$os == "win") return()
experiments <- create_test_pir_params_setup(
has_candidate = TRUE
)$experiments
experiments[[1]]$errors_filename <- "errors.csv"
experiments[[2]]$errors_filename <- "errors.csv"
skip("Issue 402. Issue #402")
expect_error(check_experiments(experiments))
expect_equal(experiments[[1]]$inference_conditions$model_type, "generative")
expect_equal(experiments[[2]]$inference_conditions$model_type, "candidate")
expect_true(experiments[[1]]$errors_filename != experiments[[2]]$errors_filename)
})
It does now. It even detects bugs where I hoped would be none.
Describe the bug
If there are multiple experiments, one generative, and one candidate, these should save their errors to different files.
To Reproduce
Expected behavior
See tests
Environment: Show the results of running the following script:
Additional context
None.