#!/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_batch06.json" CASES=[ { "case_id":"worker_26_tier2","tier":2,"target_identity":"","first_appearance_shot":7,"reappearance_shot":14,"absence_gap":6, "characters":{ "":"a middle-aged Black father with a close beard, a navy rain shell, tan trousers, and dark rubber shore boots", "":"a teenage Black girl with long braids, a coral windbreaker, black trousers, and green shore boots", "":"a young white woman with short auburn hair, a sea-green field jacket, charcoal trousers, and a shell-shaped silver pin" }, "shot_specs":[ shot(1,[""],"A wide establishing shot follows down the beach stairs toward exposed tide pools as a low wave retreats across the rocks.","Surf, wind, and one visitor speaks.",[line("","The water is falling away from the first pool. I will use the broad dry rocks.")]), shot(2,[""],"A medium shot shows reach the sand and pause before a narrow stream running between two rock shelves.","Water, shore birds, and one reply.",[line("","I can cross where the stream is shallow and keep both feet in view.")]), shot(3,["",""],"A lateral follow tracks both visitors across the broad rock shelf while small pools reflect the cloudy sky beside them.","Boots, trickling water, and surf."), shot(4,[""],"A close shot frames crouch beside a pool and watch one anemone without reaching into the water.","Pool water and distant gulls."), shot(5,["",""],"A fixed wide shot shows the pair walk around the outer edge of a larger pool as another gentle wave fills a lower channel.","Wave wash and measured steps."), shot(6,[""],"An over-the-shoulder view behind looks toward a higher rock ledge and the dunes beyond.","Wind and receding water."), shot(7,["","",""]," approaches from the higher ledge, points out a safe observation edge, then circles toward a second pool beyond the rocks.","Field boots and one educator voice.",[line("","Watch this pool from the flat edge. I will check the water line around the next shelf.")]), shot(8,["",""],"A wide shot holds both visitors beside the flat edge as a hermit crab moves between two submerged stones.","Tiny water movement and surf."), shot(9,[""],"A medium shot follows stepping across the shallow stream and climbing one low rock step.","Boots in water and wind."), shot(10,[""],"A close shot catches reflected clouds shift across 's face as he observes the pool from above.","Water and a gull call."), shot(11,["",""],"A lateral tracking shot follows both along the dry upper shelf toward the dunes while the lower channels refill behind them.","Surf and steady footfalls."), shot(12,[""]," reaches the sand path and turns to compare the dry return route with the wet rocks below.","Sand, wind, and no speech."), shot(13,["",""],"From over their shoulders, a familiar sea-green figure appears at the dune edge above the second pool.","Wind in dune grass."), shot(14,[""],"A medium reappearance shot reveals on the dune path, matching the auburn hair, sea-green jacket, charcoal trousers, and shell pin.","Grass, surf, and the same educator voice.",[line("","The outer shelf is still safe, but this dune path is the driest way back.")]), shot(15,["","",""],"A wide final shot shows all three climb the sandy path while the tide pools spread below them.","Three walking rhythms, surf, and no dialogue.") ] }, { "case_id":"worker_27_tier2","tier":2,"target_identity":"","first_appearance_shot":6,"reappearance_shot":15,"absence_gap":8, "characters":{ "":"a young South Asian woman with long black hair in a low ponytail, a cream rehearsal shirt, black trousers, and soft brown stage shoes", "":"a middle-aged white man with short gray hair, a slate rehearsal jacket, navy trousers, and black stage shoes", "":"a middle-aged Latina woman with a dark curly bob, a burgundy director cardigan, charcoal trousers, and red-framed glasses" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows enter an empty stage from the left wing and stop on the center light mark.","Stage floor, empty house ambience, and one actor speaks.",[line("","I will cross at walking pace and let the pause happen before I turn.")]), shot(2,[""],"A medium shot follows from the right wing to a position several meters away from center.","Soft stage shoes and one reply.",[line("","I will wait until your turn is complete before I enter the same space.")]), shot(3,["",""],"A lateral tracking shot holds both actors as crosses, pauses, and turns while remains still.","Measured steps and room echo."), shot(4,[""],"A close shot catches breathe through a silent count before taking three steps toward center.","Breathing and light shoe contact."), shot(5,["",""],"A fixed wide shot shows the actors pass with a broad gap, each continuing to the opposite wing without props.","Two walking rhythms and curtain movement."), shot(6,["","",""]," enters from the auditorium aisle, gives one blocking note, then continues through the backstage passage toward the house side.","Auditorium steps and one director voice.",[line("","Keep the center pause. I will watch the next crossing from the front row.")]), shot(7,[""],"A medium follow shows repeat the cross alone and stop beneath the center light.","Stage shoes and quiet house air."), shot(8,[""],"An over-the-shoulder angle behind looks across the empty stage toward the opposite wing.","Curtain fabric and distant ventilation."), shot(9,["",""],"A wide shot shows both actors enter from opposite sides, stop before center, and leave in the directions they came.","Footsteps and no speech."), shot(10,[""],"A close shot frames 's face as she holds the pause and shifts her gaze toward the front rows.","Stage room tone."), shot(11,[""],"A lateral follow tracks diagonally toward the downstage corner and back to center.","Soft shoe slides."), shot(12,["",""],"A fixed wide view shows a final silent crossing with both actors keeping the center completely open.","Two sets of steps."), shot(13,[""]," sits briefly at the stage edge and looks into the empty front row.","Clothing and auditorium ventilation."), shot(14,["",""],"From over 's shoulder, turns toward the auditorium side door as it opens below.","A side door and approaching steps."), shot(15,[""],"A medium reappearance shot shows rise from the front row, matching the dark curls, burgundy cardigan, charcoal trousers, and red glasses.","The same director voice carries through the empty house.",[line("","The pause reads clearly from here. Keep the same spacing for the final cross.")]) ] }, { "case_id":"worker_28_tier2","tier":2,"target_identity":"","first_appearance_shot":5,"reappearance_shot":12,"absence_gap":6, "characters":{ "":"a young East Asian woman with a black ponytail, a cobalt running jacket, black leggings, and gray walking shoes", "":"a middle-aged Black father with a short beard, a tan parka, olive trousers, and brown boots", "":"an elderly white man with a silver beard, a dark green wool coat, charcoal trousers, and a maroon knit cap" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows slow from a walk beside a winter park gazebo as frost still covers the shaded grass.","Cold wind, birds, and one passerby speaks.",[line("","The path is clear, but the grass is still slick with frost.")]), shot(2,[""],"A medium shot follows and his child off-screen along the path; he stops at the gazebo edge and watches a small bird flock.","Bird wings and one reply.",[line("","We will stay by the path and give the birds the open grass.")]), shot(3,["",""],"A lateral follow tracks both adults around the gazebo while the flock lifts briefly and settles farther from the walkway.","Wingbeats and winter footsteps."), shot(4,[""],"A close shot catches 's breath in cold air as he sits on the gazebo bench.","Breathing, coat fabric, and birds."), shot(5,["","",""]," approaches from the slope, speaks once, then walks along the outer path toward a grass edge away from the main route.","Boots on frost and one park regular speaks.",[line("","I will place a little seed by the far grass, away from the walking path.")]), shot(6,["",""],"A fixed wide shot holds both visitors under the gazebo as the flock circles beyond the bare trees.","Wind and distant wingbeats."), shot(7,[""],"A medium follow shows walk down the clear path and stop before the frosted slope.","Shoes on gravel."), shot(8,[""]," rises from the bench and turns toward birds settling at the far grass edge.","Bench wood and bird calls."), shot(9,["",""],"An over-the-shoulder view behind both shows the flock feeding far from the main path.","Small bird sounds and wind."), shot(10,[""],"A close shot shows pull his coat collar higher as frost begins to melt in sunlight.","Fabric and dripping gazebo roof."), shot(11,["",""],"A wide shot follows the pair back toward the gazebo while birds lift across the frame ahead of them.","Wingbeats and footsteps."), shot(12,[""],"A medium reappearance shot reveals walking from behind the tree line, matching the silver beard, green coat, charcoal trousers, and maroon cap.","Birds pass first and the same elderly voice follows.",[line("","The flock has moved off the path, and the sunny side is losing its frost.")]), shot(13,["","",""],"A wide final shot shows all three remain near the gazebo while the birds feed at a respectful distance.","Winter park ambience and no dialogue.") ] }, { "case_id":"worker_29_tier2","tier":2,"target_identity":"","first_appearance_shot":7,"reappearance_shot":15,"absence_gap":7, "characters":{ "":"an elderly East Asian man with short white hair, a navy cardigan, beige trousers, and soft black house shoes", "":"a young East Asian woman with a blunt black bob, a rust sweater, blue jeans, and white socks", "":"a middle-aged East Asian woman with shoulder-length black hair, a moss-green blouse, charcoal trousers, and amber earrings" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows in a family living room opening the curtain beside three large floor plants as afternoon light reaches the wall.","Curtain rings and one family member speaks.",[line("","The sun has moved. The tall plant should come away from the warm radiator.")]), shot(2,[""],"A medium shot follows from the hallway to the indoor balcony door, where she checks the cooler patch of floor.","House ambience and one reply.",[line("","There is enough room by the balcony if we lift it together.")]), shot(3,["",""],"A lateral follow tracks both family members as they carry one large potted plant a few steps across the room.","Leaves, careful footsteps, and pot weight."), shot(4,[""],"A close shot catches broad leaves settle after releases her side of the pot.","Leaves and quiet room tone."), shot(5,["",""],"A fixed wide shot shows the pair sit by the window and compare the new open reading space with the plant's shadow.","Chair fabric and distant traffic."), shot(6,[""],"An over-the-shoulder view behind looks toward the hallway and the sunlit wall in the adjacent room.","Clock and soft house ambience."), shot(7,["","",""]," enters from the hallway, observes the light, then walks into the adjacent room to compare its window direction.","Footsteps and one family voice.",[line("","I will check the next room's light and come back through the balcony side.")]), shot(8,["",""],"A wide shot shows the pair lift a smaller floor plant together and place it near the first without crowding the window.","Leaves and synchronized steps."), shot(9,[""],"A medium follow shows cross to the indoor balcony and open its glass door slightly.","Door rail and balcony air."), shot(10,[""],"A close shot catches moving leaf shadows cross 's navy cardigan as he sits in the newly open reading space.","Leaves and a page turn."), shot(11,["",""],"A lateral tracking shot follows both as they carry the final light plant stand away from the radiator.","Wood, leaves, and footsteps."), shot(12,[""]," sits by the window and watches the sunlight move from the floor toward the opposite wall.","Quiet traffic and room tone."), shot(13,["",""],"A fixed wide view holds the calm room with both family members separated by the open reading space.","Clock and leaves."), shot(14,["",""],"From over their shoulders, the indoor balcony door frames a familiar moss-green figure approaching from the side.","Balcony door movement."), shot(15,[""],"A medium reappearance shot reveals entering through the balcony door, matching her shoulder-length hair, green blouse, charcoal trousers, and amber earrings.","The same family voice returns.",[line("","The next room is dimmer now. These plants are better here by the balcony light.")]) ] }, { "case_id":"worker_30_tier2","tier":2,"target_identity":"","first_appearance_shot":5,"reappearance_shot":15,"absence_gap":9, "characters":{ "":"a young Black woman with long locs, a mustard raincoat, dark trousers, and black rubber boots", "":"an elderly South Asian woman with silver hair under a burgundy scarf, a charcoal coat, and a clear umbrella", "":"a middle-aged Pacific Islander man with shoulder-length curls, a navy market jacket, tan trousers, and a brass key ring at his belt" }, "shot_specs":[ shot(1,[""],"A wide establishing shot shows walking through a covered market arcade as rain falls beyond the open ends and several shutters stand half closed.","Rain, metal shutters, and one stallholder speaks.",[line("","The side aisle is closing first. I will keep the central walkway open.")]), shot(2,[""],"A medium shot follows under the roof with her clear umbrella folded as she looks for the lit exit.","Rain and one customer reply.",[line("","I can use the main walkway if the river entrance is still open.")]), shot(3,["",""],"A lateral follow tracks both along the arcade while one shutter descends slowly behind them.","Metal rolling and footsteps."), shot(4,[""],"A close shot catches reflected market lights move across 's clear umbrella as she pauses beneath a direction sign.","Rain and distant shutters."), shot(5,["","",""]," enters from a side lane, identifies the far open street, then accompanies toward it through the covered arcade.","Keys, rain, and one coordinator voice.",[line("","The far street exit is still open. I will walk with you through the last covered section.")]), shot(6,[""],"A fixed wide shot shows remain in the central lane as another shutter closes without blocking her route.","Metal shutter and rain."), shot(7,[""],"A medium follow tracks toward the middle arch where she checks that a bench remains clear of the closing path.","Boots and roof drips."), shot(8,[""],"An over-the-shoulder view looks down the arcade as alternating market lights switch off one bay at a time.","Electrical clicks and rain."), shot(9,[""],"A close shot shows pull one light shutter cord and step back as the panel reaches the ground.","Cord and metal settling."), shot(10,[""],"A long shot follows cross the empty central walkway while rain glows at both ends.","Footsteps and distant traffic."), shot(11,[""]," pauses beneath the middle arch as half the overhead lights now remain on.","Rain and quiet ventilation."), shot(12,[""],"A lateral tracking shot shows walk toward the final open stall front and close its side gate.","Gate rollers and boots."), shot(13,[""],"A wide view holds the long arcade with one clear central route and fewer lights than before.","Rain dominates; no speech."), shot(14,[""],"From over 's shoulder, a familiar navy-jacketed figure appears between the far shutters and approaches from the opposite direction.","Keys and footsteps approach."), shot(15,[""],"A medium reappearance shot reveals returning through the arcade, matching the shoulder-length curls, navy jacket, tan trousers, and brass keys.","The same coordinator voice and rain.",[line("","The customer reached the open street. This central lane can close after you pass.")]) ] } ] 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()