Closed goghino closed 1 year ago
Hi all. This is a big pull request that needs wide scrutiny in my opinion. I do think the feature could find very widespread uptake, so I am in support of it. However, the code needs wide scrutiny :).
Where are the tests for this new functionality?
In order to understand a bit more about these changes, it would be good to have access to "The new code is accompanied by a publication elaborating on the method, and a set of Jupyter notebooks demonstrating the functionality (at the moment located in external repository)."
I might have missed where these were referenced, but could you make it easier to find them?
@goghino Do you have any time to look into this perhaps?
@DavidPCoster I have added the jupyter notebooks to tutorials/correlated
, there are two of them coffe_cup-pce.ipynb
and coffe_cup-fd.ipynb
. Regarding the publication, please find attached the preprint
SApaper_submission.pdf
Added tests for the new functionality: create mode 100644 tests/test_fd_analysis.py create mode 100644 tests/test_fd_dep_analysis.py create mode 100644 tests/test_pce_der_analysis.py create mode 100644 tests/test_pce_der_dep_analysis.py
Is there anything else I can do for this pull request? @djgroen @DavidPCoster @wedeling
I see, I am using some recent python syntax not supported in older versions, that's why "build (3.7)" fails. I will try to downgrade my code to be compatible with old python versions.
@DavidPCoster can I run the tests you launched myself as well? Because I think I will not get it all fixed on my first go.
Edit: Conda is not officially supporting 3.7 ("Conda supports Python 3.8, 3.9, 3.10, and 3.11.")
I don’t know — I found a button to enable test runs, but that might not be available to everybody ...
On 31. May 2023, at 11:49, Juraj Kardoš @.***> wrote:
I see, I am using some recent python syntax not supported in older versions, that's why "build (3.7)" fails. I will try to downgrade my code to be compatible with old python versions.
@DavidPCoster https://github.com/DavidPCoster can I run the tests you launched myself as well? Because I think I will not get it all fixed on my first go
— Reply to this email directly, view it on GitHub https://github.com/UCL-CCS/EasyVVUQ/pull/385#issuecomment-1569860585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJXIBISJ5UUWGLXFSK6HYRLXI4HY7ANCNFSM6AAAAAAU43E6HE. You are receiving this because you were mentioned.
I am not able to create environment with python 3.7. I can set up only environment with 3.8 and newer. But with python=3.8.16 most of the tests pass
============ 24 failed, 111 passed, 5 skipped, 1090 warnings, 29 errors in 131.81s (0:02:11) =============
The errors and failures are related to some missing files, e.g. ERROR test_campaign.py::test_get_active_app - FileNotFoundError: [Errno 2] No such file or directory: '... /opt/homebrew/anaconda3/envs/USI_test_p38/lib/python3.8/subprocess.py:1704: FileNotFoundError
can we skip python 3.7 for the moment?
Well, security updates for 3.7
Ends in 3 weeks and 6 days (27 Jun 2023)
So I think this should be OK. @djgroen , @orbitfold , @wedeling -- what do you think? If so, how do we disable the 3.7 tests?
The code contains method to perform sensitivity analysis of models with correlated inputs. The new SA is supported only by the PCE method. Changes include:
The new code is accompanied by a publication elaborating on the method, and a set of Jupyter notebooks demonstrating the functionality (at the moment located in external repository).
Running the test suite results in some errors, but I think they do not originate from my updates. Please verify. @djgroen