Workaround for failing test on macOS-latest on GHA #407
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For some unknown reason, the
output_categorical_asym_causal_mixed_cat
test fails on macOS-latest, where the first explicand gets a single differnet sample v(S={2}). I have verified that the sample on GHA are indeed valid. The same is the ones we get on all other OS and locally. Changing seed or nor increasing the number of mc_samples does not fix the issue, but simply dropping the 3 explicand gives indentical result (even though the first is the one with the different results). We'll apply this workaround for now as we cannot find a good reason for the differences. Also adding dt_samp_for_vS = TRUE to more easily spot the differences if reverting later. The below output sample shows the differences in row 2: