Conversation
* 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>
* 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>
…r views that do not support hierarchical (#2748)
… 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
- 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>
…ext menu after a PI was started (#2837)
* 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.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (5)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
rwmcintosh
approved these changes
Jun 1, 2026
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.
Description
Merge develop ➡️ main before release.
Type of change
Please mark relevant options with an
xin the brackets.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
Reviewer checklist
Mark everything that needs to be checked before merging the PR.
This change requires a documentation updateabove is selectedScreenshots (if appropriate):
Questions (if appropriate):