Official Codebase of 3DCodeVerse
Python
articulated_repairs: drop an unused loop variable (ruff B007)
ziyaoccb3dd8fca11
diff --git a/harness/codeverse/tracks/articulated_repairs.py b/harness/codeverse/tracks/articulated_repairs.pyindex b667525c..0208336d 100644--- a/harness/codeverse/tracks/articulated_repairs.py+++ b/harness/codeverse/tracks/articulated_repairs.py@@ -159,7 +159,7 @@ def buried_links(robot: Any, *, samples: int = BURIED_SAMPLES, fraction: float =meshes = link_world_meshes(robot, {})bodies = {n: LinkBody(n, m) for n, m in meshes.items() if not m.is_empty and m.area > 0}out: list[GateFinding] = []- for name, body in bodies.items():+ for name in bodies:pts, _ = trimesh.sample.sample_surface(meshes[name], samples, seed=0)lo, hi = meshes[name].boundsfor other, ob in bodies.items():