Skip to content

AI PC evals v0.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 22:32
· 42 commits to main since this release
aed9ca5

The project is prepared for open-sourcing under MIT. The answers stay encrypted in secrets/answers.enc: grading needs the answers passphrase, as in v0.6.5. No task, prompt, answer key or checker script changes.

Results are not comparable with v0.6.5. The task fingerprint changes, so the results tables mark runs graded with v0.6.5 as a different version. Why:

  • the judge now runs at one pinned effort level (medium). Under v0.6.5 the Claude Code judge ran at whatever effort the operator's own Claude Code settings chose, so the same answer could get a different grade;
  • a manual run past its task's time cap now fails, as a command-line agent's always did;
  • the grading engine changed in other ways that don't change a score on their own: the Office input check, the team mirror in the harness, the recorded library versions, the judge model's name in one place, five unused PINS entries dropped;
  • knowledgework/tasks.public.json names the answer fields that are left out, and kw-07's and kw-12's input hashes are corrected (#37).

Upgrading an eval PC. Unzip the new release into a new folder and install with python -m pip install -r requirements.txt -c constraints.txt. The answers passphrase is unchanged: a PC that graded with v0.6.5 grades with this one. Point KW_MIRROR at the team mirror: four sources (kw-02, kw-06, kw-14, kw-15) changed upstream and build only from it. Re-run anything you compare against v0.6.5 results.

New

  • A publish mechanism for the future, not used in this release. python tools/keys.py publish can move the answers into answers/ in the clear (and syncs the input hashes as it does); this release keeps every answer encrypted, because an agent under test could read plaintext answers on the PC, and a public repository would put them on the web.
  • Every result records its answer set (public or heldout), and the summaries and results tables show it.
  • A benchmark canary GUID (tools/fingerprints.py) that the preflight, the audit and the grader treat as a canary; it would mark published answer files.
  • A held-out set, kept outside this repository: KW_HELDOUT_BUNDLE names a folder with answers.enc, manifest.json and tasks.public.json (python tools/keys.py encrypt --from DIR --heldout OUT). Its passphrase (KW_HELDOUT_PASSPHRASE, or the credential store's heldout-passphrase) is needed only when held-out tasks run; run_eval.py checks it before any agent starts, and agents and checker scripts never see it or KW_HELDOUT_BUNDLE. It is empty today: the held-out tasks will be written in a separate private repository.
  • A Claude Code skill for operating the evals, in .claude/skills/ai-pc-evals/, shipped in the release zip. Claude Code opened in the package folder loads it when it is relevant; a person can read it too. It covers setting up an eval PC, running and grading, recording results, troubleshooting every error the tools print, and operating an agent app through the manual agent: what the runner asks, in order, and what to type. app-operator.md covers any app, for a person or for Claude driving it with computer use; perplexity.md and gaia.md cover Perplexity Computer and AMD GAIA's Agent UI. CLAUDE.md keeps the rules and wins over the skill. tests/test_skill.py checks that every file, agent, command and flag it names exists, that every runner prompt it quotes is what the manual agent asks, that it never handles a passphrase, and that the zip carries all of it.
  • gaia-app, a manual agent for AMD GAIA's desktop Agent UI: python tools/run_eval.py --agent gaia-app --model <model as GAIA shows it> --suite smoke. The runner asks you to quit GAIA before grading. It declares only web access, so tasks needing a connector or image input are listed as not run.
  • AMD GAIA, headless, as an experimental agent (the gaia entry): one gaia -p run of GAIA 0.25.4's agent per task, on the Lemonade Server at KW_LOCAL_BASE_URL, with file writes and shell commands allowed inside the task folder. Each task gets a fresh GAIA home, and the background service gaia -p starts is stopped after the task. It needs amd-gaia==0.25.4 and its gaia-agent-gaia package from GAIA's repository (RUNNING.md). Its flags match GAIA 0.25.4's --help, but it has not yet been run on a real task, and it is not audited. For it, agents.json entries take a {task_tmp} placeholder (an empty folder of the task's own, outside the task folder, removed after it), placeholders in env values, and a cleanup command run after the agent. tools/local_servers.py lists Lemonade's lemond and LemonadeServer.exe, takes Lemonade's default port as 13305 (since 10.1; it was 8000), and marks a llama-server started with --embeddings, which --telemetry doesn't measure.
  • run_eval.py --telemetry (#46), off by default: per task, tokens in and out with prefill and decode speed from the local model server's /metrics (llama-server, vLLM, SGLang), GPU memory (VRAM and shared/GTT), utilization and power sampled every second, and the GPU resets, page faults and timeouts the kernel or system log recorded while the agent ran. It goes into result.json as telemetry; grading never reads it. tools/local_servers.py now also lists vLLM and SGLang, so preflight's list of local servers can be longer, and slower to build on Windows with many Python processes.
  • summary.md says why a task's quality is below 5 (#73): one line per such task with the judge's five scores and, for a public task once the answers are published, its one-line note on the deciding factor (the note can quote the answer, so it is left out before that, and always for a held-out task).
  • python tools/keys.py fingerprint [--heldout] prints a passphrase's length, the first 8 hex characters of its SHA-256 and where it comes from, never the value. Run on two PCs, it shows whether they hold the same passphrase when check --deep says it is wrong; the "wrong passphrase" error points to it.
  • tools/check_agent_flags.py (#61) checks that every flag an agents.json entry passes is one its installed CLI lists in --help (OpenCode 2.x dropping --dir and --pure had failed every task, #44). CI runs it weekly against the latest OpenCode, Pi, OpenClaw, Hermes and GAIA 0.25.4, and on pull requests that change tools/agents/; the weekly run opens an issue when a flag is gone and closes it when the entries match again.
  • The task file's input hashes are checked against PINS (#37): tests/test_task_data.py checks every downloaded input's SHA-256 in the task file against its PINS entry, and that the build fetches it under the name the harness looks for. python knowledgework/sync_input_pins.py copies the pins into answers/tasks.json (into a decrypted copy with --from DIR before the answers are published).
  • Docs for newcomers. The README opens with what the project is and a "Try it in 5 minutes" section that needs no password or API key, says what needs what, and has a glossary. The other guides are rewritten in plainer language, simple path first, and grading (check types, checker scripts, the judge's five quality scores, noise) is explained in docs/RESULTS.md. docs/SECURITY.md is now docs/ISOLATION.md (keeping the answers from the agent under test); the new SECURITY.md says how to report a vulnerability (AMD PSIRT, not public issues). Also new: CODE_OF_CONDUCT.md (Contributor Covenant 2.1), issue and pull request templates, scoreboard/example-synthetic.json (made-up numbers for the docs and tests), and a test that every python tools/... command and flag the docs show exists. Results are published separately, not in this repository: the Perplexity Computer scoreboard, knowledgework/USER_GUIDE.md and docs/EXECUTIVE_SUMMARY.md (the old v0.5 suite and its early runs) are removed (the guide's method moved into the docs); the Perplexity tooling stays. Answer details quoted in the docs and this changelog are removed.

Fixes

  • kw-07 and kw-12 build on a fresh PC again (#37): the encrypted task file now carries the input hashes PINS has (re-encrypted with sync_input_pins.py), and tests/test_task_data.py checks every input's hash against PINS.
  • OneDrive's and Edge's own scheduled tasks are no longer blamed on the agent (#34). OneDrive re-registers its updater, reporting and startup tasks whenever it updates, so they could appear between the before and after listings of any task, and the runner said the agent created them and told the tester to remove OneDrive's updater by hand. A new task is now left alone only when it runs as you or SYSTEM and every action runs OneDrive's or Edge's updater from its install folder: under Program Files, or OneDrive's per-user folder with a valid Microsoft Authenticode signature (the agent can write there). Anything else, or a task that can't be checked, is still disabled and recorded. The residual risk is in ISOLATION.md.
  • --grade-only of a Layer 4 run needs its agent user. A checker can run the agent's own code (its tests, a conftest.py). Graded from a shell without KW_AGENT_USER, a run whose agent ran as a separate user had that code run as you, next to the credential store. run_eval.py --grade-only and tools/grade_run.py now stop and say which user to set.
  • One run at a time per agent user. A run stops every process of its agent user at a task's cap and before grading, so two runs sharing one agent user killed each other's agents. The second now stops before it prepares anything, with a message (an OS lock in ~/kw-graded, released when the run ends).
  • The preflight fails a Layer 4 run whose agent user can read this package or the graded results, with or without --strict. Without --strict it only warned that these folders were not swept, even when their ACL let the agent user read the answers.
  • An audit with nothing to match against says so. With no fingerprint manifest in the package, the answer audit skipped silently and the run looked clean. Each task now records answer_audit: no fingerprint manifest ..., the runner prints it, and summary.md names the tasks; tools/grade_run.py prints a CHECK line.
  • summary.md's Why column no longer quotes a held-out task's answer. A failure's reason ("judge: missing '...'", a checker's message, the judge's note) can name the expected value; the quality lines already left the note out for held-out tasks, but the Why column showed it. For a held-out task it now names only the check that decided it ("judge: details withheld (held-out task)"), and the judge's note stands in for an empty reason only on a public task once the answers are published.
  • python tools/use_cases.py --help printed nothing useful and rewrote USE_CASES.md; it now prints its usage, and an unknown argument writes nothing. python tools/telemetry.py --help crashed with a traceback; it now prints its usage.
  • A command-line agent's log is written before its cleanup command runs, so a cleanup that outlives its cap as the agent user no longer loses what the agent printed.
  • A release tag runs every check a pull request must pass (release.yml): all the pytest legs (Ubuntu and Windows, Python 3.12 to 3.14), the Linux Layer 4 tests, the release-zip smoke run and lint, through tests.yml and lint.yml themselves, before it publishes. It ran pytest on 3.13 only. A test that runs over 5 minutes now prints every thread's stack (faulthandler_timeout in pytest.ini), so a hang is never silent, and CI lists every skipped test with its reason.
  • Under Layer 4 the agent user can no longer decide what a checker reports (#42). A checker runs as the agent user, and that user could put its own program where the checker looked for Python: a python.bat in the task folder on Windows; on Linux its ~/.profile or ~/.bashrc, or the venv KW_AGENT_PYTHON pointed at, which it owned. Now:
    • a checker runs Python by a full path (KW_AGENT_PYTHON, which must be absolute, or the system's), with a fixed PATH; on Windows through cmd.exe /d with NoDefaultCurrentDirectoryInExePath=1 and the agent user's PYTHONPATH and pytest variables cleared, on Linux under bash --noprofile --norc;
    • before any agent runs, and before grading, the runner checks that the agent user can't change that Python, and stops Layer 4 with a message if it can;
    • tools/setup_layer4_linux.sh builds the checkers' Python in /opt/kw-agent-venv, owned by you and read-only to the agent user, with -c constraints.txt. A setup that pointed KW_AGENT_PYTHON at ~kwagent/venv now stops with that message: see docs/ISOLATION.md;
    • on Windows under Layer 4, scheduled tasks the agent creates were checked against your own Task Scheduler listing, which doesn't show them, so every check came back clean. Each result now records schedule_check: not checked (...), and the summary says so.
  • The judge runs at one pinned effort level, medium, on both backends (JUDGE_EFFORT in kwengine/_support.py): claude -p --effort medium, and output_config.effort on the API. Before, the Claude Code judge took the operator's own Claude Code effort setting. The scorecard records it as judge_effort and summary.md names it. The default judge model is named in one place, DEFAULT_JUDGE_MODEL (still claude-opus-5-5).
  • A manual run past its time cap fails, like a command-line agent's. A manual task whose time (without any queue) is over its cap is recorded as timed_out ("ran 2400s, over the 1200s time cap") and fails. python -m kwengine record applies the same rule, so the dedicated runner's record.sh and rec_thread.sh do too.
  • The manual agent checks the model picker against the leg. --agent perplexity-computer needs --model cloud or --model local (a manual entry's legs; before, pc-09's {route} filled as LOCAL whatever the app ran). A task whose picker disagrees with the leg is asked about again; kept anyway, it is recorded with picker_mismatch: true and named in summary.md.
  • tools/grade_run.py grades as run_eval.py does: 3 judge attempts (it used 2), a clear error and exit 2 instead of a traceback when the answers passphrase is missing, and the same summary.md. Dedicated-runner (tools/perplexity/) runs had no summary.
  • A knowledge-work run grades wherever its Office inputs were built. The input check compares a .docx, .xlsx or .pptx by its entries' names and decompressed bytes, not its compressed bytes, which differ between zlib builds (CPython 3.14 on Windows ships zlib-ng). A changed, added, removed or renamed entry still stops grading, and a bug in the check is no longer reported as an unreadable file (#76).
  • Downloads work behind a corporate proxy that inspects TLS (Zscaler, for one). The input build, the harness and tools/snapshot_sources.py verify against the operating system's certificate store with truststore (MIT, a new requirement), and all three honour REQUESTS_CA_BUNDLE. A certificate error says what to do instead of being retried. See "Corporate proxies" in docs/RUNNING.md.
  • The harness takes a pinned input from the team mirror (KW_MIRROR) when its cache lacks it, as the input build already did. Its error for a changed download names both causes (the file changed upstream, or the task file disagrees with PINS) and suggests the mirror only when one can help. --export-mirror now also copies the eCFR XML kw-06 fetches, KNOWN_CHANGED lists every source found changed upstream on 2026-11-16 (kw-02, kw-06, kw-14, kw-15), and docs/TASKS.md explains how to set up a team mirror.
  • Every scorecard and eval-version record names the PDF and Office library versions that turned inputs and deliverables into what the judge read (extract_libraries). Re-grading part of a run with other versions records them as mixed: .... constraints.txt: pypdfium2 5.15.0 and pandas 3.1.1 (every fixture and key builds byte-identical), ruff 0.17.4. pypdf stays at 6.21.4: 7.0 changes the word spacing of the PDF text the judge reads, so it waits for a re-grade, and Dependabot no longer proposes pypdf major versions.
  • The hermes entry reaches the local model (#52): it names the server itself (--provider custom --base-url {base_url} --api-key {api_key}, from KW_LOCAL_BASE_URL and KW_LOCAL_API_KEY), with -Q to keep the banner out of the answer. An agent on a local server that fails names the address it tried. --agent hermes without --model is refused (#53).
  • The preflight keeps to its time limit. It read the clock only between folders, so a folder of big archives (diagnostic zips in Downloads, say) could run a 300 s sweep for many minutes more. It now checks between files too.
  • The tests no longer leave probe folders in the system temp folder. A killed test run could leave a kw-probe-* folder in %TEMP%, and the preflight of every later run on that PC then failed on it ("a task's answer key an interrupted probe left behind"), tools/smoke.py included. Tests now make their temp files in pytest's own folder.
  • Input ending at a manual agent's question (Ctrl-Z, Ctrl-D, a closed pipe) stops run_eval.py with one line and exit 1, not a traceback.
  • A runner without psutil stops at once (#85), instead of crashing at the first time cap and leaving the agent running.
  • The manual runner's clipboard (#35): on Windows a busy clipboard is retried quietly; on Linux xclip and wl-copy no longer wait 20 s and report failure. Clipboard text is never graded as the answer unless the prompt was staged and you confirm it.
  • The PC stays awake during a run. Windows Modern Standby froze a run for 30 minutes, which counted against the task's wall time and its cap. While agents run and while grading, run_eval.py now asks the OS not to sleep on idle (SetThreadExecutionState(ES_CONTINUOUS | ES_SYSTEM_REQUIRED) on Windows, with ES_DISPLAY_REQUIRED too under KW_KEEP_DISPLAY_ON=1; systemd-inhibit on Linux when it is there, otherwise it says nothing is held), and lets go when the run ends, on an error too (tools/keep_awake.py). A heartbeat notices a sleep it couldn't prevent (a closed lid): the task records slept_seconds and a note, the runner's status line says so, and summary.md names the tasks.
  • The preflight flags every leftover temp folder that can hold answer material. It knew kw-grade-*, kw-probe-* and kw-build-keys-*, but not kw-keys-* and kw-shadow-*, which older versions left in %TEMP%, a failed release smoke test's kw-smoke-* (an unzipped package, public answers included), or the Perplexity kit's key folders. The prefixes are now one list (ANSWER_TEMP_PREFIXES in tools/fingerprints.py; the Perplexity scripts' folders are now named kw-pplx-keys-*), each flagged with the command that removes it, and a test scans the code so that every temp folder it creates is on that list or on the list of those that never hold answers.
  • A preflight that is killed or times out is no longer reported as having found answer material. run_eval.py said "found answer material" for any non-zero exit, exit 143 included; it now says "preflight didn't finish: ..." unless preflight ended with its own report of what it found.
  • build_fixtures.py builds the other tasks when one fails. It stopped at the first task that failed to download or build. It now builds the rest, lists the failures at the end and exits 1; --fail-fast stops at the first, as before. With one task (how run_eval.py and prep_task.sh call it) the error and exit code are as they were. build_fixtures.py is in the task fingerprint, so the fingerprint changes; no input or answer key changes.
  • kwengine --help names the program kwengine when run through the installed command (python -m kwengine still shows that). The status line of a task over its time cap no longer gives the time twice ("ran 660s, over the 600s time cap in 660s"). The manual agent's model-picker question gives each app's own examples (picker and picker_examples in agents.json): GAIA's asked about its model chip with Perplexity's examples.

Known limits

  • kw-10's scanned PDF renders differently on Windows and Linux (it uses Times-Roman without embedding it), so grade kw-10 on the same OS it was prepared on. Fixing it changes the task, so it is planned as a ground-truth change.
  • Manual app agents (Perplexity, GAIA's app) always run as your own Windows user: an app that went looking could read the answers passphrase from your credential store. The audit can't see inside an app, so treat app results as same-user results.
  • The gaia (headless) entry is experimental and not yet audited.
  • Building the inputs of held-out tasks is up to the private repository: build_fixtures.py here only knows the public tasks.
  • A run prepared before this release still needs its Office inputs byte for byte: its baseline has only raw hashes. A Linux knowledge-work run prepared before #49 stops with "inputs no longer rebuild" on every task with generated Office inputs. Re-run it.
  • A PC that built kw-07 or kw-12 before the 2026-10-27 re-pin gave its agent the old files under v0.6.5, while the keys were built from the new ones. For kw-07 nothing differs. For kw-12, FRED revised three of the 14 retail-sales values the key holds, so a kw-12 run graded under v0.6.5 on such a PC may have been marked down for charting its own (older) numbers: re-run it with v0.7.0 (#37, fixed in this release).