Domain: Engineering — Computer Science
Target concept: Demonstration of the Enqueue and Dequeue Operations in a Unidirectional Queue

Video generation prompt: This minimalist animation demonstrates a linear queue on a dark background. Colorful blocks labeled A, B, and C are enqueued sequentially and then dequeued one at a time.

Evaluation guide:
(i) Target concept: Linear unidirectional queue obeying strict FIFO discipline under visual operational demonstration.
Minimum mechanism: Blocks must be discrete, persistent, identifiable entities; spatial ordering must encode temporal order; removal from front must trigger deterministic forward relocation of successors to preserve queue integrity.
(ii)Storyline: Frame 1–2: Dark background established. Frame 3–4: Block A enters and settles at front position. Frame 5–6: Block B enters and settles immediately behind A. Frame 7–8: Block C enters and settles immediately behind B. Frame 9–10: Block A exits; B and C simultaneously shift forward into vacated positions. Frame 11–12: Block B exits; C shifts forward. Frame 13–14: Block C exits. All events occur from fixed frontal viewpoint; no camera motion; no occlusion; labels remain fully visible and unrotated throughout; motion paths are strictly orthogonal (horizontal or vertical) and collinear with queue axis.

Manual:
Experimental Procedure
1. Display dark background.
2. Introduce block A (colored, labeled “A”) entering from left into linear queue position 1.
3. Introduce block B (different color, labeled “B”) entering from left into position 2.
4. Introduce block C (third color, labeled “C”) entering from left into position 3.
5. Remove block A from position 1; blocks B and C shift forward to fill positions 1 and 2.
6. Remove block B from position 1; block C shifts forward to position 1.
7. Remove block C from position 1.
Observation of Experimental Phenomena
- Three uniquely colored, labeled blocks appear sequentially in fixed linear order.
- Enqueue adds rightward (or downward); dequeue removes leftward (or upward), with remaining blocks shifting forward contiguously.
- No block reappears, duplicates, or changes label/color.
Summary of Experimental Principles
- Unidirectional queue follows FIFO: First-In-First-Out.
- Enqueue appends to rear; dequeue removes from front.
- Queue maintains linear, contiguous structure; removal triggers forward shift to preserve adjacency.

Prompt Grounding rubric:
level_1: No queue structure is visible; no blocks labeled A, B, or C appear; no enqueue or dequeue action is shown; the background is not dark; nothing in the scene matches the posted_prompt's queue animation.
level_2: At least one block (with an A/B/C label or distinct color) appears, but the label is wrong or unreadable; there is no queue container or linear arrangement; the background is light or patterned; at most one of enqueue/dequeue happens, without clear queue semantics.
level_3: Three distinct colorful blocks labeled A, B, and C appear one after another in a linear arrangement on a dark background; blocks enter from one side (enqueue) and later exit from that same side (dequeue); the blocks enqueue in the order A, then B, then C; however, at least one of the following breaks: a label is missing or unreadable at some point, or the blocks' arrangement is not strictly linear (e.g., they overlap or stagger onto a different row/column).
level_4: All elements from score 3 are present AND blocks A, B, and C keep correct, legible labels and distinct, stable colors; they sit in a single-file line inside a fixed horizontal or vertical container on a uniformly dark background; enqueue actions happen one at a time (A, then B, then C) entering at one end of the line, and dequeue actions later remove the blocks one at a time from the line; no block is mislabeled, missing, or duplicated; at most one small, self-correcting glitch occurs (e.g., a brief flicker as a label appears, or a momentary misalignment during a move that resolves itself).
level_5: All elements from score 4 are present AND each block keeps a unique, consistent color (e.g., A red, B green, C blue) with a fully legible, non-overlapping label; the blocks sit inside a minimal, unambiguous line-shaped container (e.g., a bracket or outline) on a solid dark background; each enqueue places a new block at one end of the line without displacing the blocks already there, and each dequeue removes exactly one block from the line; all labels stay visible and stable; there is no visual glitch, motion jerk, or spatial gap in the line at any point.

Scientific and Causal Correctness rubric:
level_1: There is no causal link between an action and a change in the queue; blocks move with no apparent rule; a dequeue happens before any enqueue; the label order contradicts the sequence shown (e.g., C leaves before A does); the blocks behave like a stack (LIFO) rather than a queue (FIFO).
level_2: At least two labeled blocks appear, but the order violates FIFO: e.g., C enqueues and then A immediately dequeues; or a block vanishes without an exit motion; or dequeuing removes from the rear while enqueuing adds to the front, which is stack-like rather than queue-like behavior.
level_3: Both enqueue and dequeue happen in A, B, C order, and blocks exit from the same end they entered (the front); however, the spatial behavior contradicts FIFO logic in some way: e.g., the remaining blocks don't shift forward after a dequeue, leaving a gap; or a newly enqueued block overwrites an existing block instead of appending after it; or block A reappears after already being dequeued.
level_4: FIFO behavior is visually correct: enqueue adds to the rear of the line and dequeue removes from the front; after each dequeue, the remaining blocks shift forward as a group to close the gap; no block reappears, duplicates, or disappears out of sequence; every label stays matched to the same block across the whole video; one small, non-structural glitch is tolerated (e.g., a block briefly becomes semi-transparent during a shift without its label or position being affected).
level_5: Everything required at the 4-point level holds, and in addition: every enqueue adds a new block at the rear without disturbing the existing blocks' order; every dequeue removes exactly the frontmost block, and the remaining blocks shift forward together by one position to stay adjacent; no block ever changes color, label, or identity; there is never a moment with two blocks sharing the same label or a label temporarily missing during a shift; the chain of action → resulting state → next action is unbroken and clear to a viewer.

Spatiotemporal Consistency rubric:
level_1: Blocks appear to jump between positions rather than sliding there, or appear/disappear with no visible motion; the background flickers or changes color partway through; the queue's container visibly warps or rotates; the camera view switches between inconsistent angles (e.g., from a side view to an overhead view) without a transition.
level_2: A block's motion path is broken: it slides a short distance, jumps ahead, then resumes sliding; a label fades in or out abruptly with no smooth transition; the scene's brightness changes noticeably between frames; two blocks overlap and stay stuck together instead of resolving into separate positions.
level_3: All blocks move along smooth, continuous paths with no jumping; the queue's container shows no visible break; the background stays static and uniformly dark; the lighting and shadows stay the same; however, one spatiotemporal flaw occurs: e.g., a brief stutter in motion from a repeated frame, or a block momentarily overlapping its neighbor for an instant during a shift without otherwise disrupting the sequence.
level_4: All motion is smooth and physically plausible: blocks slide in one direction without reversing mid-move; the queue's container stays rigid and fixed in place, without stretching or a shifted perspective; there is no flicker between frames, no abrupt lighting change, and no inconsistent overlap between blocks; one minor, purely cosmetic flaw is tolerated (e.g., a label's baseline wavers very slightly during motion without affecting its readability or position).
level_5: Everything required at the 4-point level holds, and in addition: every frame shows the blocks and container in a geometrically consistent arrangement; motion speeds up and slows down smoothly with no sudden velocity changes or freezing; each block keeps the same size, aspect ratio, and orientation throughout; the queue container's edges stay clean and unbroken; the background never changes in color or texture; every enter, exit, and shift motion completes without ghosting or smearing.