Closed GabrielSoto-INL closed 10 months ago
"oh, well they run perfectly fine locally..."
I forgot that the Model outer.xml
will have the path for raven_framework
and when I golded it, it had my local path. Unsure how to make this work when running on Civet or Github Actions...
"oh, well they run perfectly fine locally..." I forgot that the Model node for RAVEN in the
outer.xml
will have the path forraven_framework
and when I golded it, it had my local path. Unsure how to make this work when running on Civet or Github Actions...
Hm, that is tricky. I don't think we have a way to tell the XML differ to exclude particular node paths, but maybe that's the start of an answer?
RAVEN (via rook) can now ignore certain XML nodes from the XML differ test. With this new feature, we can now test outer XMLs in HERON and ignore the RAVEN executable path
Pull Request Description
What issue does this change request address?
314
318
What are the significant changes in functionality due to this change request?
1) Fixed KeyError when overriding outer Optimizer:
template_driver.py
, within_modify_outer_optimizers()
, if the optimization type (min, max) is not specified by user then HERON will now correctly index theeconomic_metrics_meta
dictionary with a previously missing key -> the statistical metric.2) Default stats metric:
Cases.py
, there is now a default statistical metric -> 'expectedValue'.Cases.py
, within_read_optimization_settings()
, if a stats metric was not found, HERON ensures that default metric isexpectedValue
.3) A previously unreachable bug was found and fixed:
flipped_stats_metrics_meta
dict, there was a reference error that altered the regularstats_metrics_meta
dict4) New XML input script test directory:
tests/integration_tests/XML_check
outer.xml
has the correct settings<type>
is not specified inoptimization_settings
, that HERON selects the correct type depending on both the opt metric (NPV, LC, etc.) and the stats metric (expected value, value at risk, etc.).5) Outer XML template switches the default Optimizer type from "FiniteDifference" to "GradientDescent" in accordance with newest RAVEN update (https://github.com/idaholab/raven/pull/2177)
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.