from research import *
s=begin(1254,'Reconstruct the whole regular displacement staircase','Do thecentury support masks explain every boundary behind1250 and650?',{},['C1182','C1253'])
d=json.loads((ROOT/'model/whole_genealogy_five_model.json').read_text());names=[x.rsplit(':',1)[0] for x in d['labels'][::2]];edges=[d['outputs'][i] for i in range(0,38,2)];field=[sum(edges[i:]) for i in range(20)];labels=names+['Abraham']
a=artifact('model/regular_kernel_complete_staircase.json',json.dumps({'labels':labels,'local_begetting_changes':edges,'field':field,'heads':{'Creation':field[0],'Noah':field[labels.index('Noah')],'Shem':field[labels.index('Shem')],'Arphaxad':field[labels.index('Arphaxad')]},'scope':'matchedCainanOFF comparison; common terminalAbraham andsameNoah/Shem binding'},indent=2)+'\n')
finish(s,{'staircase':a,'field':field},'The named row masks generate the whole20-boundary1250-to650-to0 staircase. The600 drop beforeNoah is the sum of six located century changes; the650 plateau is the shared post-Flood contribution.','Restore nativeCainan and check that its support is a partialfieldchange.',{'field_expected':field==[1250,1150,1050,950,850,750,750,650,650,650,650,650,550,450,350,250,150,50,0,0],'recurrence':all(field[i]-field[i+1]==edges[i] for i in range(19))})
