{ "id": "single-software-execution--cli--blender--task-48--ubuntu", "snapshot": "Blender-4.2.3", "instruction": "Purge Orphan Datablocks `/home/user/Desktop/scene.blend` contains a mesh\nobject `Cube` that uses `Mat_InUse`, which in turn uses `Img_InUse`. 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\nThe file is cluttered with 12 fake-user materials and 6 fake-user images.\nSome orphan materials reference some of the orphan images, so the cleanup\nmust be done carefully: remove the unused materials and then remove any\nnow-unreferenced images, without disturbing `Cube`, `Mat_InUse`, or\n`Img_InUse`.\n\n## Requirements\n1. `/home/user/Desktop/answer.blend` opens as a valid Blender file.\n2. `Cube` still exists and its first material slot is `Mat_InUse`.\n3. `Mat_InUse` exists.\n4. `Img_InUse` exists.\n5. No `Mat_Orphan_*` material remains.\n6. No `Img_Orphan_*` image remains.\n7. `len(bpy.data.materials) == 1`.\n8. Exactly one user-created image remains.\n\nDo not rename `Cube`, its material, or its image; only purge the orphaned\ndatablocks.", "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-48/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-48/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" }