|
@@ -183,7 +183,7 @@ class Mvp:
|
|
|
if len(people_uuids) > 0:
|
|
|
print('{}-{}-{}'.format(city, age, crowd))
|
|
|
datas = self.behavior_tag_init(city, age, people_uuids)
|
|
|
- data_start.extend(datas)
|
|
|
+ data_start.append(datas)
|
|
|
result.extend(self.calculation_standard_score(datas, city, age, crowd))
|
|
|
pass
|
|
|
else:
|
|
@@ -197,7 +197,7 @@ class Mvp:
|
|
|
if len(people_uuids) > 0:
|
|
|
print('{}-{}-{}'.format(city, age, crowd_type))
|
|
|
datas = self.behavior_tag_init(city, age, people_uuids)
|
|
|
- data_start.extend(datas)
|
|
|
+ data_start.append(datas)
|
|
|
result.extend(self.calculation_standard_score(datas, city, age, crowd_type))
|
|
|
# return result
|
|
|
return {'score': result, 'data': data_start}
|