Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assertion failure while running easyvvuq_fusion_tutorial.py #412

Open
DavidPCoster opened this issue Dec 5, 2023 · 1 comment
Open

assertion failure while running easyvvuq_fusion_tutorial.py #412

DavidPCoster opened this issue Dec 5, 2023 · 1 comment
Assignees

Comments

@DavidPCoster
Copy link
Collaborator

While running easyvvuq_fusion_tutorial.py, an assertion failure occurs:

...
Time for phase 3 = 75.534
Traceback (most recent call last):
File "/gss_efgw_work/scratch/g2dpc/GIT/EasyVVUQ/tutorials/easyvvuq_fusion_tutorial.py", line 151, in
my_campaign.apply_analysis(
File "/gss_efgw_work/scratch/g2dpc/GIT/EasyVVUQ/env_3.10/lib/python3.10/site-packages/easyvvuq-1.2.1+86.g46695a9.dirty-py3.10.egg/easyvvuq/campaign.py", line 617, in apply_analysis
self.last_analysis = analysis.analyse(data_frame=self.get_collation_result())
File "/gss_efgw_work/scratch/g2dpc/GIT/EasyVVUQ/env_3.10/lib/python3.10/site-packages/easyvvuq-1.2.1+86.g46695a9.dirty-py3.10.egg/easyvvuq/analysis/pce_analysis.py", line 478, in analyse
dY_hat = build_surrogate_der(fit, verbose=False)
File "/gss_efgw_work/scratch/g2dpc/GIT/EasyVVUQ/env_3.10/lib/python3.10/site-packages/easyvvuq-1.2.1+86.g46695a9.dirty-py3.10.egg/easyvvuq/analysis/pce_analysis.py", line 319, in build_surrogate_der
assert(n1 == n2)
AssertionError

@DavidPCoster
Copy link
Collaborator Author

I haven't fixed the real underlying problem which arises from an assertion error in code from @goghino , but by wrapping the failing code in a try/except structure the analysis will succeed even though the "Sensitivity Analysis: Derivative based" code fails.

For some value of T,
Y_hat[t].names <> Vars

Unless @goghino wants to look into the problem, I suggest we close this issue ...

@DavidPCoster DavidPCoster assigned DavidPCoster and unassigned wedeling Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants