Skip to content

Sync my main with many main#1

Merged
jonathanhhb merged 114 commits into
jonathanhhb:mainfrom
laser-base:main
Jul 7, 2025
Merged

Sync my main with many main#1
jonathanhhb merged 114 commits into
jonathanhhb:mainfrom
laser-base:main

Conversation

@jonathanhhb

Copy link
Copy Markdown
Owner

No description provided.

Include a link to Edward's wiki/blog post and a few excerpts in-line.
Prefer composition over configuration.
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.
tests for using arrays with distance() function
Add unit tests for sanity checks
and better exception checking with `match=`
jonathanhhb and others added 29 commits February 10, 2025 15:40
* 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>
@jonathanhhb jonathanhhb merged commit f63a923 into jonathanhhb:main Jul 7, 2025
18 checks passed
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.

4 participants