You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modifier condition evaluation failures are currently logged as warnings and treated as "modifier does not apply." This can silently disable intended logic and flatten distributions.
Why This Matters
A malformed or mismatched when condition should not quietly degrade behavior in critical runs.
Current Behavior (Code)
In /Users/adithyasrinivasan/Projects/extropy/extropy/population/sampler/modifiers.py:
apply_modifiers_and_sample(...) wraps eval_condition(...) in try/except (line ~59-66)
exceptions are logged and ignored
In /Users/adithyasrinivasan/Projects/extropy/extropy/utils/eval_safe.py:
Closing as fixed for strict-quality runs. Modifier condition-eval failures are now surfaced into structured condition warnings and strict sampling gates fail on them (). See and .
Activity
fix(sampler): surface modifier condition eval failures with strict/pe…
RandomOscillations commentedon Feb 20, 2026
Implemented on branch
codex/steps1-3-hardening(see PR #124). Keeping this issue open until merge + integration verification completes.RandomOscillations commentedon Feb 23, 2026
Closing as fixed for strict-quality runs. Modifier condition-eval failures are now surfaced into structured condition warnings and strict sampling gates fail on them (). See and .