mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
483cacfafd
* Add type, dispersion, min_value, max_value and other relevant internal members of MonteCarloVariable* classes to the output of MonteCarlo_Meta_data_output. Motivation is for users wanting to post-process dispersion parameters used during generation of runs * Protect against invalid memory access when length of values is zero in MonteCarloVariableRandomStringSet::generate_assignment(). Add a new verif sim warning case to cover these new lines * Update new verif data for SIM_mc_generation to support these changes Closes #1574 Co-authored-by: Dan Jordan <daniel.d.jordan@nasa.gov> |
||
---|---|---|
.. | ||
FAIL_config_error | ||
FAIL_duplicate_variable | ||
FAIL_illegal_config | ||
FAIL_invalid_config | ||
FAIL_invalid_data_file | ||
FAIL_IO_error | ||
FAIL_malformed_data_file | ||
IO_FAIL | ||
IO_RUN_ERROR1 | ||
IO_RUN_ERROR2 | ||
Log_data | ||
MCGTrickOps | ||
Modified_data | ||
MONTE_IO_FAIL | ||
MONTE_IO_RUN_ERROR1 | ||
MONTE_IO_RUN_ERROR2 | ||
RUN_ERROR_file_inconsistent_skip | ||
RUN_ERROR_invalid_call | ||
RUN_ERROR_invalid_name | ||
RUN_ERROR_invalid_sequence | ||
RUN_ERROR_invalid_sequencing | ||
RUN_ERROR_out_of_domain_error | ||
RUN_ERROR_random_value_truncation | ||
RUN_file_sequential | ||
RUN_file_skip | ||
RUN_file_skip2 | ||
RUN_generate_meta_data_early | ||
RUN_nominal | ||
RUN_random_normal__untruncate | ||
RUN_random_normal_truncate_abs | ||
RUN_random_normal_truncate_rel | ||
RUN_random_normal_truncate_sd | ||
RUN_random_normal_untruncated | ||
RUN_random_uniform | ||
RUN_remove_variable | ||
RUN_WARN_config_error | ||
RUN_WARN_invalid_name | ||
RUN_WARN_no_string_values | ||
RUN_WARN_overconstrained_config | ||
verif_data | ||
README | ||
S_define | ||
S_overrides.mk |
Verification simulation of monte_carlo. The following tests rely on setting the directories to be non-writable. Their purpose is to detect situations in which the monte-carlo model cannot generate certain files. These tests by their very nature are difficult to run within an automated scripted testing system. IO_FAIL IO_RUN_ERROR1 IO_RUN_ERROR2 The following cases are expecting either a warning or an error but the simulation does not terminate. Instead, ZERO is returned. The purpose of these cases is to emit the error or warning, not generate viable datasets. Do not evaluate any of these cases for good dispersions. There is no telling what state the data is in after the warning / error message is emitted. RUN_ERROR_file_inconsistent_skip RUN_ERROR_invalid_call RUN_ERROR_invalid_name RUN_ERROR_invalid_sequence RUN_ERROR_invalid_sequencing RUN_ERROR_IO_error RUN_ERROR_IO_error2 RUN_ERROR_out_of_domain_error RUN_ERROR_random_value_truncation RUN_WARN_config_error RUN_WARN_invalid_name RUN_WARN_overconstrained_config The following cases emit a fatal error and the simulation halts in its tracks: FAIL_config_error FAIL_duplicate_variable FAIL_illegal_config FAIL_invalid_config FAIL_invalid_data_file FAIL_IO_error FAIL_IO_error2 FAIL_malformed_data_file