def run(load,check): d=load('PREVIOUS_DATA.json');reg=d['menus']['regular'];cum=d['menus']['cumulative'];rf=next(f for f in d['fields'] if f['field']=='regular');cf=next(f for f in d['fields'] if f['field']=='cumulative');qualified=[];couplings=[] for h in rf['hits']: A=reg[h['J_pivot_record_indices'][0]];X=reg[h['input_record_indices'][0]];Y=reg[h['output_record_indices'][0]];full=X['full430'];g=X['gear'];label=str((full,g)) check('MT coherent source context '+label,A['tradition']==X['tradition']==Y['tradition']=='MT' and A['role']=='Flood start' and X['role']==Y['role']=='Noah birth' and A['gear']==Y['gear']==g+1 and A['Cainan']==X['Cainan']==Y['Cainan']==A['Terah60']==X['Terah60']==Y['Terah60']==1 and A['full430']==Y['full430']==full) lifts=[] for j in h['P_pivot_record_indices']: B=reg[j];N=next(p for p in reg if p['tradition']==B['tradition'] and p['role']=='Noah birth' and p['gear']==g and p['Cainan']==p['Terah60']==0 and p['full430']==full and p.get('rail')==('primary' if B['tradition']=='SP' else None)) check('counterpart coherent source context '+str((full,g,B['tradition'])),B['gear']==A['gear'] and B['role']==A['role']=='Flood start' and B['Cainan']==B['Terah60']==0 and B['full430']==full) check('source529 side and repair '+str((full,g,B['tradition'])),N['center']-X['center']==B['center']-A['center']==460 and N['center']-A['center']==1058 and N['center']-Y['center']==458 and Y['center']-A['center']==600) lifts.append({'counterpart_tradition':B['tradition'],'P_Flood':B,'outer_Noah':N}) check('SP LXX primary coordinate aliases '+label,sorted(x['counterpart_tradition'] for x in lifts)==['LXX','SP'] and len({x['outer_Noah']['center'] for x in lifts})==1) N=lifts[0]['outer_Noah']['center'];qualified.append({'full430':full,'input_Gear':g,'J_Flood':A,'input_MT_Noah':X,'output_MT_Noah':Y,'counterpart_lifts':lifts,'coordinate_tuple':[A['center'],h['P_pivot'],X['center'],Y['center'],N]}) for ch in cf['hits']: q=ch['J_pivot'];S=ch['input']-460;sr=next(p for p in cum if p['role']=='Shem' and p['Cainan']==1 and p['coordinate']==S);i=next(cum[j]['annual_index'] for j in ch['J_pivot_record_indices']);cross=A['center']-S;cross2=N-q;delta=cross-17*529 check('paired side normal form '+str((full,g,i)),cross==cross2 and q-S==N-A['center']==2*529 and delta==(3+2*(g-1)-i-215*(1-full))) couplings.append({'full430':full,'regular_input_Gear':g,'cumulative_index':i,'cumulative_native_Shem':sr,'outer_cross_spans':[cross,cross2],'deviation_from17K':delta,'full_original_rectangle':delta==0,'counterpart_aliases':['LXX','SP']}) translations=[] for g in [1,2]: a=next(r for r in qualified if r['full430']==0 and r['input_Gear']==g);z=next(r for r in qualified if r['full430']==1 and r['input_Gear']==g) check('full branch uniform215 translation '+str(g),[v-u for u,v in zip(a['coordinate_tuple'],z['coordinate_tuple'])]==[215]*5) translations.append({'input_Gear':g,'branch0':a['coordinate_tuple'],'branch1':z['coordinate_tuple'],'uniform_translation':215}) good=[r for r in couplings if r['full_original_rectangle']] check('two original coupled rectangles',[(r['full430'],r['regular_input_Gear'],r['cumulative_index']) for r in good]==[(1,1,3),(1,2,5)]) return {'step':'C379','qualified_regular_hits':qualified,'cross_field_trials':couplings,'translation_pairs':translations,'original_rectangle_hits':good,'counts':{'regular_coordinate_hits':4,'source_context_lifts':8,'local2K_sides':4,'cross_field_coordinate_trials':24,'original2K17K_rectangles':2,'translated_branch_rectangles':0},'interpretation':'All regular hits are adjacent-Gear restored-MT Noah births at matched Flood starts, with SP-primary or LXX-OFF counterpart aliases. The full430=0 copies are uniform minus215 translations of the local geometry. Only full430=1 with cumulativei3/i5 retains the original17K cross spans. Replica and alias counts are not independent witnesses.'}