-
Notifications
You must be signed in to change notification settings - Fork 83
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
support for overfitting detection #842
Comments
waiting for the Coming issue SpoonLabs/coming#125 before making progress here. |
Hi @jaxxgu, Thanks for making a great contribution! The commits look good. I have a few minor comments: (1) I noticed overfittingScore can not be computed for NPEFix because of invalid filePaths here. From my understanding, the Nopol patches and NPEFix patches share the same buggy file, should be about to apply the patch and compute the score. My major concern is whether the P4J cannot compute all NPEFix patches or just in the test case? It would be appreciated to let us know more information. Thank you for your work! It looks fine to me. |
@SophieHYe |
@SophieHYe |
For YE's first point: Right now, we have four kinds of RepairTools, namely Maybe we could create one new issue for that, as it seems not so easy to fix that without getting deep into these tools. |
Sequencer finds overfitting patches in if conditions, exactly like Nopol and Dynamoth, we need to discard them:
|
Decision of today's meeting: when ODS finds several likely correct patches, we rank according to the beam order |
Discussed today, we need to log when a patch is discarded because of overfitting |
@monperrus would be interested to know how you detect overfitting. What the heuristics that are currently used? Is it documented somewhere in the readme? |
Hi @nashid We use the technique described in Automated Classification of Overfitting Patches with Statically Extracted Code Features which we've devised with @SophieHYe and @martinezmatias |
Can be considered as done, follow up is #1135 |
we have made great progress on overfitting detection, In the emails sent by Repairnator, the patches should be ranked by overfitting likelihood, and come with an "overfitting" score
The text was updated successfully, but these errors were encountered: