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

update develop with recent changes in master #91

Closed
wants to merge 74 commits into from
Closed

Conversation

zsarnoczay
Copy link
Collaborator

No description provided.

jinyan1214 and others added 30 commits October 31, 2024 16:30
merging `develop` branch into `master` branch ahead of the next release
Now RVs in the UQ module support variable parameters, meaning that in
each realization a value can be drawn from the same family but with
predefined parameters that differ between realizations.

The implementation envisions support for multiple RV classes, but
currently only Normal and LogNormal support variable parameters.
Replace "fixed" with "constant" whenever applicable.
Extract the part where we verity that the probability difference is
positive from Normal to the RandomVariable class and apply to all RVs.
Replacing all non-positive `a` values, instead of only replacing 0
values.
We treat an unspecified `theta` as "constant parameters" (across
realizations).
Build the docs based on the `master` branch instead of the `docs`
branch.
Renaming for the sake of clarity - see corresponding comment in PR review.
Replace small arbitrary float with the actual first positive number
Add support for variable parameter RVs.
The pelicun logo was originally pulled from the gh-pages branch but with
the new docs it is no longer available at that location. Instead, we can
have it sourced from the master branch which seems much more appropriate
zsarnoczay and others added 29 commits November 27, 2024 10:46
minor fixes before release
The config dictionary is mutable and was modified by auto-pop which is
not the desired behavior. Updating to avoid this by creating a copy.
In such cases, return {'DL': 'N/A'} from the auto-pop for the asset. We
already have an example when running potable water networks in Hazus EQ
R2D does not explicitly specifies the desired outputs for regional
simulations. With this updated, we remove the request for loss results
when the auto-pop script does not specify loss simulations.
Remove redundant material which is now available in the documentation.
- Eliminate redundant line breaks in notebook output.
- Convert validation tests into examples, which can be refined later.
They result in warnings when the documentation is built.
Water network assets are recognized by a unique entry in their DL
configuration. This was not working properly and is now fixed.
Fixes and minor extensions to support all workflows in R2D
Remove `_raw_sample` from `Empirical` RVs.
@zsarnoczay zsarnoczay closed this Jan 7, 2025
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

Successfully merging this pull request may close these issues.

3 participants