Skip to content

Ad-hoc Leaderboard Preview - #111

Open
aaronsmulktis wants to merge 30 commits into
mainfrom
aaronsmulktis/leaderboard-preview
Open

aaronsmulktis wants to merge 30 commits into
mainfrom
aaronsmulktis/leaderboard-preview

Conversation

@aaronsmulktis

@aaronsmulktis aaronsmulktis commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor
Screenshot 2026-11-25 at 12 27 12 PM Screenshot 2026-11-25 at 12 27 57 PM Screenshot 2026-11-25 at 12 28 11 PM Screenshot 2026-11-25 at 12 28 53 PM

Changes

  1. uv run -m open_apps.results_preview [dir...] [opt dir2...]: one row per model from any logs dir(s), ranked by task success with a 95% Wilson CI
  2. Columns for episodes, tasks, errored runs (infrastructure failures left out of the rate) and mean steps; drill-downs per task and per variation
  3. Served from memory with Save as HTML / Save as PDF links, or written to a file with --out FILE
  4. OPENAPPS_SSH_HOST fills in the ssh -L hint when there's no display; a faint halftone background drawn with Pillow
  5. A local parallel sweep opens the preview when it finishes; a SLURM sweep prints the command; open_leaderboard=false turns both off
  6. Docs: README and docs/results-preview.md
  7. Site: documentation added to mkdocs site (landing + page)
  8. Columns split Episodes (a task in one variation and seed) from Tasks (distinct tasks); a progress line while it reads runs
  9. Reads a run's episode.json when it has no summary_info.json + config.yaml pair, so episodes copied off a cluster rank without re-scoring
  10. Sweep command under the table: the launch_parallel_agents.py line each sweep was launched with, as typed (recorded per job as sweep_command; secret-looking keys such as agent.api_key show as REDACTED)

Sweeps

  1. config/tasks/default_tasks.yaml: three tasks per app across all 11 apps (33), copied verbatim from the other task files. Each app's three run in English, German and Mandarin, with its layouts rotated across them
  2. A task entry may pin app_overrides (e.g. ["apps/language=german", "apps/todo/layout=kanban_board"]); the parallel launcher composes its runs with them after the sweep's variation and records them as the run's variation
  3. themes=a,b: one app variation per theme, shorthand for parallel_tasks.app_variations=[["apps/theme=a"], ...]
  4. serve=vllm starts the agent's model server beside a local sweep for its length (config/serve/vllm.yaml)
  5. agent.hostname=auto looks up self-hosted agents only (one override covers an agents= sweep mixing them with hosted APIs), and tries ports 8000-8009, so several servers can share a node
  6. task_seed follows the top-level seed, so a run has one seed
uv run launch_parallel_agents.py \
  agents=GPT-5.5-computer-use,Qwen3.8-Flash-Next-computer-use,OpenCUA-32B,gemma-4-31B-coords,UI-TARS-1.5-7B,Fara-7B,GLM-5.3-text-only \
  tasks=default_tasks themes=default,challenging_font,dark,material,mono \
  agent.hostname=auto mode=slurm_cluster

Agents

  1. GLM-5.3-text-only: GLM-5.3 is text-only (its chat template replaces images with a note that it has no multi-modal input), so it runs on the accessibility tree with bid actions, like GPT-5.5-text-only
  2. label: headers for the Fara-7B, OpenCUA and Qwen3.8 configs, which the composer requires

Merges current main (#106, #120, #121, #122, #123, ...).

@aaronsmulktis aaronsmulktis self-assigned this Nov 3, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 3, 2026
Comment thread src/open_apps/apps/map_app/main.py Fixed
@aaronsmulktis aaronsmulktis changed the title Leaderboard Preview Themes / languages for Every App; Ad-hoc Leaderboard Preview Nov 10, 2026
@aaronsmulktis aaronsmulktis changed the title Themes / languages for Every App; Ad-hoc Leaderboard Preview Themes / Languages for Every App; Ad-hoc Leaderboard Preview Nov 10, 2026
@aaronsmulktis
aaronsmulktis force-pushed the aaronsmulktis/leaderboard-preview branch from c521c43 to 2780cb6 Compare November 10, 2026 18:34
Comment thread tests/test_todo_i18n_layouts.py Fixed
Comment thread tests/test_codeeditor_save.py Fixed
Comment thread tests/test_messenger_ui.py Fixed
Comment thread tests/test_todo_i18n_layouts.py Fixed
Comment thread tests/test_todo_ui.py Fixed
…ctory by task success

uv run -m open_apps.results_preview [DIR ...] finds every BrowserGym run
below the given directories (summary_info.json + the job's config.yaml),
resolves re-runs, and serves one self-contained page from memory: one row
per model with success rate and 95% Wilson CI, episodes, tasks, errored
(infrastructure, excluded from the rate) and mean steps, plus per-task and
per-variation drill-downs. Save as HTML/PDF links, --out FILE, an ssh -L
hint without a display (OPENAPPS_SSH_HOST), and a halftone background.

A local launch_parallel_agents.py sweep opens it when it finishes; a SLURM
sweep prints the command. open_leaderboard=false turns both off.
@aaronsmulktis
aaronsmulktis force-pushed the aaronsmulktis/leaderboard-preview branch from 95079a5 to 181e780 Compare November 12, 2026 15:51
@aaronsmulktis aaronsmulktis changed the title Themes / Languages for Every App; Ad-hoc Leaderboard Preview Ad-hoc Leaderboard Preview Nov 12, 2026
@aaronsmulktis
aaronsmulktis marked this pull request as ready for review November 12, 2026 17:52
aaronsmulktis user and others added 8 commits November 12, 2026 21:03
…ration in each drill-down

Each model's drill-down now shows the launch_parallel_agents.py command that
re-runs its runs, built from their config.yaml (agent config, tasks, app
variations, seeds, max_steps, device, model server), with a Copy button that
falls back to selecting the text where the clipboard API is unavailable and
is hidden in print/PDF. Runs from different configurations get one command
each; runs that do not form one tasks x variations grid are split into exact
blocks. Hydra's .hydra/overrides.yaml, when present, is used verbatim.

A Configuration list describes the same runs (agent, episodes, sweep, code),
with 'varies: a, b' for values that differ. The extra keys are read from the
already-filtered top-level config blocks, once per config file.
…e Reproduce

By task, By variation, Errored runs and Runs from start folded, with a count
beside each heading; the Configuration summary now comes before the
Reproduce commands.
Each model in the table links to its own page (#model/<name>) in the same
self-contained file, so served and saved copies both have them, and Back
returns to the table where it was. The page shows the model's numbers, its
Configuration and Reproduce, success by task and by variation (folding
sections, open), and every episode with its outcome, steps, seed and job
directory. Variation labels read shorter ('content=german ×7 apps'), with
the full overrides in a tooltip.
… model

The table and model pages are the <openapps-leaderboard> element: models
ranked by task success with step totals, sortable, and per model (#model=<name>)
totals, a Launch config panel (the readable Configuration above the Reproduce
commands, then the logs), a breakdown by app and layout, theme or device, and
every mistake, success and errored run with its goal and how it ended. The
data is a JSON document built from summary_info.json and config.yaml (now also
the task's goal and class, the device and how an episode ended); script,
styles and data are inline, so a saved file keeps the model pages.
…the model calls

The chat models report usage only to an active tracker, and VLLMAgent never
opened one, so summary_info.json had no stats.cum_input_tokens /
cum_output_tokens and token counts were silently dropped.
…come, Reproduce folded

A pooled mean of steps moves with the success rate (passed episodes stop
early, failed ones run toward max_steps), so every table now shows Steps ✓
and Steps ✗ separately, plus mean tokens (in + out) where runs recorded them.
The Reproduce commands start folded.
aaronsmulktis and others added 9 commits November 24, 2026 15:00
…okresearch/OpenApps into aaronsmulktis/leaderboard-preview
…README name the post-sweep switch and the cluster ssh line alike
…y_info.json + config.yaml pair, so a folder of episodes copied off a cluster ranks without re-scoring
…; Reproduce shows task_seed only when it differs
…a task in one variation and seed), and a progress line while it reads runs
…iew' into aaronsmulktis/leaderboard-preview

# Conflicts:
#	src/open_apps/results_preview/page.py
#	src/open_apps/results_preview/runs.py
#	tests/test_results_preview.py
Comment thread src/open_apps/serve.py Fixed
Comment thread src/open_apps/serve.py Fixed
…is added only when the server starts, so the printed command cannot hold the key

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants