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

Implement a stopping threshold #134

Merged
merged 1 commit into from
Apr 15, 2024
Merged

Conversation

dmcdougall
Copy link
Contributor

Sometimes it's enough to reduce a testcase by, say, 95%. This commit lets the user specify this threshold and CVise doesn't need to spend time trying to make progress until it can no longer do so.

For example:

cvise <args> --stopping-threshold 0.95 ./interesting.sh test_case

This can speed up CVise in some cases.

Constructive feedback is very welcome.

Sometimes it's enough to reduce a testcase by, say, 95%.  This
commit lets the user specify this threshold and CVise doesn't need
to spend time trying to make progress until it can no longer do so.

For example:

cvise <args> --stopping-threshold 0.95 ./interesting.sh test_case

This can speed up CVise in some cases.
@marxin
Copy link
Owner

marxin commented Apr 15, 2024

I like the idea! Please run ruff format.

@marxin marxin merged commit ba0d257 into marxin:master Apr 15, 2024
11 of 12 checks passed
@marxin
Copy link
Owner

marxin commented Apr 15, 2024

Lemme fix the format.

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.

None yet

2 participants