Skip to content

Commit

Permalink
Reduce export of features exported from FE
Browse files Browse the repository at this point in the history
  • Loading branch information
azimov committed Sep 16, 2024
1 parent 60cfaa9 commit 8efee16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions tests/testthat/test-2-againstCdm.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ test_that("Cohort diagnostics in incremental mode", {
incremental = TRUE,
incrementalFolder = file.path(folder, "incremental"),
temporalCovariateSettings = temporalCovariateSettings,
runFeatureExtractionOnSample = TRUE
runFeatureExtractionOnSample = TRUE,
minCharacterizationMean = 0.8
)
)

Expand Down Expand Up @@ -56,7 +57,8 @@ test_that("Cohort diagnostics in incremental mode", {
incremental = TRUE,
incrementalFolder = file.path(folder, "incremental"),
temporalCovariateSettings = temporalCovariateSettings,
runFeatureExtractionOnSample = TRUE
runFeatureExtractionOnSample = TRUE,
minCharacterizationMean = 0.8
)
)
# generate sqlite file
Expand Down Expand Up @@ -103,7 +105,8 @@ test_that("Cohort diagnostics in incremental mode", {
incremental = FALSE,
incrementalFolder = file.path(folder, "incremental"),
temporalCovariateSettings = temporalCovariateSettings,
runFeatureExtractionOnSample = TRUE
runFeatureExtractionOnSample = TRUE,
minCharacterizationMean = 0.8
)
})

Expand Down
6 changes: 4 additions & 2 deletions tests/testthat/test-3-Characterization.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ test_that("Execute and export characterization", {
incremental = TRUE,
recordKeepingFile = recordKeepingFile,
task = "runTemporalCohortCharacterization",
jobName = "Temporal Cohort characterization"
jobName = "Temporal Cohort characterization",
minCharacterizationMean = 0.3
)

# Check all files are created
Expand Down Expand Up @@ -86,7 +87,8 @@ test_that("Execute and export characterization", {
incremental = TRUE,
recordKeepingFile = recordKeepingFile,
task = "runTemporalCohortCharacterization",
jobName = "Temporal Cohort characterization"
jobName = "Temporal Cohort characterization",
minCharacterizationMean = 0.3
)

# Check no time ids are NA/NULL
Expand Down

0 comments on commit 8efee16

Please sign in to comment.