Skip to content

Commit 11fb547

Browse files
Benny ChenBenny Chen
authored andcommitted
reformat
1 parent 0c0abf2 commit 11fb547

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

eval_protocol/execution/pipeline.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,9 @@ async def process_with_semaphore_wrapper(sample_idx: int, sample_data: Dict[str,
847847

848848
for i_outer in range(0, len(tasks), batch_size_for_logging):
849849
batch_tasks = tasks[i_outer : i_outer + batch_size_for_logging]
850-
batch_results_values: List[Union[Exception, Dict[str, Any], List[Dict[str, Any]]]] = await asyncio.gather(*batch_tasks, return_exceptions=True)
850+
batch_results_values: List[
851+
Union[Exception, Dict[str, Any], List[Dict[str, Any]]]
852+
] = await asyncio.gather(*batch_tasks, return_exceptions=True)
851853
for res_idx, res_or_exc in enumerate(batch_results_values):
852854
if isinstance(res_or_exc, Exception):
853855
logger.error(

eval_protocol/mcp/simulation_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,9 @@ def get_default_config(self) -> Dict[str, Any]:
394394
pass
395395

396396
# Optional hook: some environments need seed at creation time
397-
def create_environment_with_seed(self, config: Dict[str, Any], *, seed: Optional[int] = None) -> Tuple[Any, Any, Dict[str, Any]]:
397+
def create_environment_with_seed(
398+
self, config: Dict[str, Any], *, seed: Optional[int] = None
399+
) -> Tuple[Any, Any, Dict[str, Any]]:
398400
"""Create environment with a seed when required; default falls back to create+reset.
399401
400402
Subclasses can override when the environment requires the seed at construction time.

0 commit comments

Comments
 (0)