Skip to content

Conditional model checking#887

Draft
lukovdm wants to merge 47 commits intostormchecker:masterfrom
lukovdm:conditional-model-checking
Draft

Conditional model checking#887
lukovdm wants to merge 47 commits intostormchecker:masterfrom
lukovdm:conditional-model-checking

Conversation

@lukovdm
Copy link
Copy Markdown
Contributor

@lukovdm lukovdm commented Mar 10, 2026

No description provided.

lukovdm added 13 commits March 11, 2026 13:42
…related components and added tests

- Updated AddUncertainty transformer to handle RationalNumber types, allowing for exact arithmetic with RationalInterval.
- Modified various helper functions and model checkers to accommodate RationalNumber and RationalInterval.
- Introduced new tests for RationalNumber scenarios in model checking and uncertainty transformations.
- Ensured compatibility with existing models while expanding functionality for uncertain models using RationalNumber.
@lukovdm
Copy link
Copy Markdown
Contributor Author

lukovdm commented Apr 9, 2026

This PR builds on top of #886.

@lukovdm
Copy link
Copy Markdown
Contributor Author

lukovdm commented Apr 17, 2026

The failing tests have to deal with some irritating floating point errors leading to incorrect values for pMin and pMax in bisection advanced. The failing test specifically has a pMax that is about 10^-9 below the true value. This is also outside the standard 10^-12 bound we keep for floating point comparisons. The result of the floating point error is a lower bound > 1 by about 10^-6 (i.e. 1.0000001). I am not entirely sure how to tackle this. Using the conditional tolerance does not seem right.

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.

2 participants