Replay is ok now

This commit is contained in:
jackyu66git
2025-06-10 18:46:42 +08:00
parent 2295a0b1f8
commit 747f74c1d1
3 changed files with 316 additions and 247 deletions
+3 -3
View File
@@ -160,7 +160,7 @@ class ChanKLC():
klu_list.append(klc3.klus)
gap = klc3.end_klu.index - klc1.start_klu.index + 1
if gap < 4:
print(klc1.start_time, klc1.start_klu.index, klc3.end_time, klc3.end_klu.index, gap, self.cal_fx_strength(), self.klc_fx_type)
pass
return gap
def get_feature_data(self):
features = dict()
@@ -1214,7 +1214,7 @@ class ChanKLC():
# 分型质量调整
base_score += fx_quality
print(self.start_time, base_score, is_bi_end, post_fx_confirmation, fx_quality)
#print(self.start_time, base_score, is_bi_end, post_fx_confirmation, fx_quality)
# 2025-06-07 08:15:00 1.5 0 0.8 0.7
# 限制在-3到3范围内
return max(-3, min(3, base_score))
@@ -1245,7 +1245,7 @@ class ChanKLC():
if len(subsequent_klcs) < 2:
return 0
print(subsequent_klcs[len(subsequent_klcs)-1].start_time)
pass
if self.fx == Chan_FX_TYPE.TOP:
return self._check_top_bi_ending(subsequent_klcs)
else: # BOTTOM