Skip to content

Add ErrorComposition class and integrate into estimation processes#3422

Open
msoeken wants to merge 1 commit into
mainfrom
msoeken/error_budget
Open

Add ErrorComposition class and integrate into estimation processes#3422
msoeken wants to merge 1 commit into
mainfrom
msoeken/error_budget

Conversation

@msoeken

@msoeken msoeken commented Jul 7, 2026

Copy link
Copy Markdown
Member
  • Introduced ErrorComposition to control error contribution methods (UnionBound and Product).
  • Updated estimation functions to accept ErrorComposition as a parameter.
  • Enhanced EstimationResult to manage error composition mode.
  • Added tests to validate behavior of error composition modes.

- Introduced ErrorComposition to control error contribution methods (UnionBound and Product).
- Updated estimation functions to accept ErrorComposition as a parameter.
- Enhanced EstimationResult to manage error composition mode.
- Added tests to validate behavior of error composition modes.
/// Advantages: always stays in ``[0, 1)``; it is tight (in fact exact) when
/// the errors are independent.
///
/// Disadvantages: it relies on independence, so it can underestimate when

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.

This technique also suffers from finite precision issues when performing the computation on many small probabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants