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

Change the names for feature extraction classes from Snake Case to Pascal Case #3779

Closed
suhaibmujahid opened this issue Oct 31, 2023 · 0 comments · Fixed by #3781
Closed
Labels
good-first-bug Good for newcomers

Comments

@suhaibmujahid
Copy link
Member

The following files contained such classes:

  • bugbug/bug_features.py
  • bugbug/commit_features.py
  • bugbug/issue_features.py
  • bugbug/test_scheduling_features.py

In the following example, source_code_file_size should be renamed to SourceCodeFileSize:

class source_code_file_size(object):
def __call__(self, commit, **kwargs):
return {
"Total code files size": commit["total_source_code_file_size"],
"Average code files size": commit["average_source_code_file_size"],
"Maximum code files size": commit["maximum_source_code_file_size"],
"Minimum code files size": commit["minimum_source_code_file_size"],
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good-first-bug Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant