trick/test/SIM_mc_generation
ddj116 483cacfafd
MonteCarloGenerate: Provide more metadata on dispersions (#1608)
* 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>
2023-12-01 10:09:17 -06:00
..
FAIL_config_error Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_duplicate_variable Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_illegal_config Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_invalid_config Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_invalid_data_file Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_IO_error Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
FAIL_malformed_data_file Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
IO_FAIL Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
IO_RUN_ERROR1 Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
IO_RUN_ERROR2 Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
Log_data Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
MCGTrickOps Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
Modified_data Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
MONTE_IO_FAIL Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
MONTE_IO_RUN_ERROR1 Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
MONTE_IO_RUN_ERROR2 Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_file_inconsistent_skip Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_invalid_call Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_invalid_name Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_invalid_sequence Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_invalid_sequencing Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_out_of_domain_error Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_ERROR_random_value_truncation Fix 32 bit build (#1487) 2023-04-17 15:32:59 -05:00
RUN_file_sequential Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_file_skip Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_file_skip2 Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_generate_meta_data_early Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_nominal Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_normal__untruncate Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_normal_truncate_abs Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_normal_truncate_rel Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_normal_truncate_sd Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_normal_untruncated Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_random_uniform Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_remove_variable Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_WARN_config_error Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_WARN_invalid_name Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
RUN_WARN_no_string_values MonteCarloGenerate: Provide more metadata on dispersions (#1608) 2023-12-01 10:09:17 -06:00
RUN_WARN_overconstrained_config Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
verif_data MonteCarloGenerate: Provide more metadata on dispersions (#1608) 2023-12-01 10:09:17 -06:00
README Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
S_define Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00
S_overrides.mk Integrate MonteCarloGenerate capability from EG CML and associated TrickOps enhancements (#1415) 2023-03-06 09:25:50 -06:00

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