-
-
Notifications
You must be signed in to change notification settings - Fork 438
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
Pylint alerts corrections as part of an intervention experiment #1897
Comments
Thanks for looking into this. I've adjusted my pylint settings to alert me to the kinds of problems I'm concerned about. I don't want to change the code simply because pylint suggests it. "Too many statements" is not enough of a reason to split functions into smaller parts, for example. If you have specific improvements, and can give the reasons why you think they are better, I'm interested to see them. I took a quick look at your experiment, but I didn't understand how you would determine if it was a success. If you change coverage.py code, how will you decide that it's better? |
Part of the design of the experiment is to choose the intervention by random, to avoid selection bias. There are some local simple alerts that usually change a single line or so. The question of improvement is fundamental in software research and the various answers deal with many aspects. |
By the way, I noticed (using the using-constant-test alert), that there are places in the code with the pattern If 0: Out of curiosity, what are their goals? |
I'm sorry, I don't understand your experiment, and would rather not participate. About the |
Is your feature request related to a problem? Please describe.
I suhhest that I'll fix some Pylint alerts.
Fixing the alelts should improve the code quality.
Describe the solution you'd like
I'll fix the planed interventions
Describe alternatives you've considered
Code can be kept as is.
Additional context
Pylint alerts are correlated with tendency to bugs and harder maintenance.
I'd like to conduct a software engineering experiment regarding the benefit of Pylint alerts removal.
The experiment is described here.
In the experiments, Pylint is used with some specific alerts, files are selected for intervention and control.
After the interventions are done, one can wait and examine the results.
Your repository is expected to benefit from the interventions.
I'm asking for your approval for conducting an intervention in your repository.
See examples of interventions in stanford-oval/storm, gabfl/vault, and coreruleset/coreruleset.
You can see the planed interventions
May I do the interventions, @nedbat ?
The text was updated successfully, but these errors were encountered: