Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Randomizing order of trials in --feature-powerset #265

Open
vi opened this issue Jan 3, 2025 · 1 comment · May be fixed by #266
Open

Randomizing order of trials in --feature-powerset #265

vi opened this issue Jan 3, 2025 · 1 comment · May be fixed by #266
Labels
A-features Area: features (--feature-powerset, --each-feature, etc.) C-enhancement Category: A new feature or an improvement for an existing one

Comments

@vi
Copy link
Contributor

vi commented Jan 3, 2025

With a lot of features, powerset can get impractically large.

I suggest to add an option to randomize the order of trials, so that interrupted cargo hack run would provide reasonable coverage of each feature instead of depth-first fuller coverage of certain combinations that happened to be early in the list.

vi added a commit to vi/cargo-hack that referenced this issue Jan 3, 2025
vi added a commit to vi/cargo-hack that referenced this issue Jan 3, 2025
@vi vi linked a pull request Jan 3, 2025 that will close this issue
@taiki-e taiki-e added C-enhancement Category: A new feature or an improvement for an existing one A-features Area: features (--feature-powerset, --each-feature, etc.) labels Jan 25, 2025
@vi
Copy link
Contributor Author

vi commented Jan 29, 2025

Note: #255 is related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-features Area: features (--feature-powerset, --each-feature, etc.) C-enhancement Category: A new feature or an improvement for an existing one
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants