os-omni-benchmark / tasks /macos /textedit_shift_handoff_update.yaml
Cloudriver's picture
Upload OS-Omni benchmark task dataset
7ca9807 verified
task_id: macos.textedit.shift_handoff_update
platform: macos
instruction: "TextEdit is already open with `/Users/bench/Downloads/shift_log.txt`.\n\
\nPrepare the log for a clean evening lobby handoff. Make only these edits:\n\n\
1. Insert these three lines directly below the first line, keeping this order:\n\
\ - `Coordinator: Mina`\n - `Priority: high`\n - `Desk: South Lobby`\n2. Change\
\ `Front desk status: waiting on badges` to `Front desk status: badges delivered`.\n\
3. Change `Runner status: pending escort list` to `Runner status: escort list delivered`.\n\
4. Change `Kitchen status: coffee restock requested` to `Kitchen status: coffee restock completed`.\n\
5. Change `Security status: badge desk closed` to `Security status: badge desk reopened`.\n\
6. Change `Ops notes: awaiting facilities reply` to `Ops notes: facilities confirmed for 19:30`.\n\
7. Directly under the updated Ops notes line, insert `Escalation owner: Avery`.\n\
8. At the very end of the file, append these five lines in order:\n - `Handoff complete`\n\
\ - `Reviewed by: ops_lead`\n - `Queue: evening`\n - `Archive: yes`\n - `Follow-up\
\ window: 19:30-20:00`\n\nKeep every other line unchanged. Do not replace the whole\
\ file. Save when done.\n"
init:
initializer_id: initializers.macos.setup:DesktopSetupInitializer
params:
steps:
- type: run_bash
script: 'set -e
killall TextEdit >/dev/null 2>&1 || true
rm -f /Users/bench/Downloads/shift_log.txt
'
- type: upload_file
local_path: ../../files/textedit/shift_handoff_update/start/shift_log.txt
path: /Users/bench/Downloads/shift_log.txt
- type: run_bash
script: 'set -e
open -a TextEdit /Users/bench/Downloads/shift_log.txt
'
- type: wait
ms: 2500
- type: run_bash
script: "set -e\nosascript <<'APPLESCRIPT'\ntell application \"System Events\"\
\n tell process \"TextEdit\"\n set position of window 1 to {90, 90}\n\
\ set size of window 1 to {1300, 860}\n end tell\nend tell\nAPPLESCRIPT\n"
- type: wait
ms: 1000
evaluation:
evaluator_id: evaluators.macos.textedit:TextEditFileEvaluator
params:
actual_path: /Users/bench/Downloads/shift_log.txt
expected_path: ../../files/textedit/shift_handoff_update/expected/shift_log.txt
limits:
max_steps: 100
step_timeout_seconds: 120