Skip to content

Commit f7be7b2

Browse files
authored
tests: change time of evals example (#2501)
1 parent 158b8c3 commit f7be7b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/evals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ async def double_number(input_value: int) -> int:
341341
# Run evaluation with unlimited concurrency
342342
t0 = time.time()
343343
report_default = dataset.evaluate_sync(double_number)
344-
print(f'Evaluation took less than 0.5s: {time.time() - t0 < 0.5}')
345-
#> Evaluation took less than 0.5s: True
344+
print(f'Evaluation took less than 1s: {time.time() - t0 < 1}')
345+
#> Evaluation took less than 1s: True
346346

347347
report_default.print(include_input=True, include_output=True, include_durations=False) # (1)!
348348
"""

0 commit comments

Comments
 (0)