forked from JOJ/Joint-Teapot
fix: total score penalty warning
This commit is contained in:
parent
0989e4ebd3
commit
c3b053f0a5
|
@ -236,9 +236,7 @@ def generate_title_and_comment(
|
||||||
"[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n"
|
"[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n"
|
||||||
)
|
)
|
||||||
if penalty_factor != 1.0:
|
if penalty_factor != 1.0:
|
||||||
comment += (
|
comment += f"## ⚠️Total Score Penalty Warning⚠️\n**The total score is multiplied by {penalty_factor}.**\n"
|
||||||
f"## Total Score Penalty Warning\nThe total score is multiplied by 0.75.\n"
|
|
||||||
)
|
|
||||||
for stage in stages:
|
for stage in stages:
|
||||||
if all(
|
if all(
|
||||||
result["score"] == 0 and result["comment"].strip() == ""
|
result["score"] == 0 and result["comment"].strip() == ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user