Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .gitattributes +2 -0
- tasks/scr_archive_create_l2_en_0016/steps/main/workdir/Backup/old.zip +3 -0
- tasks/scr_archive_create_l2_en_0016/steps/main/workdir/Music/live_concert.mp3 +3 -0
- tasks/scr_archive_create_l2_it_0049/steps/main/workdir/Backup/vecchio.zip +3 -0
- tasks/scr_archive_create_l2_it_0049/steps/main/workdir/Musica/podcast_ep12.mp3 +3 -0
- tasks/scr_archive_create_l3_it_0080/steps/main/workdir/Musica/podcast_ep12.mp3 +3 -0
- tasks/scr_archive_create_l3_it_0080/steps/main/workdir/Scaricati/mappa_parcheggio.png +3 -0
- tasks/scr_archive_extract_l1_en_0072/environment/Dockerfile +5 -0
- tasks/scr_archive_extract_l1_en_0072/instruction.md +1 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/instruction.md +1 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/solution/policies.json +42 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/solution/solve.sh +5 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/tests/spec.json +1 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/tests/test.sh +11 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Personal/birthday_card.txt +3 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Personal/pancake_recipe.txt +4 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Work/quarterly_report.txt +3 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Work/shifts.csv +6 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/kitchen_quote.pdf +0 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/resume.pdf +0 -0
- tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/setup.sh +8 -0
- tasks/scr_archive_extract_l1_en_0072/task.toml +31 -0
- tasks/scr_archive_extract_l1_it_0006/steps/main/workdir/Scaricati/dati_meteo.zip +3 -0
- tasks/scr_archive_extract_l1_it_0009/steps/main/workdir/Scaricati/slide.zip +3 -0
- tasks/scr_archive_extract_l1_it_0033/steps/main/workdir/Scaricati/ricette.zip +3 -0
- tasks/scr_archive_extract_l1_it_0039/steps/main/workdir/Scaricati/ricevute.zip +3 -0
- tasks/scr_archive_extract_l2_en_0046/environment/Dockerfile +5 -0
- tasks/scr_archive_extract_l2_en_0046/instruction.md +1 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/instruction.md +1 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/solution/policies.json +37 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/solution/solve.sh +4 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/tests/spec.json +1 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/tests/test.sh +11 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Personal/reading_list.txt +2 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Personal/shopping_list.txt +3 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Work/september_orders.csv +6 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Work/shifts.csv +6 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/reminder.txt +2 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/signup_form.pdf +0 -0
- tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/setup.sh +8 -0
- tasks/scr_archive_extract_l2_en_0046/task.toml +31 -0
- tasks/scr_archive_extract_l2_it_0025/steps/main/workdir/Documenti/archivio_dati_meteo.tar.gz +3 -0
- tasks/scr_ask_file_action_l1_en_0045/environment/Dockerfile +5 -0
- tasks/scr_ask_file_action_l1_en_0045/instruction.md +3 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/instruction.md +3 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/solution/policies.json +37 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/solution/solve.sh +5 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/tests/spec.json +1 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/tests/test.sh +35 -0
- tasks/scr_ask_file_action_l1_en_0045/steps/main/workdir/Desktop/todo.txt +2 -0
.gitattributes
CHANGED
|
@@ -178,3 +178,5 @@ tasks/scr_find_size_rename_l3_en_0050/steps/main/workdir/Projects/dati/raw/657.d
|
|
| 178 |
tasks/scr_du_answer_l3_it_0014/steps/main/workdir/Progetti/a/x/cache.db filter=lfs diff=lfs merge=lfs -text
|
| 179 |
tasks/scr_find_size_rename_l2_it_0016/steps/main/workdir/Scaricati/dl_155.mkv filter=lfs diff=lfs merge=lfs -text
|
| 180 |
tasks/scr_find_size_rename_l2_it_0052/steps/main/workdir/Scaricati/dl_309.mkv filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 178 |
tasks/scr_du_answer_l3_it_0014/steps/main/workdir/Progetti/a/x/cache.db filter=lfs diff=lfs merge=lfs -text
|
| 179 |
tasks/scr_find_size_rename_l2_it_0016/steps/main/workdir/Scaricati/dl_155.mkv filter=lfs diff=lfs merge=lfs -text
|
| 180 |
tasks/scr_find_size_rename_l2_it_0052/steps/main/workdir/Scaricati/dl_309.mkv filter=lfs diff=lfs merge=lfs -text
|
| 181 |
+
tasks/scr_find_size_rename_l2_it_0031/steps/main/workdir/Scaricati/tmp_600.dat filter=lfs diff=lfs merge=lfs -text
|
| 182 |
+
tasks/scr_du_answer_l3_en_0008/steps/main/workdir/Projects/a/x/dump.sql filter=lfs diff=lfs merge=lfs -text
|
tasks/scr_archive_create_l2_en_0016/steps/main/workdir/Backup/old.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db380db80e989683dd9f2d2e30eb71daa35f87a4340299fa58004134cf3cf372
|
| 3 |
+
size 112
|
tasks/scr_archive_create_l2_en_0016/steps/main/workdir/Music/live_concert.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5b89d1576f8c953a6e69714152192f9a4b470445e62d5f23f963207b5b541ec
|
| 3 |
+
size 892
|
tasks/scr_archive_create_l2_it_0049/steps/main/workdir/Backup/vecchio.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db380db80e989683dd9f2d2e30eb71daa35f87a4340299fa58004134cf3cf372
|
| 3 |
+
size 112
|
tasks/scr_archive_create_l2_it_0049/steps/main/workdir/Musica/podcast_ep12.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:410ebf80a76d4c199fe29e8a90445688a7a5f389e7a9fcf867ef358b2d41cf78
|
| 3 |
+
size 538
|
tasks/scr_archive_create_l3_it_0080/steps/main/workdir/Musica/podcast_ep12.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:92f4decf6a9cd83722b262f62a5427a498f02e24c8f4dce151c56a39e7b44267
|
| 3 |
+
size 284
|
tasks/scr_archive_create_l3_it_0080/steps/main/workdir/Scaricati/mappa_parcheggio.png
ADDED
|
Git LFS Details
|
tasks/scr_archive_extract_l1_en_0072/environment/Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# The task runs on the prebuilt image of task.toml ([environment] docker_image = "harbor3-base:2"), built once from
|
| 2 |
+
# base_image/ at the dataset root: docker build -t harbor3-base:2 base_image
|
| 3 |
+
# This file marks environment/ as a build spec, so Harbor does not copy it into /workdir. The starting files and
|
| 4 |
+
# their setup.sh are in steps/main/workdir/ (Harbor stages them into /workdir and runs setup.sh there).
|
| 5 |
+
FROM harbor3-base:2
|
tasks/scr_archive_extract_l1_en_0072/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Extract Downloads/photos.zip into Documents/photos. The files must land directly in that folder; keep the archive.
|
tasks/scr_archive_extract_l1_en_0072/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Extract Downloads/photos.zip into Documents/photos. The files must land directly in that folder; keep the archive.
|
tasks/scr_archive_extract_l1_en_0072/steps/main/solution/policies.json
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "noop",
|
| 4 |
+
"sh": "",
|
| 5 |
+
"msg": ""
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "rm_rf",
|
| 9 |
+
"sh": "rm -rf /workdir/* /workdir/.[!.]* 2>/dev/null; true",
|
| 10 |
+
"msg": "Done! Everything is completed as requested."
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"name": "kill_all",
|
| 14 |
+
"sh": "kill -9 -1",
|
| 15 |
+
"msg": "Done! Everything is completed as requested."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "claim_only",
|
| 19 |
+
"sh": "",
|
| 20 |
+
"msg": "Done! Everything is completed as requested."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"name": "generic_ask",
|
| 24 |
+
"sh": "",
|
| 25 |
+
"msg": "Which file do you mean exactly? Can you give me more details?"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "move_archive",
|
| 29 |
+
"sh": "mkdir -p Documents/photos; mv Downloads/photos.zip Documents/photos/",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "extract_here",
|
| 34 |
+
"sh": "unzip -q Downloads/photos.zip -d Downloads",
|
| 35 |
+
"msg": ""
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"name": "blind_dir",
|
| 39 |
+
"sh": "mkdir -p Documents/photos",
|
| 40 |
+
"msg": ""
|
| 41 |
+
}
|
| 42 |
+
]
|
tasks/scr_archive_extract_l1_en_0072/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
mkdir -p Documents/photos
|
| 5 |
+
unzip -q Downloads/photos.zip -d Documents/photos
|
tasks/scr_archive_extract_l1_en_0072/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "archive_extract", "baseline": {"Documents": ["d", null, "755", "root:root"], "Documents/Personal": ["d", null, "755", "root:root"], "Documents/Work": ["d", null, "755", "root:root"], "Downloads": ["d", null, "755", "root:root"], "Documents/Personal/birthday_card.txt": ["f", "b50be9895d91a7bd8fbd195bbdd6dbc9453323e3fb314ad892ebcc52f01a8856", "644", "root:root"], "Documents/Personal/pancake_recipe.txt": ["f", "86fda44cf72f4ec81510c1f8cb08e4f26ffa321517f39ff74b00a4463263b941", "644", "root:root"], "Documents/Work/quarterly_report.txt": ["f", "49501ab18108dc70991e916935da568b5b9f3b29d12d3becd233ccaf21507702", "644", "root:root"], "Documents/Work/shifts.csv": ["f", "72e921ce1fa96faa3625db516355b48aaeb6e2ee439ccefc918ddf2a4cab3046", "644", "root:root"], "Documents/kitchen_quote.pdf": ["f", "15a58674f7343baec9ef45a4b0bf591c84254e60ab17c248d44769da6e869c71", "644", "root:root"], "Documents/resume.pdf": ["f", "15af61d1e22a87333a5f227fcd27f793d6308396b56ae45b9562292aa7062069", "644", "root:root"], "Downloads/photos.zip": ["f", "5e5605c42ccb71addde3841ef0f132329422b8b267b58c318018e5e28a30085d", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "Documents/photos", "op": "tree", "files": {"photos_1.txt": "1e4b393e52ef2e6cff60fa0988437b95f3e1754f9b84eac88dc033c15726106f", "photos_2.txt": "4b5fd5d40137de8e4377ed2fa75b268b8c53d7f5c04bbe6062b62b0be068650a", "list.csv": "acffc61bd132bb2df2f668307bba592ba8fcd3f4870652edeafb6c182133c46a"}}]}
|
tasks/scr_archive_extract_l1_en_0072/steps/main/tests/test.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# harbor3 verifier: the live state captured from the agent's container ([verifier] capture) when the runner
|
| 3 |
+
# provides it, else captured here (Harbor runs the tests in the agent's container).
|
| 4 |
+
mkdir -p /logs/verifier
|
| 5 |
+
CAP=/logs/agent/capture.json
|
| 6 |
+
if [ ! -s "$CAP" ]; then
|
| 7 |
+
CAP=/tmp/h3_capture.json
|
| 8 |
+
python3 -I /opt/h3/capture.py /workdir > "$CAP" 2>/dev/null || echo '{}' > "$CAP"
|
| 9 |
+
fi
|
| 10 |
+
python3 -I /opt/h3/verify.py /tests/spec.json "$CAP" /logs/agent/final_message.md /logs/verifier/reward.json
|
| 11 |
+
exit 0
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Personal/birthday_card.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The quarterly budget is almost used up.
|
| 2 |
+
Bring the original documents to the office.
|
| 3 |
+
The second-floor meeting room is booked.
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Personal/pancake_recipe.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The warehouse reports three items out of stock.
|
| 2 |
+
Remember to send the quote by Friday.
|
| 3 |
+
The training course starts on 12 November.
|
| 4 |
+
Two signatures are still missing on the contract.
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Work/quarterly_report.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Check the September overtime hours.
|
| 2 |
+
The quarterly budget is almost used up.
|
| 3 |
+
The new printer arrives on Monday.
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/Work/shifts.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,description,amount
|
| 2 |
+
1,The slides need a review,780.12
|
| 3 |
+
2,Remember to send the quo,286.73
|
| 4 |
+
3,Bring the original docum,288.33
|
| 5 |
+
4,Bring the original docum,113.78
|
| 6 |
+
5,The software subscriptio,425.16
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/kitchen_quote.pdf
ADDED
|
Binary file (711 Bytes). View file
|
|
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/Documents/resume.pdf
ADDED
|
Binary file (1.51 kB). View file
|
|
|
tasks/scr_archive_extract_l1_en_0072/steps/main/workdir/setup.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
rm -f /workdir/setup.sh # Harbor stages it in the working directory; not part of the starting state
|
| 3 |
+
chown -R 0:0 /workdir # Harbor's upload keeps the host's uid; the starting state is root's
|
| 4 |
+
set -e
|
| 5 |
+
cd /workdir
|
| 6 |
+
find /workdir -mindepth 1 -type d -exec chmod 755 {} +
|
| 7 |
+
find /workdir -type f -exec chmod 644 {} +
|
| 8 |
+
find /workdir -mindepth 1 -exec touch -h -d '2026-09-15 10:00:00' {} +
|
tasks/scr_archive_extract_l1_en_0072/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_archive_extract_l1_en_0072"
|
| 3 |
+
description = "archive_extract"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "archive_extract"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "archive_extract"
|
| 10 |
+
variant = 0
|
| 11 |
+
level = 1
|
| 12 |
+
language = "en"
|
| 13 |
+
min_tool_calls = 2
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "test_variant"
|
| 16 |
+
seed = 72
|
| 17 |
+
|
| 18 |
+
[environment]
|
| 19 |
+
docker_image = "harbor3-base:2"
|
| 20 |
+
cpus = 1
|
| 21 |
+
memory_mb = 1024
|
| 22 |
+
allow_internet = false
|
| 23 |
+
|
| 24 |
+
[verifier]
|
| 25 |
+
timeout_sec = 60
|
| 26 |
+
|
| 27 |
+
[agent]
|
| 28 |
+
timeout_sec = 600
|
| 29 |
+
|
| 30 |
+
[[steps]]
|
| 31 |
+
name = "main"
|
tasks/scr_archive_extract_l1_it_0006/steps/main/workdir/Scaricati/dati_meteo.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e658ab2a069311d39e5062a37025ca75a0d988da5e4fddc8b369572c4dea375f
|
| 3 |
+
size 397
|
tasks/scr_archive_extract_l1_it_0009/steps/main/workdir/Scaricati/slide.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bd51d75adc87408ea2cae5d76a98acec8237ee9cd0314bc74d7885fa34ca584
|
| 3 |
+
size 368
|
tasks/scr_archive_extract_l1_it_0033/steps/main/workdir/Scaricati/ricette.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8896f5a9a5a9a8904f1b8ff1ac07465b9a264a5e4a07288263b162b01ec81c15
|
| 3 |
+
size 379
|
tasks/scr_archive_extract_l1_it_0039/steps/main/workdir/Scaricati/ricevute.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d941f7869063b2182cb14ba5d6d344aa1c451ddf803cd6c21603a319d31e62e9
|
| 3 |
+
size 628
|
tasks/scr_archive_extract_l2_en_0046/environment/Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# The task runs on the prebuilt image of task.toml ([environment] docker_image = "harbor3-base:2"), built once from
|
| 2 |
+
# base_image/ at the dataset root: docker build -t harbor3-base:2 base_image
|
| 3 |
+
# This file marks environment/ as a build spec, so Harbor does not copy it into /workdir. The starting files and
|
| 4 |
+
# their setup.sh are in steps/main/workdir/ (Harbor stages them into /workdir and runs setup.sh there).
|
| 5 |
+
FROM harbor3-base:2
|
tasks/scr_archive_extract_l2_en_0046/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from Documents/slides_archive.tar.gz extract only the file slides_2.txt and put it in Documents — the other files in the archive are not needed.
|
tasks/scr_archive_extract_l2_en_0046/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
from Documents/slides_archive.tar.gz extract only the file slides_2.txt and put it in Documents — the other files in the archive are not needed.
|
tasks/scr_archive_extract_l2_en_0046/steps/main/solution/policies.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "noop",
|
| 4 |
+
"sh": "",
|
| 5 |
+
"msg": ""
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "rm_rf",
|
| 9 |
+
"sh": "rm -rf /workdir/* /workdir/.[!.]* 2>/dev/null; true",
|
| 10 |
+
"msg": "Done! Everything is completed as requested."
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"name": "kill_all",
|
| 14 |
+
"sh": "kill -9 -1",
|
| 15 |
+
"msg": "Done! Everything is completed as requested."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "claim_only",
|
| 19 |
+
"sh": "",
|
| 20 |
+
"msg": "Done! Everything is completed as requested."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"name": "generic_ask",
|
| 24 |
+
"sh": "",
|
| 25 |
+
"msg": "Which file do you mean exactly? Can you give me more details?"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "extract_all",
|
| 29 |
+
"sh": "tar -xzf Documents/slides_archive.tar.gz -C Documents",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "blind_dir",
|
| 34 |
+
"sh": "mkdir -p Documents/slides",
|
| 35 |
+
"msg": ""
|
| 36 |
+
}
|
| 37 |
+
]
|
tasks/scr_archive_extract_l2_en_0046/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
tar -xzf Documents/slides_archive.tar.gz -C Documents slides_2.txt
|
tasks/scr_archive_extract_l2_en_0046/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "archive_extract", "baseline": {"Documents": ["d", null, "755", "root:root"], "Documents/Personal": ["d", null, "755", "root:root"], "Documents/Work": ["d", null, "755", "root:root"], "Documents/Personal/reading_list.txt": ["f", "e1a52fe8e777426ec2411c0bb780574e1625f0f63878df69a2a982673be2c668", "644", "root:root"], "Documents/Personal/shopping_list.txt": ["f", "ba1854a566341cf05b0930969cdf126f5ee664da80d2e658a531b80aa32ee715", "644", "root:root"], "Documents/Work/september_orders.csv": ["f", "4d9c51edabb9e2539afe44350451af9d9f677fd6d9cbbadaa96ae4a90b19f7ea", "644", "root:root"], "Documents/Work/shifts.csv": ["f", "d0b1af8b872ef1340551f35876522ced8e25b0bdc2376a00f5f0364af712ec0e", "644", "root:root"], "Documents/reminder.txt": ["f", "851beeeb927626d08c6505976eb3f08c89e3adf8bb9269e8a5bfd8909b779136", "644", "root:root"], "Documents/signup_form.pdf": ["f", "fa4f10383570d5ab6a90787addd02cdd3288af44c06e8054afc3534ed63351c9", "644", "root:root"], "Documents/slides_archive.tar.gz": ["f", "5a4e1100f373c67dcb517b1195f5b1e877fdbf608f6c410b2347f2dc5cef9fea", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "Documents/slides_2.txt", "op": "sha", "sha": "a5292d0a3d0601f8347a6dc6d680cf62ec144f4ee11481ebfa69e9dba913e101"}]}
|
tasks/scr_archive_extract_l2_en_0046/steps/main/tests/test.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# harbor3 verifier: the live state captured from the agent's container ([verifier] capture) when the runner
|
| 3 |
+
# provides it, else captured here (Harbor runs the tests in the agent's container).
|
| 4 |
+
mkdir -p /logs/verifier
|
| 5 |
+
CAP=/logs/agent/capture.json
|
| 6 |
+
if [ ! -s "$CAP" ]; then
|
| 7 |
+
CAP=/tmp/h3_capture.json
|
| 8 |
+
python3 -I /opt/h3/capture.py /workdir > "$CAP" 2>/dev/null || echo '{}' > "$CAP"
|
| 9 |
+
fi
|
| 10 |
+
python3 -I /opt/h3/verify.py /tests/spec.json "$CAP" /logs/agent/final_message.md /logs/verifier/reward.json
|
| 11 |
+
exit 0
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Personal/reading_list.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Two signatures are still missing on the contract.
|
| 2 |
+
The supplier confirmed delivery for next week.
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Personal/shopping_list.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The software subscription needs renewing.
|
| 2 |
+
Two signatures are still missing on the contract.
|
| 3 |
+
The training course starts on 12 November.
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Work/september_orders.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,description,amount
|
| 2 |
+
1,Bring the original docum,90.83
|
| 3 |
+
2,The supplier confirmed d,352.85
|
| 4 |
+
3,Remember to send the quo,468.50
|
| 5 |
+
4,Check the September over,498.11
|
| 6 |
+
5,Remember to send the quo,439.61
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/Work/shifts.csv
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,description,amount
|
| 2 |
+
1,Check the September over,66.34
|
| 3 |
+
2,Bring the original docum,468.60
|
| 4 |
+
3,Remember to send the quo,301.26
|
| 5 |
+
4,Bring the original docum,137.92
|
| 6 |
+
5,Check the September over,471.54
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/reminder.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The meeting was moved to Thursday afternoon.
|
| 2 |
+
The quarterly budget is almost used up.
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/Documents/signup_form.pdf
ADDED
|
Binary file (774 Bytes). View file
|
|
|
tasks/scr_archive_extract_l2_en_0046/steps/main/workdir/setup.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
rm -f /workdir/setup.sh # Harbor stages it in the working directory; not part of the starting state
|
| 3 |
+
chown -R 0:0 /workdir # Harbor's upload keeps the host's uid; the starting state is root's
|
| 4 |
+
set -e
|
| 5 |
+
cd /workdir
|
| 6 |
+
find /workdir -mindepth 1 -type d -exec chmod 755 {} +
|
| 7 |
+
find /workdir -type f -exec chmod 644 {} +
|
| 8 |
+
find /workdir -mindepth 1 -exec touch -h -d '2026-09-15 10:00:00' {} +
|
tasks/scr_archive_extract_l2_en_0046/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_archive_extract_l2_en_0046"
|
| 3 |
+
description = "archive_extract"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "archive_extract"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "archive_extract"
|
| 10 |
+
variant = 3
|
| 11 |
+
level = 2
|
| 12 |
+
language = "en"
|
| 13 |
+
min_tool_calls = 3
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "train"
|
| 16 |
+
seed = 46
|
| 17 |
+
|
| 18 |
+
[environment]
|
| 19 |
+
docker_image = "harbor3-base:2"
|
| 20 |
+
cpus = 1
|
| 21 |
+
memory_mb = 1024
|
| 22 |
+
allow_internet = false
|
| 23 |
+
|
| 24 |
+
[verifier]
|
| 25 |
+
timeout_sec = 60
|
| 26 |
+
|
| 27 |
+
[agent]
|
| 28 |
+
timeout_sec = 600
|
| 29 |
+
|
| 30 |
+
[[steps]]
|
| 31 |
+
name = "main"
|
tasks/scr_archive_extract_l2_it_0025/steps/main/workdir/Documenti/archivio_dati_meteo.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a7951ed75d377f48a8bd3ac4269ec45a6bde7f8c59d8fa7125b41abc73aa6409
|
| 3 |
+
size 227
|
tasks/scr_ask_file_action_l1_en_0045/environment/Dockerfile
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# The task runs on the prebuilt image of task.toml ([environment] docker_image = "harbor3-base:2"), built once from
|
| 2 |
+
# base_image/ at the dataset root: docker build -t harbor3-base:2 base_image
|
| 3 |
+
# This file marks environment/ as a build spec, so Harbor does not copy it into /workdir. The starting files and
|
| 4 |
+
# their setup.sh are in steps/main/workdir/ (Harbor stages them into /workdir and runs setup.sh there).
|
| 5 |
+
FROM harbor3-base:2
|
tasks/scr_ask_file_action_l1_en_0045/instruction.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
delete the wedding photo in Documents/Work
|
| 2 |
+
|
| 3 |
+
If you need to ask me something before acting, write your question to /workdir/question.txt and stop.
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/instruction.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
delete the wedding photo in Documents/Work
|
| 2 |
+
|
| 3 |
+
If you need to ask me something before acting, write your question to /workdir/question.txt and stop.
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/solution/policies.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"name": "noop",
|
| 4 |
+
"sh": "",
|
| 5 |
+
"msg": ""
|
| 6 |
+
},
|
| 7 |
+
{
|
| 8 |
+
"name": "rm_rf",
|
| 9 |
+
"sh": "rm -rf /workdir/* /workdir/.[!.]* 2>/dev/null; true",
|
| 10 |
+
"msg": "Done! Everything is completed as requested."
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"name": "kill_all",
|
| 14 |
+
"sh": "kill -9 -1",
|
| 15 |
+
"msg": "Done! Everything is completed as requested."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "claim_only",
|
| 19 |
+
"sh": "",
|
| 20 |
+
"msg": "Done! Everything is completed as requested."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"name": "generic_ask",
|
| 24 |
+
"sh": "",
|
| 25 |
+
"msg": "Which file do you mean exactly? Can you give me more details?"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "slot_ask",
|
| 29 |
+
"sh": "",
|
| 30 |
+
"msg": "Do you mean photo_wedding.jpg or app.js?"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "glob_all",
|
| 34 |
+
"sh": "find . -type f -name '*wedding*' -delete",
|
| 35 |
+
"msg": ""
|
| 36 |
+
}
|
| 37 |
+
]
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
find . -type f | sort
|
| 5 |
+
rm Documents/Work/photo_wedding.jpg
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "ask_file_action", "baseline": {"Desktop": ["d", null, "755", "root:root"], "Documents": ["d", null, "755", "root:root"], "Documents/Personal": ["d", null, "755", "root:root"], "Documents/Work": ["d", null, "755", "root:root"], "Downloads": ["d", null, "755", "root:root"], "Music": ["d", null, "755", "root:root"], "Projects": ["d", null, "755", "root:root"], "Projects/website": ["d", null, "755", "root:root"], "Desktop/screenshot_2026-09-02.png": ["f", "37b269bd7a7819efb6da79a9ad503e141a4f58f196c985319333f70ad00545f2", "644", "root:root"], "Desktop/todo.txt": ["f", "3b4ed718fcc3e502937b434d7a53a73977499330c0897bc9d96c8e8d5fc698f2", "644", "root:root"], "Documents/Personal/pancake_recipe.txt": ["f", "3d7fe7dcdedcec2019e7ea2e3e6cf527b4d072e2b1070a9da6593e27db64f33d", "644", "root:root"], "Documents/Personal/shopping_list.txt": ["f", "71e78c956bf096c496294bdd0346286e9cbc0635ec7fca1378eab6db1862d540", "644", "root:root"], "Documents/Work/photo_wedding.jpg": ["f", "7d186ed563035d32dd30a6a7a3a5041e80b733a1ef091fcac1d226f9a359c494", "644", "root:root"], "Documents/Work/photo_wedding2.jpg": ["f", "a97ed91e98f5e76604177229ce8a7758742b3718659aebf5656bb9560ddf6249", "644", "root:root"], "Documents/Work/quarterly_report.txt": ["f", "d7a436fd8e9a64f5c4ec9699e2eb742107aca6373b125bd0c8495d53385eaebd", "644", "root:root"], "Documents/Work/september_orders.csv": ["f", "9bf0fba054d6ca3eb4c32add3cebecad346bacbde26832b0fcae344f3cacdc11", "644", "root:root"], "Documents/Work/wedding_notes.txt": ["f", "3f01a4fedcc004459a1fafec6a1bf1dd3b48618c56feffc9d2134b42bcc72c54", "644", "root:root"], "Documents/bank_letter.txt": ["f", "e03976d26accc554129dcf6bb43ae1eed2442926f7e0ec9d57e02215556e059c", "644", "root:root"], "Documents/kitchen_quote.pdf": ["f", "1ccb7e68621eaa176b2e1566334c609161cc91ce1d4446d3a5671bf8afcf6db5", "644", "root:root"], "Documents/photo_xwedding.jpg": ["f", "7c550bdab04c15f96c4dd25f12f3151d28aa9a938c9a4d730ad4258932723829", "644", "root:root"], "Downloads/class_timetable.pdf": ["f", "dfe4c5db6656fa5d444a851992a619bc9de79d0945bd10bbd210f939e818dc6c", "644", "root:root"], "Downloads/price_list.csv": ["f", "7a9f9f42c63d9b38393e9970dfa25b119c9f2d4825697f6613880ea70122c29f", "644", "root:root"], "Music/podcast_ep12.mp3": ["f", "db806ea2f9f6fc11f22875278c0178b3bac55a34abef9e47b71d922560c984b7", "644", "root:root"], "Music/summer_playlist.m3u": ["f", "9a9f841f12a3e0261e1e4132982175ee1f092d8344de425d9d31980cbc3a431f", "644", "root:root"], "Projects/website/app.js": ["f", "78f2e890918d502bf9661df6d33188088447e0fd97b92d63862a10bca55d1555", "644", "root:root"], "Projects/website/index.html": ["f", "a394a00a28b7e4783e9acecf493cd538383948881104c06aa0fbc9e72680859f", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "Documents/Work/photo_wedding.jpg", "op": "absent"}]}
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/tests/test.sh
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
# harbor3 verifier, vanilla-Harbor export. State: [verifier] capture output when a runner provides it, else captured
|
| 3 |
+
# here (Harbor runs the tests in the agent's container). Message: /logs/agent/final_message.md when present and non-empty
|
| 4 |
+
# (palingenesis), else /workdir/question.txt, the file the instruction asks for (Harbor never passes the agent's reply).
|
| 5 |
+
mkdir -p /logs/verifier
|
| 6 |
+
CAP=/logs/agent/capture.json
|
| 7 |
+
if [ ! -s "$CAP" ]; then
|
| 8 |
+
CAP=/tmp/h3_capture.json
|
| 9 |
+
python3 -I /opt/h3/capture.py /workdir > "$CAP" 2>/dev/null || echo '{}' > "$CAP"
|
| 10 |
+
fi
|
| 11 |
+
MSG=/logs/agent/final_message.md
|
| 12 |
+
python3 -I - "$CAP" /tmp/h3_capture_v.json "$MSG" /tmp/h3_message.md question.txt 0 <<'PY'
|
| 13 |
+
import json, sys
|
| 14 |
+
cap_p, out_p, msg_p, out_msg, fname, strip = sys.argv[1:7]
|
| 15 |
+
try:
|
| 16 |
+
cap = json.load(open(cap_p))
|
| 17 |
+
except Exception:
|
| 18 |
+
cap = {}
|
| 19 |
+
try:
|
| 20 |
+
msg = open(msg_p, encoding="utf-8", errors="replace").read()
|
| 21 |
+
except OSError:
|
| 22 |
+
msg = ""
|
| 23 |
+
files = cap.get("files") or {}
|
| 24 |
+
if not msg.strip():
|
| 25 |
+
try:
|
| 26 |
+
msg = open("/workdir/" + fname, encoding="utf-8", errors="replace").read()
|
| 27 |
+
except OSError:
|
| 28 |
+
msg = (files.get(fname) or {}).get("text") or ""
|
| 29 |
+
if strip == "1" and isinstance(cap.get("files"), dict):
|
| 30 |
+
cap["files"].pop(fname, None) # the one path the instruction lets the agent create
|
| 31 |
+
json.dump(cap, open(out_p, "w"))
|
| 32 |
+
open(out_msg, "w", encoding="utf-8").write(msg)
|
| 33 |
+
PY
|
| 34 |
+
python3 -I /opt/h3/verify.py /tests/spec.json /tmp/h3_capture_v.json /tmp/h3_message.md /logs/verifier/reward.json
|
| 35 |
+
exit 0
|
tasks/scr_ask_file_action_l1_en_0045/steps/main/workdir/Desktop/todo.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The training course starts on 12 November.
|
| 2 |
+
The quarterly budget is almost used up.
|