HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.34 kB
{
"id": "single-software-execution--cli--calculix--task-06--ubuntu",
"snapshot": "CalculiX-2.21",
"instruction": "Begin with an axisymmetric cylinder template `/home/user/Desktop/cylinder_transform.inp`. Run `ccx --version` or invoke the installed `ccx` binary from a terminal. On this machine, use `/usr/bin/ccx` for the CalculiX solve and `/usr/bin/cgx` when CGX processing is needed.\n\nComplete the following from the command line: 1. Modify and generate `/home/user/Desktop/transform.inp`: Please save the final input file as /home/user/Desktop/transform.inp. - Transform all nodes into a cylindrical coordinate system centered at the origin - Apply radial pressure `10 MPa` on the inner wall - Apply `UY=0` on the bottom edge - Constrain circumferential displacement `UT=0` on outer-wall nodes 2. Submit the job and write a post-processing script to parse `transform.dat`: - Extract inner-wall radial displacement `UR` - Extract outer-wall radial displacement `UR` - Extract maximum absolute circumferential displacement `|UT|` over the whole model - Write to `/home/user/Desktop/summary.txt` in this format: `inner_ur,outer_ur,max_abs_ut`",
"source": "https://github.com/calculix/CalculiX-Examples",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-06/init_file/cylinder_transform.inp",
"path": "/home/user/Desktop/cylinder_transform.inp"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"calculix"
],
"artifact_paths": [
"/home/user/Desktop/summary.txt",
"/home/user/Desktop/transform.dat",
"/home/user/Desktop/transform.inp"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-06/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"
}