#!/usr/bin/env python3 import json from pathlib import Path from generate_tier2_batch02 import shot,line,compile_case ROOT=Path(__file__).resolve().parents[1] OUT=ROOT/"generated"/"tier2_batch05.json" CASES=[ { "case_id":"worker_21_tier2","tier":2,"target_identity":"","first_appearance_shot":5,"reappearance_shot":13,"absence_gap":7, "characters":{ "":"a middle-aged Black woman with a close natural haircut, a red sailing jacket, navy trousers, and gray deck shoes", "":"a middle-aged white man with sandy hair, a dark green windbreaker, tan trousers, and a blue knit cap", "":"a young Latino man with short wavy hair, a cobalt club jacket, black trousers, and orange-soled deck shoes" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows descend the sloped gangway toward a floating rowing dock as the river lifts the platform gently.","Water, dock joints, and one member speaks.",[line("","The water is higher than this morning. I will wait for the dock to settle before stepping across.")]), shot(2,[""],"A medium shot follows along the shore path toward a double rowing shell resting beside the near float.","Gravel, water, and one reply.",[line("","I will keep the bow near the inner edge and leave the gangway open.")]), shot(3,["",""],"A lateral follow tracks both members onto the float, where they take separate positions beside the shell without lifting it yet.","Floating dock creaks and light wind."), shot(4,["",""],"An over-the-shoulder view behind shows test the shell's slow movement against the calm water.","Hull against water and loose rope."), shot(5,["","",""]," approaches from the far float, indicates the open return route, then walks along the shoreline toward another mooring point.","Deck shoes, water, and one instructor voice.",[line("","Hold the shell level here. I will check that the far berth is clear for our return path.")]), shot(6,["",""],"A wide shot shows both members lift the shell only enough to guide it parallel to the float, moving in short synchronized steps.","Hull movement and dock creaks."), shot(7,[""],"A close shot catches pause with relaxed shoulders while the float rises under a passing wake.","A small wake and jacket fabric."), shot(8,["",""],"A medium shot follows backward and forward as they guide the shell toward the gangway side.","Coordinated footsteps and water."), shot(9,["",""],"A fixed wide view holds the pair while they stop and let another wake pass beneath both dock and boat.","Water slaps softly and no speech."), shot(10,[""]," walks to the bow, checks the clear shoreline route by sight, and returns to his position.","Deck footsteps and distant gulls."), shot(11,["",""],"A lateral tracking shot follows the shell and both walkers through the final meters toward the open berth.","Hull, water, and steady footfalls."), shot(12,[""],"From over 's shoulder, the far float comes into view with a familiar cobalt figure approaching along it.","Dock joints and river wind."), shot(13,[""],"A medium reappearance shot shows walk back from the far berth, matching the wavy hair, cobalt jacket, black trousers, and orange-soled shoes.","Water and the same instructor voice.",[line("","The berth is open. Keep this pace and bring the bow toward the inside marker.")]), shot(14,["","",""],"A wide final shot shows all three guide the shell into the empty berth while the river continues moving beneath them.","Three walking rhythms, water, and no dialogue.") ] }, { "case_id":"worker_22_tier2","tier":2,"target_identity":"","first_appearance_shot":7,"reappearance_shot":14,"absence_gap":6, "characters":{ "":"a young Black woman with an extremely short natural haircut, a white linen shirt, an indigo-stained apron, and loose black trousers", "":"a middle-aged East Asian man with short gray hair, a sand overshirt, navy trousers, and clear-framed glasses", "":"an elderly Southeast Asian woman with long silver hair in a low knot, a plum cotton jacket, dark trousers, and a jade bangle" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows cross an open dye-yard beside long blue fabric moving on overhead lines.","Fabric, courtyard wind, and one dyer speaks.",[line("","The sun has reached the first cloth. I want to compare it before the wind dries the lower edge.")]), shot(2,[""],"A medium shot follows from the shallow rinse channel toward the shaded end of the same cloth.","Water, fabric, and one reply.",[line("","I will look from the shade so the color is not changed by glare.")]), shot(3,["",""],"A lateral follow tracks both beneath the cloth line while shifting blue light passes over their clothing.","Cloth moves and water laps."), shot(4,[""],"A close shot frames reflected blue across 's glasses as he watches one damp edge darken in shadow.","Fabric and quiet courtyard water."), shot(5,["",""],"A fixed wide shot shows the pair lift one long cloth edge together and carry it several steps toward the breezier line.","Fabric tension and synchronized footsteps."), shot(6,[""],"An over-the-shoulder view behind looks through translucent cloth toward the water channel and a second row beyond.","Wind and fabric layers."), shot(7,["","",""]," enters from the courtyard arch, observes the sunlit section, then walks behind the far cloth row to compare its shaded portion.","A jade bangle, cloth, and one senior voice.",[line("","Keep this edge loose. I will compare the shaded length beyond the second line.")]), shot(8,["",""],"A wide shot holds the two workers as they lower the cloth gently and let the wind reopen its full surface.","Fabric billows and water drips."), shot(9,[""],"A medium follow shows walk beside the rinse channel while watching color shift across the moving cloth.","Water and light footsteps."), shot(10,[""]," stands in open sun, then steps into cloth shadow to compare the same blue without touching it.","Wind and courtyard ambience."), shot(11,["",""],"A close-to-wide transition begins at the wet hem and reveals both workers crossing toward the water side.","Droplets and fabric."), shot(12,["",""],"A lateral shot follows the pair carrying the cloth edge back toward its original line as the breeze weakens.","Soft fabric and measured steps."), shot(13,[""],"From over 's shoulder, a figure appears beyond the translucent far cloth and approaches the rinse channel.","Water and footsteps behind fabric."), shot(14,[""],"A medium reappearance shot reveals pass through the cloth opening, matching the silver hair, plum jacket, jade bangle, and dark trousers.","Fabric parts and the same senior voice.",[line("","The shaded length is cooler but evenly dyed. Leave it in this softer wind.")]), shot(15,["","",""],"A wide final shot shows all three walk the length of the hanging cloth as its color shifts naturally between sun and shade.","Courtyard wind, water, and no dialogue.") ] }, { "case_id":"worker_23_tier2","tier":2,"target_identity":"","first_appearance_shot":6,"reappearance_shot":13,"absence_gap":6, "characters":{ "":"a young white man with curly red hair, a pale denim shirt, khaki trousers, and green garden boots", "":"an elderly Black woman with short gray twists, a violet rain jacket, dark trousers, and brown boots", "":"a middle-aged Latina woman with a dark wavy bob, a forest-green field shirt, tan trousers, and a woven sun hat" }, "shot_specs":[ shot(1,[""],"A wide establishing shot follows from the community-garden rain barrel onto a curving path between wet plots.","Leaf drips and one volunteer speaks.",[line("","The open beds are already soaked. I want to see whether the covered soil stayed dry.")]), shot(2,[""],"A medium shot shows enter through the bean arch and touch the soil at the path edge with two fingers.","Leaves, damp soil, and one reply.",[line("","This side is wet enough. I will follow the path toward the shelter.")]), shot(3,["",""],"A lateral follow tracks both volunteers around a bend while rainwater falls from broad leaves behind them.","Boots, dripping foliage, and birds."), shot(4,[""],"A close shot shows lift one leaning bean vine back onto its support without handling any labels or records.","Leaves and a soft cane-like support tap."), shot(5,["",""],"An over-the-shoulder view behind reveals the covered beds and a second winding path beyond the bean frame.","A light breeze and water in gravel."), shot(6,["","",""]," comes around the bean frame, speaks to both volunteers, then follows the second path into the adjacent sheltered plot.","Wet leaves and one coordinator voice.",[line("","I will check the soil beneath the shelter and meet you where the paths join.")]), shot(7,["",""],"A fixed wide shot shows the two volunteers continue through open beds where every leaf still carries rain.","Drips and quiet footsteps."), shot(8,[""],"A medium follow keeps full-length as he steps around a shallow puddle and crouches beside dark soil.","Boots, water, and soft garden ambience."), shot(9,[""]," walks beneath the bean arch and pauses as sunlight begins to brighten the wet path.","Leaves stir and birds return."), shot(10,["",""],"A wide shot shows both volunteers cross toward the path junction, leaving the planted beds untouched.","Gravel and receding drips."), shot(11,[""],"A close shot catches press one damp soil clump and let it fall back naturally.","Soil and sleeve fabric."), shot(12,["",""],"From over their shoulders, the curved path reveals a familiar sun hat moving behind the bean leaves.","Footsteps approach through foliage."), shot(13,[""],"A medium reappearance shot shows round the bend, matching the dark bob, green field shirt, tan trousers, and woven hat.","Leaves brush the hat and the same voice returns.",[line("","The sheltered soil is still dry. That is the only bed that needs water today.")]) ] }, { "case_id":"worker_24_tier2","tier":2,"target_identity":"","first_appearance_shot":5,"reappearance_shot":14,"absence_gap":8, "characters":{ "":"a middle-aged white woman with short blond hair, a burgundy coat, black trousers, and a cello case on small wheels", "":"an elderly East Asian man with neatly combed white hair, a camel jacket, charcoal trousers, and a folded navy umbrella", "":"a young Indigenous nonbinary station volunteer with long black hair in a low braid, a teal vest, gray trousers, and a round white badge" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows enter a broad subway interchange and roll the cello case between tall columns toward the elevator signs.","Station hum, case wheels, and one traveler speaks.",[line("","The stairs are close, but I need the elevator route with this instrument.")]), shot(2,[""],"A medium shot follows from the platform corridor into the main hall, where he pauses beneath two diverging signs.","Footsteps and one reply.",[line("","I am changing lines too. I will keep to the quieter side of the hall.")]), shot(3,["",""],"A lateral follow tracks both travelers across the hall while a distant musician plays softly near the opposite wall.","Case wheels, footsteps, and faint guitar."), shot(4,["",""],"An over-the-shoulder view behind shows reach the elevator symbol beside a long side passage.","Escalators and station ventilation."), shot(5,["","",""]," approaches from the elevator column, gives one direction, then accompanies and the cello case into the side passage.","Hall echo and one volunteer voice.",[line("","The accessible passage begins here. I will walk with you to its first turn.")]), shot(6,[""],"A fixed wide shot shows continue alone across the open hall as escalators move in the background.","Escalator hum and distant music."), shot(7,[""],"A medium follow keeps centered as he passes behind one row of columns toward the connecting-line entrance.","Shoes and platform announcements far away."), shot(8,[""],"A close shot catches changing sign light across 's white hair and folded umbrella.","Electric hum and footsteps."), shot(9,[""]," stops at the hall midpoint and turns toward a quieter corridor marked by a blue wall band.","Faint guitar and station air."), shot(10,[""],"A long shot shows cross the second column row as sparse passengers move in other directions.","Broad hall ambience."), shot(11,[""]," rides a short moving walkway and steps off beside the connecting-line entrance.","Walkway motor and one shoe step."), shot(12,[""],"A medium shot follows turn back toward the main hall after checking the line color overhead.","Distant train brakes."), shot(13,[""],"From over his shoulder, two figures appear between the far columns beside the rolling cello case.","Case wheels gradually approach."), shot(14,["",""],"A medium reappearance shot shows return beside , clearly matching the long braid, teal vest, gray trousers, and round badge.","The same volunteer speaks over quiet hall noise.",[line("","The elevator is operating, and this route returns directly to the main hall.")]), shot(15,["","",""],"A wide final shot shows all three cross toward their separate exits while the cello case rolls smoothly across the open floor.","Wheels, footsteps, and station hum." ) ] }, { "case_id":"worker_25_tier2","tier":2,"target_identity":"","first_appearance_shot":6,"reappearance_shot":15,"absence_gap":8, "characters":{ "":"an elderly Latina woman with a silver bob, a mauve wool coat, dark trousers, and a wooden cane", "":"a young Black man with short twists, a navy rain jacket, gray trousers, and a folded green umbrella", "":"a middle-aged East Asian man with short black hair, a pale blue clinic shirt, charcoal trousers, and a navy cardigan" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows enter a rural clinic corridor from the covered porch and pause near a drafty window seat.","Rain outside, clinic ventilation, and one patient speaks.",[line("","The air is cold by this window. I would rather wait farther inside.")]), shot(2,[""],"A medium shot follows through the porch door as he closes his umbrella and notices the open interior seats.","Door seal, umbrella, and one reply.",[line("","I can move to the window side and leave the warmer chair open.")]), shot(3,["",""],"A lateral follow tracks both along the corridor as walks toward the warmer inner seat and takes the window chair.","Cane, footsteps, and soft room tone."), shot(4,[""],"A close shot shows close the upper window latch halfway, reducing the curtain movement without shutting out all air.","Latch, curtain, and rain."), shot(5,["",""],"An over-the-shoulder view behind shows settle near the inner wall while the corridor remains open.","Chair fabric and clinic ambience."), shot(6,["","",""]," comes from the consulting-room end, checks both are comfortable, then accompanies toward the quiet drinking alcove.","Measured steps and one caregiver voice.",[line("","This seat is warmer. I will walk with you to the drinking alcove and return along the clinic corridor.")]), shot(7,[""],"A fixed wide shot holds seated alone in the inner chair while rain brightens the porch beyond.","Rain and subdued ventilation."), shot(8,[""],"A medium shot shows stand, stretch one leg, and sit again without leaving the warm area.","Cane and chair fabric."), shot(9,[""],"A close shot catches watch the curtain settle after the window adjustment.","Curtain fabric and quiet rain."), shot(10,[""],"A wide corridor view shows walk slowly to the porch threshold and look outside without stepping into the rain.","Cane taps and porch water."), shot(11,[""]," returns to the inner chair as sunlight begins to brighten the wet doorway.","Footsteps and rain easing."), shot(12,[""],"An over-the-shoulder view behind looks toward the empty clinic corridor and drinking-alcove turn.","A distant cup fills with water."), shot(13,[""]," rises when two sets of footsteps approach from the far end, then waits beside her chair.","Footsteps and cane wood."), shot(14,[""],"A long shot reveals two figures entering the corridor from the alcove turn, still partly framed by the doorway.","Clinic echo and rain nearly stopped."), shot(15,["",""],"A medium reappearance shot shows return beside , matching the pale blue shirt, navy cardigan, charcoal trousers, and short black hair.","The same caregiver voice and quiet corridor ambience.",[line("","The alcove was quiet, and the warmer seats are ready for both of you now.")]) ] } ] def main(): cases=[compile_case(case) for case in CASES] OUT.write_text(json.dumps(cases,ensure_ascii=False,indent=2)+"\n",encoding="utf-8") print(json.dumps({"cases":len(cases),"shots":sum(len(c["shots"]) for c in cases),"output":str(OUT)},indent=2)) if __name__=="__main__": main()