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_l1_en_0063/steps/main/workdir/Music/live_concert.mp3 +3 -0
- tasks/scr_archive_create_l1_en_0063/steps/main/workdir/Music/podcast_ep12.mp3 +3 -0
- tasks/scr_archive_create_l1_it_0060/environment/Dockerfile +5 -0
- tasks/scr_archive_create_l1_it_0060/instruction.md +1 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/instruction.md +1 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/solution/policies.json +47 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/solution/solve.sh +4 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/tests/spec.json +1 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/tests/test.sh +11 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Documenti/Personale/auguri_nonna.txt +3 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Documenti/Personale/ricetta_tiramisu.txt +2 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/README.md +5 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/docs/note.txt +3 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/index.html +5 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/src/main.py +2 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/src/util.py +3 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/style.css +3 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Scaricati/listino_prezzi.csv +4 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Scaricati/setup_editor.deb +0 -0
- tasks/scr_archive_create_l1_it_0060/steps/main/workdir/setup.sh +8 -0
- tasks/scr_archive_create_l1_it_0060/task.toml +31 -0
- tasks/scr_archive_create_l2_it_0031/environment/Dockerfile +5 -0
- tasks/scr_archive_create_l2_it_0031/instruction.md +1 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/instruction.md +1 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/solution/policies.json +37 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/solution/solve.sh +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/tests/spec.json +1 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/tests/test.sh +11 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Documenti/Personale/auguri_nonna.txt +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Documenti/Personale/ricetta_tiramisu.txt +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Musica/playlist_estate.m3u +2 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/README.md +5 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/debug.log +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/docs/note.txt +2 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/index.html +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/errori.log +4 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/main.py +5 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/util.py +3 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/style.css +5 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Scaricati/estratto_conto.pdf +0 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Scaricati/listino_prezzi.csv +3 -0
- tasks/scr_archive_create_l2_it_0031/steps/main/workdir/setup.sh +8 -0
- tasks/scr_archive_create_l2_it_0031/task.toml +31 -0
- tasks/scr_archive_extract_l1_en_0048/environment/Dockerfile +5 -0
- tasks/scr_archive_extract_l1_en_0048/instruction.md +1 -0
- tasks/scr_archive_extract_l1_en_0048/steps/main/instruction.md +1 -0
- tasks/scr_archive_extract_l1_en_0048/steps/main/solution/policies.json +42 -0
- tasks/scr_archive_extract_l1_en_0048/steps/main/solution/solve.sh +5 -0
- tasks/scr_archive_extract_l1_en_0048/steps/main/tests/spec.json +1 -0
.gitattributes
CHANGED
|
@@ -166,3 +166,5 @@ tasks/scr_find_size_rename_l3_it_0041/steps/main/workdir/Progetti/misc/medio_29.
|
|
| 166 |
tasks/scr_find_size_rename_l3_it_0041/steps/main/workdir/Scaricati/enorme.mov filter=lfs diff=lfs merge=lfs -text
|
| 167 |
tasks/scr_du_answer_l3_it_0065/steps/main/workdir/Progetti/d/cache.db filter=lfs diff=lfs merge=lfs -text
|
| 168 |
tasks/scr_find_size_rename_l2_it_0025/steps/main/workdir/Scaricati/x_719.iso filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 166 |
tasks/scr_find_size_rename_l3_it_0041/steps/main/workdir/Scaricati/enorme.mov filter=lfs diff=lfs merge=lfs -text
|
| 167 |
tasks/scr_du_answer_l3_it_0065/steps/main/workdir/Progetti/d/cache.db filter=lfs diff=lfs merge=lfs -text
|
| 168 |
tasks/scr_find_size_rename_l2_it_0025/steps/main/workdir/Scaricati/x_719.iso filter=lfs diff=lfs merge=lfs -text
|
| 169 |
+
tasks/scr_find_size_rename_l2_en_0079/steps/main/workdir/Downloads/tmp_791.iso filter=lfs diff=lfs merge=lfs -text
|
| 170 |
+
tasks/scr_du_answer_l3_it_0077/steps/main/workdir/Progetti/d/log.txt filter=lfs diff=lfs merge=lfs -text
|
tasks/scr_archive_create_l1_en_0063/steps/main/workdir/Music/live_concert.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a7dbf7db55113f3472b12810cfe7c6eae22405166587b845a93bb53e4fbe1e7
|
| 3 |
+
size 1110
|
tasks/scr_archive_create_l1_en_0063/steps/main/workdir/Music/podcast_ep12.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:53aefbf8f13ae19c2765fd84e10cdf8cc8810c3b0b56bdad59f603f47df89bd5
|
| 3 |
+
size 388
|
tasks/scr_archive_create_l1_it_0060/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_create_l1_it_0060/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Mi serve una mano: crea l'archivio blog.tar.gz (tar.gz) nella cartella principale con tutto il contenuto di Progetti/blog. La cartella originale deve restare.
|
tasks/scr_archive_create_l1_it_0060/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Mi serve una mano: crea l'archivio blog.tar.gz (tar.gz) nella cartella principale con tutto il contenuto di Progetti/blog. La cartella originale deve restare.
|
tasks/scr_archive_create_l1_it_0060/steps/main/solution/policies.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "Fatto! Ho completato tutto come richiesto."
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"name": "kill_all",
|
| 14 |
+
"sh": "kill -9 -1",
|
| 15 |
+
"msg": "Fatto! Ho completato tutto come richiesto."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "claim_only",
|
| 19 |
+
"sh": "",
|
| 20 |
+
"msg": "Fatto! Ho completato tutto come richiesto."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"name": "generic_ask",
|
| 24 |
+
"sh": "",
|
| 25 |
+
"msg": "Quale file intendi esattamente? Puoi darmi più dettagli?"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "whole_home",
|
| 29 |
+
"sh": "tar -czf /tmp/a.tgz . && mv /tmp/a.tgz blog.tar.gz",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "empty_file",
|
| 34 |
+
"sh": "touch blog.tar.gz",
|
| 35 |
+
"msg": ""
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"name": "move_into",
|
| 39 |
+
"sh": "tar -czf blog.tar.gz -C Progetti blog --remove-files",
|
| 40 |
+
"msg": ""
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"name": "blind_name",
|
| 44 |
+
"sh": "mkdir -p .; echo archivio > blog.tar.gz",
|
| 45 |
+
"msg": ""
|
| 46 |
+
}
|
| 47 |
+
]
|
tasks/scr_archive_create_l1_it_0060/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
tar -czf blog.tar.gz -C Progetti blog
|
tasks/scr_archive_create_l1_it_0060/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "archive_create", "baseline": {"Documenti": ["d", null, "755", "root:root"], "Documenti/Personale": ["d", null, "755", "root:root"], "Musica": ["d", null, "755", "root:root"], "Progetti": ["d", null, "755", "root:root"], "Progetti/blog": ["d", null, "755", "root:root"], "Progetti/blog/docs": ["d", null, "755", "root:root"], "Progetti/blog/src": ["d", null, "755", "root:root"], "Scaricati": ["d", null, "755", "root:root"], "Documenti/Personale/auguri_nonna.txt": ["f", "93f4a538d210d7049b003c887adebe710c6dca44b10dad3aad963b2bb4aba48b", "644", "root:root"], "Documenti/Personale/ricetta_tiramisu.txt": ["f", "cb92d373e9e3e60d9512d796c3fc8805676c79656e79675e39559e6c406ecdab", "644", "root:root"], "Musica/concerto_live.mp3": ["f", "129604a8787204905222a8e1c0b2c740881e7fa505db0f94469e75322331697c", "644", "root:root"], "Musica/podcast_ep12.mp3": ["f", "b8155b9a9eeccdc1c501135f3d9aa22870d02e14cad727aa007d7a7268a1de19", "644", "root:root"], "Progetti/blog/README.md": ["f", "cb7c913759f455a024aee463d2b4036687d6d5865db248c07f55151050a2e905", "644", "root:root"], "Progetti/blog/docs/note.txt": ["f", "46e5ec0a65a486be7f639a3ce996c71769a8943b506830db37ef26034fc7fbce", "644", "root:root"], "Progetti/blog/index.html": ["f", "acbe2ed5ed345f78e28ad2a65e997685c6024c60384b225e399943a4e1027319", "644", "root:root"], "Progetti/blog/src/main.py": ["f", "8d7404f1c1b4b496c3e5cb3e386e63c1a579b710e6276fec3f2aa5f9f89adeed", "644", "root:root"], "Progetti/blog/src/util.py": ["f", "fec6c07710c424fba919e41ce252f5c3281c6276f90cab117a86906be837805f", "644", "root:root"], "Progetti/blog/style.css": ["f", "a75e0e646b3aac3d657b03d3b45ff0b18fdba0fdc16f2918833a904b9d503a08", "644", "root:root"], "Scaricati/listino_prezzi.csv": ["f", "1cd7fa53c395b8ef68361f0cd75296c7893bd1d819e02b4073d66d96acff02a3", "644", "root:root"], "Scaricati/setup_editor.deb": ["f", "3d6411dd9539476bbbd2b91d9f97d8fc5fa59e265e0659cb43c0eee133bf1a51", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "blog.tar.gz", "op": "archive", "members": {"index.html": "acbe2ed5ed345f78e28ad2a65e997685c6024c60384b225e399943a4e1027319", "style.css": "a75e0e646b3aac3d657b03d3b45ff0b18fdba0fdc16f2918833a904b9d503a08", "README.md": "cb7c913759f455a024aee463d2b4036687d6d5865db248c07f55151050a2e905", "src/main.py": "8d7404f1c1b4b496c3e5cb3e386e63c1a579b710e6276fec3f2aa5f9f89adeed", "src/util.py": "fec6c07710c424fba919e41ce252f5c3281c6276f90cab117a86906be837805f", "docs/note.txt": "46e5ec0a65a486be7f639a3ce996c71769a8943b506830db37ef26034fc7fbce"}, "prefixes": ["blog", "Progetti/blog"]}]}
|
tasks/scr_archive_create_l1_it_0060/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_create_l1_it_0060/steps/main/workdir/Documenti/Personale/auguri_nonna.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Il budget del trimestre è quasi esaurito.
|
| 2 |
+
Ricordarsi di inviare il preventivo entro venerdì.
|
| 3 |
+
La riunione è stata spostata a giovedì pomeriggio.
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Documenti/Personale/ricetta_tiramisu.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Aggiornare l'elenco dei contatti dopo il convegno.
|
| 2 |
+
Servono ancora due firme sul contratto.
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog README.md
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
| 5 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/docs/note.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog docs/note.txt
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/index.html
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog index.html
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
| 5 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/src/main.py
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog src/main.py
|
| 2 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/src/util.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog src/util.py
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Progetti/blog/style.css
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# blog style.css
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Scaricati/listino_prezzi.csv
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,descrizione,importo
|
| 2 |
+
1,Il budget del trimestre,176.73
|
| 3 |
+
2,Controllare le ore di st,174.52
|
| 4 |
+
3,Servono ancora due firme,481.23
|
tasks/scr_archive_create_l1_it_0060/steps/main/workdir/Scaricati/setup_editor.deb
ADDED
|
Binary file (390 Bytes). View file
|
|
|
tasks/scr_archive_create_l1_it_0060/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_create_l1_it_0060/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_archive_create_l1_it_0060"
|
| 3 |
+
description = "archive_create"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "archive_create"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "archive_create"
|
| 10 |
+
variant = 2
|
| 11 |
+
level = 1
|
| 12 |
+
language = "it"
|
| 13 |
+
min_tool_calls = 2
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "train"
|
| 16 |
+
seed = 60
|
| 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_create_l2_it_0031/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_create_l2_it_0031/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
I file originali non vanno toccati. Crea Backup/tesi.zip con il contenuto di Progetti/tesi, escludendo tutti i file .log.
|
tasks/scr_archive_create_l2_it_0031/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
I file originali non vanno toccati. Crea Backup/tesi.zip con il contenuto di Progetti/tesi, escludendo tutti i file .log.
|
tasks/scr_archive_create_l2_it_0031/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": "Fatto! Ho completato tutto come richiesto."
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"name": "kill_all",
|
| 14 |
+
"sh": "kill -9 -1",
|
| 15 |
+
"msg": "Fatto! Ho completato tutto come richiesto."
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "claim_only",
|
| 19 |
+
"sh": "",
|
| 20 |
+
"msg": "Fatto! Ho completato tutto come richiesto."
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"name": "generic_ask",
|
| 24 |
+
"sh": "",
|
| 25 |
+
"msg": "Quale file intendi esattamente? Puoi darmi più dettagli?"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"name": "with_logs",
|
| 29 |
+
"sh": "cd Progetti && zip -qr ../Backup/tesi.zip tesi",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "blind_name",
|
| 34 |
+
"sh": "mkdir -p Backup; echo archivio > Backup/tesi.zip",
|
| 35 |
+
"msg": ""
|
| 36 |
+
}
|
| 37 |
+
]
|
tasks/scr_archive_create_l2_it_0031/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
cd Progetti && zip -qr ../Backup/tesi.zip tesi -x '*.log'
|
tasks/scr_archive_create_l2_it_0031/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "archive_create", "baseline": {"Backup": ["d", null, "755", "root:root"], "Documenti": ["d", null, "755", "root:root"], "Documenti/Personale": ["d", null, "755", "root:root"], "Musica": ["d", null, "755", "root:root"], "Progetti": ["d", null, "755", "root:root"], "Progetti/tesi": ["d", null, "755", "root:root"], "Progetti/tesi/docs": ["d", null, "755", "root:root"], "Progetti/tesi/src": ["d", null, "755", "root:root"], "Scaricati": ["d", null, "755", "root:root"], "Backup/vecchio.zip": ["f", "db380db80e989683dd9f2d2e30eb71daa35f87a4340299fa58004134cf3cf372", "644", "root:root"], "Documenti/Personale/auguri_nonna.txt": ["f", "e47c48e5bdad10e114321eb4a8b0d001ddd206bf840dd327ccbfb3004627ac46", "644", "root:root"], "Documenti/Personale/ricetta_tiramisu.txt": ["f", "de564cfff4932f47029bfd662d57c8f7fc58af51baabd7e9639bf883708a217f", "644", "root:root"], "Musica/playlist_estate.m3u": ["f", "da1f22cb8366212869573775ee77b00d79c25b1422598a77c783e5c87d263887", "644", "root:root"], "Musica/podcast_ep12.mp3": ["f", "6fcc7b0455c19c0f8d104ee5f3d43ed292ca877812211ab63e45c8b2fc213d66", "644", "root:root"], "Progetti/tesi/README.md": ["f", "b9333096aa50e8ac2e15803b9f20de688bdca58c6103f26196e3867bdf8d6d86", "644", "root:root"], "Progetti/tesi/debug.log": ["f", "177ff8990431434cde4169540e95ffc25cf6f50f5d2be33e8c2eccadf23dca70", "644", "root:root"], "Progetti/tesi/docs/note.txt": ["f", "99aba4a4f22765fcc36eea075fa73c49a1d3852461a4d86c238906f6fe363cab", "644", "root:root"], "Progetti/tesi/index.html": ["f", "8cf8e8e7c13d50afe0021610d4c4c49df0265fc9ef18d38e8248cb5ab5c0b383", "644", "root:root"], "Progetti/tesi/src/errori.log": ["f", "177ff8990431434cde4169540e95ffc25cf6f50f5d2be33e8c2eccadf23dca70", "644", "root:root"], "Progetti/tesi/src/main.py": ["f", "6f91a25af0073b9a62962c8b41b386c6826953553b3ca7f44ce2ad0b62ffb6b6", "644", "root:root"], "Progetti/tesi/src/util.py": ["f", "1bcf71d1fa7ab55eee55c28fa4fbad7e6b39e20189c9c86709e67f14a4b98107", "644", "root:root"], "Progetti/tesi/style.css": ["f", "15dca8fe4b900b3b36e3c9704e7211b315e7ef65cc59aafa151bce29e2663758", "644", "root:root"], "Scaricati/estratto_conto.pdf": ["f", "5c7b65a22af8124df463aad3868643975729c38f25efea56ed934d278635cf42", "644", "root:root"], "Scaricati/listino_prezzi.csv": ["f", "d7ba0b20c6c868d2be71e5dc4992ac515d3550293a043600082f458a81ef8a95", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "Backup/tesi.zip", "op": "archive", "members": {"index.html": "8cf8e8e7c13d50afe0021610d4c4c49df0265fc9ef18d38e8248cb5ab5c0b383", "style.css": "15dca8fe4b900b3b36e3c9704e7211b315e7ef65cc59aafa151bce29e2663758", "README.md": "b9333096aa50e8ac2e15803b9f20de688bdca58c6103f26196e3867bdf8d6d86", "src/main.py": "6f91a25af0073b9a62962c8b41b386c6826953553b3ca7f44ce2ad0b62ffb6b6", "src/util.py": "1bcf71d1fa7ab55eee55c28fa4fbad7e6b39e20189c9c86709e67f14a4b98107", "docs/note.txt": "99aba4a4f22765fcc36eea075fa73c49a1d3852461a4d86c238906f6fe363cab"}, "prefixes": ["tesi", "Progetti/tesi"]}]}
|
tasks/scr_archive_create_l2_it_0031/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_create_l2_it_0031/steps/main/workdir/Documenti/Personale/auguri_nonna.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Bisogna rinnovare l'abbonamento al software.
|
| 2 |
+
Il corso di formazione inizia il 12 novembre.
|
| 3 |
+
Portare i documenti originali in segreteria.
|
| 4 |
+
La presentazione va rivista prima della demo.
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Documenti/Personale/ricetta_tiramisu.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Servono ancora due firme sul contratto.
|
| 2 |
+
Il nuovo stampante arriva lunedì.
|
| 3 |
+
La presentazione va rivista prima della demo.
|
| 4 |
+
Il fornitore ha confermato la consegna per la prossima settimana.
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Musica/playlist_estate.m3u
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
La sala riunioni al secondo piano è prenotata.
|
| 2 |
+
Servono ancora due firme sul contratto.
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/README.md
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi README.md
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
| 5 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/debug.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
log line
|
| 2 |
+
log line
|
| 3 |
+
log line
|
| 4 |
+
log line
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/docs/note.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi docs/note.txt
|
| 2 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/index.html
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi index.html
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/errori.log
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
log line
|
| 2 |
+
log line
|
| 3 |
+
log line
|
| 4 |
+
log line
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/main.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi src/main.py
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
| 5 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/src/util.py
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi src/util.py
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Progetti/tesi/style.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# tesi style.css
|
| 2 |
+
x = 1
|
| 3 |
+
x = 1
|
| 4 |
+
x = 1
|
| 5 |
+
x = 1
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Scaricati/estratto_conto.pdf
ADDED
|
Binary file (700 Bytes). View file
|
|
|
tasks/scr_archive_create_l2_it_0031/steps/main/workdir/Scaricati/listino_prezzi.csv
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,descrizione,importo
|
| 2 |
+
1,Ricordarsi di inviare il,403.81
|
| 3 |
+
2,Il fornitore ha conferma,32.91
|
tasks/scr_archive_create_l2_it_0031/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_create_l2_it_0031/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_archive_create_l2_it_0031"
|
| 3 |
+
description = "archive_create"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "archive_create"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "archive_create"
|
| 10 |
+
variant = 4
|
| 11 |
+
level = 2
|
| 12 |
+
language = "it"
|
| 13 |
+
min_tool_calls = 3
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "test_variant"
|
| 16 |
+
seed = 31
|
| 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_en_0048/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_0048/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
The files must land directly in that folder; keep the archive. Extract Downloads/sheet_music.zip into Documents/sheet_music.
|
tasks/scr_archive_extract_l1_en_0048/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
The files must land directly in that folder; keep the archive. Extract Downloads/sheet_music.zip into Documents/sheet_music.
|
tasks/scr_archive_extract_l1_en_0048/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/sheet_music; mv Downloads/sheet_music.zip Documents/sheet_music/",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "extract_here",
|
| 34 |
+
"sh": "unzip -q Downloads/sheet_music.zip -d Downloads",
|
| 35 |
+
"msg": ""
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"name": "blind_dir",
|
| 39 |
+
"sh": "mkdir -p Documents/sheet_music",
|
| 40 |
+
"msg": ""
|
| 41 |
+
}
|
| 42 |
+
]
|
tasks/scr_archive_extract_l1_en_0048/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/sheet_music
|
| 5 |
+
unzip -q Downloads/sheet_music.zip -d Documents/sheet_music
|
tasks/scr_archive_extract_l1_en_0048/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/reading_list.txt": ["f", "95b8695407053888e0468ab9ff6f075c7a40a3cab157e5f9ec8c662a1d9a7eb3", "644", "root:root"], "Documents/Personal/shopping_list.txt": ["f", "a74f9da4a638f26739a0381c272ed28fda65daebd8037c901e310655cda63f47", "644", "root:root"], "Documents/Work/client_deck.odp": ["f", "dd26176ac88e24b4eebdb9534266d34dc82fbbf3406c3f8556b41f69f1f170f5", "644", "root:root"], "Documents/Work/september_orders.csv": ["f", "c548f0977a3075ba789e0139cccdc9a2480100fb45734a6ed100d10224af8d71", "644", "root:root"], "Documents/kitchen_quote.pdf": ["f", "193343b4f85b1513e1a53f8810c9dacaa90ece113b0d215780a35f711c575408", "644", "root:root"], "Documents/signup_form.pdf": ["f", "10a33d15f3d138221d83a85fc367ba74f77fd675cafebae6197cd899e3079fcd", "644", "root:root"], "Downloads/sheet_music.zip": ["f", "b8f467a23ff5ae13996e8a7262ac8a5ea0eac7c3184d394d5d98519e261d6cb8", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "Documents/sheet_music", "op": "tree", "files": {"sheet_music_1.txt": "3326f775015d199c2dd26da4ade32ca3fe8fba13903dcc0599da611b5513ed7e", "sheet_music_2.txt": "cd9834b1c09a0cbb9fb61f630f2a395a2d993db922b83a1ac45d2dbeff3a3803", "sheet_music_3.txt": "2944da181ce7a8d32c652ec15e35799fe8167a8f189a7b476076def509de8fe0", "sheet_music_4.txt": "12f42219d63b6b73ce9b9b901f901d3b29ce328c61229607c42f90f306a15b6b", "list.csv": "acffc61bd132bb2df2f668307bba592ba8fcd3f4870652edeafb6c182133c46a"}}]}
|