Skip to content

Validate truncated prior boundaries - #233

Open
fujikix1102 wants to merge 1 commit into
cosmosis-developers:mainfrom
fujikix1102:audit/prior-boundary-validation
Open

fujikix1102 wants to merge 1 commit into
cosmosis-developers:mainfrom
fujikix1102:audit/prior-boundary-validation

Conversation

@fujikix1102

Copy link
Copy Markdown

Summary

  • reject invalid exponential prior scales and unordered/non-finite bounds
  • reject invalid 1/x prior upper bounds and unordered/non-finite bounds
  • add boundary regression tests while preserving valid clamping behavior

Validation

  • PYTHONPATH=$PWD pytest -q cosmosis/test/test_prior_boundaries.py --disable-warnings --maxfail=1
  • 7 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.

1 participant