HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
3.51 kB
{
"id": "single-software-execution--cli--blender--task-24--ubuntu",
"snapshot": "Blender-4.2.3",
"instruction": "Rigid Body Bake to Keyframes `/home/user/Desktop/scene.blend` contains: - A `Ground` box (20x20x0.2 BU, top face at z=0) set as a PASSIVE rigid body with MESH collision shape. - 10 cubes named `Cube_00`, `Cube_01`, ..., `Cube_09` (size 1 BU each), stacked vertically above the ground at Z = 0.5, 2.0, 3.5, 5.0, 6.5, 8.0, 9.5, 11.0, 12.5, 14.0 (center-to-center spacing of 1.5 BU, leaving a 0.5 BU air gap between each pair). Launch Blender by running `blender` from a terminal. At the start of the task, use `/opt/blender/blender` for Blender command-line or background runs when working on `scene.blend`.\n\nEach cube is ACTIVE rigid body with MESH collision, mass = 1.0. - A rigid body world exists with `point_cache.frame_end = 120`. Scene frame range is 1..120. Gravity is (0, 0, -9.81). - The simulation has NOT been baked. Your task: 1. Run the rigid body simulation for frames 1..120 so the stack of cubes falls under gravity and collides, settling on the ground. 2. Bake the simulated transforms (location + rotation) to keyframes on every cube for frames 1..120. Every cube must end up with at least 120 keyframes on its location f-curves and at least 120 keyframes on its rotation f-curves. 3. Remove the rigid body world entirely so the motion is driven purely by the keyframes: select every cube and the ground, call `bpy.ops.rigidbody.objects_remove()` to strip the rigid body settings, then call `bpy.ops.rigidbody.world_remove()`. After this, `bpy.context.scene.rigidbody_world` must be `None`. 4. Save the scene to `/home/user/Desktop/answer.blend`. Requirements =============== 1. `/home/user/Desktop/answer.blend` exists and opens. 2. Mesh objects `Cube_00`..`Cube_09` are present. 3. `scene.rigidbody_world` is `None`. 4. Every cube has location f-curves with at least 120 keyframe points each. 5. Every cube has rotation (euler or quaternion) f-curves with at least 120 keyframe points each. 6. At frame 120, no cube's world Z falls below -0.01 (all cubes rest on/above the ground). 7. The stack has collapsed: at least 5 of the 10 cubes have moved >= 0.1 BU (Euclidean distance) from their frame-1 position to their frame-120 position.",
"source": "https://docs.blender.org/manual/en/4.1/; https://docs.blender.org/api/4.1/; https://developer.blender.org/docs/release_notes/4.1/; https://www.loc.gov/preservation/digital/formats/fdd/fdd000507.shtml",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-24/init_file/scene.blend",
"path": "/home/user/Desktop/scene.blend"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"blender"
],
"artifact_paths": [
"/home/user/Desktop/answer.blend"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-24/eval.py",
"path": "/home/user/Desktop/eval.py"
}
]
}
}
],
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "python3 /home/user/Desktop/eval.py",
"shell": "true"
},
"expected": {
"type": "rule",
"rules": {
"expected": "True\n"
}
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}