You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asserttotal_jobs_spawned==job_limit, f"Total number of spawned jobs doesn't match the overall budget. Used: {total_jobs_spawned}, expected: {job_limit}."
37
+
asserttotal_jobs_spawned==job_limit, (
38
+
f"Total number of spawned jobs doesn't match the budget. Used: {total_jobs_spawned}, expected: {job_limit}."
39
+
)
37
40
fori, n_jobsinenumerate(n_jobs_spawned):
38
-
assertn_jobs>0, f"No jobs spawned in execution {i+1}/{n_times_spawned}."
39
-
assertn_jobs<=max_parallel*job_limitorn_jobs==1, f"Number of spawned jobs exceeds the maximum parallelization limit in execution {i+1}/{n_times_spawned}: {n_jobs}."
41
+
assertn_jobs>0, f"No jobs spawned in execution {i+1}/{n_times_spawned}."
asserttotal_jobs_spawned==job_limit*max(1, len(seeds)), f"Total number of spawned jobs doesn't match the overall budget. Used: {total_jobs_spawned}, expected: {job_limit*max(1, len(seeds))}."
f"Number of jobs doesn't match budget. Used: {total_jobs_spawned}, expected: {job_limit*max(1, len(seeds))}."
74
+
)
67
75
fori, n_jobsinenumerate(n_jobs_spawned):
68
-
assertn_jobs>0, f"No jobs spawned in execution {i+1}/{n_times_spawned}."
69
-
assertn_jobs<=max_parallel*job_limitorn_jobs==1, f"Number of spawned jobs exceeds the maximum parallelization limit in execution {i+1}/{n_times_spawned}: {n_jobs}."
0 commit comments