75 lines
2.1 KiB
JSON
75 lines
2.1 KiB
JSON
{
|
|
"id": "da922383-bfa4-4cd3-bbad-6bebab3d7742",
|
|
"snapshot": "multiapps",
|
|
"instruction": "I browsed a lot of interesting blog articles today. I hope to store these articles in my local designated folder just like zotero stores papers. Please download the blogs you are opening now in pdf format to /home/user/Documents/Blogs.",
|
|
"source": "authors",
|
|
"config": [
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"google-chrome",
|
|
"--remote-debugging-port=1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "launch",
|
|
"parameters": {
|
|
"command": [
|
|
"socat",
|
|
"tcp-listen:9222,fork",
|
|
"tcp:localhost:1337"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "chrome_open_tabs",
|
|
"parameters": {
|
|
"urls_to_open": [
|
|
"https://lilianweng.github.io/posts/2023-06-23-agent/",
|
|
"https://lilianweng.github.io/posts/2024-02-05-human-data-quality/"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"trajectory": "trajectories/",
|
|
"related_apps": [
|
|
"chrome", "os"
|
|
],
|
|
"evaluator": {
|
|
"postconfig":[
|
|
{
|
|
"type": "download",
|
|
"parameters": {
|
|
"files": [
|
|
{
|
|
"url": "https://drive.google.com/uc?export=download&id=19SJ4ydB36lwIK4K4B57sl3bsY9T-3WNv",
|
|
"path": "/home/user/Desktop/script.txt"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "execute",
|
|
"parameters": {
|
|
"command": "pip install PyMuPDF",
|
|
"shell": "true"
|
|
}
|
|
}
|
|
],
|
|
"func": "exact_match",
|
|
"result":{
|
|
"type": "vm_command_line",
|
|
"command":"echo lixiaochuan20 | sudo -S mv /home/user/Desktop/script.txt /home/user/Desktop/script.py && python /home/user/Desktop/script.py",
|
|
"shell": "true"
|
|
},
|
|
"expected": {
|
|
"type": "rule",
|
|
"rules":{
|
|
"expected": "[1, 1]\n"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|