Skip to content

Commit

Permalink
Merge pull request RazTamir#45 from RazTamir/fix_average_qa_score
Browse files Browse the repository at this point in the history
Fix qa_score
  • Loading branch information
RazTamir authored Nov 27, 2019
2 parents 5409d1c + 10258a0 commit 85591e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions avarage_qa_score.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
f'{PRODUCT} QE - Quality Dashboard', "average_quality_score_data"
)


all_bugs = get_overall_backlog()
all_qa_scores = [get_quality_score(b) for b in all_bugs]
all_qa_scores = list(filter(lambda a: a != -1, all_qa_scores))
avarage_qa_score = sum(all_qa_scores) / len(all_qa_scores)
from ipdb import set_trace;set_trace()
g.insert_row(
[now.strftime("%Y-%m-%d"), avarage_qa_score]
)
Expand Down

0 comments on commit 85591e9

Please sign in to comment.