Skip to content

Commit 8dd5650

Browse files
committed
Huskybench extra validation message
1 parent 3bdbf47 commit 8dd5650

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

codeclash/games/huskybench/huskybench.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ def validate_code(self, agent: Player) -> tuple[bool, str | None]:
119119
return (
120120
False,
121121
f"Your submission did not successfully complete a single round of poker within "
122-
f"the {HB_BOT_TIMEOUT} second time limit. Please reduce your bot's computation time."
123-
f"\n\nCommand run: ./{HB_SCRIPT}",
122+
f"the {HB_BOT_TIMEOUT} second time limit.\n\n"
123+
"Please reduce your bot's computation time. "
124+
"It might also be possible that your code has compilation errors.\n\n"
125+
f"Validation command run: `./{HB_SCRIPT}`",
124126
)
125127
return True, None

0 commit comments

Comments
 (0)