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 +9 -0
- tasks/scr_archive_create_l1_en_0039/steps/main/workdir/Downloads/parking_map.png +3 -0
- tasks/scr_archive_create_l1_en_0039/steps/main/workdir/Music/live_concert.mp3 +3 -0
- tasks/scr_archive_create_l3_it_0062/steps/main/workdir/Musica/podcast_ep12.mp3 +3 -0
- tasks/scr_archive_extract_l2_en_0061/steps/main/workdir/Documents/weather_data_archive.tar.gz +3 -0
- tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Lavoro/budget_q3.csv +7 -0
- tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Lavoro/presentazione_cliente.odp +0 -0
- tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Personale/lista_spesa.txt +2 -0
- tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/modulo_iscrizione.pdf +0 -0
- tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Scaricati/foto.zip +3 -0
- tasks/scr_ask_file_action_l3_it_0053/steps/main/workdir/Musica/podcast_ep12.mp3 +3 -0
- tasks/scr_ask_process_l1_it_0021/environment/Dockerfile +5 -0
- tasks/scr_ask_process_l1_it_0021/instruction.md +3 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/instruction.md +3 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/solution/policies.json +37 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/solution/solve.sh +6 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/tests/spec.json +1 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/tests/test.sh +35 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/Lavoro/ordini_settembre.csv +7 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/Lavoro/piano_ferie.txt +3 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/curriculum.pdf +0 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/promemoria.txt +2 -0
- tasks/scr_ask_process_l1_it_0021/steps/main/workdir/setup.sh +18 -0
- tasks/scr_ask_process_l1_it_0021/task.toml +31 -0
- tasks/scr_bulk_delete_l3_en_0062/environment/Dockerfile +5 -0
- tasks/scr_bulk_delete_l3_en_0062/instruction.md +1 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/instruction.md +1 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/solution/policies.json +37 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/solution/solve.sh +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/tests/spec.json +1 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/tests/test.sh +11 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Personal/reading_list.txt +3 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Personal/shopping_list.txt +3 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Work/budget_q3.csv +7 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Work/september_orders.csv +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/kitchen_quote.pdf +0 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/meeting_minutes.txt +3 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/stale.log +1 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/website/README.md +2 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/website/app.js +4 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/app/app.log +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/archive.log.gz +3 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/cron.log +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/db.log +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/web/web.log +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/worker.log +5 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/worker/note.txt +1 -0
- tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/setup.sh +16 -0
- tasks/scr_bulk_delete_l3_en_0062/task.toml +31 -0
- tasks/scr_bulk_delete_l3_it_0023/steps/main/workdir/log/archivio.log.gz +3 -0
.gitattributes
CHANGED
|
@@ -231,3 +231,12 @@ tasks/scr_find_size_rename_l3_en_0014/steps/main/workdir/Projects/dati/raw/874.d
|
|
| 231 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Downloads/huge.mov filter=lfs diff=lfs merge=lfs -text
|
| 232 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Projects/misc/medio_35.mov filter=lfs diff=lfs merge=lfs -text
|
| 233 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Projects/old/raw/581.mov filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Downloads/huge.mov filter=lfs diff=lfs merge=lfs -text
|
| 232 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Projects/misc/medio_35.mov filter=lfs diff=lfs merge=lfs -text
|
| 233 |
tasks/scr_find_size_rename_l3_en_0059/steps/main/workdir/Projects/old/raw/581.mov filter=lfs diff=lfs merge=lfs -text
|
| 234 |
+
tasks/scr_find_size_rename_l2_it_0058/steps/main/workdir/Scaricati/tmp_811.mov filter=lfs diff=lfs merge=lfs -text
|
| 235 |
+
tasks/scr_find_size_rename_l3_it_0017/steps/main/workdir/Progetti/misc/medio_65.mkv filter=lfs diff=lfs merge=lfs -text
|
| 236 |
+
tasks/scr_find_size_rename_l3_it_0017/steps/main/workdir/Progetti/old/raw/738.mkv filter=lfs diff=lfs merge=lfs -text
|
| 237 |
+
tasks/scr_find_size_rename_l3_it_0017/steps/main/workdir/Scaricati/enorme.mkv filter=lfs diff=lfs merge=lfs -text
|
| 238 |
+
tasks/scr_du_answer_l3_it_0002/steps/main/workdir/Progetti/a/x/log.txt filter=lfs diff=lfs merge=lfs -text
|
| 239 |
+
tasks/scr_du_answer_l3_it_0002/steps/main/workdir/Progetti/dataset.csv filter=lfs diff=lfs merge=lfs -text
|
| 240 |
+
tasks/scr_find_size_rename_l3_en_0068/steps/main/workdir/Downloads/huge.dat filter=lfs diff=lfs merge=lfs -text
|
| 241 |
+
tasks/scr_find_size_rename_l3_en_0068/steps/main/workdir/Projects/old/raw/767.dat filter=lfs diff=lfs merge=lfs -text
|
| 242 |
+
tasks/scr_find_size_rename_l3_en_0068/steps/main/workdir/Projects/dati/medio_32.dat filter=lfs diff=lfs merge=lfs -text
|
tasks/scr_archive_create_l1_en_0039/steps/main/workdir/Downloads/parking_map.png
ADDED
|
Git LFS Details
|
tasks/scr_archive_create_l1_en_0039/steps/main/workdir/Music/live_concert.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f973a89489d4458fd608051e4a0f5ef616c00fae5230ac25012b6101f5896ddb
|
| 3 |
+
size 698
|
tasks/scr_archive_create_l3_it_0062/steps/main/workdir/Musica/podcast_ep12.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b720de8e1d69dfa3f2f2fa1db5d838dc4ed962867032bf704553de5e759ee30
|
| 3 |
+
size 777
|
tasks/scr_archive_extract_l2_en_0061/steps/main/workdir/Documents/weather_data_archive.tar.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ab4c97b03db6e117d07502ea5d2746d9e7553a757246d3483f2ac111c6d3fc9
|
| 3 |
+
size 223
|
tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Lavoro/budget_q3.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,descrizione,importo
|
| 2 |
+
1,Portare i documenti orig,170.38
|
| 3 |
+
2,La sala riunioni al seco,542.50
|
| 4 |
+
3,Le fatture di agosto son,746.15
|
| 5 |
+
4,Le fatture di agosto son,711.92
|
| 6 |
+
5,Portare i documenti orig,438.60
|
| 7 |
+
6,Il budget del trimestre,677.25
|
tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Lavoro/presentazione_cliente.odp
ADDED
|
Binary file (242 Bytes). View file
|
|
|
tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/Personale/lista_spesa.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Bisogna rinnovare l'abbonamento al software.
|
| 2 |
+
Il corso di formazione inizia il 12 novembre.
|
tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Documenti/modulo_iscrizione.pdf
ADDED
|
Binary file (509 Bytes). View file
|
|
|
tasks/scr_archive_extract_l3_it_0038/steps/main/workdir/Scaricati/foto.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1886bdd95ad01e5ccfe43302f89dbf0f57fd51fc50518709066998ec6de70649
|
| 3 |
+
size 186
|
tasks/scr_ask_file_action_l3_it_0053/steps/main/workdir/Musica/podcast_ep12.mp3
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6a0fb62e89dd3c575e022378eacbaa17060e4ccc418fbf405a3f121e7a4c8ab8
|
| 3 |
+
size 821
|
tasks/scr_ask_process_l1_it_0021/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_process_l1_it_0021/instruction.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Ciao! Termina il processo di sincronizzazione, per favore.
|
| 2 |
+
|
| 3 |
+
Se prima di agire devi chiedermi qualcosa, scrivi la domanda nel file /workdir/question.txt e fermati.
|
tasks/scr_ask_process_l1_it_0021/steps/main/instruction.md
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Ciao! Termina il processo di sincronizzazione, per favore.
|
| 2 |
+
|
| 3 |
+
Se prima di agire devi chiedermi qualcosa, scrivi la domanda nel file /workdir/question.txt e fermati.
|
tasks/scr_ask_process_l1_it_0021/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": "slot_ask",
|
| 29 |
+
"sh": "",
|
| 30 |
+
"msg": "Intendi sync-foto o cache-warm?"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "kill_category_glob",
|
| 34 |
+
"sh": "pkill -x cache-warm; pkill -f /usr/local/bin/sync; sleep 1",
|
| 35 |
+
"msg": ""
|
| 36 |
+
}
|
| 37 |
+
]
|
tasks/scr_ask_process_l1_it_0021/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
ps -eo pid,comm
|
| 5 |
+
pkill -x sync-foto
|
| 6 |
+
sleep 1
|
tasks/scr_ask_process_l1_it_0021/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "ask_process", "baseline": {"Documenti": ["d", null, "755", "root:root"], "Documenti/Lavoro": ["d", null, "755", "root:root"], "Documenti/Lavoro/ordini_settembre.csv": ["f", "9fa18945e61fc33cbb93dc38068f603a3ebb8d1ff16b849f8569f6158e749b9c", "644", "root:root"], "Documenti/Lavoro/piano_ferie.txt": ["f", "9c80909c0bc9e460706faa1e56acd3b5d39980215f757f182812d1845bf50b78", "644", "root:root"], "Documenti/curriculum.pdf": ["f", "efcb448a7224c1ead5662839d9bc77b36514eeb7ce67cb772362dfbce5e8711a", "644", "root:root"], "Documenti/promemoria.txt": ["f", "bd121507b212f9f68f00d2988674b4fe663506d0612b5e85eb5567b08f0c1e72", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [], "procs": {"dead": ["s009f6a9"], "live": ["s1dc5aae", "s2e50dde"]}}
|
tasks/scr_ask_process_l1_it_0021/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_process_l1_it_0021/steps/main/workdir/Documenti/Lavoro/ordini_settembre.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,descrizione,importo
|
| 2 |
+
1,Il nuovo stampante arriv,814.96
|
| 3 |
+
2,Il corso di formazione i,379.72
|
| 4 |
+
3,Il corso di formazione i,226.54
|
| 5 |
+
4,Il cliente chiede una ve,33.68
|
| 6 |
+
5,Portare i documenti orig,898.79
|
| 7 |
+
6,La sala riunioni al seco,284.27
|
tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/Lavoro/piano_ferie.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
La sala riunioni al secondo piano è prenotata.
|
| 2 |
+
Il magazzino segnala tre articoli esauriti.
|
| 3 |
+
Aggiornare l'elenco dei contatti dopo il convegno.
|
tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/curriculum.pdf
ADDED
|
Binary file (1.25 kB). View file
|
|
|
tasks/scr_ask_process_l1_it_0021/steps/main/workdir/Documenti/promemoria.txt
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
La sala riunioni al secondo piano è prenotata.
|
| 2 |
+
Il cliente chiede una versione più breve della proposta.
|
tasks/scr_ask_process_l1_it_0021/steps/main/workdir/setup.sh
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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' {} +
|
| 9 |
+
install -m755 /opt/h3/daemon.py /usr/local/bin/cache-warm
|
| 10 |
+
install -m755 /opt/h3/daemon.py /usr/local/bin/mail-relay
|
| 11 |
+
install -m755 /opt/h3/daemon.py /usr/local/bin/sync-foto
|
| 12 |
+
mkdir -p /etc/servizi; [ -f /etc/servizi/sync-foto.conf ] || printf '# %s\nlog_level=info\n' sync-foto > /etc/servizi/sync-foto.conf
|
| 13 |
+
(cd / && H3_TAG=s009f6a9 H3_PORT=0 H3_DUTY=0.0 H3_MEM=0 setsid nohup /usr/local/bin/sync-foto --config /etc/servizi/sync-foto.conf >/dev/null 2>&1 &)
|
| 14 |
+
mkdir -p /etc/servizi; [ -f /etc/servizi/cache-warm.conf ] || printf '# %s\nlog_level=info\n' cache-warm > /etc/servizi/cache-warm.conf
|
| 15 |
+
(cd / && H3_TAG=s1dc5aae H3_PORT=0 H3_DUTY=0.0 H3_MEM=0 setsid nohup /usr/local/bin/cache-warm --config /etc/servizi/cache-warm.conf >/dev/null 2>&1 &)
|
| 16 |
+
mkdir -p /etc/servizi; [ -f /etc/servizi/mail-relay.conf ] || printf '# %s\nlog_level=info\n' mail-relay > /etc/servizi/mail-relay.conf
|
| 17 |
+
(cd / && H3_TAG=s2e50dde H3_PORT=0 H3_DUTY=0.0 H3_MEM=0 setsid nohup /usr/local/bin/mail-relay --config /etc/servizi/mail-relay.conf >/dev/null 2>&1 &)
|
| 18 |
+
for i in $(seq 100); do ok=1; [ $(pgrep -c -f '^/usr/bin/python3 /usr/local/bin/') -ge 3 ] || ok=0; [ $ok = 1 ] && break; sleep 0.1; done; [ $ok = 1 ]
|
tasks/scr_ask_process_l1_it_0021/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_ask_process_l1_it_0021"
|
| 3 |
+
description = "ask_process"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "ask_process", "answer-file"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "ask_process"
|
| 10 |
+
variant = 1
|
| 11 |
+
level = 1
|
| 12 |
+
language = "it"
|
| 13 |
+
min_tool_calls = 2
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "train"
|
| 16 |
+
seed = 21
|
| 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_bulk_delete_l3_en_0062/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_bulk_delete_l3_en_0062/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
I need a hand: under logs, delete the .log files last modified before 1 September 2026 (subfolders included). List them first to check; newer .log files, .gz archives and other files must stay.
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/instruction.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
I need a hand: under logs, delete the .log files last modified before 1 September 2026 (subfolders included). List them first to check; newer .log files, .gz archives and other files must stay.
|
tasks/scr_bulk_delete_l3_en_0062/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": "all_logs",
|
| 29 |
+
"sh": "find logs -name '*.log' -delete",
|
| 30 |
+
"msg": ""
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"name": "old_everything",
|
| 34 |
+
"sh": "find logs -type f ! -newermt '2026-09-01' -delete",
|
| 35 |
+
"msg": ""
|
| 36 |
+
}
|
| 37 |
+
]
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/solution/solve.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env bash
|
| 2 |
+
set -e
|
| 3 |
+
cd /workdir
|
| 4 |
+
find logs -type f -name '*.log' ! -newermt '2026-09-01' -print
|
| 5 |
+
find logs -type f -name '*.log' ! -newermt '2026-09-01' -delete
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/tests/spec.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"kind": "act", "family": "bulk_delete", "baseline": {"Documents": ["d", null, "755", "root:root"], "Documents/Personal": ["d", null, "755", "root:root"], "Documents/Work": ["d", null, "755", "root:root"], "Projects": ["d", null, "755", "root:root"], "Projects/website": ["d", null, "755", "root:root"], "logs": ["d", null, "755", "root:root"], "logs/app": ["d", null, "755", "root:root"], "logs/web": ["d", null, "755", "root:root"], "logs/worker": ["d", null, "755", "root:root"], "Documents/Personal/reading_list.txt": ["f", "7f689d92a230e6f84e91c9cf03708991804cf69c7660f70730f27e8c32d5df4a", "644", "root:root"], "Documents/Personal/shopping_list.txt": ["f", "24faba498036be4712e7d1cc3355d288e11b181607122ded6173af19bd72931b", "644", "root:root"], "Documents/Work/budget_q3.csv": ["f", "bcf7bdefae8d3c98d1517715b82a9c8ed56aae89f1350dd486ff73ab77970a94", "644", "root:root"], "Documents/Work/september_orders.csv": ["f", "cef44a61931f969bdae1a54823f0353de4bed637f6e12f0484d823ef47692ab2", "644", "root:root"], "Documents/kitchen_quote.pdf": ["f", "8921e4d7149141b6ee8b226017916816cda9376877eb27882cac2cce116e27f0", "644", "root:root"], "Documents/meeting_minutes.txt": ["f", "1694f26a4862975fa82fc242d3c0a1ca16be30c5fef30ddac6ab4f5b4b1c1ee1", "644", "root:root"], "Projects/stale.log": ["f", "73cb3858a687a8494ca3323053016282f3dad39d42cf62ca4e79dda2aac7d9ac", "644", "root:root"], "Projects/website/README.md": ["f", "beb8ba644f3d1f688defa0c990a6059b1f1f3a7b28ca1e856f1448ad570047f9", "644", "root:root"], "Projects/website/app.js": ["f", "78f2e890918d502bf9661df6d33188088447e0fd97b92d63862a10bca55d1555", "644", "root:root"], "logs/app/app.log": ["f", "87cc512ed011d17e80c21a8617a1e9aa63e6add3424d3ce34e00bbd92b289744", "644", "root:root"], "logs/archive.log.gz": ["f", "8368239ea04d857d6125e89eecb30d61761cbbc89bc722edfb914a4d5bfbee8a", "644", "root:root"], "logs/cron.log": ["f", "2611dbb83c4b4876b1213af983687ea4f708b7a5467261fe62577f543595dd17", "644", "root:root"], "logs/db.log": ["f", "486a56bc0d5fda82c015c8d5dee8b6955bd3d2ca08c2bbbb379e054fbf6f7054", "644", "root:root"], "logs/web/web.log": ["f", "37c648463e7be8808fa416dfae2caf0779880147d67d80403c518f4d2eef75cd", "644", "root:root"], "logs/worker.log": ["f", "f315cfc3e75c9a491a35c892a3d5560397c58debc43bf894ff3b4832fe671cba", "644", "root:root"], "logs/worker/note.txt": ["f", "73cb3858a687a8494ca3323053016282f3dad39d42cf62ca4e79dda2aac7d9ac", "644", "root:root"]}, "ignore": ["*__pycache__*"], "changes": [{"path": "logs/worker.log", "op": "absent"}, {"path": "logs/web/web.log", "op": "absent"}, {"path": "logs/db.log", "op": "absent"}]}
|
tasks/scr_bulk_delete_l3_en_0062/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_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Personal/reading_list.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The quarterly budget is almost used up.
|
| 2 |
+
The new printer arrives on Monday.
|
| 3 |
+
The meeting was moved to Thursday afternoon.
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Personal/shopping_list.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The meeting was moved to Thursday afternoon.
|
| 2 |
+
The supplier confirmed delivery for next week.
|
| 3 |
+
The second-floor meeting room is booked.
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Work/budget_q3.csv
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,description,amount
|
| 2 |
+
1,Update the contact list,53.37
|
| 3 |
+
2,The client wants a short,557.59
|
| 4 |
+
3,Two signatures are still,253.93
|
| 5 |
+
4,The client wants a short,66.52
|
| 6 |
+
5,The meeting was moved to,71.64
|
| 7 |
+
6,Remember to send the quo,77.07
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/Work/september_orders.csv
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
id,description,amount
|
| 2 |
+
1,The warehouse reports th,569.01
|
| 3 |
+
2,Check the September over,715.04
|
| 4 |
+
3,The new printer arrives,30.27
|
| 5 |
+
4,The client wants a short,722.01
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/kitchen_quote.pdf
ADDED
|
Binary file (700 Bytes). View file
|
|
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Documents/meeting_minutes.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The slides need a review before the demo.
|
| 2 |
+
Bring the original documents to the office.
|
| 3 |
+
The quarterly budget is almost used up.
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/stale.log
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
x
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/website/README.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Bring the original documents to the office.
|
| 2 |
+
The new printer arrives on Monday.
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/Projects/website/app.js
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
function init() {
|
| 2 |
+
console.log('ready');
|
| 3 |
+
}
|
| 4 |
+
init();
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/app/app.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
app line
|
| 2 |
+
app line
|
| 3 |
+
app line
|
| 4 |
+
app line
|
| 5 |
+
app line
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/archive.log.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8368239ea04d857d6125e89eecb30d61761cbbc89bc722edfb914a4d5bfbee8a
|
| 3 |
+
size 300
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/cron.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cron line
|
| 2 |
+
cron line
|
| 3 |
+
cron line
|
| 4 |
+
cron line
|
| 5 |
+
cron line
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/db.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
db line
|
| 2 |
+
db line
|
| 3 |
+
db line
|
| 4 |
+
db line
|
| 5 |
+
db line
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/web/web.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
web line
|
| 2 |
+
web line
|
| 3 |
+
web line
|
| 4 |
+
web line
|
| 5 |
+
web line
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/worker.log
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
worker line
|
| 2 |
+
worker line
|
| 3 |
+
worker line
|
| 4 |
+
worker line
|
| 5 |
+
worker line
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/logs/worker/note.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
x
|
tasks/scr_bulk_delete_l3_en_0062/steps/main/workdir/setup.sh
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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' {} +
|
| 9 |
+
touch -d '2026-07-01 09:00:00' Projects/stale.log
|
| 10 |
+
touch -d '2026-09-25 09:00:00' logs/app/app.log
|
| 11 |
+
touch -d '2026-07-01 09:00:00' logs/archive.log.gz
|
| 12 |
+
touch -d '2026-09-08 09:00:00' logs/cron.log
|
| 13 |
+
touch -d '2026-08-06 09:00:00' logs/db.log
|
| 14 |
+
touch -d '2026-08-09 09:00:00' logs/web/web.log
|
| 15 |
+
touch -d '2026-08-02 09:00:00' logs/worker.log
|
| 16 |
+
touch -d '2026-07-01 09:00:00' logs/worker/note.txt
|
tasks/scr_bulk_delete_l3_en_0062/task.toml
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[task]
|
| 2 |
+
name = "efederici-scrivania/scr_bulk_delete_l3_en_0062"
|
| 3 |
+
description = "bulk_delete"
|
| 4 |
+
keywords = ["harbor3", "scrivania", "bulk_delete"]
|
| 5 |
+
|
| 6 |
+
[metadata]
|
| 7 |
+
dataset = "scrivania"
|
| 8 |
+
tier = "scrivania"
|
| 9 |
+
family = "bulk_delete"
|
| 10 |
+
variant = 2
|
| 11 |
+
level = 3
|
| 12 |
+
language = "en"
|
| 13 |
+
min_tool_calls = 4
|
| 14 |
+
kind = "act"
|
| 15 |
+
split = "train"
|
| 16 |
+
seed = 62
|
| 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_bulk_delete_l3_it_0023/steps/main/workdir/log/archivio.log.gz
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:def617d903e36fd2ae41193472c442ef5ff45afccb4ca4964a95e22a762fd06c
|
| 3 |
+
size 300
|