From 11a69f6354cde08b51ad7d8b0b08b1d37fd21778 Mon Sep 17 00:00:00 2001 From: mes123456 Date: Fri, 4 Dec 2026 16:07:51 +0800 Subject: [PATCH] feat(web): bind Clip acceptance receipts to a frozen candidate run-clip-headed.mjs --freeze hardlink-snapshots the served source tree into web/.frozen/CLIP-- with a sha256 manifest; --candidate refuses a tree that does not verify, and the Playwright config serves the frozen root. Receipts record servedBy, servedRoot, frozenAt and the manifest sha256, and check-clip-headed.mjs re-verifies them against disk. The full suite passes 28/28 on the frozen candidate (tests/golden/CLIP-HEADED-20261204-155221, wasm 3c81eb06, manifest 695b50c0); release acceptance stays NOT_CLAIMED. Co-Authored-By: Claude Fable 5.2 --- .gitignore | 1 + docs/web/KNOWN_LIMITATIONS.md | 12 +- docs/web/MODULE-COVERAGE.md | 4 +- .../clip-boxes-settings.json | 162 +++ .../artifacts/clip-detect/clip-detect.json | 17 + .../clip-dopesheet/clip-dopesheet.json | 6 + .../artifacts/clip-edit-web/clip-edit.json | 133 ++ .../artifacts/clip-frame-web/clip-frame.json | 48 + .../artifacts/clip-graph/clip-graph.json | 8 + .../clip-mask-edit/clip-mask-edit.json | 26 + .../clip-mask-edit/clip-mask-fixture.json | 5 + .../clip-missing-web/clip-missing.json | 38 + .../clip-plane-complete.json | 28 + .../clip-plane-drag-draft.json | 61 + .../clip-plane-drag-web/clip-plane-drag.json | 42 + .../artifacts/clip-plane-web/clip-plane.json | 116 ++ .../clip-point-motion-engine.json | 60 + .../clip-point-motion/clip-point-motion.json | 66 + .../artifacts/clip-proxy-web/clip-proxy.json | 20 + .../artifacts/clip-read-web/clip-read.json | 41 + .../clip-reopen-web/clip-reopen.json | 79 ++ .../clip-solve-command.json | 9 + .../clip-solve-settings.json | 25 + .../artifacts/clip-solve-web/clip-solve.json | 71 + .../artifacts/clip-source/clip-source.json | 26 + .../clip-stab-composite.json | 144 ++ .../artifacts/clip-stab/clip-stab.json | 68 + .../clip-track-lifecycle.json | 19 + .../clip-track-panel-reference.json | 34 + .../clip-track-panel/clip-track-panel.json | 32 + .../artifacts/clip-track-web/clip-track.json | 17 + .../clip-undistort/clip-undistort-engine.json | 95 ++ .../clip-undistort/clip-undistort.json | 99 ++ .../artifacts/clip-wiring/clip-wiring.json | 12 + .../playwright-results.json | 1238 +++++++++++++++++ .../CLIP-HEADED-20261204-155221/report.html | 1 + .../CLIP-HEADED-20261204-155221/report.json | 661 +++++++++ .../continuation-clip-solve-plane.json | 16 +- tools/web/check-clip-headed.mjs | 14 + tools/web/run-clip-headed.mjs | 144 +- web/playwright.clip.config.ts | 12 +- 41 files changed, 3683 insertions(+), 27 deletions(-) create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-boxes-settings/clip-boxes-settings.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-detect/clip-detect.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-dopesheet/clip-dopesheet.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-edit-web/clip-edit.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-frame-web/clip-frame.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-graph/clip-graph.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-edit.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-fixture.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-missing-web/clip-missing.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-complete/clip-plane-complete.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-web/clip-plane.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion-engine.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-proxy-web/clip-proxy.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-read-web/clip-read.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-reopen-web/clip-reopen.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-command-web/clip-solve-command.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-settings/clip-solve-settings.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-web/clip-solve.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-source/clip-source.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab-composite/clip-stab-composite.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab/clip-stab.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-lifecycle/clip-track-lifecycle.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel-reference.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-web/clip-track.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort-engine.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-wiring/clip-wiring.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/playwright-results.json create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/report.html create mode 100644 tests/golden/CLIP-HEADED-20261204-155221/report.json diff --git a/.gitignore b/.gitignore index 948fa5638..0dccbf921 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ mylog.txt /resource-library/ /web/node_modules/ /web/dist/ +/web/.frozen/ /web/test-results/ /web/playwright-report/ /web/blob-report/ diff --git a/docs/web/KNOWN_LIMITATIONS.md b/docs/web/KNOWN_LIMITATIONS.md index 7c12817b5..64412fe64 100644 --- a/docs/web/KNOWN_LIMITATIONS.md +++ b/docs/web/KNOWN_LIMITATIONS.md @@ -111,9 +111,15 @@ boundary; the legacy `parity-ledger.json` is historical planning data. `clip.track_copy_color` has its panel button with `CLIP_OT_track_copy_color` semantics (the active track's colour copied onto the other view-selected tracks), and plane `use_auto_keying` is exposed — with it off, a corner drag re-derives the plane through - `BKE_tracking_track_plane_from_existing_motion` instead of keying. The full suite passes 28/28 - on the dev candidate (receipt `tests/golden/CLIP-HEADED-20261204-124651`); release acceptance - stays NOT_CLAIMED. + `BKE_tracking_track_plane_from_existing_motion` instead of keying. The full suite passes 28/28 on + the dev candidate (receipt `tests/golden/CLIP-HEADED-20261204-124651`) and 28/28 on a frozen + candidate: `run-clip-headed.mjs --freeze` hardlink-snapshots the served source tree (`web/app`, + `web/protocol`, `tools/web`, `docs/web/deployment-contract.json`) and binds every file by sha256 + in `manifest.json`; `--candidate` refuses a tree that does not verify; the receipt records + `servedBy`, `servedRoot`, `frozenAt` and the manifest sha256, and `check-clip-headed.mjs` + re-verifies them against disk (receipt `tests/golden/CLIP-HEADED-20261204-155221`, manifest + `695b50c0…`, wasm `3c81eb06…`). Release acceptance stays NOT_CLAIMED until the user's hands-on + acceptance. - The per-editor cross-walk of these gaps lives in [MODULE-COVERAGE.md](MODULE-COVERAGE.md), which records one row per `EDITOR_TYPES` entry and the stable gap ids `MOD--NN`. diff --git a/docs/web/MODULE-COVERAGE.md b/docs/web/MODULE-COVERAGE.md index ad692672e..c857cb5ca 100644 --- a/docs/web/MODULE-COVERAGE.md +++ b/docs/web/MODULE-COVERAGE.md @@ -40,7 +40,7 @@ Rules: | `NLA` | NLA strip track, `wbv2-nla-stack-production` | `nla-strip-ui-production` ("moves native strips and preserves Main through failure and recovery"), `wbv2-nla-stack-production` | none dedicated | `PROVEN` | MOD-NLA-01 | | `SPREADSHEET` | Spreadsheet browser and CSV export | `web-spreadsheet-readonly` ("browses mesh data, filters columns and exports CSV without editing the Main") | none dedicated | `PROVEN` (read path) | MOD-SPREADSHEET-01 | | `TIMELINE` | Timeline area, marker rows | `action-marker-ui-production` ("Action creation, keyframes and timeline markers remain editable"), `b5-animation-ui-production` | none dedicated | `PROVEN` | MOD-ANIM-01 | -| `CLIP` | Clip editor surface: clip/track/plane lists, decoded frame canvas, marker and plane overlays, plane-track creation and corner drag, proxy build (25/50/75/100 sizes + quality) with proxy-decoded frames and on-the-fly undistortion (full-frame reads, `MCLIP_PROXY_RENDER_UNDISTORT`), camera data panel (per-model distortion coefficients), track colour copy and plane auto-keying, camera-solve status, WASM marker tracking (single-frame/sequence, both directions) and camera solve (the 26-case headed suite ran 28/28 PASS against the dev candidate, receipt `tests/golden/CLIP-HEADED-20261204-124651`; release acceptance stays `NOT_CLAIMED`) | `clip-headed-production` ("[clip-read-web] reads the tripod MovieClip", "[clip-frame-web] decodes the clip frame to RGBA pixels", "[clip-reopen-web] keeps clip identity through save and reopen", "[clip-edit-web] writes a tracking marker", "[clip-solve-web] imports the reconstruction as a camera solve", "[clip-track-web] tracks selected markers through the libmv engine", "[clip-solve-command-web] solves the camera through the engine", "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", "[clip-plane-web] creates and edits a plane track", "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", "[clip-wiring] drives the frame slider, stepping and keyframe jump", "[clip-track-lifecycle] adds, flags and deletes a track", "[clip-boxes-settings] writes pattern/search boxes and track settings", "[clip-detect] detects Harris features into new tracks", "[clip-undistort] renders the undistorted frame and exposes the camera data", "[clip-solve-settings] sets solve keyframes, scale and clears the solution", "[clip-plane-complete] runs plane keyframe, retrack, image and delete", "[clip-stab] writes stabilization settings and decodes a stabilized frame", "[clip-source] reloads, sets the scene range and relinks the source", "[clip-dopesheet] lists track keyframes in the dopesheet", "[clip-track-panel] previews the pattern, applies color presets and shows the average error", "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", "[clip-stab-composite] composites the canvas through the stabilization matrix", "[clip-graph] draws the desktop graph view and asserts knot coordinates", "[clip-mask-edit] edits mask splines on the canvas"), `clip-engine-read-production` | 26 cases (`run-clip-headed.mjs`, checked by `check-clip-headed.mjs`; receipt `NOT_CLAIMED`) | `PROVEN` | MOD-CLIP-01 | +| `CLIP` | Clip editor surface: clip/track/plane lists, decoded frame canvas, marker and plane overlays, plane-track creation and corner drag, proxy build (25/50/75/100 sizes + quality) with proxy-decoded frames and on-the-fly undistortion (full-frame reads, `MCLIP_PROXY_RENDER_UNDISTORT`), camera data panel (per-model distortion coefficients), track colour copy and plane auto-keying, camera-solve status, WASM marker tracking (single-frame/sequence, both directions) and camera solve (the 26-case headed suite ran 28/28 PASS on the dev candidate, receipt `tests/golden/CLIP-HEADED-20261204-124651`, and 28/28 on a sha256-manifest-bound frozen candidate, receipt `tests/golden/CLIP-HEADED-20261204-155221`; release acceptance stays `NOT_CLAIMED`) | `clip-headed-production` ("[clip-read-web] reads the tripod MovieClip", "[clip-frame-web] decodes the clip frame to RGBA pixels", "[clip-reopen-web] keeps clip identity through save and reopen", "[clip-edit-web] writes a tracking marker", "[clip-solve-web] imports the reconstruction as a camera solve", "[clip-track-web] tracks selected markers through the libmv engine", "[clip-solve-command-web] solves the camera through the engine", "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", "[clip-plane-web] creates and edits a plane track", "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", "[clip-wiring] drives the frame slider, stepping and keyframe jump", "[clip-track-lifecycle] adds, flags and deletes a track", "[clip-boxes-settings] writes pattern/search boxes and track settings", "[clip-detect] detects Harris features into new tracks", "[clip-undistort] renders the undistorted frame and exposes the camera data", "[clip-solve-settings] sets solve keyframes, scale and clears the solution", "[clip-plane-complete] runs plane keyframe, retrack, image and delete", "[clip-stab] writes stabilization settings and decodes a stabilized frame", "[clip-source] reloads, sets the scene range and relinks the source", "[clip-dopesheet] lists track keyframes in the dopesheet", "[clip-track-panel] previews the pattern, applies color presets and shows the average error", "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", "[clip-stab-composite] composites the canvas through the stabilization matrix", "[clip-graph] draws the desktop graph view and asserts knot coordinates", "[clip-mask-edit] edits mask splines on the canvas"), `clip-engine-read-production` | 26 cases (`run-clip-headed.mjs`, checked by `check-clip-headed.mjs`; receipt `NOT_CLAIMED`) | `PROVEN` | MOD-CLIP-01 | | `MASK` | Mask datablock readout and selection context | `tracking-mask-production` ("reads Blender Mask data and selection context"), `ui-editor-view2d-production` | none dedicated | `READBACK_OR_PROBE` | — | | `SEQUENCER` | sequencer strip list, scene strips | `sequencer-authoring-ui-production` ("edits persist in native Main with rollback and history"), `scene-strip-ui-production` | none dedicated | `PROVEN` | MOD-SEQUENCER-01 | | `TEXT` | Text datablock source editing | `wbv2-text-source-production` ("preserves Text datablock source through Main recovery and reopen") | none dedicated | `PROVEN` (datablock path) | — | @@ -69,7 +69,7 @@ Rules: | MOD-SPREADSHEET-01 | The Spreadsheet offered no edit path. Desktop has none to port: `space_spreadsheet/spreadsheet_ops.cc` registers only `add_row_filter_rule`, `remove_row_filter_rule`, `change_spreadsheet_data_source`, `resize_column`, `fit_column` and `reorder_columns`, all view operations. The web surface browses, filters, selects and exports, which matches that reader role. | None; dataset editing is not a desktop Spreadsheet feature. | `blender-5.2.0/source/blender/editors/space_spreadsheet/spreadsheet_ops.cc`; `web/tests/e2e/web-spreadsheet-readonly.spec.ts` | RESIDUAL | P3 | `RESOLVED` | | MOD-ANIM-01 | Keyframe evidence stops at "an action datablock appeared": the Outliner tree exposes no fcurve or keyframe counts, so no count assertion is made. | Reviewers cannot confirm key counts from the tree. | `docs/web/KNOWN_LIMITATIONS.md` keyframe bullet; `outliner-keyframe-keys-web` | RESIDUAL | P3 | `FROZEN` | | MOD-DOPESHEET-01 | The Dope Sheet is exercised only through animation specs that assert on other surfaces. | A Dope Sheet regression could pass the suite. | `web/tests/e2e/b5-animation-ui-production.spec.ts` | RESIDUAL | P3 | `PARTIAL` | -| MOD-CLIP-01 | The blend reader parses every `bMovieClip`: source path, frame range, point tracks with markers (pattern/search rects, keyframe/muted flags), plane tracks and the Scene clip binding are exported through `trackingMasks.clips`/`bindings`; degenerate marker rects from freshly inserted markers are widened so the strict protocol accepts them. The protocol gained `sourceStatus` (AVAILABLE/MISSING/UNREADABLE) with optional digest, path and fps; the API resolves `//` sources against the Blend location and hashes the file. The pinned WASM FFmpeg builds video decoders plus swscale, so `BKE_movieclip_get_size/get_duration/get_fps` merge real metadata (with `GlobalMainScope`, the relative-path resolution) and `clipFrame` returns RGBA pixels. The Clip editor surface lists clips/tracks, decodes frames, overlays markers/plane tracks, and writes marker add/update/mute/delete through the shared bpy command module (`clipEditorCommands.ts`); the Properties tracking panel now reads clip and track rows from the same snapshot instead of a second bpy query. Camera solve is imported: the reader emits each tracking object's `reconstruction` (flag, average error, camera focal and principal point, solved frame list) and `enrich_tracking_clip_sources` converts it to `cameraSolve` — `SOLVED` only when the source resolves and the solved-frame list is non-empty, bound to the source digest with a `settingsHash` over the normalised solve settings, `FAILED` when the solve exists without cameras, otherwise omitted as `NONE`; the parser now accepts `NONE`/`FAILED` without a digest. Plane tracks are editable: `createPlaneTrack` deselects the tracking object's tracks, selects the requested point tracks in native Main and calls `BKE_tracking_plane_track_add` at the chosen frame (the desktop `CLIP_OT_create_plane_track` needs a SpaceClip the engine surface does not own), and corner edits drag the selected quad on the canvas and write `marker.corners` through `planeMarkerWriteSource`. The headed UI case exposed two defects, both fixed: the Clip surface was gated on `localOnly`, so the web UI rendered every edit control disabled even though the local engine client was present, and the bpy write calls passed the App handler's optional `apply` flag where the surface meant "console", so a successful write never applied the refreshed snapshot and the canvas snapped back to the old corners. Clip proxies are built in the WASM engine: the `rebuildClipProxies` command validates 25/50/75/100 percentages (1–4) and quality, sets `MCLIP_USE_PROXY` and `build_size_flag`, and runs `MOV_proxy_builder_*` synchronously inside the engine using the same history/refresh/invariant pattern as the other clip commands. Because the pinned Web FFmpeg has no H.264 encoder and no MP4 muxer, `movie_proxy_indexer.cc` is guarded under `WITH_WEB` to encode MJPEG into Matroska with qscale options (the same reader decodes it); `clipFrame` takes a `proxySize` and decodes at 25/50/75/100 with `MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER` so missing proxies fall back to the source. The reader exports each clip's `proxy` object (enabled flag from `MCLIP_USE_PROXY`, build-size bitmask, quality), the protocol validates it, and the Clip editor shows size checkboxes, a quality field, a Build button and a decode-size selector. The proxy headed case (`[clip-proxy-web]`) is written but has not been run. Browser-side tracking and solving are no longer gated: `WITH_LIBMV` is enabled for the web build, with Ceres and Abseil compiled for the same WASM ABI by `tools/web/build-webengine-ceres.py` (both source packages come from the pinned `blender-with-libraries-5.2.0.tar.xz`, Eigen from `extern/eigen3`, gflags and glog from `extern/`, plus a new single-threaded `extern/glog/src/config_emscripten.h`). The `trackMarkers` command mirrors `CLIP_OT_track_markers` (selected/unlocked tracks, `frames_limit`, one-frame or scene-sequence range, `BKE_autotrack_context_start/step/sync/finish`) and `solveCamera` mirrors `CLIP_OT_solve_camera` (`BKE_tracking_reconstruction_check/context_new/solve/finish`, scene clip binding and camera transfer through `BKE_tracking_camera_to_blender`); both follow the canonical history/refresh/invariant pattern and are wired through the protocol, the worker command set, `WebEngineClient` and the Clip editor (跟踪 ←/→ 单帧, ←/→ 序列, 求解相机). The tracking, solve and proxy headed cases (`[clip-track-web]`, `[clip-solve-command-web]`, `[clip-proxy-web]`) ran in the authorized acceptance stage and passed with the rest of the suite in `tests/golden/CLIP-HEADED-20261204-052513`; that receipt binds a dev candidate, so release acceptance remains `NOT_CLAIMED`. Desktop Blender 5.2 has no Clip movie-export operator (every `CLIP_OT_*` idname was enumerated and none exports a movie), so movie export is not a porting gap. The authorized acceptance runs executed the 25-case headed suite (27/27 PASS, receipt `tests/golden/CLIP-HEADED-20261204-082003`, wasm sha256 `3dfc96fe…`, check `status PASS` / `acceptance NOT_CLAIMED`) and the residual-closure pass added Graph knot coordinates, the stabilized pixel composite, the synthetic-point-motion case and the Track-panel scopes/presets/average-error widgets; the reader block-collision defect the earlier run exposed is fixed. The subsequent undistortion pass added the `clipFrame` `undistort` flag (honoured only for full-frame reads, mirroring `need_undistortion_postprocess`), per-model distortion-coefficient exports and the Camera Data panel, the `[clip-undistort]` headed case (border-concentrated pixel difference plus an identity check with zeroed k1..k3), the `CLIP_OT_track_copy_color` panel button, and plane `use_auto_keying` with the off-path re-deriving the plane through `BKE_tracking_track_plane_from_existing_motion`. The suite then ran 28/28 PASS (receipt `tests/golden/CLIP-HEADED-20261204-124651`, wasm sha256 `3c81eb06…`). Remaining: user hands-on acceptance and a frozen-candidate rerun; the Clip limits in `docs/web/KNOWN_LIMITATIONS.md` now record only graph drawing parity, the bounded stabilization pixel coverage and the deliberate `CLIP_STABILIZATION_NONFINITE` hardening divergence. | Missing footage keeps the clip visible with `MISSING` and no digest, matching desktop; frame decode reports `CLIP_FRAME_UNAVAILABLE` instead of a blank frame. | `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp` `clip_from_record`; `web_engine_api.cpp` `enrich_tracking_clip_sources` + `clipFrame`; `web_engine_main_state.cpp` movieclip merge/frame; `tools/web/build-webengine-ffmpeg.py`; `web/protocol/tracking-mask.ts`; `web/app/src/app/ClipEditorSurface.tsx`; `web/app/src/tracking/clipEditorCommands.ts`; `web/app/src/app/TrackingMaskPanel.tsx`; `web/tests/e2e/clip-*-production.spec.ts`; `tools/web/run-clip-headed.mjs` / `check-clip-headed.mjs` (headed receipt, NOT_CLAIMED) | RESIDUAL | P3 | `PARTIAL` | +| MOD-CLIP-01 | The blend reader parses every `bMovieClip`: source path, frame range, point tracks with markers (pattern/search rects, keyframe/muted flags), plane tracks and the Scene clip binding are exported through `trackingMasks.clips`/`bindings`; degenerate marker rects from freshly inserted markers are widened so the strict protocol accepts them. The protocol gained `sourceStatus` (AVAILABLE/MISSING/UNREADABLE) with optional digest, path and fps; the API resolves `//` sources against the Blend location and hashes the file. The pinned WASM FFmpeg builds video decoders plus swscale, so `BKE_movieclip_get_size/get_duration/get_fps` merge real metadata (with `GlobalMainScope`, the relative-path resolution) and `clipFrame` returns RGBA pixels. The Clip editor surface lists clips/tracks, decodes frames, overlays markers/plane tracks, and writes marker add/update/mute/delete through the shared bpy command module (`clipEditorCommands.ts`); the Properties tracking panel now reads clip and track rows from the same snapshot instead of a second bpy query. Camera solve is imported: the reader emits each tracking object's `reconstruction` (flag, average error, camera focal and principal point, solved frame list) and `enrich_tracking_clip_sources` converts it to `cameraSolve` — `SOLVED` only when the source resolves and the solved-frame list is non-empty, bound to the source digest with a `settingsHash` over the normalised solve settings, `FAILED` when the solve exists without cameras, otherwise omitted as `NONE`; the parser now accepts `NONE`/`FAILED` without a digest. Plane tracks are editable: `createPlaneTrack` deselects the tracking object's tracks, selects the requested point tracks in native Main and calls `BKE_tracking_plane_track_add` at the chosen frame (the desktop `CLIP_OT_create_plane_track` needs a SpaceClip the engine surface does not own), and corner edits drag the selected quad on the canvas and write `marker.corners` through `planeMarkerWriteSource`. The headed UI case exposed two defects, both fixed: the Clip surface was gated on `localOnly`, so the web UI rendered every edit control disabled even though the local engine client was present, and the bpy write calls passed the App handler's optional `apply` flag where the surface meant "console", so a successful write never applied the refreshed snapshot and the canvas snapped back to the old corners. Clip proxies are built in the WASM engine: the `rebuildClipProxies` command validates 25/50/75/100 percentages (1–4) and quality, sets `MCLIP_USE_PROXY` and `build_size_flag`, and runs `MOV_proxy_builder_*` synchronously inside the engine using the same history/refresh/invariant pattern as the other clip commands. Because the pinned Web FFmpeg has no H.264 encoder and no MP4 muxer, `movie_proxy_indexer.cc` is guarded under `WITH_WEB` to encode MJPEG into Matroska with qscale options (the same reader decodes it); `clipFrame` takes a `proxySize` and decodes at 25/50/75/100 with `MCLIP_PROXY_RENDER_USE_FALLBACK_RENDER` so missing proxies fall back to the source. The reader exports each clip's `proxy` object (enabled flag from `MCLIP_USE_PROXY`, build-size bitmask, quality), the protocol validates it, and the Clip editor shows size checkboxes, a quality field, a Build button and a decode-size selector. The proxy headed case (`[clip-proxy-web]`) is written but has not been run. Browser-side tracking and solving are no longer gated: `WITH_LIBMV` is enabled for the web build, with Ceres and Abseil compiled for the same WASM ABI by `tools/web/build-webengine-ceres.py` (both source packages come from the pinned `blender-with-libraries-5.2.0.tar.xz`, Eigen from `extern/eigen3`, gflags and glog from `extern/`, plus a new single-threaded `extern/glog/src/config_emscripten.h`). The `trackMarkers` command mirrors `CLIP_OT_track_markers` (selected/unlocked tracks, `frames_limit`, one-frame or scene-sequence range, `BKE_autotrack_context_start/step/sync/finish`) and `solveCamera` mirrors `CLIP_OT_solve_camera` (`BKE_tracking_reconstruction_check/context_new/solve/finish`, scene clip binding and camera transfer through `BKE_tracking_camera_to_blender`); both follow the canonical history/refresh/invariant pattern and are wired through the protocol, the worker command set, `WebEngineClient` and the Clip editor (跟踪 ←/→ 单帧, ←/→ 序列, 求解相机). The tracking, solve and proxy headed cases (`[clip-track-web]`, `[clip-solve-command-web]`, `[clip-proxy-web]`) ran in the authorized acceptance stage and passed with the rest of the suite in `tests/golden/CLIP-HEADED-20261204-052513`; that receipt binds a dev candidate, so release acceptance remains `NOT_CLAIMED`. Desktop Blender 5.2 has no Clip movie-export operator (every `CLIP_OT_*` idname was enumerated and none exports a movie), so movie export is not a porting gap. The authorized acceptance runs executed the 25-case headed suite (27/27 PASS, receipt `tests/golden/CLIP-HEADED-20261204-082003`, wasm sha256 `3dfc96fe…`, check `status PASS` / `acceptance NOT_CLAIMED`) and the residual-closure pass added Graph knot coordinates, the stabilized pixel composite, the synthetic-point-motion case and the Track-panel scopes/presets/average-error widgets; the reader block-collision defect the earlier run exposed is fixed. The subsequent undistortion pass added the `clipFrame` `undistort` flag (honoured only for full-frame reads, mirroring `need_undistortion_postprocess`), per-model distortion-coefficient exports and the Camera Data panel, the `[clip-undistort]` headed case (border-concentrated pixel difference plus an identity check with zeroed k1..k3), the `CLIP_OT_track_copy_color` panel button, and plane `use_auto_keying` with the off-path re-deriving the plane through `BKE_tracking_track_plane_from_existing_motion`. The suite then ran 28/28 PASS on the dev candidate (receipt `tests/golden/CLIP-HEADED-20261204-124651`, wasm sha256 `3c81eb06…`) and 28/28 on a sha256-manifest-bound frozen candidate (receipt `tests/golden/CLIP-HEADED-20261204-155221`). Remaining: user hands-on acceptance; the Clip limits in `docs/web/KNOWN_LIMITATIONS.md` now record only graph drawing parity, the bounded stabilization pixel coverage and the deliberate `CLIP_STABILIZATION_NONFINITE` hardening divergence. | Missing footage keeps the clip visible with `MISSING` and no digest, matching desktop; frame decode reports `CLIP_FRAME_UNAVAILABLE` instead of a blank frame. | `blender-5.2.0/source/blender/web_engine/web_engine_blend_reader.cpp` `clip_from_record`; `web_engine_api.cpp` `enrich_tracking_clip_sources` + `clipFrame`; `web_engine_main_state.cpp` movieclip merge/frame; `tools/web/build-webengine-ffmpeg.py`; `web/protocol/tracking-mask.ts`; `web/app/src/app/ClipEditorSurface.tsx`; `web/app/src/tracking/clipEditorCommands.ts`; `web/app/src/app/TrackingMaskPanel.tsx`; `web/tests/e2e/clip-*-production.spec.ts`; `tools/web/run-clip-headed.mjs` / `check-clip-headed.mjs` (headed receipt, NOT_CLAIMED) | RESIDUAL | P3 | `PARTIAL` | | MOD-INFO-01 | The Info editor has no dedicated case; operator reports are read through other surfaces. | Info report rows are unverified. | `web/tests/e2e` inventory | RESIDUAL | P3 | `OPEN` | ## Sources reused diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-boxes-settings/clip-boxes-settings.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-boxes-settings/clip-boxes-settings.json new file mode 100644 index 000000000..e9355b068 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-boxes-settings/clip-boxes-settings.json @@ -0,0 +1,162 @@ +{ + "clipName": "tripod-motion.avi", + "trackId": "track:0:0", + "frame": 0, + "center": [ + 0.26773643493652344, + 0.6192034482955933 + ], + "patternMin": [ + 0.22773643493652343, + 0.5892034482955932 + ], + "patternMax": [ + 0.3077364349365234, + 0.6492034482955933 + ], + "searchMin": [ + 0.18773643493652342, + 0.5492034482955932 + ], + "searchMax": [ + 0.34773643493652345, + 0.6892034482955933 + ], + "boxed": { + "patternMin": [ + 0.2277364432811737, + 0.5892034769058228 + ], + "patternMax": [ + 0.30773642659187317, + 0.6492034196853638 + ], + "searchMin": [ + 0.18773643672466278, + 0.5492034554481506 + ], + "searchMax": [ + 0.3477364182472229, + 0.6892034411430359 + ] + }, + "writtenSettings": { + "algorithm": 9, + "color": [ + 0.25, + 0.5, + 0.75, + 1 + ], + "framesLimit": 60, + "margin": 20, + "minimumCorrelation": 0.8500000238418579, + "motionModel": 3, + "patternMatch": 1, + "useAlphaPreview": true, + "useBlueChannel": true, + "useCustomColor": true, + "useGrayscalePreview": true, + "useGreenChannel": true, + "useRedChannel": false, + "weight": 0.5, + "weightStab": 0.8999999761581421 + }, + "appliedSettings": [ + { + "algorithm": 9, + "color": [ + 0.25, + 0.5, + 0.75, + 1 + ], + "framesLimit": 60, + "margin": 20, + "minimumCorrelation": 0.699999988079071, + "motionModel": 2, + "patternMatch": 1, + "useAlphaPreview": true, + "useBlueChannel": true, + "useCustomColor": true, + "useGrayscalePreview": true, + "useGreenChannel": true, + "useRedChannel": false, + "weight": 0.5, + "weightStab": 0.8999999761581421 + }, + { + "algorithm": 5, + "color": [ + 0, + 0, + 0, + 1 + ], + "framesLimit": 0, + "margin": 0, + "minimumCorrelation": 0.699999988079071, + "motionModel": 2, + "patternMatch": 1, + "useAlphaPreview": false, + "useBlueChannel": true, + "useCustomColor": false, + "useGrayscalePreview": false, + "useGreenChannel": true, + "useRedChannel": true, + "weight": 1, + "weightStab": 1 + } + ], + "defaults": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 5, + "defaultFramesLimit": 30, + "defaultMargin": 12, + "defaultMinimumCorrelation": 0.800000011920929, + "defaultMotionModel": 2, + "defaultPatternMatch": 1, + "defaultPatternSize": 64, + "defaultSearchSize": 80, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.07100000232458115, + "k2": 0, + "k3": 0, + "motionFlag": 1, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 5, + "sensorWidth": 35, + "units": 1 + }, + "states": [ + "DONE", + "DONE", + "DONE", + "DONE" + ], + "pythonErrors": [ + null, + null, + null, + null + ], + "pythonOutputs": [ + "", + "", + "", + "" + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-detect/clip-detect.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-detect/clip-detect.json new file mode 100644 index 000000000..585a3c38e --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-detect/clip-detect.json @@ -0,0 +1,17 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 4, + "localFrame": 4, + "before": 7, + "after": 48, + "createdTracks": 41, + "selected": 41, + "withMarker": 47, + "locrot": { + "sourceStatus": "AVAILABLE", + "before": 1, + "after": 2, + "createdTracks": 1, + "selected": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-dopesheet/clip-dopesheet.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-dopesheet/clip-dopesheet.json new file mode 100644 index 000000000..cbd842a37 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-dopesheet/clip-dopesheet.json @@ -0,0 +1,6 @@ +{ + "title": "帧 1", + "rows": 7, + "keys": 283, + "current": "true" +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-edit-web/clip-edit.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-edit-web/clip-edit.json new file mode 100644 index 000000000..22c26b3c7 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-edit-web/clip-edit.json @@ -0,0 +1,133 @@ +{ + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "result": { + "inserted": { + "frame": 148, + "keyframe": true, + "muted": false, + "patternCorners": [ + [ + 0.24192708730697632, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7643518447875977 + ], + [ + 0.24192708730697632, + 0.7643518447875977 + ] + ], + "patternMax": [ + 0.2580729126930237, + 0.7643518447875977 + ], + "patternMin": [ + 0.24192708730697632, + 0.7356481552124023 + ], + "position": [ + 0.25, + 0.75 + ], + "searchMax": [ + 0.25099998712539673, + 0.7509999871253967 + ], + "searchMin": [ + 0.24899999797344208, + 0.7490000128746033 + ], + "selected": false + }, + "persisted": { + "frame": 148, + "keyframe": true, + "muted": false, + "patternCorners": [ + [ + 0.24192708730697632, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7356481552124023 + ], + [ + 0.2580729126930237, + 0.7643518447875977 + ], + [ + 0.24192708730697632, + 0.7643518447875977 + ] + ], + "patternMax": [ + 0.2580729126930237, + 0.7643518447875977 + ], + "patternMin": [ + 0.24192708730697632, + 0.7356481552124023 + ], + "position": [ + 0.25, + 0.75 + ], + "searchMax": [ + 0.25099998712539673, + 0.7509999871253967 + ], + "searchMin": [ + 0.24899999797344208, + 0.7490000128746033 + ], + "selected": false + }, + "removed": null, + "pythonState": "DONE", + "pythonOutput": "" + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-frame-web/clip-frame.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-frame-web/clip-frame.json new file mode 100644 index 000000000..29f3d92b2 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-frame-web/clip-frame.json @@ -0,0 +1,48 @@ +{ + "mode": "frame", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "decoded": { + "width": 1920, + "height": 1080, + "byteLength": 8294400, + "minimum": 6, + "maximum": 255 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-graph/clip-graph.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-graph/clip-graph.json new file mode 100644 index 000000000..54e83c9af --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-graph/clip-graph.json @@ -0,0 +1,8 @@ +{ + "points": 22, + "before": 1, + "after": 22, + "sampleTitle": "track:0:0 · 帧 22 · -1.498", + "frameStart": 1, + "sceneEnd": 48 +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-edit.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-edit.json new file mode 100644 index 000000000..216175804 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-edit.json @@ -0,0 +1,26 @@ +{ + "fixture": { + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/clip-mask-fixture.blend", + "sha256": "a1e0e9ace513e958734b2f4f8306686a642897aa923a530f13109a28221f4263", + "masks": [ + { + "id": "mask:E2E_Mask", + "name": "E2E_Mask", + "splines": 1, + "points": [ + 3 + ] + } + ] + }, + "ui": { + "maskValue": "mask:E2E_Mask", + "createdStatus": "已新建蒙版样条", + "toggledStatus": "已取消循环", + "deletedStatus": "已删除蒙版样条", + "points": [ + 0.3, + 0.3 + ] + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-fixture.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-fixture.json new file mode 100644 index 000000000..c190c5066 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-mask-edit/clip-mask-fixture.json @@ -0,0 +1,5 @@ +{ + "pythonState": "DONE", + "pythonError": null, + "pythonOutput": "" +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-missing-web/clip-missing.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-missing-web/clip-missing.json new file mode 100644 index 000000000..95a502f03 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-missing-web/clip-missing.json @@ -0,0 +1,38 @@ +{ + "mode": "missing", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "MISSING", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-complete/clip-plane-complete.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-complete/clip-plane-complete.json new file mode 100644 index 000000000..b38d5f4c9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-complete/clip-plane-complete.json @@ -0,0 +1,28 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 11, + "planeId": "plane-track:0:0", + "planeName": "Plane Track", + "beforeCount": 0, + "afterCreateCount": 1, + "beforeKeys": 1, + "keyedKeys": 2, + "insertedCorners": 4, + "retrackAffected": 1, + "imageAffected": 1, + "imagePlaneKeys": 23, + "deleteAffected": 1, + "afterDelete": 0, + "ops": [ + "keyframe", + "retrack", + "createImage", + "deletePlane" + ], + "autoKey": { + "onState": "DONE", + "offState": "DONE", + "on": true, + "off": true + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json new file mode 100644 index 000000000..a38757a0b --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag-draft.json @@ -0,0 +1,61 @@ +{ + "before": [ + [ + 0.25966352224349976, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "draft": [ + [ + 0.15, + 0.15000000000000002 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "afterUp": [ + [ + 0.15000000596046448, + 0.15000000596046448 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "editError": null, + "target": [ + 0.15, + 0.15 + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag.json new file mode 100644 index 000000000..beda90584 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-drag-web/clip-plane-drag.json @@ -0,0 +1,42 @@ +{ + "before": [ + [ + 0.25966352224349976, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "after": [ + [ + 0.15000000596046448, + 0.15000000596046448 + ], + [ + 0.909848153591156, + 0.22705364227294922 + ], + [ + 0.909848153591156, + 0.9095340967178345 + ], + [ + 0.25966352224349976, + 0.9095340967178345 + ] + ], + "target": [ + 0.15, + 0.15 + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-web/clip-plane.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-web/clip-plane.json new file mode 100644 index 000000000..f13964a38 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-plane-web/clip-plane.json @@ -0,0 +1,116 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "frame": 11, + "beforeCount": 0, + "createdName": "Plane Track", + "afterCount": 1, + "plane": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.23360511660575867, + 0.2327895164489746 + ], + [ + 0.8826074600219727, + 0.2327895164489746 + ], + [ + 0.8826074600219727, + 0.910973072052002 + ], + [ + 0.23360511660575867, + 0.910973072052002 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "edited": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.20000000298023224, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.800000011920929 + ], + [ + 0.20000000298023224, + 0.800000011920929 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "persisted": { + "hidden": false, + "id": "plane-track:0:0", + "keyframes": [ + { + "corners": [ + [ + 0.20000000298023224, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.20000000298023224 + ], + [ + 0.800000011920929, + 0.800000011920929 + ], + [ + 0.20000000298023224, + 0.800000011920929 + ] + ], + "frame": 11 + } + ], + "name": "Plane Track", + "pointTrackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3" + ], + "selected": false, + "useAutoKeying": false + }, + "writeFrame": 11 +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion-engine.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion-engine.json new file mode 100644 index 000000000..c9cc04966 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion-engine.json @@ -0,0 +1,60 @@ +{ + "clipId": "movieclip:01.png", + "name": "01.png", + "width": 51, + "height": 51, + "frameStart": 1, + "sourceStatus": "AVAILABLE", + "track": { + "name": "Track", + "markerCount": 7, + "markerFrames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "position": [ + 0.5, + 0.5 + ], + "corners": [ + [ + 0.3529411554336548, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.6470588445663452 + ], + [ + 0.3529411554336548, + 0.6470588445663452 + ] + ], + "muted": true + }, + "decoded": [ + { + "sceneFrame": 1, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "266b448fde7f423f5b8ad48c85da165614d175902d7d73cca46d5421f9a664e1" + }, + { + "sceneFrame": 3, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "89a686a4517f5393bc93fe1ae4f3de24979228fdc8fad73321779dba2059e6bd" + } + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion.json new file mode 100644 index 000000000..132c0faf7 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-point-motion/clip-point-motion.json @@ -0,0 +1,66 @@ +{ + "engine": { + "clipId": "movieclip:01.png", + "name": "01.png", + "width": 51, + "height": 51, + "frameStart": 1, + "sourceStatus": "AVAILABLE", + "track": { + "name": "Track", + "markerCount": 7, + "markerFrames": [ + 0, + 1, + 2, + 3, + 4, + 5, + 6 + ], + "position": [ + 0.5, + 0.5 + ], + "corners": [ + [ + 0.3529411554336548, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.3529411554336548 + ], + [ + 0.6470588445663452, + 0.6470588445663452 + ], + [ + 0.3529411554336548, + 0.6470588445663452 + ] + ], + "muted": true + }, + "decoded": [ + { + "sceneFrame": 1, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "266b448fde7f423f5b8ad48c85da165614d175902d7d73cca46d5421f9a664e1" + }, + { + "sceneFrame": 3, + "width": 51, + "height": 51, + "byteLength": 10404, + "digest": "89a686a4517f5393bc93fe1ae4f3de24979228fdc8fad73321779dba2059e6bd" + } + ] + }, + "placeholder": { + "remaining": 0, + "message": "" + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-proxy-web/clip-proxy.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-proxy-web/clip-proxy.json new file mode 100644 index 000000000..061998847 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-proxy-web/clip-proxy.json @@ -0,0 +1,20 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "sourceWidth": 1920, + "frame": 11, + "sizes": [ + 25 + ], + "proxy": { + "buildSizes": 1, + "enabled": true, + "quality": 75 + }, + "decoded": { + "width": 480, + "height": 270, + "byteLength": 518400, + "minimum": 14, + "maximum": 255 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-read-web/clip-read.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-read-web/clip-read.json new file mode 100644 index 000000000..1aad1c50a --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-read-web/clip-read.json @@ -0,0 +1,41 @@ +{ + "mode": "read", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-reopen-web/clip-reopen.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-reopen-web/clip-reopen.json new file mode 100644 index 000000000..1e44c6f09 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-reopen-web/clip-reopen.json @@ -0,0 +1,79 @@ +{ + "mode": "reopen", + "clip": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + }, + "reopened": { + "clipId": "movieclip:tripod-motion.avi", + "name": "tripod-motion.avi", + "sourcePath": "//footage/tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "width": 1920, + "height": 1080, + "frameStart": 1, + "frameEnd": 48, + "fpsNumerator": 2400, + "fpsDenominator": 1000, + "trackIds": [ + "track:0:0", + "track:0:1", + "track:0:2", + "track:0:3", + "track:0:4", + "track:0:5", + "track:0:6" + ], + "markerFrames": [ + 24, + 50, + 41, + 38, + 50, + 30, + 50 + ], + "planeTrackCount": 0, + "planeTrackIds": [], + "planePointTrackCounts": [], + "planeKeyframeCounts": [], + "cameraSolveStatus": "NONE", + "cameraSolveFrames": 0, + "bindingCount": 1 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-command-web/clip-solve-command.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-command-web/clip-solve-command.json new file mode 100644 index 000000000..72cf9c5b4 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-command-web/clip-solve-command.json @@ -0,0 +1,9 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "beforeStatus": "SOLVED", + "reprojectionError": 0.08359552174806595, + "solvedFrames": 50, + "snapshotStatus": "SOLVED", + "snapshotFrames": 50, + "sourceStatus": "AVAILABLE" +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-settings/clip-solve-settings.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-settings/clip-solve-settings.json new file mode 100644 index 000000000..85102bbb5 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-settings/clip-solve-settings.json @@ -0,0 +1,25 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "frameStart": 1, + "frameA": 3, + "frameB": 21, + "selectState": "DONE", + "expectedA": 3, + "expectedB": 21, + "keyframeA": 3, + "keyframeB": 21, + "beforeStatus": "SOLVED", + "scaleAffected": 1, + "applyAffected": 2, + "scaleValue": 3.005035400390625, + "clearAffected": 7, + "status": "NONE", + "solvedFrames": 0, + "ops": [ + "setKeyframe", + "setKeyframe", + "setScale", + "applyScale", + "clearSolution" + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-web/clip-solve.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-web/clip-solve.json new file mode 100644 index 000000000..cfcefb7ef --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-solve-web/clip-solve.json @@ -0,0 +1,71 @@ +{ + "clipId": "movieclip:synthetic-tripod-motion.avi", + "sourceStatus": "AVAILABLE", + "sourceSha256": "5c2db4935f28ade02d655e395a107ca995ebc84ff3ae242e3c762eb32abcc7ba", + "cameraSolve": { + "focalLength": 1050, + "keyframeA": 1, + "keyframeB": 30, + "principalPoint": [ + 0, + 0 + ], + "reprojectionError": 0.08359552174806595, + "scale": 1, + "settingsHash": "9e6883db72700b629867c617f6e1853198d95c469d34ee8179adaef9ed09e8ae", + "solvedFrames": [ + 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, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, + 50 + ], + "sourceSha256": "5c2db4935f28ade02d655e395a107ca995ebc84ff3ae242e3c762eb32abcc7ba", + "status": "SOLVED" + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-source/clip-source.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-source/clip-source.json new file mode 100644 index 000000000..ab090232c --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-source/clip-source.json @@ -0,0 +1,26 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "initial": { + "sourceStatus": "AVAILABLE", + "frameStart": 1, + "frameEnd": 48 + }, + "reloadOp": "reload", + "reloadAffected": 1, + "setFramesOp": "setSceneFrames", + "sceneRange": { + "frameStart": 1, + "frameEnd": 48 + }, + "frameClipRange": { + "frameStart": 1, + "frameEnd": 48 + }, + "missingStatus": "MISSING", + "restoredStatus": "AVAILABLE", + "restoredSha": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a", + "bundle": { + "sourceStatus": "MISSING", + "trackCount": 71 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab-composite/clip-stab-composite.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab-composite/clip-stab-composite.json new file mode 100644 index 000000000..3f29ba633 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab-composite/clip-stab-composite.json @@ -0,0 +1,144 @@ +{ + "frames": [ + { + "stableMae": 0.22868786357893203, + "identityMae": 44.58087027914601, + "compared": 17052, + "skipped": 0, + "frame": 13, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.03348970413208, + -0.014949291944503784, + 0, + 0, + 0.014949291944503784, + 2.03348970413208, + 0, + 0, + 0, + 0, + 1, + 0, + -1621.7882080078125, + -509.13494873046875, + 0, + 1 + ], + "translation": [ + -1621.7882080078125, + -509.13494873046875 + ] + }, + { + "stableMae": 0.2270545010870637, + "identityMae": 45.94927281257322, + "compared": 17052, + "skipped": 0, + "frame": 25, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.0793862342834473, + -0.07884092628955841, + 0, + 0, + 0.07884092628955841, + 2.0793862342834473, + 0, + 0, + 0, + 0, + 1, + 0, + -659.7032470703125, + -454.44219970703125, + 0, + 1 + ], + "translation": [ + -659.7032470703125, + -454.44219970703125 + ] + }, + { + "stableMae": 0.2327601406075628, + "identityMae": 51.97448007291393, + "compared": 16092, + "skipped": 960, + "frame": 36, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.144941568374634, + -0.10405347496271133, + 0, + 0, + 0.10405347496271133, + 2.144941568374634, + 0, + 0, + 0, + 0, + 1, + 0, + 53.514404296875, + -469.3504638671875, + 0, + 1 + ], + "translation": [ + 53.514404296875, + -469.3504638671875 + ] + }, + { + "stableMae": 0.2287394747064246, + "identityMae": 47.20301282805668, + "compared": 16994, + "skipped": 58, + "frame": 46, + "width": 1920, + "height": 1080, + "canvas": { + "width": 1920, + "height": 1080 + }, + "matrix": [ + 2.013568162918091, + -0.11128196120262146, + 0, + 0, + 0.11128196120262146, + 2.013568162918091, + 0, + 0, + 0, + 0, + 1, + 0, + -57.4482421875, + -385.4058837890625, + 0, + 1 + ], + "translation": [ + -57.4482421875, + -385.4058837890625 + ] + } + ] +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab/clip-stab.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab/clip-stab.json new file mode 100644 index 000000000..994137a3e --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-stab/clip-stab.json @@ -0,0 +1,68 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "pythonState": "DONE", + "settings": { + "anchorFrame": 12, + "autoscale": true, + "enabled": true, + "filter": 1, + "locinf": 0.800000011920929, + "maxscale": 1.5, + "rotinf": 0.5, + "scale": 1, + "scaleinf": 0.5, + "showStabTracks": true, + "targetPos": [ + 0.5, + 0.5 + ], + "targetRot": 0.10000000149011612, + "totalRotationTracks": 0, + "totalTracks": 0, + "useRotation": true, + "useScale": true + }, + "flaggedTrack": { + "useStab": true, + "useStabRot": true + }, + "counts": { + "totalTracks": 1, + "totalRotationTracks": 1 + }, + "stabilization": { + "translation": [ + 499.416015625, + 561.0093994140625 + ], + "scale": 1.4904385805130005, + "angle": 0.10078686475753784, + "matrix": [ + 1.482875108718872, + 0.1499624401330948, + 0, + 0, + -0.1499624401330948, + 1.482875108718872, + 0, + 0, + 0, + 0, + 1, + 0, + 116.835693359375, + 156.29290771484375, + 0, + 1 + ] + }, + "decodeError": null, + "rawStabilization": null, + "decodedWidth": 1920, + "fixture": { + "sourceStatus": "MISSING", + "width": 960, + "anchorFrame": 1, + "hasSettings": true + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-lifecycle/clip-track-lifecycle.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-lifecycle/clip-track-lifecycle.json new file mode 100644 index 000000000..fc0cef7d9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-lifecycle/clip-track-lifecycle.json @@ -0,0 +1,19 @@ +{ + "clipId": "movieclip:tripod-motion.avi", + "beforeCount": 7, + "frame": 6, + "createdTrackId": "track:0:7", + "afterAddCount": 8, + "addedMarkers": 1, + "addedSelected": true, + "keyedFlag": true, + "clearedMarkers": 3, + "hiddenFlag": true, + "shownFlag": false, + "opAdded": "addTrack", + "opDeleted": "deleteTrack", + "deletedAffected": 1, + "activeObject": "E2E_Object", + "objectRemoveOp": "objectRemove", + "afterDeleteCount": 7 +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel-reference.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel-reference.json new file mode 100644 index 000000000..c6925cbe8 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel-reference.json @@ -0,0 +1,34 @@ +{ + "trackId": "track:0:0", + "averageError": 0.08751886337995529, + "muted": false, + "frameStart": 1, + "sceneFrame": 1, + "markerFrame": 1, + "width": 960, + "height": 540, + "expected": [ + 0.8762741088867188, + 0.8762741088867188, + 0.8762741088867188 + ], + "copyColor": { + "paintState": "DONE", + "state": "DONE", + "otherIndex": 1, + "activeCustom": true, + "activeColor": [ + 0, + 0, + 1, + 1 + ], + "otherCustom": true, + "otherColor": [ + 0, + 0, + 1, + 1 + ] + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel.json new file mode 100644 index 000000000..1e426741c --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-panel/clip-track-panel.json @@ -0,0 +1,32 @@ +{ + "reference": { + "trackId": "track:0:0", + "markerFrame": 1, + "sceneFrame": 1, + "averageError": 0.08751886337995529, + "muted": false + }, + "painted": { + "width": 160, + "height": 80, + "opaque": true, + "distinct": 22, + "center": [ + 1, + 1, + 1 + ] + }, + "tall": { + "width": 160, + "height": 160, + "opaque": true, + "distinct": 34, + "center": [ + 1, + 1, + 1 + ] + }, + "presetColor": "#0000ff" +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-web/clip-track.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-web/clip-track.json new file mode 100644 index 000000000..57abd438b --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-track-web/clip-track.json @@ -0,0 +1,17 @@ +{ + "pythonState": "DONE", + "clipId": "movieclip:tripod-motion.avi", + "startFrame": 0, + "trackId": "track:0:0", + "beforeCount": 24, + "single": { + "lastFrame": 1, + "tracks": 7, + "afterCount": 25, + "hasNext": true + }, + "sequence": { + "lastFrame": 1, + "tracks": 7 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort-engine.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort-engine.json new file mode 100644 index 000000000..88ea41df9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort-engine.json @@ -0,0 +1,95 @@ +{ + "clip": { + "id": "movieclip:distorted-grid.png", + "name": "distorted-grid.png", + "width": 1920, + "height": 1080, + "frameStart": 1, + "sourceStatus": "AVAILABLE" + }, + "settings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.10000000149011612, + "k2": -0.05000000074505806, + "k3": -0.07999999821186066, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "zeroedSettings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": 0, + "k2": 0, + "k3": 0, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "pythonState": "DONE", + "raw": { + "width": 1920, + "height": 1080 + }, + "undistorted": { + "width": 1920, + "height": 1080 + }, + "distortion": { + "total": 34.36609326777127, + "centre": 1.3149654227023542, + "border": 44.85898505279479 + }, + "remainder": { + "total": 0, + "centre": 0, + "border": 0 + } +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort.json new file mode 100644 index 000000000..0ec2b53d3 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-undistort/clip-undistort.json @@ -0,0 +1,99 @@ +{ + "engine": { + "clip": { + "id": "movieclip:distorted-grid.png", + "name": "distorted-grid.png", + "width": 1920, + "height": 1080, + "frameStart": 1, + "sourceStatus": "AVAILABLE" + }, + "settings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": -0.10000000149011612, + "k2": -0.05000000074505806, + "k3": -0.07999999821186066, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "zeroedSettings": { + "brownK1": 0, + "brownK2": 0, + "brownK3": 0, + "brownK4": 0, + "defaultAlgorithm": 1, + "defaultFramesLimit": 0, + "defaultMargin": 0, + "defaultMinimumCorrelation": 0.75, + "defaultMotionModel": 0, + "defaultPatternMatch": 0, + "defaultPatternSize": 15, + "defaultSearchSize": 61, + "defaultWeight": 1, + "distortionModel": 0, + "divisionK1": 0, + "divisionK2": 0, + "focal": 1316.5714111328125, + "k1": 0, + "k2": 0, + "k3": 0, + "motionFlag": 0, + "nukeK1": 0, + "nukeK2": 0, + "pixelAspect": 1, + "principal": [ + 0, + 0 + ], + "refine": 0, + "sensorWidth": 35, + "units": 1 + }, + "pythonState": "DONE", + "raw": { + "width": 1920, + "height": 1080 + }, + "undistorted": { + "width": 1920, + "height": 1080 + }, + "distortion": { + "total": 34.36609326777127, + "centre": 1.3149654227023542, + "border": 44.85898505279479 + }, + "remainder": { + "total": 0, + "centre": 0, + "border": 0 + } + }, + "baselineLength": 3630270, + "changed": true +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-wiring/clip-wiring.json b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-wiring/clip-wiring.json new file mode 100644 index 000000000..3c5134c17 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/artifacts/clip-wiring/clip-wiring.json @@ -0,0 +1,12 @@ +{ + "bounds": { + "min": 1, + "max": 48, + "value": 1 + }, + "target": 3, + "beforeStep": 3, + "beforeJump": 4, + "afterJump": 5, + "value": "4" +} diff --git a/tests/golden/CLIP-HEADED-20261204-155221/playwright-results.json b/tests/golden/CLIP-HEADED-20261204-155221/playwright-results.json new file mode 100644 index 000000000..ce9e6f2d5 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/playwright-results.json @@ -0,0 +1,1238 @@ +{ + "config": { + "argv": [ + "/home/mes123456/.nvm/versions/node/v24.19.0/bin/node", + "/home/mes123456/workinf_Blender_Wasm/web/node_modules/.bin/playwright", + "test", + "--config", + "playwright.clip.config.ts", + "--workers=1" + ], + "configFile": "/home/mes123456/workinf_Blender_Wasm/web/playwright.clip.config.ts", + "rootDir": "/home/mes123456/workinf_Blender_Wasm/web/tests/e2e", + "failOnFlakyTests": false, + "forbidOnly": false, + "fullyParallel": false, + "globalSetup": null, + "globalTeardown": null, + "globalTimeout": 0, + "grep": {}, + "grepInvert": null, + "maxFailures": 0, + "metadata": { + "actualWorkers": 1 + }, + "preserveOutput": "always", + "projects": [ + { + "outputDir": "/home/mes123456/workinf_Blender_Wasm/web/test-results", + "repeatEach": 1, + "retries": 0, + "metadata": { + "actualWorkers": 1 + }, + "id": "", + "name": "", + "testDir": "/home/mes123456/workinf_Blender_Wasm/web/tests/e2e", + "testIgnore": [ + "archive-offline.spec.ts", + "single-thread-unisolated.spec.ts" + ], + "testMatch": [ + "clip-*-production.spec.ts" + ], + "timeout": 420000 + } + ], + "quiet": false, + "reporter": [ + [ + "list", + null + ], + [ + "json", + { + "outputFile": "/home/mes123456/workinf_Blender_Wasm/tests/golden/CLIP-HEADED-20261204-155221/.playwright-results.json" + } + ] + ], + "reportSlowTests": { + "max": 5, + "threshold": 300000 + }, + "shard": null, + "tags": [], + "updateSnapshots": "missing", + "updateSourceMethod": "patch", + "version": "1.62.1", + "workers": 1, + "webServer": { + "command": "node \"/home/mes123456/workinf_Blender_Wasm/web/node_modules/vite/bin/vite.js\" --config app/vite.config.ts --host 127.0.0.1 --port 5314 --strictPort", + "cwd": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web", + "url": "http://127.0.0.1:5314", + "reuseExistingServer": false, + "timeout": 30000 + } + }, + "suites": [ + { + "title": "clip-engine-read-production.spec.ts", + "file": "clip-engine-read-production.spec.ts", + "column": 0, + "line": 0, + "specs": [ + { + "title": "MOD-CLIP-01 reads MovieClip tracking data and decodes footage in Chromium", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8649, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:24.241Z", + "annotations": [], + "attachments": [] + } + ], + "status": "expected" + } + ], + "id": "53d869a62db33b8547bd-87034feb6d23dd8d3e2f", + "file": "clip-engine-read-production.spec.ts", + "line": 14, + "column": 1 + } + ] + }, + { + "title": "clip-headed-production.spec.ts", + "file": "clip-headed-production.spec.ts", + "column": 0, + "line": 0, + "specs": [ + { + "title": "[clip-read-web] reads the tripod MovieClip from the WASM engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4475, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:33.075Z", + "annotations": [], + "attachments": [ + { + "name": "clip-read", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-a2a3c-ieClip-from-the-WASM-engine/attachments/clip-read-6395fee89356a1c3422af67b7a3539dc5076d4db.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b47e6734ba8ac72b6995", + "file": "clip-headed-production.spec.ts", + "line": 260, + "column": 1 + }, + { + "title": "[clip-frame-web] decodes the clip frame to RGBA pixels", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5417, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:37.563Z", + "annotations": [], + "attachments": [ + { + "name": "clip-frame", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-3675b-e-clip-frame-to-RGBA-pixels/attachments/clip-frame-92dd2797b36b4395c57a1fdf2cd38f9d088fcc14.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-8418c84d918b4dd5567b", + "file": "clip-headed-production.spec.ts", + "line": 277, + "column": 1 + }, + { + "title": "[clip-missing-web] keeps the clip while the footage is absent", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4018, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:42.990Z", + "annotations": [], + "attachments": [ + { + "name": "clip-missing", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-e2bae-while-the-footage-is-absent/attachments/clip-missing-9d051c4d872d177ee86ecf4d59ebc358ac1383ab.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-e3e1d3463e919adbf991", + "file": "clip-headed-production.spec.ts", + "line": 287, + "column": 1 + }, + { + "title": "[clip-reopen-web] keeps clip identity and tracking data through save and reopen", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5891, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:47.015Z", + "annotations": [], + "attachments": [ + { + "name": "clip-reopen", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-941db-ata-through-save-and-reopen/attachments/clip-reopen-33feeb6e2aa8b31621ca092be33e8723e21457be.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b527232df5ad49132faa", + "file": "clip-headed-production.spec.ts", + "line": 297, + "column": 1 + }, + { + "title": "[clip-edit-web] writes a tracking marker through the embedded bpy channel", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 11037, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:52:52.914Z", + "annotations": [], + "attachments": [ + { + "name": "clip-edit", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-0bd0a-gh-the-embedded-bpy-channel/attachments/clip-edit-17095408ac4030bea922a91ad95f7e8b78f8cb0a.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-4abd768b6c3a4f4b7acf", + "file": "clip-headed-production.spec.ts", + "line": 311, + "column": 1 + }, + { + "title": "[clip-solve-web] imports the reconstruction as a camera solve", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4126, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:03.960Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-6b691-struction-as-a-camera-solve/attachments/clip-solve-2eee497283c1de2977287e7257d59eafab716002.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-b0e83f9dfca411b37bb2", + "file": "clip-headed-production.spec.ts", + "line": 360, + "column": 1 + }, + { + "title": "[clip-track-web] tracks selected markers through the libmv engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 6338, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:08.099Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-da83c-rs-through-the-libmv-engine/attachments/clip-track-50500c83e0c890f056afbad255db211981ed0fe1.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-930c119b4eeb24066c20", + "file": "clip-headed-production.spec.ts", + "line": 383, + "column": 1 + }, + { + "title": "[clip-solve-command-web] solves the camera through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 4309, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:14.448Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve-command", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-02e26-e-camera-through-the-engine/attachments/clip-solve-command-6898fa61f1975efad0ebaa3cebcc2ceb598d18b4.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-73691f135b16f8b4ca12", + "file": "clip-headed-production.spec.ts", + "line": 397, + "column": 1 + }, + { + "title": "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5874, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:18.766Z", + "annotations": [], + "attachments": [ + { + "name": "clip-proxy", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-32265-decodes-a-proxy-sized-frame/attachments/clip-proxy-b913d428aa6a01eb8073a4c1e297d0f5751bdf67.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-035045102afa8163855f", + "file": "clip-headed-production.spec.ts", + "line": 409, + "column": 1 + }, + { + "title": "[clip-plane-web] creates and edits a plane track through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 10142, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:24.649Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-416c8-ne-track-through-the-engine/attachments/clip-plane-e72f95921b3e90bb07bccd4625caff2283f539dc.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-f9d030ae9f5c68e95a21", + "file": "clip-headed-production.spec.ts", + "line": 422, + "column": 1 + }, + { + "title": "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 10223, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:34.797Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane-drag-draft", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-19bf2-e-Clip-editor-and-writes-it/attachments/clip-plane-drag-draft-34f5fb964a60f71a25806bdda512c532bb7a33dd.json" + }, + { + "name": "clip-plane-drag", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-19bf2-e-Clip-editor-and-writes-it/attachments/clip-plane-drag-100467c21cf98e436d87e321c611b3ca9e8bfb44.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-3e3abed47dc5501b8f8d", + "file": "clip-headed-production.spec.ts", + "line": 461, + "column": 1 + }, + { + "title": "[clip-wiring] steps, jumps and tracks from the Clip editor controls", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 9634, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:45.027Z", + "annotations": [], + "attachments": [ + { + "name": "clip-wiring", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-00d41-om-the-Clip-editor-controls/attachments/clip-wiring-2056438e4729a011da368051a84b414432d11fae.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-4a18cd421a00c0e4fa98", + "file": "clip-headed-production.spec.ts", + "line": 615, + "column": 1 + }, + { + "title": "[clip-track-lifecycle] adds, keys, clears, flags and deletes a track through the engine", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 7231, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:53:54.669Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track-lifecycle", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9a740--a-track-through-the-engine/attachments/clip-track-lifecycle-c8fb4776c75b0522a29f67b91b1c0e46ac26972c.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c5cf045d6c2c6116521b", + "file": "clip-headed-production.spec.ts", + "line": 665, + "column": 1 + }, + { + "title": "[clip-boxes-settings] writes pattern/search boxes and tracker settings through bpy", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 6663, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:01.909Z", + "annotations": [], + "attachments": [ + { + "name": "clip-boxes-settings", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-ee3bb-racker-settings-through-bpy/attachments/clip-boxes-settings-bb1d245077fdd4a0b0a420bb23ecf3dd1db472b5.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-0ea1a16180ac7e17cdc6", + "file": "clip-headed-production.spec.ts", + "line": 727, + "column": 1 + }, + { + "title": "[clip-track-panel] previews the pattern, applies color presets and shows the average error", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 14794, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:08.582Z", + "annotations": [], + "attachments": [ + { + "name": "clip-track-panel-reference", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-06c62-and-shows-the-average-error/attachments/clip-track-panel-reference-8c389bc4cf6dc91e7797e476fb5fbbc129b823f7.json" + }, + { + "name": "clip-track-panel", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-06c62-and-shows-the-average-error/attachments/clip-track-panel-9c5622e9a347c1d774dc7158aab509f78f2363b3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c8b90e15de6be2d6dc0a", + "file": "clip-headed-production.spec.ts", + "line": 814, + "column": 1 + }, + { + "title": "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 9806, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:23.383Z", + "annotations": [], + "attachments": [ + { + "name": "clip-point-motion-engine", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9d032-nd-decodes-its-PNG-sequence/attachments/clip-point-motion-engine-4b3bddaec5ac08951cf05b4a8b52c110c7431de2.json" + }, + { + "name": "clip-point-motion", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9d032-nd-decodes-its-PNG-sequence/attachments/clip-point-motion-77810d60edd61762f56a675d0e13214834332e45.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-690260ac9a667da8dcf4", + "file": "clip-headed-production.spec.ts", + "line": 1013, + "column": 1 + }, + { + "title": "[clip-undistort] renders the undistorted frame and exposes the camera data", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 15950, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:33.196Z", + "annotations": [], + "attachments": [ + { + "name": "clip-undistort-engine", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9b382-and-exposes-the-camera-data/attachments/clip-undistort-engine-c065018c0150bea28f9ec126677d9e3610f44770.json" + }, + { + "name": "clip-undistort", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-9b382-and-exposes-the-camera-data/attachments/clip-undistort-90288cabab5786da210cbdf240015a2bcb4fad5b.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-ec4db6b8959939ac5a69", + "file": "clip-headed-production.spec.ts", + "line": 1106, + "column": 1 + }, + { + "title": "[clip-detect] detects Harris features on the current frame", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 7484, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:49.152Z", + "annotations": [], + "attachments": [ + { + "name": "clip-detect", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-0b62f-atures-on-the-current-frame/attachments/clip-detect-e6d2470c90a918c30c5eadf40dd8224b1d5a0c78.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-925b5b4e519897688e45", + "file": "clip-headed-production.spec.ts", + "line": 1232, + "column": 1 + }, + { + "title": "[clip-solve-settings] edits solve keyframes, scale and clears the solution", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 6407, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:54:56.642Z", + "annotations": [], + "attachments": [ + { + "name": "clip-solve-settings", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-916cd-ale-and-clears-the-solution/attachments/clip-solve-settings-b410155a05eaa676272db7fc09c3cda88eaf2b5d.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-9ba425aecca870bf56ad", + "file": "clip-headed-production.spec.ts", + "line": 1297, + "column": 1 + }, + { + "title": "[clip-plane-complete] keys, retracks, images and deletes a plane track", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 7872, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:55:03.057Z", + "annotations": [], + "attachments": [ + { + "name": "clip-plane-complete", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-347eb-s-and-deletes-a-plane-track/attachments/clip-plane-complete-68d1fce57c8a2ea8544ffbcfa858eb483340ec07.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-a46266bec46e0292611d", + "file": "clip-headed-production.spec.ts", + "line": 1349, + "column": 1 + }, + { + "title": "[clip-stab] writes 2D stabilization settings and returns a stabilization matrix", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 9233, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:55:10.936Z", + "annotations": [], + "attachments": [ + { + "name": "clip-stab", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-3027b-urns-a-stabilization-matrix/attachments/clip-stab-d4662af64801a8901b20a6fb7110bb65b83aaea3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-5055ace08923c10f70a8", + "file": "clip-headed-production.spec.ts", + "line": 1419, + "column": 1 + }, + { + "title": "[clip-stab-composite] composites the canvas through the stabilization matrix", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 300000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 26451, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:55:20.176Z", + "annotations": [], + "attachments": [ + { + "name": "clip-stab-composite", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-72111-gh-the-stabilization-matrix/attachments/clip-stab-composite-322fe10015528ede9a7b5a825a8f639ace24e673.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-c5ad88668e06ab2a4196", + "file": "clip-headed-production.spec.ts", + "line": 1516, + "column": 1 + }, + { + "title": "[clip-source] reloads, sets the scene range and relinks the clip source", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 18366, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:55:46.636Z", + "annotations": [], + "attachments": [ + { + "name": "clip-source", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-e0161-and-relinks-the-clip-source/attachments/clip-source-53b3c04bc9955e73bffac92463f0a61396d18f62.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-7b3eae250dbfbde186de", + "file": "clip-headed-production.spec.ts", + "line": 1732, + "column": 1 + }, + { + "title": "[clip-dopesheet] selects a track and jumps to a keyframe cell", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 5363, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:56:05.015Z", + "annotations": [], + "attachments": [ + { + "name": "clip-dopesheet", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-b3603-nd-jumps-to-a-keyframe-cell/attachments/clip-dopesheet-5cb8b3fba41183e11c6b2432ab15dc44ffc410b3.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-66d26efeb38057af0ac9", + "file": "clip-headed-production.spec.ts", + "line": 1803, + "column": 1 + }, + { + "title": "[clip-graph] draws the desktop graph view and jumps from a knot", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 8170, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:56:10.389Z", + "annotations": [], + "attachments": [ + { + "name": "clip-graph", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-f33ca--view-and-jumps-from-a-knot/attachments/clip-graph-5c2408d2d60f5cd47f1e456f296f92db241b1d25.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-334a2c0c04e6b5fdcbd8", + "file": "clip-headed-production.spec.ts", + "line": 1834, + "column": 1 + }, + { + "title": "[clip-mask-edit] edits mask splines from the Clip editor canvas", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 240000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 12586, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:56:18.568Z", + "annotations": [], + "attachments": [ + { + "name": "clip-mask-fixture", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/attachments/clip-mask-fixture-49ee123afea06ab6a190c146abce51e7fa09aabd.json" + }, + { + "name": "clip-mask-edit", + "contentType": "application/json", + "path": "/home/mes123456/workinf_Blender_Wasm/web/test-results/clip-headed-production--cl-28503-from-the-Clip-editor-canvas/attachments/clip-mask-edit-caca256054b6d54930554f3ba36c2286e96975ab.json" + } + ] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-58e7a876fd6986e20d51", + "file": "clip-headed-production.spec.ts", + "line": 1928, + "column": 1 + }, + { + "title": "fixture digests are bound", + "ok": true, + "tags": [], + "tests": [ + { + "timeout": 420000, + "annotations": [], + "expectedStatus": "passed", + "projectId": "", + "projectName": "", + "results": [ + { + "workerIndex": 0, + "parallelIndex": 0, + "status": "passed", + "duration": 829, + "errors": [], + "stdout": [], + "stderr": [], + "retry": 0, + "startTime": "2026-12-04T07:56:31.161Z", + "annotations": [], + "attachments": [] + } + ], + "status": "expected" + } + ], + "id": "e1b74130c3f0f6f506c6-25b110e969d133fc0ba8", + "file": "clip-headed-production.spec.ts", + "line": 2003, + "column": 1 + } + ] + } + ], + "errors": [], + "stats": { + "startTime": "2026-12-04T07:52:23.582Z", + "duration": 248527.176, + "expected": 28, + "skipped": 0, + "unexpected": 0, + "flaky": 0 + } +} \ No newline at end of file diff --git a/tests/golden/CLIP-HEADED-20261204-155221/report.html b/tests/golden/CLIP-HEADED-20261204-155221/report.html new file mode 100644 index 000000000..bb89cc4f9 --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/report.html @@ -0,0 +1 @@ +clip headed receipt

Clip · headed · PASS

NOT_CLAIMED · candidate /home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web · wasm 3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598 · Google Chrome 151.0.7922.137

Preflight

displayOK":1"
chromeOK{"chromePath":"/usr/bin/google-chrome","version":"Google Chrome 151.0.7922.137"}
playwrightOK"/home/mes123456/workinf_Blender_Wasm/web/node_modules/@playwright/test/package.json"
candidate manifestOK{"files":3997,"manifestSha256":"695b50c0faaf2bb27bafe0c5a4fe8a44583db3c58dac03728bf2311b0630d8ac"}
served engineOK"/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/public/vendor/blender/web_engine.wasm"
served module manifestOK"/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/public/wasm-module-manifest.json"
engine has clipFrameOKtrue
Clip editor source presentOK"/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/src/app/ClipEditorSurface.tsx"
tripod-motion blend fixtureOK{"path":"/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/tripod-motion.blend","sha256":"4000c9b7b0e2fa2677cdcefaeb8051ad45fa482e005f18c33b8a93bb195fd96c"}
tripod-motion footage fixtureOK{"path":"/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/footage/tripod-motion.avi","sha256":"bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a"}
port freeOK5314
workersOK1

Cases

idtitlestatusartifactserror
mod-clip-01-reads-movieclip-tracking-data-and-decodes-footagMOD-CLIP-01 reads MovieClip tracking data and decodes footage in ChromiumPASS
clip-read-web[clip-read-web] reads the tripod MovieClip from the WASM enginePASSclip-read
clip-frame-web[clip-frame-web] decodes the clip frame to RGBA pixelsPASSclip-frame
clip-missing-web[clip-missing-web] keeps the clip while the footage is absentPASSclip-missing
clip-reopen-web[clip-reopen-web] keeps clip identity and tracking data through save and reopenPASSclip-reopen
clip-edit-web[clip-edit-web] writes a tracking marker through the embedded bpy channelPASSclip-edit
clip-solve-web[clip-solve-web] imports the reconstruction as a camera solvePASSclip-solve
clip-track-web[clip-track-web] tracks selected markers through the libmv enginePASSclip-track
clip-solve-command-web[clip-solve-command-web] solves the camera through the enginePASSclip-solve-command
clip-proxy-web[clip-proxy-web] builds a proxy and decodes a proxy-sized framePASSclip-proxy
clip-plane-web[clip-plane-web] creates and edits a plane track through the enginePASSclip-plane
clip-plane-drag-web[clip-plane-drag-web] drags a plane corner in the Clip editor and writes itPASSclip-plane-drag-draft clip-plane-drag
clip-wiring[clip-wiring] steps, jumps and tracks from the Clip editor controlsPASSclip-wiring
clip-track-lifecycle[clip-track-lifecycle] adds, keys, clears, flags and deletes a track through the enginePASSclip-track-lifecycle
clip-boxes-settings[clip-boxes-settings] writes pattern/search boxes and tracker settings through bpyPASSclip-boxes-settings
clip-track-panel[clip-track-panel] previews the pattern, applies color presets and shows the average errorPASSclip-track-panel-reference clip-track-panel
clip-point-motion[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequencePASSclip-point-motion-engine clip-point-motion
clip-undistort[clip-undistort] renders the undistorted frame and exposes the camera dataPASSclip-undistort-engine clip-undistort
clip-detect[clip-detect] detects Harris features on the current framePASSclip-detect
clip-solve-settings[clip-solve-settings] edits solve keyframes, scale and clears the solutionPASSclip-solve-settings
clip-plane-complete[clip-plane-complete] keys, retracks, images and deletes a plane trackPASSclip-plane-complete
clip-stab[clip-stab] writes 2D stabilization settings and returns a stabilization matrixPASSclip-stab
clip-stab-composite[clip-stab-composite] composites the canvas through the stabilization matrixPASSclip-stab-composite
clip-source[clip-source] reloads, sets the scene range and relinks the clip sourcePASSclip-source
clip-dopesheet[clip-dopesheet] selects a track and jumps to a keyframe cellPASSclip-dopesheet
clip-graph[clip-graph] draws the desktop graph view and jumps from a knotPASSclip-graph
clip-mask-edit[clip-mask-edit] edits mask splines from the Clip editor canvasPASSclip-mask-fixture clip-mask-edit
fixture-digests-are-boundfixture digests are boundPASS
\ No newline at end of file diff --git a/tests/golden/CLIP-HEADED-20261204-155221/report.json b/tests/golden/CLIP-HEADED-20261204-155221/report.json new file mode 100644 index 000000000..857e3140d --- /dev/null +++ b/tests/golden/CLIP-HEADED-20261204-155221/report.json @@ -0,0 +1,661 @@ +{ + "schemaVersion": 1, + "status": "PASS", + "generatedAt": "2026-12-04T07:56:32.126Z", + "mode": "full", + "candidate": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web", + "release": { + "servedBy": "vite-dev-frozen", + "servedRoot": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web", + "frozenAt": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06", + "candidateManifestSha256": "695b50c0faaf2bb27bafe0c5a4fe8a44583db3c58dac03728bf2311b0630d8ac", + "candidateFiles": 3997, + "moduleManifestSha256": "8103c1cf13e15d76b81299ae820547ea1117255f16327237e5c8ad70b57b96be", + "wasmSha256": "3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598", + "wasmBytes": 325169211, + "engineHasClipFrame": true, + "bundleHasClipEditor": true + }, + "fixtures": { + "blend": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/tripod-motion.blend", + "sha256": "4000c9b7b0e2fa2677cdcefaeb8051ad45fa482e005f18c33b8a93bb195fd96c" + }, + "footage": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/footage/tripod-motion.avi", + "sha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a" + } + }, + "environment": { + "display": ":1", + "gpuMode": "hardware", + "browser": "chromium-headed", + "chrome": "Google Chrome 151.0.7922.137", + "chromePath": "/usr/bin/google-chrome", + "node": "v24.19.0", + "port": 5314, + "workers": 1 + }, + "preflight": [ + { + "name": "display", + "ok": true, + "detail": ":1", + "hard": true + }, + { + "name": "chrome", + "ok": true, + "detail": { + "chromePath": "/usr/bin/google-chrome", + "version": "Google Chrome 151.0.7922.137" + }, + "hard": true + }, + { + "name": "playwright", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/node_modules/@playwright/test/package.json", + "hard": true + }, + { + "name": "candidate manifest", + "ok": true, + "detail": { + "files": 3997, + "manifestSha256": "695b50c0faaf2bb27bafe0c5a4fe8a44583db3c58dac03728bf2311b0630d8ac" + }, + "hard": true + }, + { + "name": "served engine", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/public/vendor/blender/web_engine.wasm", + "hard": true + }, + { + "name": "served module manifest", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/public/wasm-module-manifest.json", + "hard": true + }, + { + "name": "engine has clipFrame", + "ok": true, + "detail": true, + "hard": true + }, + { + "name": "Clip editor source present", + "ok": true, + "detail": "/home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web/app/src/app/ClipEditorSurface.tsx", + "hard": true + }, + { + "name": "tripod-motion blend fixture", + "ok": true, + "detail": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/tripod-motion.blend", + "sha256": "4000c9b7b0e2fa2677cdcefaeb8051ad45fa482e005f18c33b8a93bb195fd96c" + }, + "hard": true + }, + { + "name": "tripod-motion footage fixture", + "ok": true, + "detail": { + "path": "/home/mes123456/workinf_Blender_Wasm/blender-5.2.0/tests/files/tracking/footage/tripod-motion.avi", + "sha256": "bc29375f1744f3345fa7b40d568650a746567c83f97611628ad528e3293dc10a" + }, + "hard": true + }, + { + "name": "port free", + "ok": true, + "detail": 5314, + "hard": true + }, + { + "name": "workers", + "ok": true, + "detail": 1, + "hard": false + } + ], + "cases": [ + { + "caseId": "mod-clip-01-reads-movieclip-tracking-data-and-decodes-footag", + "title": "MOD-CLIP-01 reads MovieClip tracking data and decodes footage in Chromium", + "file": "clip-engine-read-production.spec.ts", + "status": "PASS", + "durationMs": 8649, + "error": null, + "artifacts": [] + }, + { + "caseId": "clip-read-web", + "title": "[clip-read-web] reads the tripod MovieClip from the WASM engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4475, + "error": null, + "artifacts": [ + { + "name": "clip-read", + "kind": "json", + "path": "artifacts/clip-read-web/clip-read.json", + "sha256": "e6f75ce19dc40907e0a9eaddf51759e8b56f7833a5b4ca4632ad3b846583f8ce", + "bytes": 873 + } + ] + }, + { + "caseId": "clip-frame-web", + "title": "[clip-frame-web] decodes the clip frame to RGBA pixels", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5417, + "error": null, + "artifacts": [ + { + "name": "clip-frame", + "kind": "json", + "path": "artifacts/clip-frame-web/clip-frame.json", + "sha256": "0c831990b8c799206ef7e3f6d5914860abd49b044fc2deafa6894c27d9ba838b", + "bytes": 997 + } + ] + }, + { + "caseId": "clip-missing-web", + "title": "[clip-missing-web] keeps the clip while the footage is absent", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4018, + "error": null, + "artifacts": [ + { + "name": "clip-missing", + "kind": "json", + "path": "artifacts/clip-missing-web/clip-missing.json", + "sha256": "b38d8e3e05f27f0648dfc515f4e0d814cde6be8da71f388fc10c349ecbca6a65", + "bytes": 732 + } + ] + }, + { + "caseId": "clip-reopen-web", + "title": "[clip-reopen-web] keeps clip identity and tracking data through save and reopen", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5891, + "error": null, + "artifacts": [ + { + "name": "clip-reopen", + "kind": "json", + "path": "artifacts/clip-reopen-web/clip-reopen.json", + "sha256": "e915914097eaf56655dec66d266422f2370c44ff580c9012eab7b15516e00f2f", + "bytes": 1731 + } + ] + }, + { + "caseId": "clip-edit-web", + "title": "[clip-edit-web] writes a tracking marker through the embedded bpy channel", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 11037, + "error": null, + "artifacts": [ + { + "name": "clip-edit", + "kind": "json", + "path": "artifacts/clip-edit-web/clip-edit.json", + "sha256": "80b3a63e31e30ef052cb7471e0f69b93025781b352a20fcd6793043798da35f3", + "bytes": 2690 + } + ] + }, + { + "caseId": "clip-solve-web", + "title": "[clip-solve-web] imports the reconstruction as a camera solve", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4126, + "error": null, + "artifacts": [ + { + "name": "clip-solve", + "kind": "json", + "path": "artifacts/clip-solve-web/clip-solve.json", + "sha256": "b398bc4bb45b9f41e98f2034089a6b16c6c48f4c48da2e7d4f701e889342dcc8", + "bytes": 1091 + } + ] + }, + { + "caseId": "clip-track-web", + "title": "[clip-track-web] tracks selected markers through the libmv engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 6338, + "error": null, + "artifacts": [ + { + "name": "clip-track", + "kind": "json", + "path": "artifacts/clip-track-web/clip-track.json", + "sha256": "cd968f0c9ffc7c871332459dfafa1caf3f0f5dedd5d9aa3a52bbee5798015c59", + "bytes": 292 + } + ] + }, + { + "caseId": "clip-solve-command-web", + "title": "[clip-solve-command-web] solves the camera through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 4309, + "error": null, + "artifacts": [ + { + "name": "clip-solve-command", + "kind": "json", + "path": "artifacts/clip-solve-command-web/clip-solve-command.json", + "sha256": "f68ec7b1f0f607a8ca2b36fcc4ed2ba90ffef3df29df2f32239f2d7ef890c667", + "bytes": 235 + } + ] + }, + { + "caseId": "clip-proxy-web", + "title": "[clip-proxy-web] builds a proxy and decodes a proxy-sized frame", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5874, + "error": null, + "artifacts": [ + { + "name": "clip-proxy", + "kind": "json", + "path": "artifacts/clip-proxy-web/clip-proxy.json", + "sha256": "a8412ace2dff8610f2a9f47237da293b8aff8cdcca52f092a2ff366e7a311e28", + "bytes": 308 + } + ] + }, + { + "caseId": "clip-plane-web", + "title": "[clip-plane-web] creates and edits a plane track through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 10142, + "error": null, + "artifacts": [ + { + "name": "clip-plane", + "kind": "json", + "path": "artifacts/clip-plane-web/clip-plane.json", + "sha256": "a2b2cfd7ad159819b10689c99503ded69ecdc83394387d1addb19dd9d75eeafb", + "bytes": 2242 + } + ] + }, + { + "caseId": "clip-plane-drag-web", + "title": "[clip-plane-drag-web] drags a plane corner in the Clip editor and writes it", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 10223, + "error": null, + "artifacts": [ + { + "name": "clip-plane-drag-draft", + "kind": "json", + "path": "artifacts/clip-plane-drag-web/clip-plane-drag-draft.json", + "sha256": "a4ff689a566cada44f56118a64eeab62a90eb8ba9da0b0dc442d850aa480bcff", + "bytes": 875 + }, + { + "name": "clip-plane-drag", + "kind": "json", + "path": "artifacts/clip-plane-drag-web/clip-plane-drag.json", + "sha256": "5b622d76483edaacaa2c706aaf16a85a7a4015c2855c69f42901d595a8ee6b1f", + "bytes": 592 + } + ] + }, + { + "caseId": "clip-wiring", + "title": "[clip-wiring] steps, jumps and tracks from the Clip editor controls", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 9634, + "error": null, + "artifacts": [ + { + "name": "clip-wiring", + "kind": "json", + "path": "artifacts/clip-wiring/clip-wiring.json", + "sha256": "21dfb946e164c89ba9f3d3d62606a92ecb1ab96d61914f4cc8810c8c76ce3ce4", + "bytes": 153 + } + ] + }, + { + "caseId": "clip-track-lifecycle", + "title": "[clip-track-lifecycle] adds, keys, clears, flags and deletes a track through the engine", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 7231, + "error": null, + "artifacts": [ + { + "name": "clip-track-lifecycle", + "kind": "json", + "path": "artifacts/clip-track-lifecycle/clip-track-lifecycle.json", + "sha256": "d4dcfa7f8a14d9c7cc2ca1b1686ece4680580879272b84ed1e2b4a50601a5aac", + "bytes": 441 + } + ] + }, + { + "caseId": "clip-boxes-settings", + "title": "[clip-boxes-settings] writes pattern/search boxes and tracker settings through bpy", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 6663, + "error": null, + "artifacts": [ + { + "name": "clip-boxes-settings", + "kind": "json", + "path": "artifacts/clip-boxes-settings/clip-boxes-settings.json", + "sha256": "19efa5ab38b7e7dc08aa7af8a8dcaa65b40c29ac04b4cf6184e717c5b8d7c779", + "bytes": 3121 + } + ] + }, + { + "caseId": "clip-track-panel", + "title": "[clip-track-panel] previews the pattern, applies color presets and shows the average error", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 14794, + "error": null, + "artifacts": [ + { + "name": "clip-track-panel-reference", + "kind": "json", + "path": "artifacts/clip-track-panel/clip-track-panel-reference.json", + "sha256": "fd2962b4606a9d655a5a3fda35304808fa53b946590ac5845e85ae3fe0225f16", + "bytes": 534 + }, + { + "name": "clip-track-panel", + "kind": "json", + "path": "artifacts/clip-track-panel/clip-track-panel.json", + "sha256": "0e78cccf9c9f88e674893bf38ded6b8790e48aa0adf69b1ccf328ce4b993527d", + "bytes": 470 + } + ] + }, + { + "caseId": "clip-point-motion", + "title": "[clip-point-motion] opens the synthetic point-motion clip and decodes its PNG sequence", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 9806, + "error": null, + "artifacts": [ + { + "name": "clip-point-motion-engine", + "kind": "json", + "path": "artifacts/clip-point-motion/clip-point-motion-engine.json", + "sha256": "c91c59b18ff9e4dad49c196b823498299ab3434cebd25085311a65e47ad17887", + "bytes": 1052 + }, + { + "name": "clip-point-motion", + "kind": "json", + "path": "artifacts/clip-point-motion/clip-point-motion.json", + "sha256": "db3bc28681ef0a72d12180677f9d3a469a9a1c65a53a207fe7e2835b33277482", + "bytes": 1248 + } + ] + }, + { + "caseId": "clip-undistort", + "title": "[clip-undistort] renders the undistorted frame and exposes the camera data", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 15950, + "error": null, + "artifacts": [ + { + "name": "clip-undistort-engine", + "kind": "json", + "path": "artifacts/clip-undistort/clip-undistort-engine.json", + "sha256": "a305780a4a1301461f9df3ef85a82f297a794d90de498aeef1ece3e1985ce8c6", + "bytes": 1922 + }, + { + "name": "clip-undistort", + "kind": "json", + "path": "artifacts/clip-undistort/clip-undistort.json", + "sha256": "e3392058899afda477e7ddb61f71bacc5622fd341c1fcf78212ca4e4d1e80a46", + "bytes": 2174 + } + ] + }, + { + "caseId": "clip-detect", + "title": "[clip-detect] detects Harris features on the current frame", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 7484, + "error": null, + "artifacts": [ + { + "name": "clip-detect", + "kind": "json", + "path": "artifacts/clip-detect/clip-detect.json", + "sha256": "548a2e0d2886f282a8bc59b2ec4e5dee9fe4b9349f617ddd4d65bd593c915347", + "bytes": 297 + } + ] + }, + { + "caseId": "clip-solve-settings", + "title": "[clip-solve-settings] edits solve keyframes, scale and clears the solution", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 6407, + "error": null, + "artifacts": [ + { + "name": "clip-solve-settings", + "kind": "json", + "path": "artifacts/clip-solve-settings/clip-solve-settings.json", + "sha256": "a25dad79dc9c14f99e73b08f0cb43aafc32e92d79657b352fd617b79c2728cc2", + "bytes": 483 + } + ] + }, + { + "caseId": "clip-plane-complete", + "title": "[clip-plane-complete] keys, retracks, images and deletes a plane track", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 7872, + "error": null, + "artifacts": [ + { + "name": "clip-plane-complete", + "kind": "json", + "path": "artifacts/clip-plane-complete/clip-plane-complete.json", + "sha256": "24000cd49b7b2642aec9839e4579f512102b3617767016c84e50b1052053dedb", + "bytes": 525 + } + ] + }, + { + "caseId": "clip-stab", + "title": "[clip-stab] writes 2D stabilization settings and returns a stabilization matrix", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 9233, + "error": null, + "artifacts": [ + { + "name": "clip-stab", + "kind": "json", + "path": "artifacts/clip-stab/clip-stab.json", + "sha256": "ac7f4d7adbdd7c182556af3558a53012bdc6b98355cb12bb5db2601b7f46bca8", + "bytes": 1256 + } + ] + }, + { + "caseId": "clip-stab-composite", + "title": "[clip-stab-composite] composites the canvas through the stabilization matrix", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 26451, + "error": null, + "artifacts": [ + { + "name": "clip-stab-composite", + "kind": "json", + "path": "artifacts/clip-stab-composite/clip-stab-composite.json", + "sha256": "0e4cb61bfd81e0f2ef28376f5ab6fb24cd84b753476a4493c8c42371b9facad1", + "bytes": 2671 + } + ] + }, + { + "caseId": "clip-source", + "title": "[clip-source] reloads, sets the scene range and relinks the clip source", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 18366, + "error": null, + "artifacts": [ + { + "name": "clip-source", + "kind": "json", + "path": "artifacts/clip-source/clip-source.json", + "sha256": "1ee8967e527178ecc5fca2587e5e77703eadc5aaf83187f12cc96d5dfbe54839", + "bytes": 570 + } + ] + }, + { + "caseId": "clip-dopesheet", + "title": "[clip-dopesheet] selects a track and jumps to a keyframe cell", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 5363, + "error": null, + "artifacts": [ + { + "name": "clip-dopesheet", + "kind": "json", + "path": "artifacts/clip-dopesheet/clip-dopesheet.json", + "sha256": "02f2161d4d0f2cef1f694ebad4ac32b29248dfbfbc7f21b853c0aaabac7b8431", + "bytes": 72 + } + ] + }, + { + "caseId": "clip-graph", + "title": "[clip-graph] draws the desktop graph view and jumps from a knot", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 8170, + "error": null, + "artifacts": [ + { + "name": "clip-graph", + "kind": "json", + "path": "artifacts/clip-graph/clip-graph.json", + "sha256": "0c25d37172b1ba8921c23b62b3c83121e857ea3b623c6b3657cfac9b3b2f5216", + "bytes": 136 + } + ] + }, + { + "caseId": "clip-mask-edit", + "title": "[clip-mask-edit] edits mask splines from the Clip editor canvas", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 12586, + "error": null, + "artifacts": [ + { + "name": "clip-mask-fixture", + "kind": "json", + "path": "artifacts/clip-mask-edit/clip-mask-fixture.json", + "sha256": "280ac6003d962ea11771b8ebae397ae87acd3811619d5326bd4e5691ead43ecd", + "bytes": 73 + }, + { + "name": "clip-mask-edit", + "kind": "json", + "path": "artifacts/clip-mask-edit/clip-mask-edit.json", + "sha256": "659dc988756f7f96ce25591b9b63edb04f9ed5109654aa27390283473cca6530", + "bytes": 643 + } + ] + }, + { + "caseId": "fixture-digests-are-bound", + "title": "fixture digests are bound", + "file": "clip-headed-production.spec.ts", + "status": "PASS", + "durationMs": 829, + "error": null, + "artifacts": [] + } + ], + "summary": { + "pass": 28, + "fail": 0, + "skip": 0, + "blocked": 0, + "total": 28, + "wallMs": 248931, + "expectedCaseIds": [ + "clip-read-web", + "clip-frame-web", + "clip-missing-web", + "clip-reopen-web", + "clip-edit-web", + "clip-solve-web", + "clip-track-web", + "clip-solve-command-web", + "clip-proxy-web", + "clip-plane-web", + "clip-plane-drag-web", + "clip-wiring", + "clip-track-lifecycle", + "clip-boxes-settings", + "clip-track-panel", + "clip-point-motion", + "clip-detect", + "clip-undistort", + "clip-solve-settings", + "clip-plane-complete", + "clip-stab", + "clip-stab-composite", + "clip-source", + "clip-dopesheet", + "clip-graph", + "clip-mask-edit" + ], + "missingCaseIds": [] + }, + "errors": [], + "acceptance": "NOT_CLAIMED" +} \ No newline at end of file diff --git a/tests/golden/MOD-CLIP-01/continuation-clip-solve-plane.json b/tests/golden/MOD-CLIP-01/continuation-clip-solve-plane.json index 8c04fdedb..a47e3b680 100644 --- a/tests/golden/MOD-CLIP-01/continuation-clip-solve-plane.json +++ b/tests/golden/MOD-CLIP-01/continuation-clip-solve-plane.json @@ -3,9 +3,10 @@ "task": "MOD-CLIP-01", "status": "in_progress", "acceptance": "NOT_CLAIMED", - "focus": "Clip subsystem complete in the WASM path: reader, frame decode, proxies, on-the-fly undistortion with a pixel-level case, marker tracking, camera solve, plane tracks with use_auto_keying, stabilization with a pixel-level composite assertion, source management, dopesheet/graph with desktop View2D knot coordinates plus wheel zoom, mask editing, the desktop Track-panel widgets (pattern scopes preview, color presets, average error, track colour copy) and a headed case that opens synthetic-point-motion: the 26-case headed acceptance suite ran 28/28 PASS against the dev candidate and the four previously annotated Clip limits are closed in code and asserted; only the user's hands-on use-stage acceptance remains, so acceptance stays NOT_CLAIMED.", - "breakpoint": "Batches 0-10 and the undistortion pass are implemented and the headed acceptance suite keeps running with the user's explicit authorization. Latest receipt: tests/golden/CLIP-HEADED-20261204-124651/report.json (candidate /home/mes123456/workinf_Blender_Wasm/web/dist, 28/28 PASS, 4.1m); node tools/web/check-clip-headed.mjs --dir tests/golden/CLIP-HEADED-20261204-124651 returns status PASS with acceptance NOT_CLAIMED, all 26 expected case ids present and 31 artifacts; engine wasm sha256 3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598. History kept, not overwritten: CLIP-HEADED-20261204-082003 and -084242 (27/27, wasm 3dfc96fe…). The two intermediate reruns after the case extension (CLIP-HEADED-20261204-120539, 26/28; -122146, 0/2) were failures of the new test assumptions, not of the product; their failure trace bundles (18 MB and 24 MB) are left uncommitted on disk like every other trace bundle in this repository, and only the passing focused rerun tests/golden/CLIP-HEADED-20261204-124303 (2/2) is archived. Defects found by this pass and fixed: (1) the clip-undistort assertion assumed millimetres, but RNA Camera.focal is stored in pixels, so the fixture's 24 mm on a 35 mm sensor over 1920 px reads 1316.57 px — assertion corrected; (2) the Camera Data number fields rendered raw DNA float32 noise (−0.10000000149…); ClipEditorSurface now formats those floats to 6 decimal places (cleanFloat); (3) the clip-track-panel flow checked a track (which the panel makes the active edit target) and then clicked the same row, toggling the selection back off, and the average-error readout then followed the copied track; the flow re-selects the painted track as the copy source and restores the reference selection before the readout. No production defect was found in the engine undistortion path itself: with the frame flag set the decoded pixels change with a border/centre ratio above 4, and with k1..k3 zeroed the mapping returns to identity.", + "focus": "Clip subsystem complete in the WASM path: reader, frame decode, proxies, on-the-fly undistortion with a pixel-level case, marker tracking, camera solve, plane tracks with use_auto_keying, stabilization with a pixel-level composite assertion, source management, dopesheet/graph with desktop View2D knot coordinates plus wheel zoom, mask editing, the desktop Track-panel widgets (pattern scopes preview, color presets, average error, track colour copy) and a headed case that opens synthetic-point-motion: the 26-case headed acceptance suite ran 28/28 PASS on the dev candidate and 28/28 on a sha256-manifest-bound frozen candidate, and the four previously annotated Clip limits are closed in code and asserted; only the user's hands-on use-stage acceptance remains, so acceptance stays NOT_CLAIMED.", + "breakpoint": "Batches 0-10 and the undistortion pass are implemented and the headed acceptance suite keeps running with the user's explicit authorization. Latest receipt: tests/golden/CLIP-HEADED-20261204-155221/report.json — the 28-test suite ran 28/28 PASS in 4.1m against a frozen candidate served from /home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06/web (release.servedBy vite-dev-frozen, frozenAt /home/mes123456/workinf_Blender_Wasm/web/.frozen/CLIP-20261204-154337-3c81eb06, candidateManifestSha256 695b50c0faaf2bb27bafe0c5a4fe8a44583db3c58dac03728bf2311b0630d8ac over 3997 files); node tools/web/check-clip-headed.mjs --dir tests/golden/CLIP-HEADED-20261204-155221 returns status PASS with acceptance NOT_CLAIMED, all 26 expected case ids present and 31 artifacts, and re-verifies the frozen manifest against disk; engine wasm sha256 3c81eb064d8e6a9b59fb1e84aa1ea2faa2d6059ea0f50f4be808bc6399f36598. The dev-candidate receipt is kept as history: tests/golden/CLIP-HEADED-20261204-124651 (28/28 PASS, served web/app through the dev server). History kept, not overwritten: CLIP-HEADED-20261204-082003 and -084242 (27/27, wasm 3dfc96fe…). The two intermediate reruns after the case extension (CLIP-HEADED-20261204-120539, 26/28; -122146, 0/2) were failures of the new test assumptions, not of the product; their failure trace bundles (18 MB and 24 MB) are left uncommitted on disk like every other trace bundle in this repository, and only the passing focused rerun tests/golden/CLIP-HEADED-20261204-124303 (2/2) is archived. Defects found by this pass and fixed: (1) the clip-undistort assertion assumed millimetres, but RNA Camera.focal is stored in pixels, so the fixture's 24 mm on a 35 mm sensor over 1920 px reads 1316.57 px — assertion corrected; (2) the Camera Data number fields rendered raw DNA float32 noise (−0.10000000149…); ClipEditorSurface now formats those floats to 6 decimal places (cleanFloat); (3) the clip-track-panel flow checked a track (which the panel makes the active edit target) and then clicked the same row, toggling the selection back off, and the average-error readout then followed the copied track; the flow re-selects the painted track as the copy source and restores the reference selection before the readout. No production defect was found in the engine undistortion path itself: with the frame flag set the decoded pixels change with a border/centre ratio above 4, and with k1..k3 zeroed the mapping returns to identity. Receipts left uncommitted rather than archived with a wrong identity: the first frozen full run CLIP-HEADED-20261204-154504 passed 28/28 but recorded release.servedBy as vite-dev-source while serving the frozen tree (the field now keys off the frozen root and the suite was rerun as -155221), and the freeze smoke/blocked runs CLIP-HEADED-20261204-151252, -152620 and -154336 never reached the full suite.", "implemented": [ + "Frozen-candidate acceptance mode [this pass, verified by tests/golden/CLIP-HEADED-20261204-155221]: tools/web/run-clip-headed.mjs --freeze hardlink-copies (cp -al) the served source tree into web/.frozen/CLIP--