fix for generating the graph where scores of -1 were included which shouldn't
parent
ef5adec178
commit
6a9ed46288
|
@ -75,7 +75,8 @@ def plot_graph(filename, type_graph, output_filename):
|
|||
for t in my_techniques.values():
|
||||
for item in t[type_graph]:
|
||||
date = get_latest_date(item)
|
||||
if date:
|
||||
score = get_latest_score(item)
|
||||
if date and score > 0:
|
||||
yyyymm = date.strftime('%Y-%m')
|
||||
graph_values.append({'date': yyyymm, 'count': 1})
|
||||
|
||||
|
|
Loading…
Reference in New Issue