chore: better penalty msg
All checks were successful
build / trigger-build-image (push) Successful in 13s
All checks were successful
build / trigger-build-image (push) Successful in 13s
This commit is contained in:
parent
b26b159f24
commit
4a0507602b
|
@ -236,7 +236,9 @@ 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 += 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:
|
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