forked from idaholab/moose
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
100 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 19 additions & 35 deletions
54
modules/stochastic_tools/test/tests/vectorpostprocessors/bootstrap_statistics/bca/tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,25 @@ | ||
[Tests] | ||
design = Statistics.md | ||
issues = '#14409' | ||
[basic] | ||
type = CSVDiff | ||
input = bca.i | ||
csvdiff = bca_out_stats_0001.csv | ||
|
||
[bca] | ||
requirement = "The system shall support computing bias corrected and accelerated confidence level intervals of statics" | ||
|
||
[basic] | ||
type = CSVDiff | ||
input = bca.i | ||
csvdiff = bca_out_stats_0001.csv | ||
|
||
detail = "of a vector of data" | ||
[] | ||
|
||
[replicated] | ||
type = CSVDiff | ||
input = bca_distributed.i | ||
csvdiff = bca_distributed_out_stats_0001.csv | ||
cli_args = "VectorPostprocessors/data/parallel_type=replicated" | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
|
||
detail = "using data that is replicated or" | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
[distributed] | ||
type = CSVDiff | ||
input = bca_distributed.i | ||
csvdiff = bca_distributed_out_stats_0001.csv | ||
prereq = bca/replicated | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
[replicated] | ||
type = CSVDiff | ||
input = bca_distributed.i | ||
csvdiff = bca_distributed_out_stats_0001.csv | ||
cli_args = "VectorPostprocessors/data/parallel_type=replicated" | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
|
||
skip = "WIP #14409" | ||
detail = "distributed across processors." | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
[] |
54 changes: 27 additions & 27 deletions
54
modules/stochastic_tools/test/tests/vectorpostprocessors/bootstrap_statistics/errors/tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
[Tests] | ||
design = Statistics.md | ||
issues = '#14409' | ||
[no_ci_levels] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels=''" | ||
expect_err = "If the 'ci_method' parameter is supplied then the 'ci_levels' must also be " | ||
"supplied with values in \(0, 0.5\]" | ||
|
||
[errors] | ||
requirement = "The system shall error when computing confidence level intervals when" | ||
|
||
[no_ci_levels] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels=''" | ||
expect_err = "If the 'ci_method' parameter is supplied then the 'ci_levels' must also be supplied with values in \(0, 0.5\]" | ||
|
||
detail = "the confidence level intervals are omitted;" | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
[ci_levels_zero] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels='0'" | ||
expect_err = "The supplied levels must be greater than zero" | ||
[ci_levels_zero] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels='0'" | ||
expect_err = "The supplied levels must be greater than zero" | ||
|
||
detail = "the confidence level intervals are omitted;" | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
[ci_levels_one] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels='1'" | ||
expect_err = "The supplied levels must be less than or equal to 0\.5" | ||
[ci_levels_one] | ||
type = RunException | ||
input = error.i | ||
cli_args = "VectorPostprocessors/stats/ci_levels='1'" | ||
expect_err = "The supplied levels must be less than or equal to 0\.5" | ||
|
||
detail = "the confidence level intervals are out of range." | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
[] |
67 changes: 33 additions & 34 deletions
67
...es/stochastic_tools/test/tests/vectorpostprocessors/bootstrap_statistics/percentile/tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,41 @@ | ||
[Tests] | ||
design = Statistics.md | ||
issues = '#14409' | ||
[basic] | ||
type = CSVDiff | ||
input = percentile.i | ||
csvdiff = percentile_out_stats_0001.csv | ||
|
||
[percentile] | ||
requirement = "The system shall support computing percentile confidence level intervals of statics" | ||
|
||
[basic] | ||
type = CSVDiff | ||
input = percentile.i | ||
csvdiff = percentile_out_stats_0001.csv | ||
|
||
detail = "of a vector of data" | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
# These two tests are restricted to 3 processors because the Test VPP creates unique data | ||
# depending on the number of cores used | ||
[replicated] | ||
type = CSVDiff | ||
input = percentile_distributed.i | ||
csvdiff = percentile_distributed_out_stats_0001.csv | ||
cli_args = "VectorPostprocessors/data/parallel_type=replicated" | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
# These two tests are restricted to 3 processors because the Test VPP creates unique data | ||
# depending on the number of cores used | ||
[replicated] | ||
type = CSVDiff | ||
input = percentile_distributed.i | ||
csvdiff = percentile_distributed_out_stats_0001.csv | ||
cli_args = "VectorPostprocessors/data/parallel_type=replicated" | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
|
||
detail = "using data that is replicated or" | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
[distributed] | ||
type = CSVDiff | ||
input = percentile_distributed.i | ||
csvdiff = percentile_distributed_out_stats_0001.csv | ||
prereq = percentile/replicated | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
[distributed] | ||
type = CSVDiff | ||
input = percentile_distributed.i | ||
csvdiff = percentile_distributed_out_stats_0001.csv | ||
prereq = replicated | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
|
||
detail = "distributed across processors." | ||
[] | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
[] |
43 changes: 19 additions & 24 deletions
43
modules/stochastic_tools/test/tests/vectorpostprocessors/statistics/tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
[Tests] | ||
issues = '#11217' | ||
design = 'Statistics.md' | ||
|
||
[tests] | ||
requirement = 'The system shall be capable of computing the statics of a data vector of that' | ||
|
||
[replicated] | ||
type = 'CSVDiff' | ||
input = 'statistics.i' | ||
csvdiff = 'statistics_out_stats_0001.csv' | ||
allow_test_objects = true | ||
|
||
detail = 'is replicated and' | ||
[] | ||
|
||
[distributed] | ||
type = 'CSVDiff' | ||
input = 'statistics_distributed.i' | ||
csvdiff = 'statistics_distributed_out_stats_0001.csv' | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
[replicated] | ||
type = 'CSVDiff' | ||
input = 'statistics.i' | ||
csvdiff = 'statistics_out_stats_0001.csv' | ||
allow_test_objects = true | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
|
||
detail = 'distributed.' | ||
[] | ||
[distributed] | ||
type = 'CSVDiff' | ||
input = 'statistics_distributed.i' | ||
csvdiff = 'statistics_distributed_out_stats_0001.csv' | ||
min_parallel = 3 | ||
max_parallel = 3 | ||
allow_test_objects = true | ||
allow_deprecated = true | ||
no_error_deprecated = true | ||
deprecated = true # SQA | ||
[] | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters