Download task/single-software-execution/cli/openfoam/task-17/task-17.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.44 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openfoam/task-17/task-17.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/openfoam/task-17/task-17.json
-
curl -L -o task-17.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/openfoam/task-17/task-17.json
2.44 kB
| { | |
| "id": "single-software-execution--cli--openfoam--task-17--ubuntu", | |
| "snapshot": "OpenFOAM11", | |
| "instruction": "Work from a broken OpenFOAM case `/home/user/Desktop/broken_block/`. OpenFOAM is normally used from a shell after sourcing your installation environment (e.g. its `etc/bashrc`); `foamRun -help` verifies solver binaries are available. Before running the case, load OpenFOAM with `source /opt/openfoam11/etc/bashrc`; the solver binaries are under `/opt/openfoam11/bin` and its platform bin directory.\n\nComplete diagnose-fix-rerun using only the command line: 1. Try running `blockMesh`; it should fail. 2. Read error logs and locate all topology errors. 3. Fix the case into `/home/user/Desktop/fixed/` (do not use GUI). 4. Re-run mesh generation and solver, and ensure time-step field files are generated successfully. 5. Write a diagnosis report `/home/user/Desktop/diagnosis.txt` that explains each error cause and fix in detail, with total length >= 100 words. 6. Do not use GUI tools.", | |
| "source": "https://github.com/openfoam/openfoam-dev", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-17/init_file/broken_block.tar", | |
| "path": "/home/user/Desktop/broken_block.tar" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "type": "launch", | |
| "parameters": { | |
| "command": "bash -c \"mkdir -p '/home/user/Desktop/' && tar -xf '/home/user/Desktop/broken_block.tar' -C '/home/user/Desktop/' && rm -f '/home/user/Desktop/broken_block.tar'\"", | |
| "shell": true | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "openfoam" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/diagnosis.txt", | |
| "/home/user/Desktop/fixed", | |
| "/home/user/Desktop/broken_block" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-17/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" | |
| } | |