针对tap 的tags 数据基于order进行评分

This commit is contained in:
pengtao 2019-12-05 14:28:58 +08:00
parent 58224bb728
commit f728c7d060

View File

@ -43,7 +43,7 @@ class TapTapReport:
temp_dict[tag] = temp_dict.get(tag, 0) + self.order2score(order)
print(f"old={tags_data},new={temp_dict}")
pdb.set_trace()
tags_data.update(temp_dict)
tags_data[catename].update(temp_dict)
except Exception:
log.error(f"split {line} failed", exc_info=True)
return tags_data