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

Add support to toggle the synthesis of trivial patches #229

Open
agodio opened this issue May 20, 2022 · 1 comment
Open

Add support to toggle the synthesis of trivial patches #229

agodio opened this issue May 20, 2022 · 1 comment

Comments

@agodio
Copy link

agodio commented May 20, 2022

Hi

In general, APR tools synthesize patches even when not enough tests are provided, but Nopol (smt) makes an extra effort not to synthesize patches under these conditions. Even though it's wise not to do so, since the patch is likely to be overfitted, it would be interesting for our research to produce trivial patches too.

I wonder if there is a version that produces trivial patches or how difficult it would be to modify the current version.

Thanks!

@monperrus
Copy link
Contributor

Thanks for your interest in Nopol @agodio

I wonder if there is a version that produces trivial patches

No

how difficult it would be to modify the current version.

I'd say it's reasonably doable to add such a feature toggle, it may be a patch with only a few lines. Would you give it a try?

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

No branches or pull requests

2 participants