from research import *
s=begin(861,'Separate the complete count objects','Why do several legitimate NT spans coexist?',{},['File43 §§2,3.4'])
rows=json.loads((ROOT/'model/NT_full_display.json').read_text())
adam=next(i for i,r in enumerate(rows) if r['Luke']=='Creation of Adam')
jesus=next(i for i,r in enumerate(rows) if r['Luke']=='Jesus')
abraham=next(i for i,r in enumerate(rows) if r['Matthew']=='ABRAHAM')
objects={'Luke_names':jesus-adam+1,'Luke_intervals':jesus-adam,'Luke_birth_span':rows[jesus]['open']-rows[adam]['open'],'Luke_names_projection':(jesus-adam+1)*70,'Matthew_names':jesus-abraham+1,'Matthew_birth_span':rows[jesus]['open']-rows[abraham]['open'],'Matthew_carrier_span':rows[jesus]['close']-rows[abraham]['open']}
a=artifact('model/NT_count_objects.json',json.dumps(objects,indent=2)+'\n')
finish(s,{'objects':objects,'artifact':a},'76 Luke names measure 75 birth intervals; 41 Matthew names measure 40 birth intervals or 41 carrier slots through AD65. These are different measured objects, so none silently repairs the others.','Compare the full 22 shared Genesis names with the strict MT Rounded path.',{'Luke':objects['Luke_birth_span']==5250 and objects['Luke_names_projection']==5320,'Matthew':objects['Matthew_names']==41 and objects['Matthew_birth_span']==2800 and objects['Matthew_carrier_span']==2870})
