Skip to content

Commit aa1ce37

Browse files
committed
use true/false
1 parent decf061 commit aa1ce37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eval_protocol/pytest/evaluation_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ async def _execute_pointwise_eval_with_semaphore(
444444
raise
445445
except Exception as e:
446446
# Default: capture non-assert exceptions unless explicitly disabled
447-
if os.getenv("EP_CAPTURE_EVAL_EXCEPTIONS", "1").strip() == "1":
447+
if os.getenv("EP_CAPTURE_EVAL_EXCEPTIONS", "false").strip() == "false":
448448
result = row
449449
result.evaluation_result = EvaluateResult(
450450
score=0.0,
@@ -488,7 +488,7 @@ async def _execute_groupwise_eval_with_semaphore(
488488
raise
489489
except Exception as e:
490490
# Default: capture non-assert exceptions unless explicitly disabled
491-
if os.getenv("EP_CAPTURE_EVAL_EXCEPTIONS", "1").strip() == "1":
491+
if os.getenv("EP_CAPTURE_EVAL_EXCEPTIONS", "false").strip() == "false":
492492
results = rows
493493
for row in results:
494494
row.evaluation_result = EvaluateResult(
@@ -624,7 +624,7 @@ async def _collect_result(config, lst):
624624
# if the eval_metadata status code has not been set to something else, consider it as finished
625625
r.eval_metadata.status = Status.eval_finished()
626626
# Optional debug print for assistant/tool sequence
627-
if os.getenv("EP_DEBUG_SERIALIZATION", "0").strip() == "1":
627+
if os.getenv("EP_DEBUG_SERIALIZATION", "false").strip() == "false":
628628
try:
629629
preview = [
630630
{

0 commit comments

Comments
 (0)