chore: better penalty msg
All checks were successful
build / trigger-build-image (push) Successful in 13s

This commit is contained in:
张泊明518370910136 2025-06-19 11:15:44 -04:00
parent b26b159f24
commit 4a0507602b
GPG Key ID: CA088E6D9284F870

View File

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