Skip to content

AI PC evals v0.7.3

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 20:14
· 22 commits to main since this release
52875bb

A patch over v0.7.2. New: a check for the local model server (tools/check_server.py, run_eval.py --check-server), the server's settings recorded with every task (with a warning when they change mid-run), and an Agreement table with optional charts in results_tables.py. Fixed: --grade-only honours --exclude and grades the rest when one task can't be rebuilt, and generated PDF inputs build to the same bytes under every zlib. The task fingerprint changes (build_fixtures.py): kw-06's receipt PDFs change bytes, no answer key does.

New

  • An Agreement table and optional charts in tools/results_tables.py. With two or more columns, an Agreement table follows Table 1: over the tasks every column ran and has a grade for, how many every column passed, how many they disagreed on and how many every column failed, then per column the tasks only it failed and only it passed. It shows whether a failure is one agent's or every agent's (the model's, or the task's). --charts DIR also writes four PNGs over the same tasks: passes per column, the agreement split, time per task (log scale; passed, failed and stopped at the time cap marked; the median) and total time against passes. The charts need matplotlib (BSD-style licence), an optional dependency: it is in requirements-dev.txt and the charts extra (pip install -e .[charts]), not in requirements.txt or constraints.txt (it builds no input and the judge never sees it). Without it, --charts says how to install it and exits 1, after printing and writing the tables. Graded runs and scoreboards now carry "timed_out": true for a task stopped at its time cap. Tables 1 to 3 and every score are unchanged (docs/RESULTS.md).
  • The model server's settings, with every task. Before each task, with or without --telemetry, the runner finds the model server again (a reload behind Lemonade starts a new llama-server on a new port) and records its settings in result.json as server: llama-server's model file, quantization, build, slots, context and sampling defaults from /props; vLLM's and SGLang's model and max_model_len. When they differ from the first task's (an agent reloaded the shared model with its own settings), the run prints one warning: line, the task gets server_changed, and summary.md lists it. A new port alone is not a change, and the run never stops for it. No task, input, key, probe or score changes, and the task fingerprint is unchanged. See docs/RUNNING.md.
  • A check for the local model server (python tools/check_server.py [--base-url URL] [--model ID], and run_eval.py --check-server before the first task). One key: value line per check, with the fix when one fails, exit 1 if any fails: the server answers and lists the model; the window one request gets is 65,536 tokens or more (llama-server's slot n_ctx from /slots or /props, vLLM's and SGLang's max_model_len, Lemonade's llama-server); one chat request with one tool comes back as a structured tool call (else "start llama-server with --jinja", or the vLLM/SGLang tool-call parser); /metrics answers, which only --telemetry needs (in run_eval.py a missing /metrics stops the run only with --telemetry). The URL is KW_LOCAL_BASE_URL, else the one model server running on the PC. It installs, starts and loads nothing: a model Lemonade hasn't loaded fails the check instead of being loaded. Each line is printed as its check ends, every request has a time cap (300 s for the tool-call request), and KW_LOCAL_API_KEY or a password in the URL is never printed. For an app (gaia-app and the other manual agents) --model is the leg's label, so the one chat model the server has loaded is checked (GAIA's embedding model is left out). The skill's first steps run it for agents and apps on a local model. See RUNNING.md. No fingerprinted file changes.

Fixes

  • --grade-only honours --exclude, and one task that can't be rebuilt no longer stops the whole regrade (#122). --grade-only RUN --exclude T was accepted and ignored: T was graded too. It now leaves T as it was, as --tasks leaves the tasks it doesn't name. A task whose inputs can't be rebuilt, or no longer rebuild to what the agent got, used to stop the grading of every task in the run. It is now left out: the console prints not graded: <task>: inputs could not be rebuilt: <why>, the other tasks are graded, summary.md lists it under "Recorded but not graded yet" with that reason, and the command exits with 1. An earlier grade of that task is taken out of scorecard.json rather than left looking current; the input check itself is unchanged, and grading still refuses a task whose inputs changed. When several legs are graded together, the task is left out of each, with its own reason. A full build error is written to build-errors/ in the graded folder, beside summary.md. Only the runner changes (tools/run_eval.py); the task fingerprint is unchanged.
  • Generated PDF inputs build to the same bytes under every zlib (#121). build_fixtures.py writes kw-06-expense-audit's receipts (claims/receipts/*.pdf) without page compression, so a knowledge-work run made with Python 3.14 on Windows (zlib-ng) grades with another Python: the input check compares a PDF byte for byte, and the deflated streams differed. Those 88 receipts change bytes (same text and layout); no other input, prompt or answer key changes. kw-10's scanned signature pages were already zlib-free (JPEG pages) and build as before; they still differ between Windows and Linux (see Known limits). The task fingerprint changes (build_fixtures.py), and a kw-06 run made before this change no longer grades: re-run it.

Known limits

  • kw-10's scanned PDF still renders differently on Windows and Linux (Times-Roman is not embedded in the page it is rasterized from, so each system draws it with its own font), so grade kw-10 on the OS it was prepared on. Its answer key is the same on both. kw-06's and kw-10's other inputs now pass the input check on either system (Office files are compared by what they hold).
  • App runs (perplexity-computer, gaia-app, other-app) are same-user runs: fine for trials, not for published numbers.
  • Live-web tasks depend on the agent's web access: bls.gov, for one, refuses many automated fetchers with 403. Compare those tasks only between runs from the same days.
  • On Windows Layer 4, scheduled tasks are recorded as not checked.