-
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
refactor: Overfitting detection as an AbstractRepairStep component #1208
Conversation
2049647
to
b9bdde1
Compare
Cool to make progress on this topic.
We can remove the ranking code (outdated plus not researched anymore). We'll start from scratch again with #1210
No. We want to simply take the best feature set identified by @SophieHYe in the ODS paper. |
5f32d22
to
37556d0
Compare
This is ready. The only test failing is a flaky test (identified in #1176 ) |
Thanks. What's the intention behind PATCH_FILTERING_MODE? |
Could you remove / deflakify it in a separate PR? Thanks! |
In the case there is a new filtering mode in the future (in the case there are more than one filtering options for the same classification mode), the developer will just need to add a new mode.
Done. Opened #1214 |
…pse-repairnator#1135 Signed-off-by: André Silva <[email protected]>
Signed-off-by: André Silva <[email protected]>
Ready |
Great, thanks. |
Closes #1135
Currently repair steps call
recordPatches
when they finish their work, which calls the notifiers. If, after that, we have logic that can filter/rank/etc the patches, it messes up that logic.Are the patch ranking methods for ODS working (tests are ignored). If so, wouldn't it make more sense to have different modes for the different features? Instead of
OVERFITTING
we would haveODS_P4J
andODS_S4R
for example. @monperrus wdyt?Also, should ranking be done inside each repair step or overall? The later makes more sense to me, but would require a separate step for it and would mess up the observer pattern mentioned above.
ChangeLog
LauncherUtils
andRepairnatorConfig
. Update test accordingly.AbstractRepairStep
. Update test accordingly. Ranking and filtering tests to be activated/written.