inspect-ai 0.3.109__py3-none-any.whl → 0.3.110__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.
- inspect_ai/_eval/task/run.py +6 -2
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/METADATA +1 -1
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/RECORD +7 -7
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/WHEEL +0 -0
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/entry_points.txt +0 -0
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/licenses/LICENSE +0 -0
- {inspect_ai-0.3.109.dist-info → inspect_ai-0.3.110.dist-info}/top_level.txt +0 -0
inspect_ai/_eval/task/run.py
CHANGED
@@ -86,6 +86,7 @@ from inspect_ai.solver._chain import Chain, unroll
|
|
86
86
|
from inspect_ai.solver._fork import set_task_generate
|
87
87
|
from inspect_ai.solver._solver import Solver
|
88
88
|
from inspect_ai.solver._task_state import sample_state, set_sample_state, state_jsonable
|
89
|
+
from inspect_ai.util._anyio import inner_exception
|
89
90
|
from inspect_ai.util._limit import LimitExceededError
|
90
91
|
from inspect_ai.util._limit import time_limit as create_time_limit
|
91
92
|
from inspect_ai.util._limit import working_limit as create_working_limit
|
@@ -346,8 +347,11 @@ async def task_run(options: TaskRunOptions) -> EvalLog:
|
|
346
347
|
finally:
|
347
348
|
tg.cancel_scope.cancel()
|
348
349
|
|
349
|
-
|
350
|
-
|
350
|
+
try:
|
351
|
+
async with anyio.create_task_group() as tg:
|
352
|
+
tg.start_soon(run, tg)
|
353
|
+
except Exception as ex:
|
354
|
+
raise inner_exception(ex)
|
351
355
|
|
352
356
|
return result
|
353
357
|
|
@@ -63,7 +63,7 @@ inspect_ai/_eval/task/images.py,sha256=nTzHizlyuPYumPH7gAOBSrNkTwTbAmZ7tKdzN7d_R
|
|
63
63
|
inspect_ai/_eval/task/log.py,sha256=nQpyFIaOuSQfn66dp89BqDblkqyUVIWnJuFBXo28jrI,12008
|
64
64
|
inspect_ai/_eval/task/resolved.py,sha256=LBVHEeq9N1fkRObmA2pnDE_l_EuH6n2Dg8-c8yCGT5U,1007
|
65
65
|
inspect_ai/_eval/task/results.py,sha256=x4weYRK2XGowfBG3f2msOeZQ_pxh230HTlw6kps33jw,17925
|
66
|
-
inspect_ai/_eval/task/run.py,sha256=
|
66
|
+
inspect_ai/_eval/task/run.py,sha256=t0iWgO0SjBAC4_rbCw7yHKTaYY0tc_uYvJKb5_4ivuk,40422
|
67
67
|
inspect_ai/_eval/task/sandbox.py,sha256=x9GU-o2LtJQtdZjdmwRtAMJ5Mzd_te6hrm-DjiZB60g,7737
|
68
68
|
inspect_ai/_eval/task/task.py,sha256=EVdOKgC8UYadlTebkfnXtWawV0BQeGGEBzmlGTRbAfI,16314
|
69
69
|
inspect_ai/_eval/task/tasks.py,sha256=8fy5k070KgjYwaZQ_Nk6_r-38VTU6HB-qh7ixc4JzKI,727
|
@@ -814,9 +814,9 @@ inspect_ai/util/_sandbox/docker/internal.py,sha256=c8X8TLrBPOvsfnq5TkMlb_bzTALyc
|
|
814
814
|
inspect_ai/util/_sandbox/docker/prereqs.py,sha256=0j6_OauBBnVlpBleADcZavIAAQZy4WewVjbRn9c0stg,3355
|
815
815
|
inspect_ai/util/_sandbox/docker/service.py,sha256=hhHIWH1VDFLwehdGd19aUBD_VKfDO3GCPxpw1HSwVQk,2437
|
816
816
|
inspect_ai/util/_sandbox/docker/util.py,sha256=EeInihCNXgUWxaqZ4dNOJd719kXL2_jr63QCoXn68vA,3154
|
817
|
-
inspect_ai-0.3.
|
818
|
-
inspect_ai-0.3.
|
819
|
-
inspect_ai-0.3.
|
820
|
-
inspect_ai-0.3.
|
821
|
-
inspect_ai-0.3.
|
822
|
-
inspect_ai-0.3.
|
817
|
+
inspect_ai-0.3.110.dist-info/licenses/LICENSE,sha256=xZPCr8gTiFIerrA_DRpLAbw-UUftnLFsHxKeW-NTtq8,1081
|
818
|
+
inspect_ai-0.3.110.dist-info/METADATA,sha256=pRfTVgVspM16qF2Fv-E5NWIVksex5ofxeQup1M5sk48,5468
|
819
|
+
inspect_ai-0.3.110.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
820
|
+
inspect_ai-0.3.110.dist-info/entry_points.txt,sha256=WGGLmzTzDWLzYfiyovSY6oEKuf-gqzSDNOb5V-hk3fM,54
|
821
|
+
inspect_ai-0.3.110.dist-info/top_level.txt,sha256=Tp3za30CHXJEKLk8xLe9qGsW4pBzJpEIOMHOHNCXiVo,11
|
822
|
+
inspect_ai-0.3.110.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|