fix: total score penalty warning
All checks were successful
build / trigger-build-image (push) Successful in 11s

This commit is contained in:
张泊明518370910136 2025-06-24 09:31:39 -04:00
parent 0989e4ebd3
commit c3b053f0a5
GPG Key ID: CA088E6D9284F870

View File

@ -236,9 +236,7 @@ def generate_title_and_comment(
"[Joint-Teapot](https://github.com/BoYanZh/Joint-Teapot) with ❤️.\n"
)
if penalty_factor != 1.0:
comment += (
f"## Total Score Penalty Warning\nThe total score is multiplied by 0.75.\n"
)
comment += f"## ⚠Total Score Penalty Warning⚠\n**The total score is multiplied by {penalty_factor}.**\n"
for stage in stages:
if all(
result["score"] == 0 and result["comment"].strip() == ""