long-div / scripts /generate_tier3_batch04.py
ymyy307's picture
Upload folder using huggingface_hub
5b12ab1 verified
Raw History Blame Contribute Delete
29.2 kB
#!/usr/bin/env python3
"""Build Tier 3 diverse benchmark cases 16-20."""
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_batch04.json"
def cloister_case():
chars = {
"<char1>": "a middle-aged Black female choir director with short natural curls, a deep blue long jacket, and small silver hoop earrings",
"<char2>": "a young East Asian male tenor with straight black hair, a pale gray sweater, and black trousers",
"<char3>": "an older white female alto with a silver pixie cut, a burgundy shawl, and soft brown shoes",
}
shots = [
spec(["<char2>"], "A symmetrical cloister-wide shot shows @2 walking beneath the first three arches and stopping where his footsteps begin to echo toward the chapel.", "Stone footsteps, courtyard birds, and a long soft echo.", "<char2>", "The echo changes just before the chapel turn."),
spec(["<char3>"], "@3 enters from the courtyard, draws her shawl closer in the breeze, and follows the opposite arcade toward the same corner.", "Shawl fabric, birds, and measured steps.", "<char3>", "I can hear the courtyard longer from this side."),
spec(["<char2>", "<char3>"], "A medium two-shot frames @2 and @3 meeting beneath an arch, then turning together toward the chapel doorway without singing.", "Two walking rhythms and stone resonance."),
spec(["<char3>"], "A close reaction shot holds @3 as she steps into the chapel threshold and listens to the room tone become warmer and less open.", "Doorway air, fabric, and distant building creaks."),
spec(["<char1>", "<char2>", "<char3>"], "@1 arrives through the side arcade, demonstrates a slow four-step entrance and one silent pause, then continues through the internal choir passage to check the far chapel entrance.", "Three sets of steps and a door moving softly.", "<char1>", "Keep the walking pulse steady and let the pause happen beneath the last arch."),
spec(["<char2>", "<char3>"], "@2 and @3 begin the route side by side, then separate by one arch as they enter the chapel.", "Stone steps changing to wood floor."),
spec(["<char2>"], "@2 sits briefly in the rear pew, stands on the next quiet count, and turns toward the courtyard light.", "Pew wood and restrained room tone."),
spec(["<char3>"], "@3 walks the outer aisle and pauses at a pillar where the chapel doorway remains visible behind her.", "Soft shoes and chapel air."),
spec(["<char2>", "<char3>"], "A gentle follow shot tracks them leaving by separate aisle ends and rejoining beneath the courtyard arcade.", "Footsteps, birds, and open-air echo."),
spec(["<char3>"], "@3 crosses the stone courtyard diagonally while her shawl moves in the light breeze.", "Courtyard wind and shoes on stone."),
spec(["<char2>"], "@2 stays under the covered arch and turns his head to compare her open-courtyard footsteps with his sheltered ones.", "Two different stone echoes."),
spec(["<char2>", "<char3>"], "They meet at the opposite arcade and practice the stop together, leaving a full arch of space between them.", "Footsteps ending and a long decay."),
spec(["<char2>"], "@2 enters the chapel first and sits in the front side pew, facing the empty far doorway.", "Pew cushion and quiet chapel resonance."),
spec(["<char3>"], "@3 follows several beats later, remains standing near the rear, and watches the distance between their positions.", "Measured shoes and fabric."),
spec(["<char2>", "<char3>"], "A locked wide holds both figures still while window light shifts slowly across the chapel floor.", "Faint birds beyond glass and building ambience."),
spec(["<char2>", "<char3>"], "@3 walks forward and sits one pew behind @2, then both look toward the choir passage opening.", "Pew wood and two quiet movements."),
spec(["<char2>", "<char3>"], "They stand in sequence and leave through the near doorway, allowing the wooden door to close without latching.", "Door movement and footsteps returning to stone."),
spec(["<char2>"], "@2 follows the north arcade alone, counting the arches with his gaze rather than speaking.", "Even footsteps and courtyard birds."),
spec(["<char3>"], "@3 takes the courtyard edge and reaches the far chapel wall from a more open route.", "Breeze and shoes on stone."),
spec(["<char2>", "<char3>"], "An over-the-shoulder view from behind @2 shows @3 waiting near the far door as he completes the sheltered route.", "Approaching footsteps and soft wind."),
spec(["<char2>", "<char3>"], "They turn toward the closed far chapel door and hold the planned silent interval.", "Birds, fabric, and still stone space."),
spec(["<char1>", "<char2>", "<char3>"], "The far door opens and @1 walks toward them through the opposite arcade on the intended final cue. @2 and @3 remain in place until she reaches the last arch.", "Door hinge, measured footsteps, and layered echoes."),
spec(["<char1>", "<char2>"], "A medium walking shot keeps @1 and @2 together as they repeat the final turn into the courtyard.", "Two synchronized steps and open air.", "<char1>", "The far entrance carries clearly; keep the same quiet pace."),
spec(["<char1>", "<char2>", "<char3>"], "All three form a loose line beneath separate arches and walk toward the chapel without singing.", "Three walking rhythms and courtyard birds."),
spec(["<char1>", "<char2>", "<char3>"], "A final chapel-facing wide holds their silhouettes crossing the threshold one by one as evening light softens.", "Stone-to-wood footsteps and calm room tone; no music."),
]
return build_case("worker_16_tier3", chars, "<char1>", 5, 22, shots)
def railway_case():
chars = {
"<char1>": "a young Black male station supervisor with short twists, a forest-green rail jacket, and a narrow brass name badge",
"<char2>": "an older white female wheelchair user with a silver bob, a plum raincoat, and dark leather gloves",
"<char3>": "a middle-aged East Asian female train attendant with chin-length black hair, a navy uniform coat, and a pale blue scarf",
}
shots = [
spec(["<char3>"], "A platform-length wide shows @3 opening the center doors of a stationary local train while the covered footbridge rises behind her.", "Train doors, platform birds, and a low electrical hum.", "<char3>", "The center doorway is level with this part of the platform."),
spec(["<char2>"], "@2 rolls from the waiting shelter into the open platform space and stops before the tactile edge, facing the train at a slight angle.", "Wheel rhythm, mild wind, and parked-train hum.", "<char2>", "I want to approach from the shelter without a sharp turn."),
spec(["<char2>", "<char3>"], "A medium side view follows @2 moving toward the open doors while @3 walks several paces beside her, leaving the threshold clear.", "Wheels, footsteps, and open doors."),
spec(["<char2>"], "A close detail shot shows @2 pause where the platform surface changes, then continue when both front casters remain level.", "Small wheel contacts and wind."),
spec(["<char3>"], "@3 boards first, turns inside the vestibule, and checks the clear space from passenger height.", "Threshold step and interior ventilation."),
spec(["<char1>", "<char2>", "<char3>"], "@1 joins them at the doorway, demonstrates the straight boarding line, and then crosses through the stationary train to test the level-access gate on the far platform.", "Three voices, wheels, and interior footsteps.", "<char1>", "Keep the approach straight; I will check the village-side gate from the other platform."),
spec(["<char2>", "<char3>"], "@2 enters the vestibule while @3 stands beyond the turning space, allowing the full doorway to remain visible.", "Wheels over threshold and ventilation."),
spec(["<char2>"], "@2 turns once inside and faces back toward the shelter through the open doors.", "Wheel movement and platform ambience."),
spec(["<char3>"], "@3 walks down the empty aisle and opens the opposite-side door at the next vestibule without stepping out.", "Aisle steps and second door motor."),
spec(["<char2>", "<char3>"], "A gentle follow shot tracks @2 through the carriage while @3 stays one seating bay ahead.", "Wheels on carriage floor and low electrical hum."),
spec(["<char2>"], "@2 pauses beside a broad window and watches the covered footbridge divide the view of both platforms.", "Station wind and interior air."),
spec(["<char3>"], "@3 steps onto the far platform and turns toward the footbridge stairs, leaving the train door open behind her.", "Platform steps and wind under the canopy."),
spec(["<char2>", "<char3>"], "@2 exits onto the far platform while @3 waits beyond the threshold, then both look toward the level gate at the distant end.", "Wheels, footsteps, and canopy wind."),
spec(["<char2>"], "@2 sits stationary near the shelter wall while a station flag moves above the roofline.", "Flag fabric and distant birds."),
spec(["<char3>"], "@3 walks to the footbridge base and climbs several steps, looking back across the platform from the first landing.", "Metal stair steps and rail sound."),
spec(["<char2>", "<char3>"], "An overhead wide from the landing holds @2 below and @3 above, with the stationary train between both platform routes.", "Wind, train hum, and station ambience."),
spec(["<char2>", "<char3>"], "@3 descends and rejoins the platform, then walks past @2 toward the level gate.", "Descending steps and platform footsteps."),
spec(["<char2>"], "@2 begins the same direction, following the canopy line at a relaxed pace.", "Wheel rhythm and mild wind."),
spec(["<char2>", "<char3>"], "They stop at a bench recess where the path narrows briefly around a pillar, then pass through one at a time.", "Wheels, shoes, and canopy echo."),
spec(["<char2>"], "@2 turns in the wider space beyond the pillar and looks back to confirm the route remains clear.", "Wheel pivot and train hum.", "<char2>", "The narrow point is short enough to take in one movement."),
spec(["<char3>"], "@3 reaches the closed level gate and checks the viewing window without touching the latch.", "Wind at the gate and distant village traffic."),
spec(["<char2>", "<char3>"], "They wait beside the wall as the far platform light changes from cool shade to a short patch of sun.", "Station birds and light wind."),
spec(["<char2>"], "@2 moves into the sun patch and then back beneath the canopy, comparing both waiting positions.", "Wheels and fabric."),
spec(["<char3>"], "@3 walks toward the gate again when movement becomes visible through its small window.", "Footsteps and a latch beyond."),
spec(["<char2>", "<char3>"], "A doorway composition frames both facing the level gate as it begins to swing inward from the village side.", "Gate hinge and outdoor footsteps."),
spec(["<char1>", "<char2>", "<char3>"], "@1 returns through the open level gate with a local passenger several paces behind him, demonstrating the alternative village approach in ordinary use.", "Gate, multiple footsteps, and village ambience."),
spec(["<char1>", "<char2>"], "@1 walks beside @2 back toward the train, matching her pace beneath the canopy.", "Footsteps, wheels, and light wind.", "<char1>", "The gate route stays level all the way to the center doors."),
spec(["<char1>", "<char2>", "<char3>"], "All three reach the open train doorway and spread across the platform to preserve the straight approach.", "Train hum and platform movement."),
spec(["<char1>", "<char2>", "<char3>"], "A final wide from inside the stationary train shows @2 boarding between @1 and @3 while the level gate remains open in the distance.", "Wheels over threshold, quiet doors, and station ambience; no music."),
]
return build_case("worker_17_tier3", chars, "<char1>", 6, 26, shots)
def river_case():
chars = {
"<char1>": "a middle-aged white nonbinary neighborhood organizer with short auburn hair, a dark teal walking coat, and a woven gray shoulder bag",
"<char2>": "an elderly Black male resident with a close gray beard, a camel jacket, and a polished walnut walking stick",
"<char3>": "a young Arab female resident with a cream headscarf, a maroon rain vest, and dark hiking shoes",
}
shots = [
spec(["<char2>"], "A riverside-wide shot follows @2 beneath willow shade as he picks up one light paper cup from the path and carries it toward the next bin.", "River water, willow leaves, and walking stick.", "<char2>", "The path is mostly clear after yesterday's gathering."),
spec(["<char3>"], "@3 joins from a grassy connector carrying one half-filled cleanup bag, then slows to watch sunlight move across the river.", "Bag fabric, grass steps, and water.", "<char3>", "The overlook loop is still quiet enough for a slow walk."),
spec(["<char2>", "<char3>"], "A medium walking two-shot keeps them side by side along the broad path, with the cleanup bag hanging loosely between occasional stops.", "Two walking rhythms and leaves."),
spec(["<char3>"], "A close reaction shot shows @3 turn toward a bicycle bell in the distance, then step to the side before the cyclist enters frame far behind.", "One distant bell and river ambience."),
spec(["<char1>", "<char2>", "<char3>"], "@1 approaches from the trailhead, greets them, and indicates the two upcoming forks. They then take the quieter branch to see whether the overlook path has already been cleared.", "Three voices, footsteps, and willow leaves.", "<char1>", "Continue by the river; I will take the overlook fork and meet the loop farther on."),
spec(["<char2>", "<char3>"], "@2 and @3 stay on the river branch, walking beneath a lower canopy where leaves nearly touch the path.", "Leaves, steps, and close water."),
spec(["<char2>"], "@2 stops beside a bench and places the paper cup into a public bin, then continues without sorting anything else.", "Bin lid and walking stick."),
spec(["<char3>"], "@3 walks to the river rail and watches a cluster of leaves turn in a slow eddy.", "Water and light bag movement."),
spec(["<char2>", "<char3>"], "A gentle follow tracks them around a shaded bend as the path rises slightly above the river.", "Footsteps, water, and willow branches."),
spec(["<char2>"], "@2 sits on a low overlook wall and rests his walking stick against his knee.", "Stone contact and river sound."),
spec(["<char3>"], "@3 stands several paces away and lifts one stray ribbon from a branch into the cleanup bag.", "Ribbon, bag, and leaves."),
spec(["<char2>", "<char3>"], "They leave the overlook together and cross a short grassy connector toward the covered rest point.", "Grass steps and distant traffic."),
spec(["<char3>"], "@3 pauses in the open grass as a brief breeze expands the cleanup bag, then closes her grip and continues.", "Wind and bag fabric."),
spec(["<char2>"], "@2 follows the paved edge and watches the covered rest point appear between two trees.", "Walking stick and birds."),
spec(["<char2>", "<char3>"], "A locked wide holds them approaching from separate sides of the grassy triangle before rejoining the main path.", "Separated footsteps and river air."),
spec(["<char2>"], "@2 steps beneath the rest shelter and sits at one end of the bench, facing the river.", "Bench wood and shelter roof creak."),
spec(["<char3>"], "@3 remains outside the shelter and looks back toward the now-distant fork.", "Leaves and faint cyclist wheels."),
spec(["<char2>", "<char3>"], "They switch positions: @2 stands near the shelter opening while @3 sits with the cleanup bag beside her feet.", "Seat movement and mild wind."),
spec(["<char3>"], "@3 rises when a passing cyclist slows near the shelter, leaving the path clear.", "Bicycle tires and soft steps."),
spec(["<char2>", "<char3>"], "Both turn toward a seated figure at the far end of the shelter, previously screened by a timber post.", "Shelter ambience and river water."),
spec(["<char1>", "<char2>", "<char3>"], "The new angle reveals @1 already seated there speaking briefly with the cyclist. They stand and greet @2 and @3 as the cyclist continues away.", "Bench, bicycle receding, and river sound."),
spec(["<char1>", "<char2>", "<char3>"], "A final rear wide follows all three leaving the shelter along the river path in a loose line, the half-filled bag carried without further work.", "Three walking rhythms, willow leaves, and water; no music.", "<char1>", "The overlook was already clear, so the loop can stay open."),
]
return build_case("worker_18_tier3", chars, "<char1>", 5, 21, shots)
def blackout_case():
chars = {
"<char1>": "an older Latina female resident with a dark gray bob, a burgundy cardigan, and a small ring of apartment keys",
"<char2>": "a young Southeast Asian male father with short black hair, a pale green overshirt, and dark jeans",
"<char3>": "a middle-aged Black female resident with shoulder-length locs, a mustard sweater, and round glasses",
}
shots = [
spec(["<char2>"], "A corridor-wide shot shows @2 opening his apartment door and stepping into the evening hall as the normal ceiling lights remain bright.", "Door latch, building ventilation, and distant home sounds.", "<char2>", "I will walk the route once before the lights change."),
spec(["<char3>"], "@3 emerges from the shared lounge, lets its door stay open, and looks down the long hall toward the west stair.", "Lounge door and soft hallway echo.", "<char3>", "The lounge light reaches farther than I remembered."),
spec(["<char2>", "<char3>"], "A medium two-shot follows them walking toward the first stair landing on opposite sides of the corridor.", "Footsteps and quiet apartment ambience."),
spec(["<char2>"], "@2 descends one flight, pauses at the landing window, and checks the next illuminated handrail section.", "Stair steps and window rain."),
spec(["<char3>"], "@3 stays above and closes one apartment door that had drifted open, keeping the corridor route clear.", "Door closer and hallway air."),
spec(["<char2>", "<char3>"], "An over-the-shoulder view from behind @3 shows @2 waiting below as she begins the same stair descent.", "Separated stair footsteps."),
spec(["<char1>", "<char2>", "<char3>"], "@1 enters from the east stair, explains the emergency-light interval, and then uses the west stairwell to check on an upstairs neighbor before the test.", "Three voices, keys, and a stair door.", "<char1>", "The corridor lights will dim briefly; keep one hand near the rail and continue to the lounge."),
spec(["<char2>", "<char3>"], "@2 and @3 continue downward as the normal lights fade and low amber emergency strips come on along the floor.", "Electrical change, footsteps, and building ventilation."),
spec(["<char2>"], "A close reaction shot shows @2 stop for one breath, locate the next amber strip, and resume walking.", "Soft shoes and low electrical hum."),
spec(["<char3>"], "@3 reaches the lower landing and turns toward the lounge doorway, now visible as a warmer rectangle.", "Stair steps and room tone."),
spec(["<char2>", "<char3>"], "A gentle follow tracks them through the dim hall toward the lounge without using handheld lights.", "Matched steps and subdued building sound."),
spec(["<char3>"], "@3 enters the lounge first and sits near the open doorway, keeping the corridor visible.", "Seat cushion and distant ventilation."),
spec(["<char2>"], "@2 remains in the hall and turns once toward the west stair before joining the lounge.", "Footsteps and amber-light hum."),
spec(["<char2>", "<char3>"], "They sit on separate lounge chairs as window light and the floor strips provide two different light levels.", "Quiet chairs and rain beyond glass."),
spec(["<char2>"], "@2 stands and walks a short loop from chair to doorway and back, testing the threshold in the dim light.", "Footsteps on two floor surfaces."),
spec(["<char3>"], "@3 moves to the window and watches reflected amber strips extend along the glass.", "Rain and clothing movement."),
spec(["<char2>", "<char3>"], "A locked wide holds both as the normal ceiling lights return gradually rather than switching on at once.", "Electrical hum rising and lounge ambience."),
spec(["<char3>"], "@3 opens the opposite lounge door to reveal the east corridor under full lighting.", "Door hinge and brighter hallway echo."),
spec(["<char2>"], "@2 walks into the east corridor and turns toward the second stairwell.", "Clear footsteps and building ventilation."),
spec(["<char2>", "<char3>"], "They ascend the east stair together, one landing apart, while rain light moves through the tall window.", "Stair rhythm and rain."),
spec(["<char3>"], "@3 reaches the upper hall and waits beside a closed neighbor's door without knocking.", "Quiet corridor room tone."),
spec(["<char2>"], "@2 comes through the stair door and looks down the now fully lit corridor toward his apartment.", "Stair door and distant home sounds."),
spec(["<char2>", "<char3>"], "They walk back toward the junction where the west stair and east stair corridors meet.", "Two sets of steps."),
spec(["<char3>"], "@3 stops when the west stair door handle moves from the other side.", "Handle movement and stairwell echo."),
spec(["<char1>", "<char2>", "<char3>"], "The west stair door opens and @1 returns with an elderly neighbor walking beside her. @2 and @3 step aside to keep the hall clear.", "Door, several footsteps, and warm corridor ambience."),
spec(["<char1>", "<char2>"], "A medium hallway shot follows @1 and @2 walking toward the lounge while the normal lights remain stable.", "Keys and footsteps.", "<char1>", "The upstairs route stayed clear, and the neighbor saw every landing strip."),
spec(["<char1>", "<char2>", "<char3>"], "A final doorway wide shows the three residents entering the shared lounge as ordinary evening activity resumes beyond them.", "Lounge voices at a distance, doors, and building ventilation; no music."),
]
return build_case("worker_19_tier3", chars, "<char1>", 7, 25, shots)
def cable_case():
chars = {
"<char1>": "a middle-aged Tibetan male cable-car station host with short black hair, a charcoal wool jacket, and a deep red woven sash",
"<char2>": "a young Black female traveler with long braids, a bright blue hiking shell, and a compact gray daypack",
"<char3>": "an older East Asian female traveler with a silver bob, a plum down coat, and dark round glasses",
}
shots = [
spec(["<char2>"], "A glass-hall wide shows @2 walking toward the viewing-deck doors as low cloud presses against the mountain windows.", "Station ventilation, wind outside, and soft steps.", "<char2>", "The cloud has covered the ridge completely."),
spec(["<char3>"], "@3 enters from the covered platform and sits near the glass, watching beads of moisture move sideways in the wind.", "Seat fabric, exterior wind, and distant cable machinery.", "<char3>", "The wind is stronger at the platform than inside."),
spec(["<char2>", "<char3>"], "A medium two-shot frames @2 standing beside the window while @3 remains seated, both facing the hidden view.", "Glass-hall ambience and wind."),
spec(["<char2>"], "@2 walks the interior ramp to its first turn and looks back across the waiting hall.", "Ramp footsteps and ventilation."),
spec(["<char3>"], "A close reaction shot shows @3 lift her glasses briefly as condensation clears from the inner pane.", "Clothing and wind around glass."),
spec(["<char2>", "<char3>"], "They meet at the ramp base and look toward a small wind gauge visible beyond the closed deck doors.", "Interior room tone and exterior gusts."),
spec(["<char1>", "<char2>", "<char3>"], "@1 arrives from the platform, explains that the deck remains closed, and uses the service ramp to check the wind gauge at the entrance.", "Three voices, ramp footsteps, and wind.", "<char1>", "Stay inside while the cloud crosses; I will check the gauge at the sheltered deck end."),
spec(["<char2>", "<char3>"], "@2 and @3 return to the glass hall, choosing separate window bays with different views of the moving cloud.", "Footsteps and station ventilation."),
spec(["<char3>"], "@3 sits again and watches a brief dark shape of the cable tower appear, then disappear in mist.", "Wind and faint machinery."),
spec(["<char2>"], "@2 walks to the covered platform doorway but remains inside the threshold as a cold draft lifts her braids.", "Door seal, wind, and fabric."),
spec(["<char2>", "<char3>"], "A gentle lateral follow tracks them along the windows while the cloud light changes from gray to pale silver.", "Matched steps and wind against glass."),
spec(["<char2>"], "@2 sits on the low ramp wall and looks upward toward the deck entrance.", "Stone seat and ventilation."),
spec(["<char3>"], "@3 walks the ramp one curve higher and pauses where the mountain outline first becomes faintly visible.", "Ramp steps and exterior wind."),
spec(["<char2>", "<char3>"], "An over-the-shoulder view from behind @2 frames @3 above him against the clouded windows.", "Station air and soft footsteps."),
spec(["<char2>", "<char3>"], "@3 descends and joins @2 at the wall as a patch of blue appears over the lower valley.", "Clothing and distant cable hum."),
spec(["<char2>", "<char3>"], "They move to the platform-side glass and watch a stationary cabin sway slightly on its cable outside.", "Cable creak and controlled wind."),
spec(["<char2>"], "@2 follows the cabin with her gaze until cloud hides it again beyond the station roof.", "Wind and fading machinery."),
spec(["<char3>"], "@3 stands from the window bench and walks toward the deck doors as their warning light changes from red to amber.", "Bench movement and a soft indicator tone."),
spec(["<char2>", "<char3>"], "A locked wide holds them several paces from the doors while the amber light remains steady and the cloud thins beyond glass.", "Wind softening and station ambience."),
spec(["<char2>"], "@2 steps to the side window and sees the lower viewing rail emerge from mist.", "Exterior wind and quiet shoes."),
spec(["<char3>"], "@3 sits near the door rather than waiting directly in front of it, leaving the approach clear.", "Seat cushion and ventilation."),
spec(["<char2>", "<char3>"], "They exchange positions as the mountain ridge appears in broken sections between moving cloud.", "Footsteps and distant birds."),
spec(["<char2>"], "@2 walks back down the ramp and turns at each glass panel to compare the widening view.", "Descending steps and wind."),
spec(["<char3>"], "@3 remains at the upper door bay, looking toward the now-visible deck floor.", "Quiet station air."),
spec(["<char2>", "<char3>"], "They meet again beneath the wind gauge window as the indicator changes from amber to green.", "Indicator tone and a lighter gust."),
spec(["<char2>", "<char3>"], "@3 rises and waits beside the door frame while @2 stands farther back on the ramp.", "Clothing movement and door mechanism readying."),
spec(["<char2>"], "@2 looks through the doors at sunlight touching one section of the viewing rail.", "Wind and faint outdoor birds."),
spec(["<char1>", "<char2>", "<char3>"], "The deck doors open and @1 walks back through them from the cleared exterior, inviting both visitors toward the changed view.", "Sliding doors, open wind, and approaching footsteps."),
spec(["<char1>", "<char3>"], "A medium doorway shot follows @1 beside @3 onto the sheltered end of the deck while the ridge emerges behind them.", "Deck footsteps and mild wind.", "<char1>", "The gusts have dropped; stay inside the sheltered rail line."),
spec(["<char1>", "<char2>", "<char3>"], "A final mountain-wide shot holds all three spaced along the viewing deck as the last low cloud drifts below the station.", "Mild wind, distant cable machinery, and open mountain ambience; no music."),
]
return build_case("worker_20_tier3", chars, "<char1>", 7, 28, shots)
def main():
cases = [cloister_case(), railway_case(), river_case(), blackout_case(), cable_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()