from research import *
s=begin(596,'Relate internal and external27-unit partitions','How does the retained ancestry order compare with schematic birth-head spacing?',{'ancestry_blocks':[6,1,5,1,7,7],'external_counts':[14,13],'internal_counts':[13,14],'units':[70,72,180,182]},['File68 §7; File69 §3.4A'])
rows=[[u,[14*u,13*u],[13*u,14*u],27*u] for u in [70,72,180,182]]
finish(s,{'count_partitions':rows,'ancestry_total':sum([6,1,5,1,7,7])},'Internal13|14 and external14|13 are opposite ordered partitions of the same27 carrier units. This is reversal of component order, not decimal reversal, and it retains the source-specific genealogical inventories.','Locate the actual27-row endpoint and distinguish the28-row completion.',{'counts':sum([6,1,5,1,7,7])==27,'order':all(ext==list(reversed(inte)) and sum(ext)==core for u,ext,inte,core in rows)})
