Skip to content

Prepare Release 0.13.0 - #671

Merged
arrjon merged 91 commits into
mainfrom
develop
Jul 31, 2026
Merged

Prepare Release 0.13.0#671
arrjon merged 91 commits into
mainfrom
develop

Conversation

@arrjon

@arrjon arrjon commented Jul 24, 2026

Copy link
Copy Markdown
Member

General:

  • Add support of python3.14
  • Add execution time profiling to the ABC-SMC run, reporting pure simulation time, parallel-pipeline setup, in-between-iterations
    time, and within it the population size calculation and distance function ´
    adaptation. The timings are also returned by run_generation. Resolves Profiling #325.
  • Minor bug fixes and improved type setting.

Visualization:

Storage:

  • Store the per-generation walltime in the database (new wall_time column,
    database version 2). Databases created with older pyABC versions must be
    migrated via abc-migrate before they can be resumed; for such databases
    the walltime plots fall back to the previous, end-time-based behavior.
  • Particle weights are now stored using the global normalization (weights sum
    to 1 across all particles of all models, matching the in-memory
    Population representation). This is bundled into database version 2 and
    handled by abc-migrate for existing databases. Resolves Normalization of weights #47.

This comment was marked as duplicate.

* Add better time tracking, #325, #667

* Add wall_time column to populations table
Copilot AI review requested due to automatic review settings July 28, 2026 13:55

This comment was marked as duplicate.

* Update particle weight normalization to global convention (breaking change for old databases) and fix minor bugs.

* migration for old databases
Copilot AI review requested due to automatic review settings July 30, 2026 14:08

This comment was marked as duplicate.

Copilot AI review requested due to automatic review settings July 30, 2026 14:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@arrjon
arrjon marked this pull request as ready for review July 30, 2026 14:19
@arrjon

arrjon commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

I bumped the version to 0.13.0, as we have breaking changes in the database. Ready for the new release now.

@kilianvolmer kilianvolmer changed the title Prepare Release 0.12.19 Prepare Release 0.13.0 Jul 30, 2026
@kilianvolmer
kilianvolmer requested a review from Copilot July 30, 2026 14:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 78 out of 79 changed files in this pull request and generated no new comments.

Comments suppressed due to low confidence (3)

pyabc/storage/history.py:350

  • get_distribution normalizes weights via w_arr / w_arr.sum() without guarding against a zero sum. If a model has only zero-weight particles stored (possible when a model is effectively dead but still present), this will divide by zero and return NaNs / raise warnings. Consider keeping the new within-model renormalization, but fail fast on a zero sum with a clear error message.
    pyabc/visualization/walltime.py:50
  • _prepare_plot_total_walltime falls back to (abc.end_time - abc.start_time) when per-generation wall_time is missing. For unfinished runs (end_time is None), this will raise TypeError. Consider handling end_time=None explicitly (e.g., use datetime.datetime.now() or another reasonable fallback) so plotting doesn’t crash on in-progress histories.
    pyabc/storage/migrate.py:106
  • On unsupported database identifiers, migrate() prints an error and returns, which causes the CLI to exit with status 0. This makes it hard to detect migration failures in scripts/CI. Consider exiting with a non-zero status after printing the error.

Comment thread .github/workflows/ci.yml Outdated
Copilot AI review requested due to automatic review settings July 31, 2026 10:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

* FIX broken docstring

* CHG: Update PETab intersphinx inventory location

* Update external deendencies information
Copilot AI review requested due to automatic review settings July 31, 2026 12:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Comment thread doc/conf.py Fixed
Comment thread doc/conf.py Outdated
Comment thread doc/conf.py Outdated
Copilot AI review requested due to automatic review settings July 31, 2026 14:04

This comment was marked as duplicate.

@arrjon
arrjon merged commit 23e3f72 into main Jul 31, 2026
32 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.

Walltime plots do not show actual walltime if stored abc runs are resumed Profiling Normalization of weights

5 participants