File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 12
12
from grpclib .exceptions import StreamTerminatedError
13
13
from instances import Instance
14
14
from langfuse .decorators import observe
15
+ from logs import setup_agent_logger
15
16
from pydantic import BaseModel
16
17
from requests import adapters as requests_adapters
17
18
from requests .exceptions import ConnectionError , ConnectTimeout , SSLError
26
27
from urllib3 .exceptions import ProtocolError
27
28
28
29
import art
29
- from logs import setup_agent_logger
30
30
from swebench .harness .modal_eval .run_evaluation_modal import app , run_instance_modal
31
31
from swebench .harness .test_spec .test_spec import make_test_spec
32
32
Original file line number Diff line number Diff line change @@ -425,9 +425,9 @@ async def _train_model(
425
425
num_gradient_steps = int (
426
426
result .pop ("num_gradient_steps" , estimated_gradient_steps )
427
427
)
428
- assert (
429
- num_gradient_steps == estimated_gradient_steps
430
- ), f"num_gradient_steps { num_gradient_steps } != estimated_gradient_steps { estimated_gradient_steps } "
428
+ assert num_gradient_steps == estimated_gradient_steps , (
429
+ f" num_gradient_steps { num_gradient_steps } != estimated_gradient_steps { estimated_gradient_steps } "
430
+ )
431
431
results .append (result )
432
432
yield {** result , "num_gradient_steps" : num_gradient_steps }
433
433
pbar .update (1 )
You can’t perform that action at this time.
0 commit comments