fix: fix multiapp tasks (#229)

Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
This commit is contained in:
XXZ
2025-07-03 21:53:58 +08:00
committed by GitHub
parent 7b2120c843
commit ac24ccce99
12 changed files with 57 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "48d05431-6cd5-4e76-82eb-12b60d823f7d",
"snapshot": "os",
"instruction": "When I ran \"conda install datasets\" in terminal, I got \"conda: command not found\". Could you help me solve it?",
"instruction": "When I ran \"conda install datasets\" in terminal, I got \"conda: command not found\". Could you help me solve it so that I can use conda command right away?",
"source": "authors",
"config": [
{
@@ -45,17 +45,18 @@
"os",
"chrome"
],
"evaluator": {
"func": "is_in_list",
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "conda list",
"command": "grep -q 'conda initialize' ~/.bashrc && echo 1 || echo 0",
"shell": true
},
"expected": {
"type": "rule",
"rules": {
"expected": "packages in environment at"
"expected": "1\n"
}
}
},