from research import *
s=begin(1113,'Visual inspection of the family map','Are all labels readable and clearly separated from connection lines?',{},['C1112','rendered PNG inspection'])
from PIL import Image
p=ROOT/'deliverables/490d_Chronological_Family_Map_C1131.png'
with Image.open(p) as im:size=list(im.size)
issues=['The minimum-rule label crosses the central arrow.','Two lower branch labels touch their diagonal arrows.']
a=artifact('model/map_visual_review_v1.json',json.dumps({'canvas':size,'content':'correct','layout_issues':issues,'decision':'offset the three labels; preserve the original rendering for history'},indent=2)+'\n')
finish(s,{'visual_review':a,'issues_found':len(issues)},'The rendered content is correct and complete, but three arrow labels need separation from their lines. A small layout revision will improve legibility.','Render a second immutable version with those label positions corrected, then recheck its source relationships.',{'correct_canvas':size==[1600,1120],'concrete_layout_issues':len(issues)==2})
