long-div / scripts /generate_tier3_batch03.py
ymyy307's picture
Upload folder using huggingface_hub
5b12ab1 verified
Raw History Blame Contribute Delete
30.5 kB
#!/usr/bin/env python3
"""Build Tier 3 diverse benchmark cases 11-15."""
from __future__ import annotations
import json
from pathlib import Path
from generate_tier3_batch01 import build_case, spec
ROOT = Path(__file__).resolve().parents[1]
OUTPUT = ROOT / "generated" / "tier3_batch03.json"
def cabin_case():
chars = {
"<char1>": "an older Indigenous male cabin owner with long silver hair tied low, a dark green wool shirt, and a weathered brown vest",
"<char2>": "a middle-aged Indigenous female teacher with a shoulder-length black braid, a rust-colored sweater, and charcoal trousers",
"<char3>": "a Black teenage male foster grandson with short twists, a navy rain shell, and a gray knitted cap",
}
shots = [
spec(["<char2>"], "A wide interior shot shows @2 crossing the woodstove room to close the west window as rain begins to stripe the glass.", "Rain on panes, floorboards, and a low stove crackle.", "<char2>", "The west side is taking the first gusts."),
spec(["<char3>"], "@3 enters from the covered porch, shakes water from his sleeves once, and hangs his rain shell beside the door before looking toward the loft stair.", "Porch door, wet fabric, and steady rain.", "<char3>", "The porch is dry, but the outer corner is getting loud."),
spec(["<char2>", "<char3>"], "A medium two-shot follows @2 and @3 walking to separate windows, each watching tree branches move in a different direction.", "Wind in trees, rain, and cabin timbers."),
spec(["<char3>"], "A close reaction shot holds @3 as a loose east shutter taps once outside; he turns from the window toward the side door.", "One wooden tap, stove crackle, and wind."),
spec(["<char1>", "<char2>", "<char3>"], "@1 descends the loft stair, listens to the next shutter tap, and opens the covered side door. He steps onto the exterior walkway to secure the east shutter from outside.", "Stair steps, a door opening, rain, and loose wood.", "<char1>", "Stay by the stove; I will settle the east shutter from the covered side."),
spec(["<char2>", "<char3>"], "@2 closes the side door after the wind catches it, then walks with @3 toward the warmer center of the room.", "Door latch, wind muffling, and footsteps."),
spec(["<char2>"], "@2 sits near the woodstove and watches the flame brighten as a draft moves through the chimney.", "Stove crackle and rain on the roof."),
spec(["<char3>"], "@3 climbs halfway up the loft stair and checks the small upper window, then turns back when the rain thickens beyond it.", "Stair creaks and heavier roof rain."),
spec(["<char2>", "<char3>"], "A gentle follow shot tracks @3 down the stair while @2 crosses beneath him to draw the inner curtain over the largest window.", "Curtain rings, floorboards, and rain."),
spec(["<char2>", "<char3>"], "They sit at opposite ends of the long hearth bench, facing the windows rather than each other as the storm reaches its loudest interval.", "Rain, stove, and distant thunder."),
spec(["<char3>"], "@3 stands and walks to the porch door, placing one palm near the frame to feel the reduced draft without opening it.", "Wind around the frame and stove crackle.", "<char3>", "The door is quieter now than it was a minute ago."),
spec(["<char2>"], "@2 rises from the bench and looks through the narrow porch window, where water streams from the roof edge in a continuous sheet.", "Roof runoff and subdued room tone."),
spec(["<char2>", "<char3>"], "A doorway composition shows @2 and @3 moving into the small sleeping area to check a second window, leaving the stove room visible behind them.", "Soft steps and rain across two roofs."),
spec(["<char2>"], "@2 closes the second window latch and waits for the curtain to stop moving before turning back.", "Latch click and fabric settling."),
spec(["<char3>"], "@3 returns alone to the stove room and sits on the floor cushion, watching firelight move across the wet porch glass.", "Stove crackle and easing thunder."),
spec(["<char2>", "<char3>"], "@2 joins @3 near the stove as the rain changes from hard impacts to separate drops. Both look toward the porch.", "Rain easing and cabin timbers."),
spec(["<char2>"], "@2 opens the inner curtain a hand's width, revealing lighter cloud beyond the trees.", "Curtain rings and softer wind.", "<char2>", "The light is returning over the ridge."),
spec(["<char2>", "<char3>"], "They stand from the hearth area and cross the room at an unhurried pace, stopping before the porch door.", "Floorboards and residual roof drips."),
spec(["<char3>"], "@3 opens the porch door inward and waits on the threshold while cool damp air enters the room.", "Door hinge, dripping eaves, and distant stream water."),
spec(["<char2>", "<char3>"], "A porch-facing wide shows them step outside under cover and look along the sheltered exterior wall toward the east corner.", "Roof drips, wet leaves, and mild wind."),
spec(["<char1>", "<char2>", "<char3>"], "At the far end of the porch, @1 is seated on the sheltered step listening to the last rain. He stands as @2 and @3 approach.", "Wooden step, dripping roof, and quiet forest air."),
spec(["<char1>", "<char3>"], "A close two-shot shows @1 and @3 looking toward the now-still east shutter, then out to mist lifting between the trees.", "Leaves dripping and a distant bird.", "<char1>", "The shutter is secure, and the storm has moved beyond the creek."),
spec(["<char1>", "<char2>", "<char3>"], "A final wide holds all three spaced along the covered porch as the cabin windows brighten behind them.", "Forest dripping, low stream water, and a quiet stove indoors; no music."),
]
return build_case("worker_11_tier3", chars, "<char1>", 5, 21, shots)
def greenhouse_case():
chars = {
"<char1>": "a young white nonbinary horticulturist with a copper undercut, a navy utility vest, and a folded blue bandanna at the wrist",
"<char2>": "a middle-aged Black male community volunteer with a shaved head, a clay-red overshirt, and dark work trousers",
"<char3>": "an elderly Chinese female gardener with a long silver braid, a moss-green cardigan, and round tortoiseshell glasses",
}
shots = [
spec(["<char2>"], "A greenhouse-wide shot follows @2 beneath the first vine arch as he watches new tendrils move in air from the open courtyard doors.", "Leaves, ventilation, and soft footsteps.", "<char2>", "The dry aisle is open all the way to the courtyard."),
spec(["<char3>"], "@3 enters from the opposite aisle and gently lifts one hanging leaf away from her glasses before continuing beneath the arch.", "Leaf movement and measured steps.", "<char3>", "The upper growth has reached the next support."),
spec(["<char2>", "<char3>"], "A medium two-shot shows @2 and @3 approaching the same overhead vine from opposite sides, leaving the central path clear.", "Clothing, leaves, and distant water pipes."),
spec(["<char3>"], "A close detail shot shows @3 guiding one soft tendril around a broad support loop, then lowering her hands immediately.", "Leaf contact and steady room tone."),
spec(["<char2>", "<char3>"], "They walk toward the misting zone while a warning light begins a slow pulse above the wet aisle.", "Footsteps, ventilation, and a quiet indicator hum."),
spec(["<char1>", "<char2>", "<char3>"], "@1 comes through the courtyard doors, demonstrates one upward vine turn, and then takes the dry outer route to open the opposite courtyard entrance before misting begins.", "Doors, leaves, and three walking rhythms.", "<char1>", "Use the outer path during the mist cycle; I will open the far courtyard side."),
spec(["<char2>", "<char3>"], "@2 and @3 turn away from the wet aisle and follow a leaf-framed outer path toward the first side opening.", "Leaves brushing clothing and receding indicator hum."),
spec(["<char2>"], "@2 pauses beneath a high vine and reaches upward only long enough to keep it from crossing the walking space.", "Leaves and ventilation."),
spec(["<char3>"], "@3 sits on a low masonry edge in the dry aisle as the first mist appears beyond a transparent partition.", "Misters beginning and water on leaves."),
spec(["<char2>", "<char3>"], "A gentle lateral follow keeps them moving parallel to the mist zone, their silhouettes softened by water suspended behind the glass.", "Fine spray, footsteps, and foliage."),
spec(["<char2>"], "@2 opens a narrow side window above shoulder height, and several hanging leaves turn toward the new cross-breeze.", "Window latch, leaves, and mist."),
spec(["<char3>"], "@3 stands from the masonry edge and watches droplets gather along a broad leaf before sliding to its tip.", "Droplets and soft ventilation."),
spec(["<char2>", "<char3>"], "They cross into the open potting courtyard, where the sound of the mist becomes quieter and the sky is visible above the walls.", "Courtyard birds, distant spray, and footsteps."),
spec(["<char3>"], "@3 walks the courtyard perimeter and turns back toward the greenhouse arches, comparing the still outdoor vines with the moving indoor leaves.", "Outdoor breeze and birds.", "<char3>", "The courtyard vines are already dry enough to guide."),
spec(["<char2>"], "@2 sits briefly on the courtyard wall, looking through one open doorway and one misted doorway at the same time.", "Stone contact and distant water."),
spec(["<char2>", "<char3>"], "They re-enter through the first doorway as the mist reaches its fullest cycle, keeping to the dry margin beside the wall.", "Dense fine spray and measured footsteps."),
spec(["<char2>", "<char3>"], "A doorway wide frames both volunteers stopping beneath separate arches while droplets move across the deeper aisle.", "Misters and water ticking on leaves."),
spec(["<char3>"], "@3 follows the edge of the wet zone and turns into a fern alcove, where she waits on a dry stone step.", "Water, ferns, and quiet steps."),
spec(["<char2>"], "@2 remains under the central arch and watches the warning light stop pulsing as the spray begins to thin.", "Misters winding down and ventilation."),
spec(["<char2>", "<char3>"], "They walk into the formerly misted aisle, leaving clear footprints that fade as the floor drains.", "Water under shoes and dripping leaves."),
spec(["<char2>"], "@2 raises one hanging vine over the shoulder-height path and lets it rest naturally against its support.", "Leaf movement and receding drips."),
spec(["<char3>"], "@3 reaches the far turn and looks toward brighter air entering from beyond a still-closed door.", "Drips and outdoor birds beyond glass."),
spec(["<char2>", "<char3>"], "A medium shot follows them around the final arch as the far door begins to move from the other side.", "Door hardware and footsteps."),
spec(["<char1>", "<char2>", "<char3>"], "The far courtyard doors fold open to reveal @1 approaching through the bright exterior passage. @2 and @3 continue toward the new opening.", "Folding doors, courtyard air, and leaves stirring."),
spec(["<char1>", "<char3>"], "@1 walks beside @3 beneath the far arch and looks upward at the vine she guided earlier from the opposite side.", "Soft steps and leaves.", "<char1>", "The cross-breeze is enough now; the wet aisle can stay open."),
spec(["<char1>", "<char2>", "<char3>"], "A final high wide shows all three moving along different arcs beneath the vines while both courtyard entrances remain open.", "Leaves, light courtyard wind, and residual water; no music."),
]
return build_case("worker_12_tier3", chars, "<char1>", 6, 24, shots)
def terminal_case():
chars = {
"<char1>": "a middle-aged Pacific Islander female terminal host with shoulder-length black curls, a teal transit jacket, and a white shell pendant",
"<char2>": "a middle-aged South Asian male passenger with a trimmed gray beard, a mustard raincoat, and a white mobility cane",
"<char3>": "a young white female ferry trainee with a dark blond ponytail, a navy vest, and pale gray trousers",
}
shots = [
spec(["<char3>"], "A concourse-wide shot follows @3 walking from the river windows toward the replacement-gate corridor as automatic doors open behind her.", "Terminal ventilation, doors, and distant river engines.", "<char3>", "The replacement route starts beyond the second window bay."),
spec(["<char2>"], "@2 enters through the sheltered curb doors, lets them close, and locates the tactile floor line with the tip of his cane.", "Door seals, cane tip, and broad concourse ambience.", "<char2>", "I have the floor line; tell me when the corridor turns."),
spec(["<char2>", "<char3>"], "A medium walking two-shot shows @3 several paces beside @2 as they follow the line across the open waiting zone.", "Cane rhythm, footsteps, and distant announcements without words."),
spec(["<char2>"], "@2 sits on a window bench and listens to the changing echo as a ferry glides beyond the glass.", "Bench cushion, river wash, and terminal air."),
spec(["<char3>"], "@3 walks the ramp corridor alone and turns at the first corner, checking the line of sight back to the bench.", "Ramp footsteps and softer corridor ambience."),
spec(["<char2>", "<char3>"], "@3 returns to the bench and @2 stands, aligning his cane with the floor line before they begin the ramp together.", "Clothing, cane, and footsteps."),
spec(["<char1>", "<char2>", "<char3>"], "@1 joins them at the ramp entrance and describes the gate change in one brief exchange. She then takes the staff-side route to test the replacement gate from the arriving-passenger direction.", "Three voices, ramp ambience, and a door opening.", "<char1>", "Follow this line to the river windows; I will test the same gate from the other side."),
spec(["<char2>", "<char3>"], "@2 and @3 continue down the ramp, with @3 walking on the outside of each curve and leaving the rail side clear.", "Cane, sloped footsteps, and terminal air."),
spec(["<char2>"], "A close reaction shot holds @2 as the river sound becomes clearer near a window opening; he turns his face toward it, then back to the route.", "River water, cane tip, and distant engines."),
spec(["<char3>"], "@3 steps ahead to the next bend and waits where her dark vest contrasts clearly with the pale wall.", "Footsteps and a soft ventilation hum."),
spec(["<char2>", "<char3>"], "A gentle follow shot tracks them through the second curve until the replacement-gate sign appears at the far end.", "Matched steps and corridor echo."),
spec(["<char2>"], "@2 pauses at a recessed bench, sits once, and checks whether the floor line remains reachable from the seat.", "Bench movement and quiet concourse sound."),
spec(["<char3>"], "@3 walks to the river window and watches a stationary boarding ramp rise slightly with the water outside.", "River wash and distant metal movement."),
spec(["<char2>", "<char3>"], "They exchange positions, with @2 standing at the window sound source and @3 sitting at the recessed bench.", "Cane, seat fabric, and river ambience."),
spec(["<char2>"], "@2 turns away from the window and follows the tactile line into a wider waiting bay without assistance.", "Cane rhythm and open room tone.", "<char2>", "The wider bay is easy to recognize from the change in echo."),
spec(["<char3>"], "@3 rises and follows at a measured distance, keeping the replacement-gate doors in view.", "Footsteps and distant door motors."),
spec(["<char2>", "<char3>"], "A locked wide shows them crossing the waiting bay on separate parallel paths before meeting near the gate threshold.", "Concourse air and two walking rhythms."),
spec(["<char3>"], "@3 opens one gate door and stands aside while the other leaf remains closed, preserving a clear narrow route.", "Door motor and threshold tone."),
spec(["<char2>"], "@2 walks through the single open leaf, turns immediately after the threshold, and locates the return floor line.", "Cane on a new floor surface and quiet ferry ambience."),
spec(["<char2>", "<char3>"], "They reverse the passage once, moving back into the waiting bay without changing the door configuration.", "Footsteps, cane, and door motor idle."),
spec(["<char2>"], "@2 sits near the river-facing wall while ordinary passengers cross the distant concourse out of focus.", "Distant footsteps and river engines."),
spec(["<char3>"], "@3 walks toward the sheltered curb end of the bay and watches the automatic doors from inside.", "Automatic-door hum and faint street sound."),
spec(["<char2>", "<char3>"], "They begin the reverse route, following the floor line away from the replacement gate toward the curb doors.", "Cane, footsteps, and changing echo."),
spec(["<char2>"], "@2 pauses at the final turn and listens as the automatic curb doors open for someone beyond the frame.", "Doors opening and sheltered street ambience."),
spec(["<char3>"], "@3 waits beside the wall rather than in the doorway, leaving the arriving path fully visible.", "Soft steps and door movement."),
spec(["<char1>", "<char2>", "<char3>"], "The curb doors open again and @1 re-enters with two ordinary passengers behind her, demonstrating the reverse flow. @2 and @3 remain to one side of the clear route.", "Automatic doors, several footsteps, and terminal ambience."),
spec(["<char1>", "<char2>"], "A medium over-the-shoulder view from behind @2 shows @1 walking the first reverse turn while he follows her movement by sound and sight.", "Cane, footsteps, and doors closing.", "<char1>", "This direction keeps arriving passengers away from the ramp turn."),
spec(["<char1>", "<char2>", "<char3>"], "A final window-side wide shows all three moving toward the replacement gate as a ferry passes slowly outside.", "River wash, footsteps, and terminal ventilation; no music."),
]
return build_case("worker_13_tier3", chars, "<char1>", 7, 26, shots)
def textile_case():
chars = {
"<char1>": "a young Black female textile artist with very short natural hair, a white linen shirt, and an indigo-stained apron",
"<char2>": "a middle-aged Japanese male dyer with swept-back gray hair, a charcoal wrap jacket, and dark canvas trousers",
"<char3>": "an older Latina female curator with a silver pixie cut, a sand-colored coat, and turquoise earrings",
}
shots = [
spec(["<char2>"], "A courtyard-wide shot shows @2 walking between two full-height cloth panels as wind opens and closes the view of the wash arcade.", "Fabric, courtyard wind, and distant water.", "<char2>", "The shade line will reach the blue panel first."),
spec(["<char3>"], "@3 enters from the stone steps, stops between a red panel and a pale undyed one, and looks upward as their shadows cross her coat.", "Stone steps and broad fabric movement.", "<char3>", "The colors feel different when the cloth moves across the light."),
spec(["<char2>", "<char3>"], "A medium two-shot follows @2 and @3 passing through alternating bands of fabric shadow toward the center line.", "Footsteps, cloth, and courtyard air."),
spec(["<char3>"], "A close reaction shot catches @3 watching one wet edge darken as it folds briefly against itself, then separate in the breeze.", "Wet fabric and a mild gust."),
spec(["<char1>", "<char2>", "<char3>"], "@1 joins them beneath the central line, lifts one wet edge only long enough to show its lighter underside, and then walks through the wash arcade to release the roof shade.", "Fabric, footsteps, and water in the arcade.", "<char1>", "Compare the underside after the roof shade moves; the surface is still holding water."),
spec(["<char2>", "<char3>"], "@2 and @3 continue between the panels while the roof shade begins to retract beyond the arcade wall.", "Shade mechanism and cloth in wind."),
spec(["<char2>"], "@2 stands at the end of the blue panel and lets its edge move past his open hand without gripping it.", "Fabric passing and quiet courtyard air."),
spec(["<char3>"], "@3 walks a semicircle around the pale panel, watching the same patch shift from shade to direct sun.", "Stone footsteps and cloth."),
spec(["<char2>", "<char3>"], "A gentle lateral follow tracks them toward the shaded wash arcade as the courtyard brightens behind.", "Footsteps, running water, and fabric."),
spec(["<char2>"], "@2 steps into the arcade and looks back through three hanging panels layered at different distances.", "Arcade water and cloth snaps softened by walls."),
spec(["<char3>"], "@3 sits on the lowest stone step and watches sunlight travel down the red panel toward its damp hem.", "Stone contact, fabric, and courtyard birds."),
spec(["<char2>", "<char3>"], "They climb the first half of the roof steps, pausing at a landing where the panels can be seen from above.", "Steps and wind growing clearer."),
spec(["<char3>"], "@3 leans lightly at the landing rail and follows one shadow as it crosses the courtyard paving.", "Rail touch and moving cloth."),
spec(["<char2>"], "@2 continues to the next landing and turns toward the line supports, checking their movement from the side.", "Higher wind and stair steps."),
spec(["<char2>", "<char3>"], "A high wide frames both on separate landings while the fabric panels billow below in staggered rhythm.", "Layered cloth and open-air wind."),
spec(["<char2>", "<char3>"], "They descend by the opposite stair into a narrow passage where strips of reflected color move along the wall.", "Descending steps and fabric outside."),
spec(["<char3>"], "@3 stops at the passage opening and watches the now-sunlit blue panel settle almost flat.", "Wind easing and courtyard water."),
spec(["<char2>"], "@2 crosses behind the red panel, appearing first as a silhouette and then in full light at the far edge.", "Fabric and measured footsteps."),
spec(["<char2>", "<char3>"], "They walk toward the roof stair again as the shade mechanism completes its movement and falls silent.", "Footsteps and mechanism stopping."),
spec(["<char3>"], "@3 reaches the top landing first and turns toward the open roof rail, where the entire courtyard comes into view.", "Roof wind and distant city sound."),
spec(["<char1>", "<char2>", "<char3>"], "At the roof rail, @1 is already leaning lightly forward and comparing the panels from above. @2 and @3 step onto the landing beside her.", "Roof wind, fabric below, and quiet footsteps."),
spec(["<char1>", "<char3>"], "An over-the-shoulder shot from behind @1 frames @3 and the three large panels below as their shadows separate on the paving.", "Wind and cloth.", "<char1>", "From here, the blue panel has reached an even surface tone."),
spec(["<char1>", "<char2>", "<char3>"], "The three descend together, spaced across the stairs so each retains a clear view of the courtyard.", "Stair footsteps and fabric."),
spec(["<char1>", "<char2>", "<char3>"], "A final courtyard wide holds them walking between the now-calmer panels as late sun reaches the wash arcade.", "Soft cloth movement, water, and evening air; no music."),
]
return build_case("worker_14_tier3", chars, "<char1>", 5, 21, shots)
def rooftop_case():
chars = {
"<char1>": "an elderly South Asian female resident with a long white braid, a violet cardigan, and a small gold nose stud",
"<char2>": "a young Latino male building caretaker with short dark curls, a tan work shirt, and dark green trousers",
"<char3>": "a middle-aged white female resident with auburn hair in a loose bun, a cream jacket, and blue jeans",
}
shots = [
spec(["<char2>"], "A rooftop-wide shot follows @2 walking beneath the first solar canopy as sharp rectangular shadows cross the planter path.", "City air, leaves, and measured footsteps.", "<char2>", "The west planters will lose direct sun before the rest."),
spec(["<char3>"], "@3 enters through the stair pavilion, lets the door close, and walks into a band of shade while looking toward the skyline.", "Door latch, rooftop wind, and distant traffic.", "<char3>", "The canopy shadow has already reached the herb beds."),
spec(["<char2>", "<char3>"], "A medium walking two-shot keeps @2 and @3 on opposite edges of the path as they move between low planters.", "Footsteps, leaves, and city ambience."),
spec(["<char3>"], "A close reaction shot shows @3 touching a sun-warmed wall with the back of her fingers, then turning toward the cooler shaded path.", "Fabric and mild wind."),
spec(["<char2>"], "@2 opens a rainwater channel gate and watches a thin flow reach one planter before closing it again.", "Water trickle, small gate, and leaves."),
spec(["<char2>", "<char3>"], "They walk beneath the second canopy and sit briefly on opposite ends of a low wall facing the western landing.", "Stone seating and rooftop air."),
spec(["<char1>", "<char2>", "<char3>"], "@1 comes from the stair pavilion, points out the moving sunset line across the roof, and then uses the interior stair to check the western landing below.", "Pavilion door, three voices, and wind.", "<char1>", "Follow the shade around the loop; I will meet the last light from the west stair."),
spec(["<char2>", "<char3>"], "@2 and @3 stand from the wall and continue along the canopy edge as sunlight narrows between two nearby buildings.", "Footsteps and rooftop leaves."),
spec(["<char2>"], "@2 walks the exposed strip and pauses where his shadow joins the canopy shadow on the paving.", "Open wind and distant traffic."),
spec(["<char3>"], "@3 follows more slowly through the planted side, brushing past tall grass that moves at knee height.", "Grass and clothing."),
spec(["<char2>", "<char3>"], "A gentle lateral follow tracks them toward the northern corner while the skyline brightens behind their silhouettes.", "Matched steps and city air."),
spec(["<char3>"], "@3 sits on a curved planter wall and watches the upper leaves change from gold to green as direct light leaves them.", "Leaves and low urban ambience."),
spec(["<char2>"], "@2 opens a narrow canopy-side door to a sheltered service passage and checks the cross-breeze without entering.", "Door hinge and a brief wind shift."),
spec(["<char2>", "<char3>"], "They turn into the rainwater-channel path, walking beside the shallow flow as it reflects the remaining sky.", "Water trickle and soft steps."),
spec(["<char2>"], "@2 kneels once to clear a fallen leaf from the channel opening, then stands and lets the water continue.", "Water and a leaf sliding away."),
spec(["<char3>"], "@3 walks ahead to a small viewing gap between planters and looks down into the courtyard far below.", "Rooftop wind and distant voices."),
spec(["<char2>", "<char3>"], "A locked wide holds them at separate viewing gaps while the last sun reaches only the far pavilion wall.", "City ambience and leaves."),
spec(["<char3>"], "@3 turns away from the view and follows the shaded loop toward the eastern stair door.", "Footsteps and light fabric movement."),
spec(["<char2>"], "@2 remains near the channel and watches its reflected sky darken as a cloud crosses the sunset.", "Water trickle and mild wind."),
spec(["<char2>", "<char3>"], "They meet again beneath the first canopy, now fully shaded, and continue toward the pavilion from opposite sides.", "Two walking rhythms and leaves."),
spec(["<char3>"], "@3 opens the eastern stair door, looks into the lit landing, and lets it close without going inside.", "Door closer and indoor stair hum."),
spec(["<char2>"], "@2 walks around the pavilion exterior to the western side, where a thin strip of orange light remains on the wall.", "Footsteps and evening city sound."),
spec(["<char2>", "<char3>"], "They stand in the last light strip and watch it climb away from the paving as the sun drops lower.", "Quiet wind and distant traffic."),
spec(["<char2>", "<char3>"], "@3 sits on the low wall again while @2 walks toward the rainwater path, giving the roof a broader sense of depth.", "Wall contact and receding steps."),
spec(["<char2>"], "@2 turns on one subtle path light near the channel, leaving the other rooftop lights off as dusk deepens.", "One switch and water."),
spec(["<char2>", "<char3>"], "A high wide shows them moving through alternating pools of natural dusk and the single low path light.", "Rooftop air and measured footsteps."),
spec(["<char3>"], "@3 reaches the west stair pavilion and faces the closed door as a warm line appears beneath it.", "Indoor hum beyond the door and city ambience."),
spec(["<char1>", "<char2>", "<char3>"], "The west stair door opens and @1 steps into the final band of sunlight, emerging from the opposite side of the roof loop. @2 and @3 turn toward her.", "Door opening, soft wind, and footsteps."),
spec(["<char1>", "<char3>"], "A medium doorway composition shows @1 walking beside @3 toward the rainwater channel while the last sunlight leaves the pavilion wall.", "Footsteps, water, and evening city sound.", "<char1>", "The western landing stayed bright longest; the channel path is cooler now."),
spec(["<char1>", "<char2>", "<char3>"], "A final skyline wide holds all three following the channel path under the solar canopies as the rooftop settles into dusk.", "Water, leaves, distant traffic, and low rooftop wind; no music."),
]
return build_case("worker_15_tier3", chars, "<char1>", 7, 28, shots)
def main():
cases = [cabin_case(), greenhouse_case(), terminal_case(), textile_case(), rooftop_case()]
OUTPUT.parent.mkdir(parents=True, exist_ok=True)
OUTPUT.write_text(json.dumps(cases, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
print(json.dumps({"output": str(OUTPUT), "cases": len(cases), "shots": sum(len(c["shots"]) for c in cases)}, indent=2))
if __name__ == "__main__":
main()