Datasets:
File size: 2,644 Bytes
15fe97e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # Inkscape computer app
Exported by REA's `export-desktop-application` from a capture of the `inkscape` package
(capture Evidence `ev_c45a1b957a5bdf56e22a2cfb85f1a4dda39b4ef058c41d591f36273295ebddc7`). It was checked against agentenv-framework
0.9.1431.
- `envs/inkscape/` is a computer app on the `ubuntu-24.04` base with the `reference` driver, for
`amd64` and `arm64`. It installs `inkscape` from the distribution archive, launches `sh -c exec 'inkscape' "$HOME"/'Documents/poster.svg'` at boot and is ready
when a window of class `Inkscape` appears.
- Owned paths: `~/.config/inkscape`, `~/Documents`.
`data/get` returns their files and a typed JSON view of each; `data/reset` restores the seed.
- Seed: 3 file(s) from the user's home before the capture, with the captured home path
respelled in text files.
- `tasks/smoke.json` deploys the app.
Run the task with `agent-env run <this folder>`, or only the deploy with `--task smoke`.
The seed is synthetic test data made for this showcase; it holds no one's real files.
## Task `summer-headline`
`tasks/summer-headline.json` deploys the app, has the agent work through the computer from the prompt below, and grades
the outcome with `artifacts/summer-headline-check/verify.py`, which reads the app's `data/get` views and needs
no model. `evals/inkscape.toml` names it, so a run of the bundle runs it.
> In the bake sale poster open in Inkscape, change the headline from "Spring Bake Sale" to "Summer Bake Sale", then save the poster.
Checks, each of which must pass:
- `headline`: `{"kind":"value_equals","file":"Documents/poster.svg","pointer":"/root/children/[name=g][@inkscape:label=Layer 1]/children/[name=text][@id=headline]/children/[name=tspan]/children/0","value":"Summer Bake Sale"}`
- `price-kept`: `{"kind":"value_equals","file":"Documents/poster.svg","pointer":"/root/children/[name=g][@inkscape:label=Layer 1]/children/[name=text][@id=price]/children/[name=tspan]/children/0","value":"All cakes $2"}`
- `date-kept`: `{"kind":"value_equals","file":"Documents/poster.svg","pointer":"/root/children/[name=g][@inkscape:label=Layer 1]/children/[name=text][@id=date]/children/[name=tspan]/children/0","value":"Saturday 14 March, 10am"}`
REA kept the task because its checks fail on the seed (`headline`) and all
pass on the captured end state.
To measure a solve rate, run the task k times (3 by default) with the agent and model to measure, and count the runs
whose summary line says `passed`; a run that says `failed` did not finish and is run again rather than counted:
agent-env run <this folder> --task summer-headline --agent claude-code --model MODEL
|