@@ -332,7 +332,7 @@ def rank_for_layer1(run_dt, run_hour, project, table):
np.random.seed(int(dt_version) + 1)
# TODO: 修改权重计算策略
- df['score'] = df['rov']
+ df['score'] = df['ros']
sampled_df = df.sample(n=SEND_N, weights=df['score'])
sampled_df['sort'] = range(1, len(sampled_df) + 1)
@@ -95,7 +95,7 @@ def rank_for_layer1(run_dt, run_hour, project, table):
np.random.seed(int(dt_version)+1)
@@ -97,7 +97,7 @@ def rank_for_layer1(run_dt, run_hour, project, table):