Skip to content

Commit

Permalink
Merge pull request #684 from Ilhasoft/fix/repository_score
Browse files Browse the repository at this point in the history
filter only classifier repositories at repository_score task
  • Loading branch information
helllllllder committed Dec 6, 2021
2 parents 43c435c + 425078c commit fd36df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bothub/common/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def auto_translation(

@app.task()
def repository_score(): # pragma: no cover
for version in RepositoryVersion.objects.filter(is_default=True):
for version in RepositoryVersion.objects.filter(is_default=True, repository__repository_type="classifier"):
dataset = {}
intents = []
train = {}
Expand Down

0 comments on commit fd36df2

Please sign in to comment.