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

Failure in defect_model.classify #3800

Closed
marco-c opened this issue Nov 9, 2023 · 0 comments · Fixed by #3801
Closed

Failure in defect_model.classify #3800

marco-c opened this issue Nov 9, 2023 · 0 comments · Fixed by #3801
Assignees

Comments

@marco-c
Copy link
Collaborator

marco-c commented Nov 9, 2023

Traceback (most recent call last):
  File "/usr/local/bin/bugbug-regressor-finder", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/site-packages/scripts/regressor_finder.py", line 651, in main
    regressor_finder.find_bug_fixing_commits()
  File "/usr/local/lib/python3.10/site-packages/scripts/regressor_finder.py", line 276, in find_bug_fixing_commits
    classified_bugs = defect_model.classify(bugs_to_classify)
  File "/usr/local/lib/python3.10/site-packages/bugbug/model.py", line 629, in classify
    X = self.extraction_pipeline.transform(lambda: items)
  File "/usr/local/lib/python3.10/site-packages/sklearn/pipeline.py", line 635, in transform
    Xt = transform.transform(Xt)
  File "/usr/local/lib/python3.10/site-packages/bugbug/bug_features.py", line 737, in transform
    first_bug = next(bugs_iter)
TypeError: 'list' object is not an iterator

This is a regression from 9bc7dd0.

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

Successfully merging a pull request may close this issue.

1 participant