Sync my main with many main#1
Merged
Merged
Conversation
Include a link to Edward's wiki/blog post and a few excerpts in-line.
Prefer composition over configuration.
Close match to .readthedocs.yml in IDM cookiecutter repository: https://github.com/InstituteforDiseaseModeling/cookiecutter-python-library/blob/main/%7B%7B%20cookiecutter.library_name%20%7D%7D/.readthedocs.yml
Also, use macos-13 to support 3.9 and 3.10
Rename test object from `pq` to `sq`.
Sets the internal NumPy generator with the given seed. Creates a laser-core "global" prng with the given seed. Sets the per-thread Numba prngs with the given seed.
Add mix of random draws tests for reproducibility
Excludes them from code coverage statistics since the code coverage tool doesn't see into Numba compiled functions.
Fixes #36
tests for using arrays with distance() function
Add unit tests for sanity checks
and better exception checking with `match=`
* Added performance section to docs. * Edits per review
#132) * The instructions for local execution wasn't quite right and needed a windows example.
* Updated calibration cloud instructions to reflect latest laser-polio/main. * Attempting to add documentation of iterative inner loop.
Update += to only accept _new_ keys. Add <<= to update _existing_ keys. Add |= to _add or update_ keys.
If populations come in as `np.int32` there can be overflow leading to negative network connectivity values.
If the incoming network is an integer type and the max rowsum is fractional (common), the returned values would be zero.
Use explicit Git commit which might use the configured PAT...
Also, comment out tests knowing that commits to main have to go through PRs.
The release and publish job wasn't seeing the new version number.
* 📝 Additional examples for PropertySet operators * fix up examples
* Brought save/load_snapshot functions over as-is from laser-polio. * Added unit test and fixed issues raised. * Adding h5py dependency. * Update src/laser_core/laserframe.py to remove reference to previous subclass no longer applicable. * Fixed bugs and added big doc. * Flesh out the example even more including summary notes on implementation. * Allow capacity-on-load to be set as growth multiplier on count. * Replaced step and plot functions with placeholder text to avoid over-indexing on specific implementation details not related to save/load. * Added note about some hard-earned lessons from last week. * Gave up on fancy formatting. --------- Co-authored-by: Jonathan Bloedow <jhb4@cornell.edu> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* reload from file should calcalute capacity as properly as possible. --------- Co-authored-by: Jonathan Bloedow <jhb4@cornell.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.