|
Download tasks/t19-friction-tutorial-part2/README.md from refreshdotdev/Refresh-GUI-dataset: direct link, hf CLI and curl.
- Browser
- Download file 14.9 kB
-
https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t19-friction-tutorial-part2/README.md
- Command line
-
hf download hf://datasets/refreshdotdev/Refresh-GUI-dataset/tasks/t19-friction-tutorial-part2/README.md
-
curl -L -o README.md https://huggingface.co/datasets/refreshdotdev/Refresh-GUI-dataset/resolve/main/tasks/t19-friction-tutorial-part2/README.md
14.9 kB
| # t19-friction-tutorial-part2 — two-part Friction tutorial: rebuild Part One, then Part Two on top of it [Friction only, asset PENDING] | |
| **Rubric v0.2, 2026-09-21 (task.toml 0.2.0):** Part One's "Friction project | |
| saved" checkpoint is REPORTED BUT UNSCORED and its 0.10 moved into "falls | |
| straight down" (0.15 → 0.20) and "eases in" (0.10 → 0.15) — the same change | |
| t18 made as t18-render-v1, for the same reason: the ffmpeg oracle can never | |
| save a real .friction, so the oracle was capped at 0.96 and no score could be | |
| read against a reachable ceiling. Oracle now 1.0 by arithmetic (first measured | |
| end-to-end from the client sample bundle the same day). Live scores below are | |
| v0/v0.1 and were not regraded; a run that saved a project loses nothing under | |
| v0.2 and one that failed the ease check loses 0.02 more. The decoy question is | |
| still open. Part Two is unchanged. | |
| **Status 2026-09-03 evening: assets + both tutorials in at 720p, Part Two | |
| rubric v0 + ffmpeg oracle written and calibrated locally (oracle 0.96 = ceiling | |
| without a GUI-saved `.friction`). Instruction tells the agent to render | |
| scene1.mp4 BEFORE starting Part Two, because Part Two edits the Part One scene | |
| (renames it, 400 px wide, 35 frames, transparent background) — Sid chose this | |
| over a shape-tolerant Part One rubric. Launch prep for opus-5 + fable-5.1 on | |
| computer-1 in progress (`current_t19` set once pushed).** | |
| The agent gets Friction and BOTH Nuxttux tutorials as captioned video only | |
| (t18's rule): `tutorial-1.mp4` = Part One "Introduction to Friction" (t18's | |
| file — Sid's 22:34 cut, 720p) and `tutorial-2.mp4` = Part Two "Basics of | |
| Friction Motion Graphics" (27:15, **720p**, captions burned in — Sid's | |
| Chrome-cookie download 2026-09-03, captions from t17's VTT because YouTube | |
| rate-limited a fresh caption fetch). It must build Part One's | |
| eased falling drop, then, as Part Two does, import the media in `/root/media` | |
| and build Part Two's composition in the same project, rendering | |
| `/root/Desktop/scene1.mp4` (Part One) and `/root/Desktop/final.mp4` (Part Two), | |
| project at `/root/edit/project.friction`. | |
| ## What Part Two builds (from the original video, for the rubric design) | |
| Part Two imports a forest still + two clips (smoke, water splash), stacks | |
| them as layers, adds a "SPLASH" text object, clips the splash video inside | |
| the text with the DstIn blend mode (grouped and promoted to a layer so the | |
| clip is isolated), sets visibility ranges on the clips, **imports Part One's | |
| drop scene** into this scene, loops it with a frame expression, adds a shadow | |
| raster effect, duplicates the drop with visibility-range offsets and a speed | |
| expression, pushes one drop behind the text with a Z-index blend effect, and | |
| copies effect properties between objects. Which of these the rubric can grade | |
| is decided by Sid's asset mapping (2026-09-03): | |
| | tutorial source | t19 asset | role | | |
| |---|---|---| | |
| | forest still (background) | Vidsplay "Free Particle Wave Background" (KcSmPxu3B1o, 8 s, 4K original) | the background layer | | |
| | smoke clip | "Fire Background Loop 2" (cehEp9IDg44, 13 s, 1080p original) | imported in the video but NEVER used in the final — a decoy the agent must deduce it can leave out; the instruction does not say so | | |
| | water-splash clip | none — Sid: "the water splash comes from tutorial 1" | Part One's drop scene, imported into Part Two as the video does | | |
| Two outputs are required (Sid): `scene1.mp4` from Part One, then `final.mp4` | |
| combining Part One and Part Two — the tutorial itself says it already has the | |
| Part One material for the drops. Shipped in `/root/media` (720p, Sid's | |
| Chrome-cookie downloads, sha256 in `tests/source.sha256`): `particles.mp4` | |
| (the background, 8.1 s, 23.976 fps) and `flames.mp4` (the decoy, 13.3 s, | |
| 25 fps). Neutral filenames on purpose — nothing may hint which one is unused. | |
| ## Run a1 (2026-09-03, snapshot 20260903): what broke and what changed | |
| fable-5.1 **0.00** after 301 steps: it watched both tutorials in full, then | |
| lost Friction in the Scene Properties → background colour dialog (app froze, | |
| then Friction AND the tutorial browser vanished). Nothing on the desktop could | |
| be relaunched: Desktop icons need Thunar (xfdesktop delegates launching over | |
| D-Bus), the harness kills xfce4-panel, and the base crash supervisor relaunched | |
| Friction on DISPLAY=:0 while the harness desktop is :1 (opus's sandbox log: | |
| 6× "Could not load the Qt platform plugin xcb"). The agent wrote a correct | |
| step-by-step plan for both parts and marked the task complete with nothing | |
| saved. opus-5 hit the same Friction crashes but found a terminal (right-click | |
| Applications menu), relaunched, and had scene1.mp4 + project.friction by step | |
| ~500 — result pending. Snapshot **20260903b** = task-layer `start-editor.sh` | |
| (relaunch on :1 through the launcher, 10 s poll) + `xterm-autostart.desktop` | |
| (a terminal is always on screen) + Thunar via apt (build prints "thunar | |
| installed"). Friction's crash itself (colour picker with an 8-digit hex typed) | |
| is a Friction bug we cannot fix; recovery is the mitigation. | |
| ## Run a1 results (2026-09-03) | |
| opus-5 **0.78** (rubric v0, official/uploaded: | |
| https://trajectories.sh/t/717e4701-1073-401b-bfec-176f43f74c68), 854 steps, | |
| ~2 h 12 min, task_complete. Part One correct (two drops, eased fall) but | |
| rendered at the tutorial's 250 frames (8.33 s) — the t19 instruction never | |
| fixed Part One's length, so v0.1 relaxes that check. Part Two: SPLASH text | |
| (OCR 0.73), four looping drops, Friction glow — but it used **flames.mp4 as | |
| the background and clipped particles.mp4 inside the text**, the reverse of | |
| Sid's mapping (particles = background, flames = the unused clip). Under v0.1 | |
| it grades **0.85**: only the background and decoy checks fail, as intended. | |
| Also: Friction died several times on it too; it relaunched from a terminal | |
| it opened via the desktop menu, and it transcoded particles.mp4 to | |
| `particles_h264.mp4` before Friction would take it (Friction's importer vs | |
| the 23.976 fps yt-dlp mp4? — check before the next run). | |
| fable-5.1 relaunch on snapshot 20260903b (`t19-cu-fable51-20260903b-a1`): | |
| **0.78** (rubric v0.1, official/uploaded: | |
| https://trajectories.sh/t/4fd27911-dc26-43e1-b100-2d830d146ba3), 758 steps, | |
| ~2 h 44 min, task_complete. The fixed supervisor relaunched Friction twice | |
| mid-run and the agent kept going — the a1 failure mode is gone. Part Two is | |
| the strongest composite so far: particles background (teal 0.68), SPLASH text, | |
| looping drops at many heights (OCR only 0.60 because the letters are dark) — | |
| but the text is filled with **flames.mp4**, so the decoy check fires (fire | |
| hue 0.048 > 0.03; a real use, not a false positive). Part One is weak: a | |
| 10 s scene whose drop hovers in the top 30 % of the frame on a black | |
| background (y 0→30 of 108, ease 0.0) — the Y keyframes never made it off | |
| the canvas, so 4 of the Part One checks fail. | |
| **Both agents used the "unused" clip**: opus as the background, fable as the | |
| text fill. The tutorial clips a video inside the text, and the instruction | |
| says only that the splash/drops come from Part One — so with two clips on | |
| disk, both models spent the spare one somewhere. Sid's intent (flames = the | |
| clip the tutorial imports but never uses) is not recoverable from the | |
| instruction as written; decide whether to (a) keep it as a deduction test, | |
| (b) say "one clip is not needed", or (c) drop the decoy check. | |
| **Rubric v0.1** (after a1): fire-hue / teal-hue fractions replace the | |
| median-brightness tests (a dimmed fire background scored 0.000 on the old | |
| warm test), drop-sized connected components replace whole-frame blue | |
| centroids (the blue SPLASH text alone satisfied both drop checks), Part One | |
| length 1.5–12 s, `scene1.mp4` + `part2-samples.json` harvested by test.sh. | |
| Oracle unchanged at 0.96. | |
| ## Snapshot 20260904c — GUI only (Sid, 2026-09-04) | |
| "Agents cannot have access to terminal and xterm; the tasks are entirely | |
| GUI." Both a1 agents that recovered from Friction crashes did so through a | |
| terminal (opus via the desktop menu, fable via the autostarted xterm), which | |
| is not the skill under test. 20260904c purges xterm (and x-terminal-emulator, | |
| xfce4-terminal if present), removes `terminal.desktop`, the xterm autostart | |
| and every terminal menu entry, and the build asserts none remain. What is | |
| left for recovery: the :1 crash supervisor (relaunches Friction within ~15 s) | |
| and the Thunar-backed Desktop icons (Friction, Tutorial 1, Tutorial 2). Note | |
| Thunar itself is a GUI file manager — it can open files but has no terminal | |
| to hand out. Re-run c: opus-5 + fable-5.1, computer-1, jobs | |
| `t19-cu-opus5-20260904c-a1` / `t19-cu-fable51-20260904c-a1`. | |
| ### Run c (GUI only) → snapshot 20260904d | |
| opus-5 c-a1: **0.00** in 125 steps. It stepped through Tutorial 1 with the | |
| arrow keys in the HARNESS browser, typed `file:///root/tutorial/tutorial-2.mp4` | |
| into its URL bar, and that Chromium window froze for good (no repaint, no | |
| input); with no terminal it could only report and stop. Facts: the sandbox | |
| has a **64 MB /dev/shm** and no GPU; the harness launches | |
| `/usr/bin/chromium` with `--enable-gpu-rasterization` (llvmpipe). Debian's | |
| launcher sources `/etc/chromium.d/*`, so 20260904d drops | |
| `90-vedit-safe` there (`--disable-dev-shm-usage --disable-gpu | |
| --disable-gpu-compositing --disable-gpu-rasterization | |
| --disable-accelerated-video-decode --renderer-process-limit=3 …`) and gives | |
| the Tutorial launchers the same flags — the fix reaches both browsers. | |
| opus relaunched as `t19-cu-opus5-20260904d-a1`; fable c-a1 left running on c. | |
| If a browser still hangs on d, the next lever is a GUI "Reopen Tutorial" | |
| route that only restarts the tutorial-profile chromium (never the harness's — | |
| killing that ends the run via the liveness probe). | |
| fable-5.1 c-a1 (GUI only, snapshot c): **0.68**, 627 steps, task_complete, | |
| uploaded https://trajectories.sh/t/84fee63d-81b1-4021-ba0f-528c6c10998a. | |
| Friction was auto-relaunched 5× and the run survived every time with no | |
| terminal anywhere. Part One: clean blue drop, straight fall, correct timing, | |
| but a 36-frame (1.2 s) scene and no easing (ratio 0.92). Part Two: black | |
| background (particles never used, teal 0.05), SPLASH text filled with the | |
| FLAMES clip (fire hue 0.095), glowing blue drops looping at many heights. OCR | |
| read 0.00 on the dim fire letters on black although they are legible by eye | |
| (binarisation grid widened to 0.15/0.22 — still 0.00; see calibration notes). | |
| Third run in a row where the model used flames.mp4 in the composite; the | |
| decoy question stands. | |
| opus-5 d-a1 (GUI only + hardened chromium, snapshot d): **0.46**, 635 steps, | |
| task_complete, uploaded https://trajectories.sh/t/c09d67d9-3354-49c0-9fc2-706db74519dc. | |
| No browser hang this time (the d flags are the only change vs c). Part One: | |
| blue drop with a straight, well-timed fall but almost round (h/w 1.0–1.07, | |
| it deleted the top node instead of pulling it up), no easing (1.01), 36-frame | |
| scene. Part Two: SPLASH text with FLAMES clipped inside on a black background | |
| (particles left unused on purpose — its report says so), no glow, and the | |
| linked drop falls ONCE and never loops: it could not reach the frame | |
| expression because Friction's property outliner "was only two rows tall and | |
| would not scroll or resize". Friction also crashed once during a multi-file | |
| import (recovered from the saved project via the auto-relaunch). Fourth run | |
| using flames.mp4. | |
| **Where this leaves the task (2026-09-04):** the environment is now stable | |
| (no terminal, Friction auto-recovers, browsers hardened); the scores are | |
| limited by the models — GUI struggles in Friction (outliner, expressions, | |
| easing) and, consistently, the clip mapping. Highest so far: opus a1 0.78 | |
| (0.85 under v0.1) and fable b-a1 0.78, both before the GUI-only rule. | |
| ## Rubric v0.1 (tests/test_outputs.py) | |
| | share | part | checks | | |
| |---|---|---| | |
| | 0.40 | Part One (scene1.mp4) | t18's rubric unchanged, weights scaled (drop colour/shape, straight eased fall, timing, background, project saved) | | |
| | 0.60 | Part Two (final.mp4) | see below, weights within the share | | |
| Part Two proxies (each × 0.60): 0.10 exists + 1920×1080 · 0.10 duration | |
| 2.5–60 s · 0.10 motion · 0.15 background clip used (teal-hue pixels ≥ 20 % | |
| of the frame on ≥ 60 % of 24 sampled frames — particles/oracle peak 0.64–0.68, | |
| opus a1 with particles only inside the text 0.19) · 0.15 "SPLASH" legible by | |
| OCR on a binarised frame (fuzzy ≥ 0.6; textured DstIn letters defeat raw OCR, | |
| so the frame is luma-thresholded, median filtered and downscaled first — see | |
| `ocr_text`) · 0.15 drop-sized true-blue connected components (4 px–2 % of the | |
| thumb, not wider than tall; the blue text is far larger) on ≥ 3 frames · | |
| 0.15 drops keep coming (components seen over ≥ 50 % of the video at heights | |
| spanning ≥ 40 % of the frame) · 0.10 decoy unused (fire-hue pixels | |
| r > g ≥ b, r−b ≥ 10 below 3 % on every frame; flames.mp4 0.51–0.90, opus a1's | |
| dimmed fire background 0.14–0.25, oracle 0.000). | |
| Oracle (`solution/solve.sh`): t18's drop → scene1.mp4, then an ffmpeg | |
| composite — particles looped 8 s, "SPLASH" filled with a brightened copy of | |
| the background, the drop render colour-keyed, shrunk to 400 px, looped and | |
| overlaid twice with a 1 s phase offset, flames untouched. Scores **0.96** | |
| (only the two .friction checkpoints missed). Not graded: shadow effect, | |
| Z-index blend, expression-based speed change, visibility ranges — invisible | |
| to a render-only rubric; the trajectory review covers them. | |
| ## Build / run (after the asset lands) | |
| ```bash | |
| cp <asset> tasks/t19-friction-tutorial-part2/environment/media/ | |
| shasum -a 256 tasks/t19-friction-tutorial-part2/environment/media/* >> tasks/t19-friction-tutorial-part2/tests/source.sha256 | |
| tasks/t19-friction-tutorial-part2/tools/fetch-friction.sh # hard-links t16/t18's pinned artifacts | |
| tasks/t19-friction-tutorial-part2/tools/fetch-tutorial.sh # hard-links tutorial-1/2 from t18/t17 | |
| docker build --platform linux/amd64 -f tasks/t19-friction-tutorial-part2/environment/Dockerfile \ | |
| -t refresh-fcpx-t19:dev tasks/t19-friction-tutorial-part2/environment | |
| DOCKER_HOST=unix://$HOME/.colima/default/docker.sock ./suite/suite.sh run tasks/t19-friction-tutorial-part2 --env local -a oracle | |
| daytona snapshot push refresh-fcpx-t19:dev --name refresh-fcpx-env-t19-<date> -e /usr/local/bin/start-editor --cpu 4 --memory 8 --disk 10 | |
| ``` | |
| ## Pending (in order) | |
| 0. Sid: decide the decoy question above (both live runs used flames). | |
| 1. Recalibrate `part_two()` against the first real Friction renders (OCR on | |
| Friction's anti-aliased text, blue thresholds on its drop colour, the | |
| background-median test if the agent scales the particles differently). | |
| 2. Sid: GUI-saved `environment/reference/oracle.friction` → oracle 1.0. | |
| 3. Agent budget: two tutorials ≈ 50 min of video plus two scenes — task.toml | |
| gives 2400 s × 16 via run_until_reward.sh; watch the first run's step count. | |
| 4. Build, oracle, smoke, push, `current_t19`. | |