Skip to content

PLUME-37: Add param updated state tracking to model data#20

Merged
antons-it merged 1 commit into
developfrom
feature/add-param-update-track-to-modeldata
Aug 28, 2025
Merged

PLUME-37: Add param updated state tracking to model data#20
antons-it merged 1 commit into
developfrom
feature/add-param-update-track-to-modeldata

Conversation

@cducher

@cducher cducher commented Jul 17, 2025

Copy link
Copy Markdown
Contributor

Description

Opening this PR as draft to receive initial feedback but the API hasn't been tested with IFS yet.
This PR adds utility methods to the Plume model data to keep track of the update status of each parameter. This status can be queried by plugins to know whether the params they use have been updated since the last time they ran, helping to decide whether or what parts to run.

This development is meant instead of the alternative in this PR.

Contributor Declaration

By opening this pull request, I affirm the following:

  • All authors agree to the Contributor License Agreement.
  • The code follows the project's coding standards.
  • I have performed self-review and added comments where needed.
  • I have added or updated tests to verify that my changes are effective and functional.
  • I have run all existing tests and confirmed they pass.

@cducher cducher requested review from antons-it and dsarmany July 17, 2025 16:56
@cducher cducher self-assigned this Jul 17, 2025
@codecov-commenter

codecov-commenter commented Jul 17, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 69.11%. Comparing base (45098eb) to head (d42051e).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #20      +/-   ##
===========================================
+ Coverage    68.48%   69.11%   +0.63%     
===========================================
  Files           78       78              
  Lines         3116     3180      +64     
  Branches       270      273       +3     
===========================================
+ Hits          2134     2198      +64     
  Misses         982      982              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/plume/data/ModelData.cc Outdated
Comment thread src/plume/data/Parameter.h Outdated
@cducher cducher force-pushed the feature/add-param-update-track-to-modeldata branch from 3aece32 to c2849e0 Compare July 22, 2025 12:21
@cducher cducher requested a review from dsarmany July 22, 2025 12:21
@cducher cducher marked this pull request as ready for review July 22, 2025 12:21

@antons-it antons-it left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Many thanks for this PR! only very minor comments (to be discussed) - Cheers!

Comment thread src/plume/api/plume_data.F90 Outdated
Comment thread tests/api/test_data_api.F90 Outdated
Comment thread tests/api/test_data_api.cc
@cducher cducher force-pushed the feature/add-param-update-track-to-modeldata branch from c2849e0 to a990518 Compare August 4, 2025 14:18
@cducher cducher requested a review from antons-it August 4, 2025 14:23
@cducher cducher force-pushed the feature/add-param-update-track-to-modeldata branch from a990518 to d42051e Compare August 4, 2025 14:27

@antons-it antons-it left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks great, thanks!

@antons-it antons-it merged commit e43328e into develop Aug 28, 2025
110 checks passed
@antons-it antons-it deleted the feature/add-param-update-track-to-modeldata branch August 28, 2025 07:22
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