from collections import Counter def run(load,check): events=load('C01_RESULTS.json')['events'];noah={e['BC_Nisan']+190:e for e in events if e['tradition']=='MT' and e['role']=='Noah birth'} check('MT has only three birth records',len(noah)==3 and all(e['rail'] is None for e in noah.values())) rows=[] for j in range(2,8): target=3703+j-460;found=noah.get(target) check(f'coverage parity j{j}',bool(found)==bool(j%2)) rows.append({'index':j,'required_MT_Noah':target,'admitted':bool(found),'gear':found['gear'] if found else None,'missing_reason':None if found else 'Would require an SP-type companion, not admitted in MT'}) floods=[r['regular_MT_ON_Terah60_full430'] for r in load('C280_DATA.json')['rows']] counts=Counter(n-f for n in noah for f in floods) check('triad counts without imported companions',[counts[x] for x in [598,600,602]]==[2,3,2]) check('same Gear600 births',[n-600 for n in sorted(noah)]==[2646,2648,2650]) check('missing even-index centers',[r['required_MT_Noah'] for r in rows if not r['admitted']]==[3245,3247,3249]) return {'coverage':rows,'all_pair_width_counts':dict(sorted(counts.items())),'triad_counts':{'598':2,'600':3,'602':2},'complete_600_rectangles':3,'six_Flood_triangles_still_valid':True}