You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some Ramtares users have requested added capability when monte_carlo.master.generate_meta_data = True, copied from the original GitLab thread:
we are looking to output the dispersion type, min/max, and mean/sigma for all monte carloed variables ... I see that this metadata output just says "random". We are looking for dispersionTypes like Gaussian, and uniform
Currently, the output of variables in the meta data file looks like this:
This might require a refactor of the underlying classes so that this information is available inside collate_meta_data().
Adding suggested implementation details from the original thread:
Add a virtual method to each "variable" type to return a string containing content specific to that type, then in mc_master, call the method on each "variable", appending the returned string to some list ready for output. Probably need to look at the specifics of each class to identify what sort of information gets returned -- e.g. for a normal distribution, do you also need information about applied truncations?
The text was updated successfully, but these errors were encountered:
Sorry for the confusion - I've already got an implementation from the needing user, and I'll be putting that together in a PR for y'all to take a look at when I get time (hopefully next week).
* 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
* 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
Some Ramtares users have requested added capability when
monte_carlo.master.generate_meta_data = True
, copied from the original GitLab thread:Currently, the output of variables in the meta data file looks like this:
This might require a refactor of the underlying classes so that this information is available inside
collate_meta_data()
.Adding suggested implementation details from the original thread:
The text was updated successfully, but these errors were encountered: