Skip to content

Commit 3dca845

Browse files
committed
fix phase2
1 parent d4c92b2 commit 3dca845

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

examples/circle_packing/evaluator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def evaluate(program_path):
185185

186186
# Use subprocess to run with timeout
187187
centers, radii, reported_sum = run_with_timeout(
188-
program_path, timeout_seconds=60 # Single timeout
188+
program_path, timeout_seconds=600 # Single timeout
189189
)
190190

191191
end_time = time.time()
@@ -256,7 +256,7 @@ def evaluate_stage1(program_path):
256256
try:
257257
# Use the simplified subprocess approach
258258
try:
259-
centers, radii, sum_radii = run_with_timeout(program_path, timeout_seconds=60)
259+
centers, radii, sum_radii = run_with_timeout(program_path, timeout_seconds=600)
260260

261261
# Ensure centers and radii are numpy arrays
262262
if not isinstance(centers, np.ndarray):
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
matplotlib
2+
scipy

0 commit comments

Comments
 (0)