Skip to content

Conversation

@Ellpeck
Copy link
Member

@Ellpeck Ellpeck commented Nov 11, 2025

No description provided.

@Ellpeck Ellpeck linked an issue Nov 11, 2025 that may be closed by this pull request
2 tasks
@Ellpeck Ellpeck requested a review from EagleoutIce November 11, 2025 13:55
@Ellpeck
Copy link
Member Author

Ellpeck commented Nov 11, 2025

Hmm I don't know if this is even a potential valid solution at all, but atm it doesn't account for something like

if (2 < 1) { set.seed(17) }
if (1 < 0) { runif(1) }

because both are non-exhaustive branch coverages, but not of the same branches, so .. bleh

@Ellpeck
Copy link
Member Author

Ellpeck commented Nov 11, 2025

yea i dunno i can't figure out how to do this correctly @EagleoutIce :(

@Ellpeck Ellpeck marked this pull request as ready for review November 24, 2025 14:28
@Ellpeck Ellpeck requested a review from EagleoutIce November 24, 2025 14:28
…-detected-if-seed-function-potentially-unreachable' into 2015-bug-unseeded-randomness-not-detected-if-seed-function-potentially-unreachable
@EagleoutIce EagleoutIce merged commit c89e334 into main Nov 24, 2025
19 checks passed
@EagleoutIce EagleoutIce deleted the 2015-bug-unseeded-randomness-not-detected-if-seed-function-potentially-unreachable branch November 24, 2025 14:53
@EagleoutIce
Copy link
Member

This pull request is included in v2.6.3 (see Release v2.6.3 (Doc, Refined Analyzer, Caching, and Perf)).

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.

[Bug]: Unseeded randomness not detected if seed function potentially unreachable

3 participants