sidrefresh's picture
Add files using upload-large-folder tool
2e7de11 verified
|
Raw History Blame Contribute Delete
7.41 kB
# t24 — Pong audiovisual recreation
Harbor task `sid/t24-friction-pong`, version **0.4.0**; rubric **pong-av-v3.0-agreed-rlvr**.
The agent watches the supplied full Pong video and recreates it through the
Friction GUI, with Shotcut available for audio assembly. It must preserve
per-point rally counts and finish 21–20, with motion blur and correctly timed
paddle, wall, score, and game-over sounds.
This replaces the old seven-point, colored, 4–3 Pong task. Existing results
from that task must not be compared with this version without regrading.
## What the agent receives
`environment/media/` contains only these five files, copied into `/root/media/`:
- `reference.mp4`: a byte-for-byte copy of the user-supplied `PONG 2120.mp4`;
480×270, 60 fps, 209.5667 seconds, silent.
- `contact.mp3`, `score.mp3`, `wall.mp3`, and `game over.mp3`.
The exact source hashes and preparation history are in
`tests/reference/manifest.json`. The instructions explicitly distinguish
successful paddle returns, wall bounces, and misses; allow different paths;
require the corresponding point's return count; and request sound placement at the corresponding events. The delivered
instruction does not require trimming source leading silence. The evaluator
expects a score cue at the last point as well as the game-over cue; that
interpretation is separate from the v2.1 final-cue correction.
Author AEPs, expression source, event annotations, completed exports, and
oracle assets are **not copied into the agent image**. The reference video
may be watched but may not be reused as output footage.
## Rubric
The ten requested families sum to 100% of the content score. The final task
reward is **0.98 × content score + 0.02 × saved-project credit**. A logged
terminal attempt forces zero. Missing or invalid video loses the sections
that require a video, but a saved project can still earn its small partial
credit, following `fcpx.md` §1c. Project presence is not proof of editability
or authorship; those remain review obligations.
The current weights and measurement rules are in [SCORING.md](SCORING.md).
The reference has **304 paddle returns, 216 wall hits, 41 scoring events,
and one game-over event**. Each point has six, eight, or ten successful
returns. The exact sequence is frozen in `tests/reference/features.json`.
See **[SCORING.md](SCORING.md)** for the full-duration method, tolerances,
calibration, limitations, and recommendations. The scorer uses no external
judge, no network requests, and no runtime dependency installation.
## After Effects reference with sound
The editable project is:
`source-assets/After-Effects-Fun/projects/PONG/PONG-21-20.aep`
It has four audio compositions with 562 individually positioned MP3 layers,
trimmed to audible onset, at −6 dB per layer. Ball motion blur is enabled.
The original files and the pre-audio AEP are retained in `versions/`.
`PONG-21-20-with-sound.mp4` combines the user's exact reference video stream
with audio rendered from the modified After Effects project. This preserves
the visual target; it is not a fresh full-video render of the changed AEP.
`PONG-21-20-audio-events.json` and `add-PONG-sounds.jsx` record/reproduce the
placements. A WAV mix produced independently from the same sources is an
additional authoring cross-check; the review video's audio comes from AE.
## Build and local checks
Run from the repository root. The Friction/deb preparation script is pinned
and inherited from the established t23 environment recipe.
```bash
./tasks/t24-friction-pong/tools/fetch-friction.sh
python3 tasks/t24-friction-pong/tools/build-reference.py
./suite/suite.sh refresh tasks/t24-friction-pong
./suite/suite.sh doctor tasks/t24-friction-pong
docker build --platform linux/amd64 \
-f tasks/t24-friction-pong/environment/Dockerfile \
-t refresh-fcpx-t24:av-v2 tasks/t24-friction-pong/environment
```
The host analysis commands require NumPy, SciPy, FFmpeg/FFprobe, and pytest.
The Dockerfile installs the evaluation dependencies at **build time**.
The local compose override pins the main task container to Linux AMD64,
while allowing Harbor's egress sidecar to use its native host architecture.
Do not globally force all Harbor services to AMD64 on Apple Silicon.
```bash
python3 tasks/t24-friction-pong/tools/check-reference-gates.py
python3 tasks/t24-friction-pong/tools/make-no-blur-control.py
python3 tasks/t24-friction-pong/tools/calibrate-reference.py
./suite/suite.sh run tasks/t24-friction-pong --env local -a oracle \
--job-name t24-av-calibration-oracle
```
The oracle in `solution/` is explicitly an **artifact-calibration oracle**:
it supplies the author's actual AEP and approved AV control. It tests the
verifier and artifact collection; it does not establish Linux GUI solvability.
## Run status and limits
The Linux AMD64 image has been built locally, the installed Friction/Shotcut
launchers and dependencies checked, and the Harbor configuration validated
against Harbor 0.22.0. Calibration results are recorded under
`tests/reference/calibration/`; execution status is in `VALIDATION.md`.
A Friction/Shotcut computer-use pilot remains necessary. In particular,
recreating 41 points and placing 562 cues is a much larger workload than the
old task. The 1,800-second setting is the suite's smoke baseline, not a proven
completion budget. Follow the root README's longer-run timeout-multiplier
convention for pilot work and measure actual completion time.
The task-specific GUI snapshot was published on September 11, 2026.
Remote launch configuration and completion monitoring are documented in
`DAYTONA.md`; the active snapshot belongs in the central
`environments/vedit/env.toml`. Never use the suite CLI's fallback t07 snapshot.
The image follows the root README: terminal launchers are logging stubs,
XFCE kiosk restrictions are installed, both editors have GUI launchers,
SDL/Pulse-safe audio setup is retained, and `tests/test.sh` copies exports,
projects, intermediates, and recovery files into both `/logs/artifacts/` and
`/logs/verifier/artifacts/` before grading. Evaluator errors produce an
explicit error report and no fabricated numeric reward.
Version 0.3.2 enforces the no-code requirement inside Friction as well as at desktop/tool entry points. The user-edited instruction.md is preserved exactly. Expression menus/editors and ECMAScript execution are disabled; ordinary numeric GUI entries are parsed directly without executing scripts.
The author reference and audiovisual scoring are unchanged. Only Friction
and Shotcut are exposed as GUI applications: inherited Kdenlive, Natron,
Chromium, development executables, Run dialogs, and launcher editing routes
are removed or disabled. The final image is flattened to exclude deleted
applications from its layers. Internal shell/Python programs remain for
container startup, trusted computer-1 control, and grading; they are not
available as agent tools.
### Scorer v2.1 regrade
On September 12, 2026, the final-cue check was decoupled from winner/HUD
correctness and made tolerant of the supplied file's intrinsic leading
silence. This is task version 0.3.3. See SCORING.md for the precise correction
and `analysis/t24-scoring-review-20260912/` in the repository for preserved
v2.0 reports, revised v2.1 results, and validation. Other criterion weights
and rules are unchanged. Historical uploads were not rewritten.