rbx.cp 0.5.27__py3-none-any.whl → 0.5.29__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
rbx/box/builder.py CHANGED
@@ -49,11 +49,11 @@ def build(
49
49
  infos = validate_testcases(s, groups=groups)
50
50
  print_validation_report(infos)
51
51
 
52
- if has_validation_errors(infos):
53
- console.console.print(
54
- '[error]Validation failed, check the report above.[/error]'
55
- )
56
- return False
52
+ if has_validation_errors(infos):
53
+ console.console.print(
54
+ '[error]Validation failed, check the report above.[/error]'
55
+ )
56
+ return False
57
57
 
58
58
  with utils.StatusProgress(
59
59
  'Building outputs for testcases...',
rbx/box/code.py CHANGED
@@ -266,6 +266,7 @@ def run_item(
266
266
  outputs: Optional[List[GradingFileOutput]] = None,
267
267
  extra_args: Optional[str] = None,
268
268
  extra_config: Optional[ExecutionConfig] = None,
269
+ retry_index: Optional[int] = None,
269
270
  ) -> Optional[RunLog]:
270
271
  language = find_language_name(code)
271
272
  execution_options = get_execution_config(language)
@@ -350,6 +351,7 @@ def run_item(
350
351
  is_sanitized=sanitized,
351
352
  timeLimit=sandbox_params.timeout,
352
353
  memoryLimit=sandbox_params.address_space,
354
+ retryIndex=retry_index,
353
355
  ),
354
356
  )
355
357