Skip to content

Version 12.3#2877

Merged
Yuri05 merged 37 commits into
mainfrom
develop
Jun 1, 2026
Merged

Version 12.3#2877
Yuri05 merged 37 commits into
mainfrom
develop

Conversation

@Yuri05

@Yuri05 Yuri05 commented May 31, 2026

Copy link
Copy Markdown
Member

Description

Merge develop ➡️ main before release.

Type of change

Please mark relevant options with an x in the brackets.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires documentation changes (link at least one user or developer documentation issue):
  • Algorithm update - updates algorithm documentation/questions/answers etc.
  • Other (please describe): Merge develop ➡️ main before release.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Integration tests
  • Unit tests
  • Manual tests
  • No tests required

Reviewer checklist

Mark everything that needs to be checked before merging the PR.

  • Check if the code is well documented
  • Check if the behavior is what is expected
  • Check if the code is well tested
  • Check if the code is readable and well formatted
  • Additional checks (document below if any)
  • Check if documentation update issue(s) are created if the option This change requires a documentation update above is selected

Screenshots (if appropriate):

Questions (if appropriate):

rwmcintosh and others added 30 commits January 14, 2026 11:02
* update 12.2 -> 12.3

* Update OSPSuite.Core.sln

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* update minor

* remove version from file names

* revert file rename

* fix sln file

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* use upstream workflow

* wrong version number

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* #2720 bug for updating curves on graphic

* #2720 prevent different colors

* #2720 link data to simulations wrong behavior

* #2720 remove using
* #2714 export history to csv

* #2714 formatting

* #2714 format

* #2714 extension and formatting
* add test sdk

* add ignore attribute

* Update tests/OSPSuite.UI.Tests/OSPSuite.UI.Tests.csproj

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* fix up

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
…rs for SAs (especially) and PIs (#2741)

* Fixes #2740 Include possibility of filtering by User-defined parameters for SAs (especially) and PIs

* Apply suggestions from code review

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* #2745 display name for building blocks

* Update src/OSPSuite.Presentation/Mappers/DiffItemToDiffItemDTOMapper.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fixes #2731 Follow up on CoPilot suggestions

* change 0 test

* pr feedback

* we already had that one!

* rename for double too
…2751)

* Fixes #2750 When cloning a CurveChart most properties are not cloned

* greptile feedback

* add a comment

* using not needed
… results to Simulation" in combination with "Use as factor" (#2755)
* Fixes #2739 PI options not visible on small screens

* Update src/OSPSuite.UI/Views/ParameterIdentifications/CategorialParameterIdentificationRunModeView.cs

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
* Fixes #2760 Add validation of Nan and Inf parameters at t=0

* refactory names and id's in tests

* modify requirement for braces in all loops/conditionals

* pr feedback

* change the object type resolver call

* update xml doc
…2764)

* Fixes #1863 remove check for monotonically increasing time values?

* add a comment

* pr feedback

* pr feedback

* simplify

* reduce iteration

* simplify
* Fixes #2767 Make preview option sticky in projects

* pr feedback
- Updated interface signature to include throwIfNotFound parameter
- Modified implementation to throw exception when path not found and flag is true
- Added warning log when path not found and flag is false
- Updated all existing usages to pass throwIfNotFound: false for backward compatibility
- Added test cases for the new behavior

Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>
Check for non-zero quantities first and return early after adding them, rather than checking for zero quantities. This makes the code cleaner and follows better practices.

Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>
The test was failing because OutputSelections wasn't set up on the faked ISimulation object. Now properly returns a new OutputSelections instance when accessed.

Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>
…hrow-if-not-found-argument

Add throwIfNotFound parameter to AddQuantitiesToSimulationOutputByPath
* Initial plan

* Fix TableFormula error message to show existing Y value

Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>

* Improve test assertion to ensure exception is thrown

Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>

* Use existing constructor with existingPoint instead of adding new overload

Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>

* refactor the test to make it compile and work.

* add a comment in the test.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>
Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>
* Initial plan

* Add ImportPopulationFromCsvString method to PopulationTask

Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>

* Refactor CSV readers and importer to eliminate code duplication

Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>

* refactor to reduce copy/paste

* pr feedback

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: PavelBal <25903040+PavelBal@users.noreply.github.com>
Co-authored-by: rwmcintosh <261477+rwmcintosh@users.noreply.github.com>
rwmcintosh and others added 7 commits March 3, 2026 13:48
* #1717 autoreducetolerance

* Update SimulationBatch.cs

* Update SimulationRunOptions.cs

* Update SimulationRunOptions.cs

* #1717 fix tests
* Fixes #2814 Cancelled PI does not show Number of Evaluations

* pr feedback
* #1541 importer error forwarded

* #1541-Fix PR Comments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…k-sim (#2835)

* Fixes  #2834 Separator Selector is styled differently and pops-under pk-sim

* pr feedback
* Fixes #2838 Distributed parameter overwrite loses distribution

When a distributed parameter is overwritten via an individual parameter
that provides both DistributionType and Value, keep the parameter
distributed (with its formula and sub-parameters) and apply the value
as a fixed value, rather than collapsing it to a plain parameter.

ParameterFactory.CreateDistributedParameter now pre-creates the
sub-parameters referenced by the distribution formula (Mean, Deviation,
Percentile, ...) so the parameter is operational even when the spatial
structure does not provide them.

* Move value setting into ParameterValueToParameterMapper

Apply parameterValue.Value inside the mapper so callers receive a
fully-formed parameter:
- distributed: parameter.Value setter is invoked, which keeps the
  distribution formula intact, sets IsFixedValue=true and updates the
  percentile sub-parameter.
- plain: the value is forwarded to ParameterFactory.CreateParameter so
  the resulting constant formula carries the value directly.

Removed a now-redundant unit test that duplicated the existing
distributed-parameter-with-no-value coverage.

* Honor the value parameter in CreateDistributedParameter

The factory now applies the provided value as a fixed value on the
distributed parameter (via the Value setter), matching how
CreateParameter already turns a provided value into a constant formula.
This makes the API symmetric and allows ParameterValueToParameterMapper
to forward the value through the factory in both branches instead of
treating the distributed case specially.

* Refresh distributed parameter percentile after sub-parameters are set

When QuantityValuesUpdater processes the individual parameters of a
distributed parameter, the parent's value (and percentile) is applied
before its sub-parameters (Mean/Deviation/...) are updated. The
percentile is therefore initially cached against placeholder defaults.

Add a second pass that calls RefreshPercentile() on every distributed
parameter that came from the individual and is marked IsFixedValue, so
the cached percentile reflects the correct sub-parameter values.

Verified with the existing
When_a_distributed_parameter_value_is_overwritten_via_an_individual_parameter_and_the_parameter_is_not_in_the_spatial_structure
test, which now also asserts the recomputed percentile.
@coderabbitai

coderabbitai Bot commented May 31, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (5)
  • v13
  • V13
  • develop
  • feature/overwrite_parameter_set
  • feature/event_protocol

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 392d83d7-8298-4aea-be9f-39cb68abf241

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Yuri05 Yuri05 requested review from msevestre and rwmcintosh May 31, 2026 18:32
@Yuri05 Yuri05 merged commit 1a3cef6 into main Jun 1, 2026
21 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.

6 participants