Repository navigation
Validate shared log weight normalization - #232
fujikix1102 wants to merge 1 commit into
Conversation
|
Review coordination requested before merge. The log-weight contract itself is clear: preserve zero-weight samples, reject NaN/positive-infinity/empty/all-zero inputs, and reuse one max-scaled normalization across sampler starts, hints, GetDist export, and postprocessing. The focused validations report 19 passed plus 3 GetDist tests passed. This branch also contains commit |
|
Please remove the parts from 231 |
5290344 to
cc2a6b8
Compare
|
Removed the parts inherited from #231 so this PR now contains only the shared log-weight normalization changes. The branch was rewritten from 5290344 to cc2a6b8. Validation after the cleanup:
The SPD inversion changes and their tests are no longer part of #232. |
Summary
Validation
PYTHONPATH=$PWD pytest -q cosmosis/test/test_utils.py cosmosis/test/test_samplers.py -k 'normalized_log_weights or maxlike' --disable-warnings --maxfail=1PYTHONPATH=$PWD pytest -q cosmosis/test/test_getdist.py --disable-warnings --maxfail=1