result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747210 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747210) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747211 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747211) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747212 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747212) result : ((1347604619,), (1347604707,), (1347604708,), (1347605488,), (1347605814,), (1347605815,), (1347606274,), (1347612929,), (1347618151,), (1347618152,), (1347618153,), (1347618248,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747213 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747213) result : ((1347604635,), (1347604636,), (1347604654,), (1347604709,), (1347605066,), (1347605816,), (1347605817,), (1347612951,), (1347618091,), (1347618092,), (1347618254,), (1347618255,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747214 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747214) result : ((1347604634,), (1347604651,), (1347605495,), (1347606281,), (1347606282,), (1347618087,), (1347618154,), (1347618250,), (1347618251,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747215 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747215) result : ((1347604637,), (1347605835,), (1347618257,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747216 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747216) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747217 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747217) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747218 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747218) result : ((1347604710,), (1347605833,), (1347605834,), (1347612956,), (1347618256,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747219 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747219) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21747220 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=21747195 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747220) result : ((1347604650,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21747195) result : ((1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in (1347605000) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21747195 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','plastique','cartonnette','environnement','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','kraft','papier','flou')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21747195 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('mal_croppe','Carton_brun','plastique','cartonnette','environnement','metal','Teint_Dans_La_Masse','Carton_gris','autre_refus','kraft','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 21747195, 'sub_port_id': 21747221, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271740, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'flou': {'main_port_id': 21747195, 'sub_port_id': 21747222, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271741, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'papier': {'main_port_id': 21747195, 'sub_port_id': 21747223, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271742, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 21747195, 'sub_port_id': 21747224, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271743, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'cartonnette': {'main_port_id': 21747195, 'sub_port_id': 21747225, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271744, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'Carton_gris': {'main_port_id': 21747195, 'sub_port_id': 21747226, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271745, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'plastique': {'main_port_id': 21747195, 'sub_port_id': 21747227, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271746, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'kraft': {'main_port_id': 21747195, 'sub_port_id': 21747228, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271747, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'mal_croppe': {'main_port_id': 21747195, 'sub_port_id': 21747229, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271748, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'Carton_brun': {'main_port_id': 21747195, 'sub_port_id': 21747230, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271749, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'metal': {'main_port_id': 21747195, 'sub_port_id': 21747231, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271750, 'last_updated_at': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 20, 35, 1), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}, 'autre_refus': {'main_port_id': 21747195, 'sub_port_id': 21747232, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14271751, 'last_updated_at': datetime.datetime(2025, 3, 26, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 26, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 26, 20, 35, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747221,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747209 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747222,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747210 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747223,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747211 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747224,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747212 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747225,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747213 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747226,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747214 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747227,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747215 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747228,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747216 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747229,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747217 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747230,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747218 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747231,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747219 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21747232,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21747220 lien utilise dans velours : https://www.fotonower.com/velours/21747221,21747222,21747223,21747224,21747225,21747226,21747227,21747228,21747229,21747230,21747231,21747232?tags=environnement,flou,papier,Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,kraft,mal_croppe,Carton_brun,metal,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21747195]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] map_info['map_portfolio_photo'] : {21747195: [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748]} final : False mtd_id 4302 list_pids : [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] Looping around the photos to save general results len do output : 1 /21747195. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21747195', "{'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220}", None, None, None, None, '2695864'), ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864')] time used for this insertion : 0.0197603702545166 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.1730589866638184 time spend to save output : 0.02021956443786621 total time spend for step 1 : 1.1932785511016846 step2:final Thu Mar 27 06:12:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21747195) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 21747195 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1347603843,1347603807,1347603748,1347604071,1347604044,1347604040,1347604029,1347604010,1347603990,1347604426,1347604413,1347604393,1347604377,1347604621,1347604593,1347604591,1347605115,1347605079,1347605000,1347605393,1347605383,1347605363,1347605351,1347605349,1347605343,1347605498,1347605472,1347605446,1347605415,1347611089,1347605836); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21747195]) Inside saveOutput : final : False verbose : True original output for save of step final : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} new output for save of step final : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] map_info['map_portfolio_photo'] : {21747195: [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748]} final : False mtd_id 4302 list_pids : [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] Looping around the photos to save general results len do output : 31 /1347611089.Didn't retrieve data . /1347605836.Didn't retrieve data . /1347605498.Didn't retrieve data . /1347605472.Didn't retrieve data . /1347605446.Didn't retrieve data . /1347605415.Didn't retrieve data . /1347605393.Didn't retrieve data . /1347605383.Didn't retrieve data . /1347605363.Didn't retrieve data . /1347605351.Didn't retrieve data . /1347605349.Didn't retrieve data . /1347605343.Didn't retrieve data . /1347605115.Didn't retrieve data . /1347605079.Didn't retrieve data . /1347605000.Didn't retrieve data . /1347604621.Didn't retrieve data . /1347604593.Didn't retrieve data . /1347604591.Didn't retrieve data . /1347604426.Didn't retrieve data . /1347604413.Didn't retrieve data . /1347604393.Didn't retrieve data . /1347604377.Didn't retrieve data . /1347604071.Didn't retrieve data . /1347604044.Didn't retrieve data . /1347604040.Didn't retrieve data . /1347604029.Didn't retrieve data . /1347604010.Didn't retrieve data . /1347603990.Didn't retrieve data . /1347603843.Didn't retrieve data . /1347603807.Didn't retrieve data . /1347603748.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21747195', '1347611089', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605836', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605498', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605472', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605446', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605415', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605393', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605383', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605363', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605351', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605349', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605343', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605115', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605079', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347605000', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604621', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604593', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604591', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604426', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604413', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604393', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604377', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604071', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604044', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604040', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604029', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347604010', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347603990', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347603843', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347603807', '0.0392597141255935', None, None, None, None, '2695864'), ('4302', '21747195', '1347603748', '0.0392597141255935', None, None, None, None, '2695864')] time used for this insertion : 0.020566225051879883 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07666134834289551 time spend to save output : 0.021956205368041992 total time spend for step 2 : 0.0986175537109375 step3:velours_tree Thu Mar 27 06:12:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21747195: [{'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220}]} input_args_next_step : {21747195: ()} output_args : {21747195: [{'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220}]} args : 21747195 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21747195) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21747195]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.30316948890686035 time spend to save output : 5.364418029785156e-05 total time spend for step 3 : 0.3032231330871582 step4:send_mail_cod Thu Mar 27 06:12:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} input_args_next_step : {1347611089: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347611089 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605836 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605498 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605472 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605446 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605415 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605393 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605383 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605363 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605351 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605349 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605343 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605115 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605079 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347605000 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604621 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604593 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604591 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604426 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604413 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604393 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604377 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604071 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604044 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604040 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604029 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347604010 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347603990 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347603843 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347603807 depend.output_id : 0 input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ()} output_args : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',)} args : 1347603748 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {21747195: [{'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220}]} input_args_next_step : {1347611089: ('0.0392597141255935',), 1347605836: ('0.0392597141255935',), 1347605498: ('0.0392597141255935',), 1347605472: ('0.0392597141255935',), 1347605446: ('0.0392597141255935',), 1347605415: ('0.0392597141255935',), 1347605393: ('0.0392597141255935',), 1347605383: ('0.0392597141255935',), 1347605363: ('0.0392597141255935',), 1347605351: ('0.0392597141255935',), 1347605349: ('0.0392597141255935',), 1347605343: ('0.0392597141255935',), 1347605115: ('0.0392597141255935',), 1347605079: ('0.0392597141255935',), 1347605000: ('0.0392597141255935',), 1347604621: ('0.0392597141255935',), 1347604593: ('0.0392597141255935',), 1347604591: ('0.0392597141255935',), 1347604426: ('0.0392597141255935',), 1347604413: ('0.0392597141255935',), 1347604393: ('0.0392597141255935',), 1347604377: ('0.0392597141255935',), 1347604071: ('0.0392597141255935',), 1347604044: ('0.0392597141255935',), 1347604040: ('0.0392597141255935',), 1347604029: ('0.0392597141255935',), 1347604010: ('0.0392597141255935',), 1347603990: ('0.0392597141255935',), 1347603843: ('0.0392597141255935',), 1347603807: ('0.0392597141255935',), 1347603748: ('0.0392597141255935',), 21747195: ()} output_args : {21747195: [{'environnement': 21747209, 'flou': 21747210, 'papier': 21747211, 'Teint_Dans_La_Masse': 21747212, 'cartonnette': 21747213, 'Carton_gris': 21747214, 'plastique': 21747215, 'kraft': 21747216, 'mal_croppe': 21747217, 'Carton_brun': 21747218, 'metal': 21747219, 'autre_refus': 21747220}]} args : 21747195 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :32, first value : ('0.0392597141255935',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21747195) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1347611089,1347605836,1347605498,1347605472,1347605446,1347605415,1347605393,1347605383,1347605363,1347605351,1347605349,1347605343,1347605115,1347605079,1347605000,1347604621,1347604593,1347604591,1347604426,1347604413,1347604393,1347604377,1347604071,1347604044,1347604040,1347604029,1347604010,1347603990,1347603843,1347603807,1347603748) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1347603748 begin to download photo : 1347604044 begin to download photo : 1347604593 begin to download photo : 1347605351 begin to download photo : 1347605498 download finish for photo 1347604044 begin to download photo : 1347604071 download finish for photo 1347605498 begin to download photo : 1347605836 download finish for photo 1347603748 begin to download photo : 1347603807 download finish for photo 1347604593 begin to download photo : 1347604621 download finish for photo 1347605351 begin to download photo : 1347605363 download finish for photo 1347605836 begin to download photo : 1347611089 download finish for photo 1347603807 begin to download photo : 1347603843 download finish for photo 1347604071 begin to download photo : 1347604377 download finish for photo 1347604621 begin to download photo : 1347605000 download finish for photo 1347605363 begin to download photo : 1347605383 download finish for photo 1347603843 begin to download photo : 1347603990 download finish for photo 1347604377 begin to download photo : 1347604393 download finish for photo 1347611089 download finish for photo 1347605383 begin to download photo : 1347605393 download finish for photo 1347605000 begin to download photo : 1347605079 download finish for photo 1347603990 begin to download photo : 1347604010 download finish for photo 1347605393 begin to download photo : 1347605415 download finish for photo 1347604393 begin to download photo : 1347604413 download finish for photo 1347605079 begin to download photo : 1347605115 download finish for photo 1347604010 begin to download photo : 1347604029 download finish for photo 1347604413 begin to download photo : 1347604426 download finish for photo 1347605415 begin to download photo : 1347605446 download finish for photo 1347605115 begin to download photo : 1347605343 download finish for photo 1347604029 begin to download photo : 1347604040 download finish for photo 1347604426 begin to download photo : 1347604591 download finish for photo 1347605343 begin to download photo : 1347605349 download finish for photo 1347604040 download finish for photo 1347604591 download finish for photo 1347605446 begin to download photo : 1347605472 download finish for photo 1347605472 download finish for photo 1347605349 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette217472101743052351/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P21747195_27-03-2025_06_12_31.pdf 21747210 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747210 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217472101743052351 21747213 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747213 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604635: '1743017689_2226073_1347604040_46ae578da2acec7408778921445bba4a_rle_crop_3731822703_0.png', 1347604636: '1743017689_2226073_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822718_0.png', 1347604654: '1743017712_2226293_1347604071_ae21e84d55ed4a61fa970485070590aa_rle_crop_3731822886_0.png', 1347604709: '1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825480_0.png', 1347605066: '1743017932_2228843_1347604593_ab9f2111294ed51c34f93c1a138e31c0_rle_crop_3731829681_0.png', 1347605816: '1743018133_2230903_1347605363_f07f2b28a1dc53b7b2cce3f649e766c6_rle_crop_3731833449_0.png', 1347605817: '1743018133_2230903_1347605349_456ef1229c763f999b7b17893e4d7a15_rle_crop_3731833472_0.png', 1347612951: '1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895630_0.png', 1347618091: '1743020193_2253705_1347605115_b86d1ec5fbe5d4a77c4b239ba97fe96d_rle_crop_3731908945_0.png', 1347618092: '1743020193_2253705_1347604593_ab9f2111294ed51c34f93c1a138e31c0_rle_crop_3731829681_0.png', 1347618254: '1743020313_2256782_1347604040_46ae578da2acec7408778921445bba4a_rle_crop_3731822703_0.png', 1347618255: '1743020313_2256782_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822718_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/86913c15ca96ad4cbc4ebf77f5984e34_59320038.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/1b511bcb59296a28239ba4c0a19a50fb_11451913.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f963861b27ce4ec4b24a612800f6e619_92015348.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/298c771ab10bb8e674325a385155da65_21578413.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3afae52b1e07c4f257cacc0d1e43f43d_82140.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ed1e26ae3ed4f9c473cb2c89f1173345_76399607.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/7c9d5c39c5b87f5db4ccbbbee152b264_71118229.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/dbc2a5c40494bd44121a006ea6025029_57950623.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/296ec5e65b7f4a74f97157aeb13b9fa1_55443201.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3afae52b1e07c4f257cacc0d1e43f43d_68414108.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/86913c15ca96ad4cbc4ebf77f5984e34_41892462.png change filename to text .imagette217472131743052351/ imagette217472131743052351/1743020193_2253705_1347604593_ab9f2111294ed51c34f93c1a138e31c0_rle_crop_3731829681_0.png.png imagette217472131743052351/1743020193_2253705_1347605115_b86d1ec5fbe5d4a77c4b239ba97fe96d_rle_crop_3731908945_0.png.png imagette217472131743052351/1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895630_0.png.png imagette217472131743052351/1743018133_2230903_1347605349_456ef1229c763f999b7b17893e4d7a15_rle_crop_3731833472_0.png.png imagette217472131743052351/1743017712_2226293_1347604071_ae21e84d55ed4a61fa970485070590aa_rle_crop_3731822886_0.png.png imagette217472131743052351/1743018133_2230903_1347605363_f07f2b28a1dc53b7b2cce3f649e766c6_rle_crop_3731833449_0.png.png imagette217472131743052351/1743020313_2256782_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822718_0.png.png imagette217472131743052351/1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825480_0.png.png imagette217472131743052351/1743017932_2228843_1347604593_ab9f2111294ed51c34f93c1a138e31c0_rle_crop_3731829681_0.png.png imagette217472131743052351/1743017689_2226073_1347604040_46ae578da2acec7408778921445bba4a_rle_crop_3731822703_0.png.png imagette217472131743052351/1743020313_2256782_1347604040_46ae578da2acec7408778921445bba4a_rle_crop_3731822703_0.png.png imagette217472131743052351/1743017689_2226073_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822718_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/1b511bcb59296a28239ba4c0a19a50fb_24627006.png imagette217472131743052351 21747215 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747215 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604637: '1743017689_2226073_1347604044_4263e8422df7481b7eb7814df9b5c8b9_rle_crop_3731822696_0.png', 1347605835: '1743018133_2230903_1347605351_db9132b34197849697867ee8d352e17d_rle_crop_3731833469_0.png', 1347618257: '1743020313_2256782_1347604044_4263e8422df7481b7eb7814df9b5c8b9_rle_crop_3731822696_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/e35eb6c3a61dd3d2663db0261edce750_40380241.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/e7f923f3aa300243c777fd1d3d45e7ed_33076933.png change filename to text .imagette217472151743052352/ imagette217472151743052352/1743020313_2256782_1347604044_4263e8422df7481b7eb7814df9b5c8b9_rle_crop_3731822696_0.png.png imagette217472151743052352/1743017689_2226073_1347604044_4263e8422df7481b7eb7814df9b5c8b9_rle_crop_3731822696_0.png.png imagette217472151743052352/1743018133_2230903_1347605351_db9132b34197849697867ee8d352e17d_rle_crop_3731833469_0.png.png imagette217472161743052353/ imagette217472171743052353/ imagette217472191743052353/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/e35eb6c3a61dd3d2663db0261edce750_87098951.png imagette217472151743052352 21747216 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747216 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217472161743052353 21747217 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747217 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217472171743052353 21747219 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747219 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette217472191743052353 21747220 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747220 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604650: '1743017712_2226293_1347603843_98a38a8797f200bb5913687042b2b28c_rle_crop_3731822897_0.png'} change filename to text .imagette217472201743052353/ imagette217472201743052353/1743017712_2226293_1347603843_98a38a8797f200bb5913687042b2b28c_rle_crop_3731822897_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/58b4833094fe3b86b9e89c12302a5520_67124109.png imagette217472201743052353 21747212 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747212 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604619: '1743017689_2226073_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822724_0.png', 1347604707: '1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825488_0.png', 1347604708: '1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825484_0.png', 1347605488: '1743018051_2230126_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831835_0.png', 1347605814: '1743018133_2230903_1347605383_eb08ee1dc135dd4c03f54c77c8f296dd_rle_crop_3731833380_0.png', 1347605815: '1743018133_2230903_1347605343_f27770235428c59a9899340c1b9fa546_rle_crop_3731833496_0.png', 1347606274: '1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836008_0.png', 1347612929: '1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895635_0.png', 1347618151: '1743020213_2254012_1347605393_a5959a0c910c3e13b352bfbcd56a297d_rle_crop_3731908655_0.png', 1347618152: '1743020213_2254012_1347605393_a5959a0c910c3e13b352bfbcd56a297d_rle_crop_3731908659_0.png', 1347618153: '1743020213_2254012_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831835_0.png', 1347618248: '1743020313_2256782_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822724_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/35576d8e6150f28a3a34db3040a6fb66_23754283.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/950cbb932e04c57c42fc52ebfc732af6_21288766.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d01046e7ef20052357e853b4da4510be_93188273.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/bb0634bcdf38726d4fc9319e688f7aec_23204447.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/92142fb5b4c743fb5079b887bfd0d159_97105067.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/41d3023f2427a90c33bb4164cbd12c35_23830661.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/436c3088b4b434746f8c98c78c856e65_85852904.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/5a15bf7b3b2033479867993419a7fb22_11727553.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/223915956bcf8b9b7d292b1a64ce4d11_47813059.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/66cd109f124d77ae631f72e347a2e114_68108771.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/bb0634bcdf38726d4fc9319e688f7aec_96885921.png change filename to text .imagette217472121743052353/ imagette217472121743052353/1743018133_2230903_1347605383_eb08ee1dc135dd4c03f54c77c8f296dd_rle_crop_3731833380_0.png.png imagette217472121743052353/1743020213_2254012_1347605393_a5959a0c910c3e13b352bfbcd56a297d_rle_crop_3731908655_0.png.png imagette217472121743052353/1743018133_2230903_1347605343_f27770235428c59a9899340c1b9fa546_rle_crop_3731833496_0.png.png imagette217472121743052353/1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825484_0.png.png imagette217472121743052353/1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836008_0.png.png imagette217472121743052353/1743017689_2226073_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822724_0.png.png imagette217472121743052353/1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895635_0.png.png imagette217472121743052353/1743020213_2254012_1347605393_a5959a0c910c3e13b352bfbcd56a297d_rle_crop_3731908659_0.png.png imagette217472121743052353/1743020313_2256782_1347604029_650184015eaa4eae9fd5de337119a9be_rle_crop_3731822724_0.png.png imagette217472121743052353/1743020213_2254012_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831835_0.png.png imagette217472121743052353/1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825488_0.png.png imagette217472121743052353/1743018051_2230126_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831835_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/35576d8e6150f28a3a34db3040a6fb66_37249809.png imagette217472121743052353 21747214 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747214 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604634: '1743017689_2226073_1347604010_8eb0533d5030e01efb6e883069969ba4_rle_crop_3731822732_0.png', 1347604651: '1743017712_2226293_1347603843_98a38a8797f200bb5913687042b2b28c_rle_crop_3731822900_0.png', 1347605495: '1743018051_2230126_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831837_0.png', 1347606281: '1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836014_0.png', 1347606282: '1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836004_0.png', 1347618087: '1743020193_2253705_1347605115_b86d1ec5fbe5d4a77c4b239ba97fe96d_rle_crop_3731908946_0.png', 1347618154: '1743020213_2254012_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831837_0.png', 1347618250: '1743020313_2256782_1347604426_0a7e0380c0cd2085ebaaeb91d4027f76_rle_crop_3731910718_0.png', 1347618251: '1743020313_2256782_1347604010_8eb0533d5030e01efb6e883069969ba4_rle_crop_3731822732_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c10853893b9e3da9179d059960079ffe_29921185.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/8fa1a03669b34c3a11dca5942c738c49_8359907.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/11829e50970fbc9fd052a24cbde065c9_95568926.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c7d49c847e0f0e3dfe74dadf3a67307d_82325739.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/83fbdfe14222ee7951c9c5bbf6df86e0_78315527.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/a5665872b9a152745339b8b3a47e1fe6_93857168.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/11829e50970fbc9fd052a24cbde065c9_72934060.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/d7899dbf02c332eca140d8ecbb2b5c0a_85021619.png change filename to text .imagette217472141743052354/ imagette217472141743052354/1743020313_2256782_1347604010_8eb0533d5030e01efb6e883069969ba4_rle_crop_3731822732_0.png.png imagette217472141743052354/1743018051_2230126_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831837_0.png.png imagette217472141743052354/1743017712_2226293_1347603843_98a38a8797f200bb5913687042b2b28c_rle_crop_3731822900_0.png.png imagette217472141743052354/1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836004_0.png.png imagette217472141743052354/1743020313_2256782_1347604426_0a7e0380c0cd2085ebaaeb91d4027f76_rle_crop_3731910718_0.png.png imagette217472141743052354/1743018252_2232002_1347605415_d7c5dc969210ba03a98964fc7774cfa9_rle_crop_3731836014_0.png.png imagette217472141743052354/1743017689_2226073_1347604010_8eb0533d5030e01efb6e883069969ba4_rle_crop_3731822732_0.png.png imagette217472141743052354/1743020193_2253705_1347605115_b86d1ec5fbe5d4a77c4b239ba97fe96d_rle_crop_3731908946_0.png.png imagette217472141743052354/1743020213_2254012_1347605079_4236556a970f8ab897ddabfd8e92507e_rle_crop_3731831837_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/c10853893b9e3da9179d059960079ffe_72584650.png imagette217472141743052354 21747218 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747218 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1347604710: '1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825485_0.png', 1347605833: '1743018133_2230903_1347605351_db9132b34197849697867ee8d352e17d_rle_crop_3731833466_0.png', 1347605834: '1743018133_2230903_1347605349_456ef1229c763f999b7b17893e4d7a15_rle_crop_3731833474_0.png', 1347612956: '1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895628_0.png', 1347618256: '1743020313_2256782_1347604426_0a7e0380c0cd2085ebaaeb91d4027f76_rle_crop_3731910721_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/f02c60af693ecd50839b0fece9d8fe13_44991687.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/6c8283f993f95fd6c917c0b22c4dc7b0_43962649.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/cb148aaf1bc1d6abd585c052b50b7cf5_85499439.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/3aca04cde5817ac73abdb8bf80b9e6b9_57487935.png change filename to text .imagette217472181743052355/ imagette217472181743052355/1743019488_3830005_1347611089_1c915cb851a4896d418737058ebf9260_rle_crop_3731895628_0.png.png imagette217472181743052355/1743017772_2227165_1347604413_5377253ea7d12b0339c3be313e90567d_rle_crop_3731825485_0.png.png imagette217472181743052355/1743018133_2230903_1347605351_db9132b34197849697867ee8d352e17d_rle_crop_3731833466_0.png.png imagette217472181743052355/1743020313_2256782_1347604426_0a7e0380c0cd2085ebaaeb91d4027f76_rle_crop_3731910721_0.png.png imagette217472181743052355/1743018133_2230903_1347605349_456ef1229c763f999b7b17893e4d7a15_rle_crop_3731833474_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/cf20287c101891c78771635009c3862c_43561625.png imagette217472181743052355 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21747195 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21747221,21747222,21747223,21747224,21747225,21747226,21747227,21747228,21747229,21747230,21747231,21747232?tags=environnement,flou,papier,Teint_Dans_La_Masse,cartonnette,Carton_gris,plastique,kraft,mal_croppe,Carton_brun,metal,autre_refus your option no_mail is active, we will not send the real mail to your client args[1347611089] : ('0.0392597141255935',) no score found for photo 1347611089 We are sending mail with results at report@fotonower.com args[1347605836] : ('0.0392597141255935',) no score found for photo 1347605836 We are sending mail with results at report@fotonower.com args[1347605498] : ('0.0392597141255935',) no score found for photo 1347605498 We are sending mail with results at report@fotonower.com args[1347605472] : ('0.0392597141255935',) no score found for photo 1347605472 We are sending mail with results at report@fotonower.com args[1347605446] : ('0.0392597141255935',) no score found for photo 1347605446 We are sending mail with results at report@fotonower.com args[1347605415] : ('0.0392597141255935',) no score found for photo 1347605415 We are sending mail with results at report@fotonower.com args[1347605393] : ('0.0392597141255935',) no score found for photo 1347605393 We are sending mail with results at report@fotonower.com args[1347605383] : ('0.0392597141255935',) no score found for photo 1347605383 We are sending mail with results at report@fotonower.com args[1347605363] : ('0.0392597141255935',) no score found for photo 1347605363 We are sending mail with results at report@fotonower.com args[1347605351] : ('0.0392597141255935',) no score found for photo 1347605351 We are sending mail with results at report@fotonower.com args[1347605349] : ('0.0392597141255935',) no score found for photo 1347605349 We are sending mail with results at report@fotonower.com args[1347605343] : ('0.0392597141255935',) no score found for photo 1347605343 We are sending mail with results at report@fotonower.com args[1347605115] : ('0.0392597141255935',) no score found for photo 1347605115 We are sending mail with results at report@fotonower.com args[1347605079] : ('0.0392597141255935',) no score found for photo 1347605079 We are sending mail with results at report@fotonower.com args[1347605000] : ('0.0392597141255935',) no score found for photo 1347605000 We are sending mail with results at report@fotonower.com args[1347604621] : ('0.0392597141255935',) no score found for photo 1347604621 We are sending mail with results at report@fotonower.com args[1347604593] : ('0.0392597141255935',) no score found for photo 1347604593 We are sending mail with results at report@fotonower.com args[1347604591] : ('0.0392597141255935',) no score found for photo 1347604591 We are sending mail with results at report@fotonower.com args[1347604426] : ('0.0392597141255935',) no score found for photo 1347604426 We are sending mail with results at report@fotonower.com args[1347604413] : ('0.0392597141255935',) no score found for photo 1347604413 We are sending mail with results at report@fotonower.com args[1347604393] : ('0.0392597141255935',) no score found for photo 1347604393 We are sending mail with results at report@fotonower.com args[1347604377] : ('0.0392597141255935',) no score found for photo 1347604377 We are sending mail with results at report@fotonower.com args[1347604071] : ('0.0392597141255935',) no score found for photo 1347604071 We are sending mail with results at report@fotonower.com args[1347604044] : ('0.0392597141255935',) no score found for photo 1347604044 We are sending mail with results at report@fotonower.com args[1347604040] : ('0.0392597141255935',) no score found for photo 1347604040 We are sending mail with results at report@fotonower.com args[1347604029] : ('0.0392597141255935',) no score found for photo 1347604029 We are sending mail with results at report@fotonower.com args[1347604010] : ('0.0392597141255935',) no score found for photo 1347604010 We are sending mail with results at report@fotonower.com args[1347603990] : ('0.0392597141255935',) no score found for photo 1347603990 We are sending mail with results at report@fotonower.com args[1347603843] : ('0.0392597141255935',) no score found for photo 1347603843 We are sending mail with results at report@fotonower.com args[1347603807] : ('0.0392597141255935',) no score found for photo 1347603807 We are sending mail with results at report@fotonower.com args[1347603748] : ('0.0392597141255935',) no score found for photo 1347603748 We are sending mail with results at report@fotonower.com refus_total : 0.0392597141255935 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf results_Auto_P21747195_27-03-2025_06_12_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21747195','results_Auto_P21747195_27-03-2025_06_12_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf','pdf','','0.32','0.0392597141255935') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21747195]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] map_info['map_portfolio_photo'] : {21747195: [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748]} final : False mtd_id 4302 list_pids : [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '21747195', '1347611089', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864')] time used for this insertion : 0.017296552658081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.192995071411133 time spend to save output : 0.017708778381347656 total time spend for step 4 : 8.21070384979248 step5:split_time_score Thu Mar 27 06:12:38 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['21747195'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('21747195',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21747195) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1347605498: {'path': 'temp/1743052350_2765989_1347605498_2843919dbe11a393b8584881c9503361.jpg', 'extension': 'jpg'}, 1347605836: {'path': 'temp/1743052350_2765989_1347605836_d2cd7caca818d92c7bac6959d518d2d2.jpg', 'extension': 'jpg'}, 1347611089: {'path': 'temp/1743052350_2765989_1347611089_1c915cb851a4896d418737058ebf9260.jpg', 'extension': 'jpg'}, 1347603748: {'path': 'temp/1743052350_2765989_1347603748_019e19137a196b2bcf253a56c8719e72.jpg', 'extension': 'jpg'}, 1347603807: {'path': 'temp/1743052350_2765989_1347603807_8c9db42f7ad24fe793e835d7e4686280.jpg', 'extension': 'jpg'}, 1347603843: {'path': 'temp/1743052350_2765989_1347603843_98a38a8797f200bb5913687042b2b28c.jpg', 'extension': 'jpg'}, 1347603990: {'path': 'temp/1743052350_2765989_1347603990_d937aa545eed818dc6b3b6e7a9a8011d.jpg', 'extension': 'jpg'}, 1347604010: {'path': 'temp/1743052350_2765989_1347604010_8eb0533d5030e01efb6e883069969ba4.jpg', 'extension': 'jpg'}, 1347604029: {'path': 'temp/1743052350_2765989_1347604029_650184015eaa4eae9fd5de337119a9be.jpg', 'extension': 'jpg'}, 1347604040: {'path': 'temp/1743052350_2765989_1347604040_46ae578da2acec7408778921445bba4a.jpg', 'extension': 'jpg'}, 1347604044: {'path': 'temp/1743052350_2765989_1347604044_4263e8422df7481b7eb7814df9b5c8b9.jpg', 'extension': 'jpg'}, 1347604071: {'path': 'temp/1743052350_2765989_1347604071_ae21e84d55ed4a61fa970485070590aa.jpg', 'extension': 'jpg'}, 1347604377: {'path': 'temp/1743052350_2765989_1347604377_3738b0670e6eb8628395e801c6988575.jpg', 'extension': 'jpg'}, 1347604393: {'path': 'temp/1743052350_2765989_1347604393_9c3d43be8e22edfd9e31586012cab08a.jpg', 'extension': 'jpg'}, 1347604413: {'path': 'temp/1743052350_2765989_1347604413_5377253ea7d12b0339c3be313e90567d.jpg', 'extension': 'jpg'}, 1347604426: {'path': 'temp/1743052350_2765989_1347604426_0a7e0380c0cd2085ebaaeb91d4027f76.jpg', 'extension': 'jpg'}, 1347604591: {'path': 'temp/1743052350_2765989_1347604591_747980214be1335a8be8a6927fcee6a4.jpg', 'extension': 'jpg'}, 1347605351: {'path': 'temp/1743052350_2765989_1347605351_db9132b34197849697867ee8d352e17d.jpg', 'extension': 'jpg'}, 1347605363: {'path': 'temp/1743052350_2765989_1347605363_f07f2b28a1dc53b7b2cce3f649e766c6.jpg', 'extension': 'jpg'}, 1347605383: {'path': 'temp/1743052350_2765989_1347605383_eb08ee1dc135dd4c03f54c77c8f296dd.jpg', 'extension': 'jpg'}, 1347605393: {'path': 'temp/1743052350_2765989_1347605393_a5959a0c910c3e13b352bfbcd56a297d.jpg', 'extension': 'jpg'}, 1347605415: {'path': 'temp/1743052350_2765989_1347605415_d7c5dc969210ba03a98964fc7774cfa9.jpg', 'extension': 'jpg'}, 1347605446: {'path': 'temp/1743052350_2765989_1347605446_648c9c496a594969b0c2b444cf0dc986.jpg', 'extension': 'jpg'}, 1347605472: {'path': 'temp/1743052350_2765989_1347605472_1125b4b44973ab2afbfd5f9d66e85be8.jpg', 'extension': 'jpg'}, 1347604593: {'path': 'temp/1743052350_2765989_1347604593_ab9f2111294ed51c34f93c1a138e31c0.jpg', 'extension': 'jpg'}, 1347604621: {'path': 'temp/1743052350_2765989_1347604621_ec5327c88ed6f146f613d83af70c1c6f.jpg', 'extension': 'jpg'}, 1347605000: {'path': 'temp/1743052350_2765989_1347605000_d39c8843e4c1fd45f4d49639433ccf50.jpg', 'extension': 'jpg'}, 1347605079: {'path': 'temp/1743052350_2765989_1347605079_4236556a970f8ab897ddabfd8e92507e.jpg', 'extension': 'jpg'}, 1347605115: {'path': 'temp/1743052350_2765989_1347605115_b86d1ec5fbe5d4a77c4b239ba97fe96d.jpg', 'extension': 'jpg'}, 1347605343: {'path': 'temp/1743052350_2765989_1347605343_f27770235428c59a9899340c1b9fa546.jpg', 'extension': 'jpg'}, 1347605349: {'path': 'temp/1743052350_2765989_1347605349_456ef1229c763f999b7b17893e4d7a15.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 21747195; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21747195 group by h (('20', 31),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21747195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21747195) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (21747195) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26032025 21747195 Nombre de photos uploadées : 31 / 23040 (0%) 26032025 21747195 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 26032025 21747195 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1347603843, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/98a38a8797f200bb5913687042b2b28c.jpg', 'username': None, 'uploaded_at': 1743017535, 'text': 'image_26032025_20_30_05_010153m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347603807, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/8c9db42f7ad24fe793e835d7e4686280.jpg', 'username': None, 'uploaded_at': 1743017535, 'text': 'image_26032025_20_30_14_009125m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347603748, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/019e19137a196b2bcf253a56c8719e72.jpg', 'username': None, 'uploaded_at': 1743017535, 'text': 'image_26032025_20_30_45_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1347604071, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/26/ae21e84d55ed4a61fa970485070590aa.jpg', 'username': None, 'uploaded_at': 1743017595, 'text': 'image_26032025_20_30_55_010137m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016512870788574219 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21747195, '2025-03-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1689284,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.024245738983154297 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1689284 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21717852, 'dashboard_result_id': 9665038, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21717911, 'dashboard_result_id': 9665039, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21718208, 'dashboard_result_id': 9665040, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21718593, 'dashboard_result_id': 9665041, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21718923, 'dashboard_result_id': 9665042, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21719113, 'dashboard_result_id': 9665043, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21719546, 'dashboard_result_id': 9665044, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21720025, 'dashboard_result_id': 9665045, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21720583, 'dashboard_result_id': 9665046, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21720905, 'dashboard_result_id': 9665047, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21721639, 'dashboard_result_id': 9665048, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21722303, 'dashboard_result_id': 9665049, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21722992, 'dashboard_result_id': 9665050, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21723967, 'dashboard_result_id': 9665051, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21724584, 'dashboard_result_id': 9665052, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760961, 'dashboard_result_id': 9665053, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_05_43_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760962, 'dashboard_result_id': 9665054, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760963, 'dashboard_result_id': 9665057, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_05_44_47.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760964, 'dashboard_result_id': 9665059, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_05_44_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760965, 'dashboard_result_id': 9665061, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_05_45_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760966, 'dashboard_result_id': 9665062, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_05_45_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760967, 'dashboard_result_id': 9665063, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760968, 'dashboard_result_id': 9665064, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_05_46_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760969, 'dashboard_result_id': 9665065, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_05_47_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760970, 'dashboard_result_id': 9665066, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760971, 'dashboard_result_id': 9665067, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21760985, 'dashboard_result_id': 9665068, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21725475, 'dashboard_result_id': 9665069, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21725478, 'dashboard_result_id': 9665070, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21725481, 'dashboard_result_id': 9665071, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21725483, 'dashboard_result_id': 9665072, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21726952, 'dashboard_result_id': 9665073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21728821, 'dashboard_result_id': 9665074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21729717, 'dashboard_result_id': 9665075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21730956, 'dashboard_result_id': 9665076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21731666, 'dashboard_result_id': 9665077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21732332, 'dashboard_result_id': 9665078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21733447, 'dashboard_result_id': 9665079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21734263, 'dashboard_result_id': 9665080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21735300, 'dashboard_result_id': 9665081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21735815, 'dashboard_result_id': 9665082, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21736891, 'dashboard_result_id': 9665083, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21738482, 'dashboard_result_id': 9665084, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21739307, 'dashboard_result_id': 9665085, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21739892, 'dashboard_result_id': 9665086, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21740539, 'dashboard_result_id': 9665087, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21741201, 'dashboard_result_id': 9665088, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21742216, 'dashboard_result_id': 9665089, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21743303, 'dashboard_result_id': 9665090, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21744306, 'dashboard_result_id': 9665091, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21745274, 'dashboard_result_id': 9665092, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21746490, 'dashboard_result_id': 9665093, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21747195, 'dashboard_result_id': 9665094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_26-03-2025_21_05_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21748496, 'dashboard_result_id': 9665095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21749070, 'dashboard_result_id': 9665096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21749627, 'dashboard_result_id': 9665097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21750331, 'dashboard_result_id': 9665098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21750903, 'dashboard_result_id': 9665099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21752014, 'dashboard_result_id': 9665100, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21753280, 'dashboard_result_id': 9665101, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21754177, 'dashboard_result_id': 9665102, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21755139, 'dashboard_result_id': 9665103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21756185, 'dashboard_result_id': 9665104, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21756877, 'dashboard_result_id': 9665105, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}"}, {'dashboat_entry_day': 1689284, 'dashboard_run_id': 1700366, 'mtr_portfolio_id': 21757954, 'dashboard_result_id': 9665106, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21717852 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695812, 'mtr_portfolio_id': 21717852, 'created_at': datetime.datetime(2025, 3, 27, 5, 34, 30), 'result': '0.08242603219735589', 'result_long': None, 'result_double': None}] Qualite : 0.08242603219735589 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717852 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717852 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}" where mtr_portfolio_id = 21717852 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21717852 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665038, 0.08242603219735589, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717852_27-03-2025_05_34_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717854, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717855, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717856, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717860, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717863, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21717911 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695813, 'mtr_portfolio_id': 21717911, 'created_at': datetime.datetime(2025, 3, 27, 5, 35, 35), 'result': '0.03767968681777446', 'result_long': None, 'result_double': None}] Qualite : 0.03767968681777446 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21717911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21717911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}" where mtr_portfolio_id = 21717911 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21717911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665039, 0.03767968681777446, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21717911_27-03-2025_05_35_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21717912, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21717913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21717914, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21717915, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21717916, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21717917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21717918, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21717919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21717920, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21717921, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21717922, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21717923, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21718208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695814, 'mtr_portfolio_id': 21718208, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 51), 'result': '0.04172616201372019', 'result_long': None, 'result_double': None}] Qualite : 0.04172616201372019 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}" where mtr_portfolio_id = 21718208 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21718208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665040, 0.04172616201372019, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718208_27-03-2025_05_36_56.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718236, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718237, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718239, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718240, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718241, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718242, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718243, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718244, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21718593 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695815, 'mtr_portfolio_id': 21718593, 'created_at': datetime.datetime(2025, 3, 27, 5, 36, 40), 'result': '0.0462154386449113', 'result_long': None, 'result_double': None}] Qualite : 0.0462154386449113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718593 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718593 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}" where mtr_portfolio_id = 21718593 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21718593 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665041, 0.0462154386449113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718593_27-03-2025_05_36_42.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718595, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21718596, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718599, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718605, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21718923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695816, 'mtr_portfolio_id': 21718923, 'created_at': datetime.datetime(2025, 3, 27, 5, 37), 'result': '0.03791537531171332', 'result_long': None, 'result_double': None}] Qualite : 0.03791537531171332 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21718923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21718923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}" where mtr_portfolio_id = 21718923 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21718923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665042, 0.03791537531171332, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21718923_27-03-2025_05_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21718948, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21718949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21718950, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21718951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21718952, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21718953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21718954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21718955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21718956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21718957, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21718958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21718959, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21719113 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695817, 'mtr_portfolio_id': 21719113, 'created_at': datetime.datetime(2025, 3, 27, 5, 37, 31), 'result': '0.03733418979336736', 'result_long': None, 'result_double': None}] Qualite : 0.03733418979336736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719113 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}" where mtr_portfolio_id = 21719113 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21719113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665043, 0.03733418979336736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719113_27-03-2025_05_37_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719139, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719142, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719145, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719149, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21719546 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695818, 'mtr_portfolio_id': 21719546, 'created_at': datetime.datetime(2025, 3, 27, 5, 38, 29), 'result': '0.04355874516769005', 'result_long': None, 'result_double': None}] Qualite : 0.04355874516769005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21719546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21719546 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}" where mtr_portfolio_id = 21719546 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21719546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665044, 0.04355874516769005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21719546_27-03-2025_05_38_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21719595, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21719596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21719597, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21719598, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21719599, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21719600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21719601, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21719602, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21719603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21719604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21719605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21719606, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21720025 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695819, 'mtr_portfolio_id': 21720025, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 3), 'result': '0.040838733558275074', 'result_long': None, 'result_double': None}] Qualite : 0.040838733558275074 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720025 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}" where mtr_portfolio_id = 21720025 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21720025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665045, 0.040838733558275074, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720025_27-03-2025_05_39_06.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21720026, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720027, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720030, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720031, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720037, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21720583 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695820, 'mtr_portfolio_id': 21720583, 'created_at': datetime.datetime(2025, 3, 27, 5, 39, 34), 'result': '0.047282836661503395', 'result_long': None, 'result_double': None}] Qualite : 0.047282836661503395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720583 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720583 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}" where mtr_portfolio_id = 21720583 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21720583 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665046, 0.047282836661503395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720583_27-03-2025_05_39_37.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720584, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720586, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720590, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720591, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720592, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720593, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21720595, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21720905 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695821, 'mtr_portfolio_id': 21720905, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 46), 'result': '0.04248062650645878', 'result_long': None, 'result_double': None}] Qualite : 0.04248062650645878 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21720905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21720905 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}" where mtr_portfolio_id = 21720905 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21720905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665047, 0.04248062650645878, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21720905_27-03-2025_05_40_51.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21720936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21720937, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21720938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21720939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21720940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21720941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21720942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21720943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21720944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21720945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21720946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21720947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21721639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695822, 'mtr_portfolio_id': 21721639, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 30), 'result': '0.04164583386365705', 'result_long': None, 'result_double': None}] Qualite : 0.04164583386365705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21721639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21721639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}" where mtr_portfolio_id = 21721639 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21721639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665048, 0.04164583386365705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21721639_27-03-2025_05_40_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21721688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21721690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21721691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21721693, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21721694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21721695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21721696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21721697, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21721698, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21721699, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21722303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695823, 'mtr_portfolio_id': 21722303, 'created_at': datetime.datetime(2025, 3, 27, 5, 40, 58), 'result': '0.04277598450772852', 'result_long': None, 'result_double': None}] Qualite : 0.04277598450772852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}" where mtr_portfolio_id = 21722303 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21722303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665049, 0.04277598450772852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722303_27-03-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21722328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722329, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21722330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21722333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722334, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21722335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21722336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21722339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21722992 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695824, 'mtr_portfolio_id': 21722992, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 3), 'result': '0.041689454190622324', 'result_long': None, 'result_double': None}] Qualite : 0.041689454190622324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21722992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21722992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}" where mtr_portfolio_id = 21722992 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21722992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665050, 0.041689454190622324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21722992_27-03-2025_05_41_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21722994, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21722995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21722996, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21722997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21722998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21722999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723000, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723005, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21723967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695825, 'mtr_portfolio_id': 21723967, 'created_at': datetime.datetime(2025, 3, 27, 5, 41, 29), 'result': '0.054171806367155545', 'result_long': None, 'result_double': None}] Qualite : 0.054171806367155545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21723967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21723967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}" where mtr_portfolio_id = 21723967 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21723967 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665051, 0.054171806367155545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21723967_27-03-2025_05_41_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21723968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21723969, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21723970, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21723971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21723972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21723973, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21723974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21723975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21723976, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21723977, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21723978, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21723979, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21724584 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695826, 'mtr_portfolio_id': 21724584, 'created_at': datetime.datetime(2025, 3, 27, 5, 42, 29), 'result': '0.024855813983146163', 'result_long': None, 'result_double': None}] Qualite : 0.024855813983146163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21724584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21724584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}" where mtr_portfolio_id = 21724584 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21724584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665052, 0.024855813983146163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21724584_27-03-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21724585, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21724586, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21724587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21724588, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21724589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21724590, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21724591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21724592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21724593, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21724594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21724595, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21724596, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760961 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760961 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760961 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760961 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_05_43_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760961 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760961_27-03-2025_05_43_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761516, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761518, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761523, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761525, 'pht': 3726}}" where mtr_portfolio_id = 21760961 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760962 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760962 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760962_27-03-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761447, 'pht': 3726}}" where mtr_portfolio_id = 21760962 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760963 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760963 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760963 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_05_44_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760963 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760963_27-03-2025_05_44_47.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21761412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761415, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761423, 'pht': 3726}}" where mtr_portfolio_id = 21760963 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760964 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760964 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760964 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760964 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760964_27-03-2025_05_44_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761392, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761394, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761399, 'pht': 3726}}" where mtr_portfolio_id = 21760964 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760965 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760965 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_05_45_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760965_27-03-2025_05_45_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761347, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761348, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761355, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761356, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761358, 'pht': 3726}}" where mtr_portfolio_id = 21760965 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760966 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760966 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760966 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760966 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760966_27-03-2025_05_45_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761316, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761317, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761320, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761322, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761324, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761327, 'pht': 3726}}" where mtr_portfolio_id = 21760966 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760967 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760967 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760967 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760967 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760967_27-03-2025_05_46_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761290, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761292, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761294, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761296, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761297, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761299, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761301, 'pht': 3726}}" where mtr_portfolio_id = 21760967 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760968 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760968 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760968_27-03-2025_05_46_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21761266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761273, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761276, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761277, 'pht': 3726}}" where mtr_portfolio_id = 21760968 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760969 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760969 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760969 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760969 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760969_27-03-2025_05_47_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21761241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761242, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761243, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761244, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761252, 'pht': 3726}}" where mtr_portfolio_id = 21760969 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760970 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760970 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760970 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760970 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760970_27-03-2025_05_47_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761196, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761197, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761204, 'pht': 3726}}" where mtr_portfolio_id = 21760970 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760971 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760971 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760971 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760971_27-03-2025_05_48_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761144, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761145, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761152, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761153, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761155, 'pht': 3726}}" where mtr_portfolio_id = 21760971 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21760985 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21760985 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21760985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21760985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21760985_27-03-2025_05_48_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21761095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21761096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21761097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21761098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21761099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21761100, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21761101, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21761102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21761103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21761104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21761105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21761106, 'pht': 3726}}" where mtr_portfolio_id = 21760985 and dashboard_run_id = 1700366 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725475 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695839, 'mtr_portfolio_id': 21725475, 'created_at': datetime.datetime(2025, 3, 27, 5, 49, 31), 'result': '0.018323058577155462', 'result_long': None, 'result_double': None}] Qualite : 0.018323058577155462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725475 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725475 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}" where mtr_portfolio_id = 21725475 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21725475 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665069, 0.018323058577155462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725475_27-03-2025_05_49_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725597, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725605, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725607, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695840, 'mtr_portfolio_id': 21725478, 'created_at': datetime.datetime(2025, 3, 27, 5, 53, 30), 'result': '0.04204813372028109', 'result_long': None, 'result_double': None}] Qualite : 0.04204813372028109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}" where mtr_portfolio_id = 21725478 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21725478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665070, 0.04204813372028109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725478_27-03-2025_05_53_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725528, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725533, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725535, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695841, 'mtr_portfolio_id': 21725481, 'created_at': datetime.datetime(2025, 3, 27, 5, 54), 'result': '0.03394311874189647', 'result_long': None, 'result_double': None}] Qualite : 0.03394311874189647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}" where mtr_portfolio_id = 21725481 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21725481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665071, 0.03394311874189647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725481_27-03-2025_05_54_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725567, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725570, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725571, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725572, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725573, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725575, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725576, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725578, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21725483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695842, 'mtr_portfolio_id': 21725483, 'created_at': datetime.datetime(2025, 3, 27, 5, 54, 33), 'result': '0.03773588700998158', 'result_long': None, 'result_double': None}] Qualite : 0.03773588700998158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21725483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21725483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}" where mtr_portfolio_id = 21725483 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21725483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665072, 0.03773588700998158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21725483_27-03-2025_05_54_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21725513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21725515, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21725516, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21725517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21725518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21725519, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21725520, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21725521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21725522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21725523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21725524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21725525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21726952 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695843, 'mtr_portfolio_id': 21726952, 'created_at': datetime.datetime(2025, 3, 27, 5, 55, 27), 'result': '0.04764546879902959', 'result_long': None, 'result_double': None}] Qualite : 0.04764546879902959 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21726952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21726952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}" where mtr_portfolio_id = 21726952 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21726952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665073, 0.04764546879902959, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21726952_27-03-2025_05_55_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21726983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21726984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21726985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21726986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21726987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21726988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21726989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21726990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21726991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21726992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21726993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21726994, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21728821 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695844, 'mtr_portfolio_id': 21728821, 'created_at': datetime.datetime(2025, 3, 27, 5, 56, 3), 'result': '0.03590727361965522', 'result_long': None, 'result_double': None}] Qualite : 0.03590727361965522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21728821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21728821 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}" where mtr_portfolio_id = 21728821 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21728821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665074, 0.03590727361965522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21728821_27-03-2025_05_56_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21728846, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21728847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21728848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21728849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21728850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21728851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21728852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21728853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21728854, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21728855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21728856, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21728857, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21729717 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695845, 'mtr_portfolio_id': 21729717, 'created_at': datetime.datetime(2025, 3, 27, 5, 56, 33), 'result': '0.042977934751551795', 'result_long': None, 'result_double': None}] Qualite : 0.042977934751551795 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21729717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21729717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}" where mtr_portfolio_id = 21729717 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21729717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665075, 0.042977934751551795, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21729717_27-03-2025_05_56_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21729742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21729743, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21729744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21729745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21729746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21729747, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21729748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21729749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21729750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21729751, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21729752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21729753, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21730956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695846, 'mtr_portfolio_id': 21730956, 'created_at': datetime.datetime(2025, 3, 27, 5, 57, 3), 'result': '0.04326792504947703', 'result_long': None, 'result_double': None}] Qualite : 0.04326792504947703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21730956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21730956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}" where mtr_portfolio_id = 21730956 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21730956 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665076, 0.04326792504947703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21730956_27-03-2025_05_57_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21730958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21730959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21730960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21730961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21730962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21730963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21730964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21730965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21730966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21730967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21730968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21730969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21731666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695847, 'mtr_portfolio_id': 21731666, 'created_at': datetime.datetime(2025, 3, 27, 5, 57, 36), 'result': '0.045847002942263224', 'result_long': None, 'result_double': None}] Qualite : 0.045847002942263224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21731666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21731666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}" where mtr_portfolio_id = 21731666 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21731666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665077, 0.045847002942263224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21731666_27-03-2025_05_57_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21731687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21731688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21731689, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21731690, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21731691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21731692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21731693, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21731694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21731695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21731698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21732332 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695848, 'mtr_portfolio_id': 21732332, 'created_at': datetime.datetime(2025, 3, 27, 5, 58, 2), 'result': '0.04281347653390774', 'result_long': None, 'result_double': None}] Qualite : 0.04281347653390774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21732332 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21732332 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}" where mtr_portfolio_id = 21732332 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21732332 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665078, 0.04281347653390774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21732332_27-03-2025_05_58_06.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21732337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21732338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21732339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21732341, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21732342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21732344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21732346, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21732348, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21732349, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21732350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21732352, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21732353, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21733447 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695849, 'mtr_portfolio_id': 21733447, 'created_at': datetime.datetime(2025, 3, 27, 5, 58, 29), 'result': '0.03939206292779823', 'result_long': None, 'result_double': None}] Qualite : 0.03939206292779823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21733447 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21733447 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}" where mtr_portfolio_id = 21733447 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21733447 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665079, 0.03939206292779823, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21733447_27-03-2025_05_58_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21733450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21733451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21733452, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21733453, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21733454, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21733455, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21733456, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21733457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21733458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21733459, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21733460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21733461, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21734263 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695850, 'mtr_portfolio_id': 21734263, 'created_at': datetime.datetime(2025, 3, 27, 6, 1, 5), 'result': '0.033578661918224104', 'result_long': None, 'result_double': None}] Qualite : 0.033578661918224104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21734263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21734263 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}" where mtr_portfolio_id = 21734263 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21734263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665080, 0.033578661918224104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21734263_27-03-2025_06_01_08.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21734264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21734265, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21734266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21734267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21734268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21734269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21734270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21734271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21734272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21734273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21734274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21734275, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21735300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695851, 'mtr_portfolio_id': 21735300, 'created_at': datetime.datetime(2025, 3, 27, 6, 3, 1), 'result': '0.0378277398411138', 'result_long': None, 'result_double': None}] Qualite : 0.0378277398411138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}" where mtr_portfolio_id = 21735300 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21735300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665081, 0.0378277398411138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735300_27-03-2025_06_03_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735301, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735302, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735308, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735310, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735311, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735312, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21735815 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695852, 'mtr_portfolio_id': 21735815, 'created_at': datetime.datetime(2025, 3, 27, 6, 4, 33), 'result': '0.03633001021985455', 'result_long': None, 'result_double': None}] Qualite : 0.03633001021985455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21735815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21735815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}" where mtr_portfolio_id = 21735815 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21735815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665082, 0.03633001021985455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21735815_27-03-2025_06_04_37.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21735870, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21735871, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21735872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21735873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21735874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21735875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21735876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21735877, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21735878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21735879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21735880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21735881, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21736891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695853, 'mtr_portfolio_id': 21736891, 'created_at': datetime.datetime(2025, 3, 27, 6, 5, 32), 'result': '0.039220396459028514', 'result_long': None, 'result_double': None}] Qualite : 0.039220396459028514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21736891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21736891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}" where mtr_portfolio_id = 21736891 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21736891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665083, 0.039220396459028514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21736891_27-03-2025_06_05_35.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21736909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21736910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21736911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21736912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21736913, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21736914, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21736915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21736916, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21736917, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21736918, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21736919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21736920, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21738482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695854, 'mtr_portfolio_id': 21738482, 'created_at': datetime.datetime(2025, 3, 27, 6, 6, 33), 'result': '0.04917372774136792', 'result_long': None, 'result_double': None}] Qualite : 0.04917372774136792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21738482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21738482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}" where mtr_portfolio_id = 21738482 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21738482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665084, 0.04917372774136792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21738482_27-03-2025_06_06_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21738507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21738508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21738509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21738510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21738511, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21738512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21738513, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21738514, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21738515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21738516, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21738517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21738518, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21739307 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695855, 'mtr_portfolio_id': 21739307, 'created_at': datetime.datetime(2025, 3, 27, 6, 7, 1), 'result': '0.039151511326191456', 'result_long': None, 'result_double': None}] Qualite : 0.039151511326191456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739307 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739307 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}" where mtr_portfolio_id = 21739307 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21739307 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665085, 0.039151511326191456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739307_27-03-2025_06_07_04.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21739343, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739344, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739345, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739349, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739351, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739352, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21739892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695856, 'mtr_portfolio_id': 21739892, 'created_at': datetime.datetime(2025, 3, 27, 6, 7, 33), 'result': '0.037011729521317586', 'result_long': None, 'result_double': None}] Qualite : 0.037011729521317586 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21739892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21739892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}" where mtr_portfolio_id = 21739892 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21739892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665086, 0.037011729521317586, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21739892_27-03-2025_06_07_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21739958, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21739959, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21739960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21739961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21739962, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21739963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21739964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21739965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21739966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21739967, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21739968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21739969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21740539 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695857, 'mtr_portfolio_id': 21740539, 'created_at': datetime.datetime(2025, 3, 27, 6, 8, 5), 'result': '0.04580658573197152', 'result_long': None, 'result_double': None}] Qualite : 0.04580658573197152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21740539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21740539 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}" where mtr_portfolio_id = 21740539 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21740539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665087, 0.04580658573197152, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21740539_27-03-2025_06_08_08.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21740540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21740541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21740542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21740543, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21740544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21740545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21740546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21740547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21740548, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21740549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21740550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21740551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21741201 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695858, 'mtr_portfolio_id': 21741201, 'created_at': datetime.datetime(2025, 3, 27, 6, 8, 34), 'result': '0.05707770471393095', 'result_long': None, 'result_double': None}] Qualite : 0.05707770471393095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21741201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21741201 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}" where mtr_portfolio_id = 21741201 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21741201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665088, 0.05707770471393095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21741201_27-03-2025_06_08_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21741243, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21741244, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21741245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21741246, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21741247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21741248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21741249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21741250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21741251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21741252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21741253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21741254, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21742216 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695859, 'mtr_portfolio_id': 21742216, 'created_at': datetime.datetime(2025, 3, 27, 6, 9, 33), 'result': '0.03467517406512542', 'result_long': None, 'result_double': None}] Qualite : 0.03467517406512542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21742216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21742216 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}" where mtr_portfolio_id = 21742216 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21742216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665089, 0.03467517406512542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21742216_27-03-2025_06_09_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21742277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21742278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21742279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21742280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21742281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21742282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21742283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21742284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21742285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21742286, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21742287, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21742288, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21743303 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695860, 'mtr_portfolio_id': 21743303, 'created_at': datetime.datetime(2025, 3, 27, 6, 10, 37), 'result': '0.04105244539160419', 'result_long': None, 'result_double': None}] Qualite : 0.04105244539160419 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21743303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21743303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}" where mtr_portfolio_id = 21743303 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21743303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665090, 0.04105244539160419, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21743303_27-03-2025_06_10_39.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21743353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21743354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21743355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21743356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21743357, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21743358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21743359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21743360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21743361, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21743362, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21743363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21743364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21744306 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695861, 'mtr_portfolio_id': 21744306, 'created_at': datetime.datetime(2025, 3, 27, 6, 11, 2), 'result': '0.03906029808140943', 'result_long': None, 'result_double': None}] Qualite : 0.03906029808140943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21744306 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21744306 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}" where mtr_portfolio_id = 21744306 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21744306 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665091, 0.03906029808140943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21744306_27-03-2025_06_11_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21744311, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21744312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21744313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21744314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21744315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21744316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21744317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21744318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21744319, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21744320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21744321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21744322, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21745274 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695862, 'mtr_portfolio_id': 21745274, 'created_at': datetime.datetime(2025, 3, 27, 6, 11, 34), 'result': '0.03190534959626882', 'result_long': None, 'result_double': None}] Qualite : 0.03190534959626882 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21745274 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21745274 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}" where mtr_portfolio_id = 21745274 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21745274 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665092, 0.03190534959626882, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21745274_27-03-2025_06_11_38.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21745338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21745339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21745340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21745341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21745342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21745343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21745344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21745345, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21745346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21745347, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21745348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21745349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21746490 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695863, 'mtr_portfolio_id': 21746490, 'created_at': datetime.datetime(2025, 3, 27, 6, 12, 5), 'result': '0.04396633847958504', 'result_long': None, 'result_double': None}] Qualite : 0.04396633847958504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21746490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21746490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}" where mtr_portfolio_id = 21746490 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21746490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665093, 0.04396633847958504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21746490_27-03-2025_06_12_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21746493, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21746494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21746495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21746496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21746497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21746498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21746499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21746500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21746501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21746502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21746503, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21746504, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21747195 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2695864, 'mtr_portfolio_id': 21747195, 'created_at': datetime.datetime(2025, 3, 27, 6, 12, 29), 'result': '0.0392597141255935', 'result_long': None, 'result_double': None}] Qualite : 0.0392597141255935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21747195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21747195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}" where mtr_portfolio_id = 21747195 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21747195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665094, 0.0392597141255935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21747195_27-03-2025_06_12_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21747209, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21747210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21747211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21747212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21747213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21747214, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21747215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21747216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21747217, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21747218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21747219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21747220, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21748496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694298, 'mtr_portfolio_id': 21748496, 'created_at': datetime.datetime(2025, 3, 26, 21, 19, 58), 'result': '0.01982916516041119', 'result_long': None, 'result_double': None}] Qualite : 0.01982916516041119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21748496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21748496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}" where mtr_portfolio_id = 21748496 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21748496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665095, 0.01982916516041119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21748496_26-03-2025_21_19_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21748497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21748498, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21748499, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21748500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21748501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21748502, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21748503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21748504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21748505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21748506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21748507, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21748508, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21749070 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694337, 'mtr_portfolio_id': 21749070, 'created_at': datetime.datetime(2025, 3, 26, 21, 32, 30), 'result': '0.04258387152839006', 'result_long': None, 'result_double': None}] Qualite : 0.04258387152839006 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749070 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749070 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}" where mtr_portfolio_id = 21749070 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21749070 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665096, 0.04258387152839006, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749070_26-03-2025_21_32_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749091, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749094, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749095, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21749097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749100, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21749627 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694378, 'mtr_portfolio_id': 21749627, 'created_at': datetime.datetime(2025, 3, 26, 21, 48, 59), 'result': '0.043502630220321546', 'result_long': None, 'result_double': None}] Qualite : 0.043502630220321546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21749627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21749627 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}" where mtr_portfolio_id = 21749627 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21749627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665097, 0.043502630220321546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21749627_26-03-2025_21_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21749628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21749629, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21749630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21749631, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21749632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21749633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21749634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21749635, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21749636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21749637, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21749638, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21749639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21750331 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694418, 'mtr_portfolio_id': 21750331, 'created_at': datetime.datetime(2025, 3, 26, 22, 4, 59), 'result': '0.05041254399124694', 'result_long': None, 'result_double': None}] Qualite : 0.05041254399124694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}" where mtr_portfolio_id = 21750331 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21750331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665098, 0.05041254399124694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750331_26-03-2025_22_04_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750339, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750340, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750342, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750343, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21750903 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694513, 'mtr_portfolio_id': 21750903, 'created_at': datetime.datetime(2025, 3, 26, 22, 17, 56), 'result': '0.06371892832389539', 'result_long': None, 'result_double': None}] Qualite : 0.06371892832389539 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21750903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21750903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}" where mtr_portfolio_id = 21750903 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21750903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665099, 0.06371892832389539, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21750903_26-03-2025_22_17_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21750904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21750905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21750906, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21750907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21750908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21750909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21750910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21750911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21750912, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21750913, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21750914, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21750915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21752014 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694570, 'mtr_portfolio_id': 21752014, 'created_at': datetime.datetime(2025, 3, 26, 22, 36), 'result': '0.03852561133314404', 'result_long': None, 'result_double': None}] Qualite : 0.03852561133314404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21752014 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21752014 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}" where mtr_portfolio_id = 21752014 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21752014 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665100, 0.03852561133314404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21752014_26-03-2025_22_36_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21752063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21752064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21752065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21752066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21752067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21752068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21752069, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21752070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21752071, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21752072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21752073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21752074, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21753280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694658, 'mtr_portfolio_id': 21753280, 'created_at': datetime.datetime(2025, 3, 26, 22, 49), 'result': '0.031124917892411078', 'result_long': None, 'result_double': None}] Qualite : 0.031124917892411078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21753280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21753280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}" where mtr_portfolio_id = 21753280 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21753280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665101, 0.031124917892411078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21753280_26-03-2025_22_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21753282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21753283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21753284, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21753285, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21753286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21753287, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21753288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21753289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21753290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21753291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21753292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21753293, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21754177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694700, 'mtr_portfolio_id': 21754177, 'created_at': datetime.datetime(2025, 3, 26, 23, 3, 57), 'result': '0.05418162931616347', 'result_long': None, 'result_double': None}] Qualite : 0.05418162931616347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21754177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21754177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}" where mtr_portfolio_id = 21754177 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21754177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665102, 0.05418162931616347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21754177_26-03-2025_23_03_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21754178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21754179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21754180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21754181, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21754182, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21754183, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21754184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21754185, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21754186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21754187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21754188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21754189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21755139 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694762, 'mtr_portfolio_id': 21755139, 'created_at': datetime.datetime(2025, 3, 26, 23, 19, 1), 'result': '0.06263417679065923', 'result_long': None, 'result_double': None}] Qualite : 0.06263417679065923 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21755139 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21755139 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}" where mtr_portfolio_id = 21755139 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21755139 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665103, 0.06263417679065923, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21755139_26-03-2025_23_19_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21755140, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21755141, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21755142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21755143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21755144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21755145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21755146, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21755147, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21755148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21755149, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21755150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21755151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21756185 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694807, 'mtr_portfolio_id': 21756185, 'created_at': datetime.datetime(2025, 3, 26, 23, 34, 59), 'result': '0.057465443093998245', 'result_long': None, 'result_double': None}] Qualite : 0.057465443093998245 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756185 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}" where mtr_portfolio_id = 21756185 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21756185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665104, 0.057465443093998245, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756185_26-03-2025_23_34_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756187, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756192, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756194, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21756877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694845, 'mtr_portfolio_id': 21756877, 'created_at': datetime.datetime(2025, 3, 26, 23, 49, 29), 'result': '0.045881791245805416', 'result_long': None, 'result_double': None}] Qualite : 0.045881791245805416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21756877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21756877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}" where mtr_portfolio_id = 21756877 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21756877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665105, 0.045881791245805416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21756877_26-03-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21756902, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21756903, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21756904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21756905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21756906, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21756907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21756908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21756909, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21756910, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21756911, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21756912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21756913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21757954 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2694894, 'mtr_portfolio_id': 21757954, 'created_at': datetime.datetime(2025, 3, 27, 1, 4, 1), 'result': '0.043965896840629015', 'result_long': None, 'result_double': None}] Qualite : 0.043965896840629015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21757954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21757954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}" where mtr_portfolio_id = 21757954 and dashboard_run_id = 1700366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21757954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9665106, 0.043965896840629015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21757954_27-03-2025_01_04_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21757955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21757956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21757957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21757958, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21757959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21757960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21757961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21757962, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21757963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21757964, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21757965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21757966, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21717852,21717911,21718208,21718593,21718923,21719113,21719546,21720025,21720583,21720905,21721639,21722303,21722992,21723967,21724584,21760961,21760962,21760963,21760964,21760965,21760966,21760967,21760968,21760969,21760970,21760971,21760985,21725475,21725478,21725481,21725483,21726952,21728821,21729717,21730956,21731666,21732332,21733447,21734263,21735300,21735815,21736891,21738482,21739307,21739892,21740539,21741201,21742216,21743303,21744306,21745274,21746490,21747195,21748496,21749070,21749627,21750331,21750903,21752014,21753280,21754177,21755139,21756185,21756877,21757954) result : ((1347421034,), (1347421845,), (1347421863,), (1347422022,), (1347422094,), (1347422180,), (1347422509,), (1347422573,), (1347422649,), (1347422723,), (1347423150,), (1347423037,), (1347423133,), (1347423138,), (1347423142,), (1347423148,), (1347423175,), (1347423177,), (1347423182,), (1347423185,), (1347423189,), (1347423193,), (1347423212,), (1347423215,), (1347423218,), (1347423254,), (1347423263,), (1347423265,), (1347423271,), (1347423279,), (1347423283,), (1347423373,), (1347423378,), (1347423402,), (1347423493,), (1347423495,), (1347423498,), (1347423504,), (1347423508,), (1347423532,), (1347423539,), (1347423542,), (1347423549,), (1347423554,), (1347423557,), (1347423591,), (1347423593,), (1347423597,), (1347423622,), (1347423626,), (1347423636,), (1347423640,), (1347423642,), (1347423644,), (1347423677,), (1347423680,), (1347423685,), (1347423764,), (1347423746,), (1347423749,), (1347423752,), (1347423757,), (1347423760,), (1347423796,), (1347423805,), (1347423810,), (1347423813,), (1347423835,), (1347423839,), (1347423844,), (1347423848,), (1347423857,), (1347423865,), (1347423883,), (1347423886,), (1347423889,), (1347423895,), (1347423898,), (1347423918,), (1347423921,), (1347423925,), (1347423928,), (1347423933,), (1347423963,), (1347423995,), (1347424001,), (1347424007,), (1347424013,), (1347424018,), (1347424032,), (1347424036,), (1347424039,), (1347424054,), (1347424087,), (1347424090,), (1347424095,), (1347424098,), (1347424101,), (1347424106,), (1347424129,), (1347424132,), (1347424134,), (1347424138,), (1347424142,), (1347424145,), (1347424188,), (1347424191,), (1347424195,), (1347424239,), (1347424242,), (1347424246,), (1347424251,), (1347424256,), (1347424333,), (1347424335,), (1347424337,), (1347424412,), (1347424414,), (1347424417,), (1347424421,), (1347424470,), (1347424458,), (1347424461,), (1347424463,), (1347424503,), (1347424507,), (1347424509,), (1347424515,), (1347424518,), (1347424522,), (1347424551,), (1347424553,), (1347424555,), (1347424560,), (1347424565,), (1347424570,), (1347424593,), (1347424645,), (1347424682,), (1347424684,), (1347424686,), (1347424690,), (1347424692,), (1347424737,), (1347424745,), (1347424746,), (1347424750,), (1347424753,), (1347424786,), (1347424789,), (1347424792,), (1347424829,), (1347424830,), (1347424831,), (1347424865,), (1347426571,), (1347427536,), (1347429903,), (1347430374,), (1347430376,), (1347430379,), (1347430383,), (1347430385,), (1347430389,), (1347430421,), (1347430424,), (1347430427,), (1347430433,), (1347430438,), (1347430469,), (1347430472,), (1347430475,), (1347430506,), (1347430508,), (1347430510,), (1347430516,), (1347430520,), (1347430578,), (1347430558,), (1347430562,), (1347430566,), (1347430571,), (1347430574,), (1347430609,), (1347430617,), (1347430626,), (1347430668,), (1347430669,), (1347430670,), (1347430674,), (1347430678,), (1347430684,), (1347430708,), (1347430710,), (1347430712,), (1347430715,), (1347430764,), (1347430766,), (1347430769,), (1347430809,), (1347430812,), (1347430815,), (1347430821,), (1347430864,), (1347430868,), (1347430874,), (1347430877,), (1347430903,), (1347430905,), (1347430907,), (1347430918,), (1347430970,), (1347430973,), (1347430978,), (1347430982,), (1347431010,), (1347431012,), (1347431014,), (1347431018,), (1347431021,), (1347431054,), (1347431056,), (1347431059,), (1347431065,), (1347431070,), (1347431076,), (1347431102,), (1347431105,), (1347431109,), (1347431145,), (1347431148,), (1347431152,), (1347431156,), (1347431159,), (1347431164,), (1347431187,), (1347431190,), (1347431195,), (1347431199,), (1347431201,), (1347431205,), (1347431258,), (1347431261,), (1347431263,), (1347431268,), (1347431327,), (1347431295,), (1347431299,), (1347431306,), (1347431316,), (1347431320,), (1347431352,), (1347431359,), (1347431367,), (1347431373,), (1347431376,), (1347431401,), (1347431404,), (1347431407,), (1347431451,), (1347431461,), (1347431465,), (1347431470,), (1347431475,), (1347431500,), (1347431504,), (1347431508,), (1347431513,), (1347431542,), (1347431546,), (1347431548,), (1347431554,), (1347431561,), (1347431564,), (1347431584,), (1347431587,), (1347431590,), (1347431595,), (1347431601,), (1347431606,), (1347431635,), (1347431646,), (1347431683,), (1347431686,), (1347431689,), (1347431696,), (1347431702,), (1347431721,), (1347431759,), (1347431763,), (1347431778,), (1347431791,), (1347431814,), (1347431816,), (1347431821,), (1347431828,), (1347431833,), (1347431838,), (1347431862,), (1347431867,), (1347431870,), (1347431876,), (1347431911,), (1347431913,), (1347431915,), (1347431920,), (1347431923,), (1347431928,), (1347431970,), (1347431974,), (1347431978,), (1347431986,), (1347431992,), (1347432016,), (1347432019,), (1347432023,), (1347432094,), (1347432072,), (1347432075,), (1347432079,), (1347432086,), (1347432089,), (1347432115,), (1347432119,), (1347432123,), (1347432129,), (1347432173,), (1347432176,), (1347432178,), (1347432187,), (1347432212,), (1347432225,), (1347432248,), (1347432252,), (1347432451,), (1347432454,), (1347432500,), (1347432503,), (1347432506,), (1347432514,), (1347432549,), (1347432554,), (1347432559,), (1347432565,), (1347432569,), (1347432611,), (1347432615,), (1347432617,), (1347432779,), (1347432805,), (1347432834,), (1347432863,), (1347432894,), (1347432926,), (1347433395,), (1347433444,), (1347433496,), (1347433524,), (1347433547,), (1347434070,), (1347434093,), (1347434095,), (1347434105,), (1347434117,), (1347434311,), (1347434286,), (1347434517,), (1347434522,), (1347434525,), (1347434534,), (1347434538,), (1347434543,), (1347434578,), (1347434583,), (1347434588,), (1347434595,), (1347434600,), (1347434611,), (1347434644,), (1347434649,), (1347434794,), (1347434797,), (1347434800,), (1347434805,), (1347434814,), (1347434839,), (1347435069,), (1347435125,), (1347435147,), (1347435174,), (1347435294,), (1347435296,), (1347435300,), (1347435307,), (1347435318,), (1347435344,), (1347435500,), (1347435564,), (1347435578,), (1347435584,), (1347435663,), (1347435674,), (1347435683,), (1347435695,), (1347435705,), (1347435711,), (1347435722,), (1347435723,), (1347435725,), (1347435726,), (1347435728,), (1347435729,), (1347435743,), (1347435755,), (1347435767,), (1347435777,), (1347435785,), (1347435791,), (1347435827,), (1347435835,), (1347435856,), (1347435861,), (1347435865,), (1347435869,), (1347435872,), (1347435877,), (1347435925,), (1347435926,), (1347435969,), (1347435985,), (1347435989,), (1347435992,), (1347435998,), (1347436009,), (1347436012,), (1347436056,), (1347436098,), (1347436103,), (1347435800,), (1347435807,), (1347435814,), (1347435819,), (1347435887,), (1347435889,), (1347435895,), (1347435896,), (1347435902,), (1347435903,), (1347435911,), (1347435912,), (1347435919,), (1347435920,), (1347435937,), (1347435941,), (1347435944,), (1347435950,), (1347435956,), (1347436021,), (1347436030,), (1347436035,), (1347436040,), (1347436049,), (1347436070,), (1347436072,), (1347436078,), (1347436095,), (1347436157,), (1347436175,), (1347436181,), (1347436267,), (1347436274,), (1347436291,), (1347436299,), (1347436319,), (1347436344,), (1347436463,), (1347436468,), (1347436473,), (1347436476,), (1347436480,), (1347436489,), (1347436540,), (1347436972,), (1347437074,), (1347437076,), (1347437078,), (1347437084,), (1347437090,), (1347437096,), (1347437135,), (1347437138,), (1347437145,), (1347437166,), (1347437211,), (1347437216,), (1347437230,), (1347437235,), (1347437242,), (1347437249,), (1347437273,), (1347437276,), (1347437307,), (1347437320,), (1347437326,), (1347437332,), (1347437511,), (1347437435,), (1347437473,), (1347437638,), (1347437649,), (1347437658,), (1347437663,), (1347437672,), (1347437676,), (1347437747,), (1347437771,), (1347437797,), (1347437824,), (1347437854,), (1347437988,), (1347438038,), (1347438144,), (1347438168,), (1347438214,), (1347438371,), (1347438409,), (1347438424,), (1347438442,), (1347438449,), (1347438513,), (1347438611,), (1347438616,), (1347438654,), (1347438680,), (1347438779,), (1347438784,), (1347438788,), (1347438792,), (1347438797,), (1347438803,), (1347438838,), (1347438843,), (1347438848,), (1347438853,), (1347438864,), (1347438871,), (1347439083,), (1347439116,), (1347439142,), (1347439186,), (1347439218,), (1347439296,), (1347439302,), (1347439305,), (1347439312,), (1347439319,), (1347439330,), (1347439364,), (1347439370,), (1347439375,), (1347439382,), (1347439426,), (1347439432,), (1347439437,), (1347439449,), (1347439650,), (1347439653,), (1347439661,), (1347439670,), (1347439683,), (1347439692,), (1347439727,), (1347439738,), (1347439745,), (1347439754,), (1347439795,), (1347439799,), (1347439803,), (1347439812,), (1347439820,), (1347440049,), (1347439994,), (1347440007,), (1347440014,), (1347440035,), (1347440043,), (1347440090,), (1347440098,), (1347440110,), (1347440124,), (1347440294,), (1347440303,), (1347440313,), (1347440320,), (1347440481,), (1347440489,), (1347440495,), (1347440529,), (1347440586,), (1347440591,), (1347440599,), (1347440609,), (1347440614,), (1347440621,), (1347440656,), (1347440662,), (1347440668,), (1347440673,), (1347440679,), (1347440684,), (1347440734,), (1347440736,), (1347440746,), (1347440752,), (1347440822,), (1347440827,), (1347440832,), (1347440839,), (1347440879,), (1347440886,), (1347440892,), (1347440905,), (1347440921,), (1347440936,), (1347440967,), (1347440972,), (1347440978,), (1347441026,), (1347441033,), (1347441039,), (1347441051,), (1347441058,), (1347441066,), (1347441266,), (1347441272,), (1347441289,), (1347441339,), (1347441343,), (1347441346,), (1347441352,), (1347441358,), (1347441363,), (1347442047,), (1347442094,), (1347442142,), (1347442191,), (1347442240,), (1347442779,), (1347442677,), (1347442707,), (1347442733,), (1347442761,), (1347442980,), (1347442985,), (1347443003,), (1347443030,), (1347443551,), (1347443576,), (1347443620,), (1347443656,), (1347443903,), (1347443906,), (1347443908,), (1347443912,), (1347443958,), (1347444091,), (1347444101,), (1347444112,), (1347444128,), (1347444141,), (1347444152,), (1347444303,), (1347444329,), (1347444339,), (1347444545,), (1347444550,), (1347444560,), (1347444566,), (1347444571,), (1347444716,), (1347444720,), (1347444724,), (1347444727,), (1347444731,), (1347444737,), (1347444845,), (1347444868,), (1347444892,), (1347445100,), (1347445104,), (1347445111,), (1347445125,), (1347445157,), (1347445193,), (1347445407,), (1347445410,), (1347445415,), (1347445420,), (1347445427,), (1347445471,), (1347445494,), (1347445499,), (1347445507,), (1347445516,), (1347445632,), (1347445636,), (1347445637,), (1347445806,), (1347445814,), (1347445821,), (1347445835,), (1347445845,), (1347445852,), (1347446045,), (1347446056,), (1347446065,), (1347446081,), (1347446086,), (1347446203,), (1347446138,), (1347446142,), (1347446145,), (1347446150,), (1347446258,), (1347446261,), (1347446364,), (1347446392,), (1347446418,), (1347446446,), (1347446580,), (1347446589,), (1347446592,), (1347446598,), (1347446649,), (1347446656,), (1347446751,), (1347446753,), (1347446754,), (1347447006,), (1347447026,), (1347447035,), (1347447182,), (1347447205,), (1347447222,), (1347447225,), (1347447241,), (1347447251,), (1347447298,), (1347447358,), (1347447366,), (1347447399,), (1347447438,), (1347447440,), (1347447442,), (1347447446,), (1347447456,), (1347447494,), (1347447497,), (1347447500,), (1347447504,), (1347447506,), (1347447511,), (1347447581,), (1347447584,), (1347447588,), (1347447729,), (1347447733,), (1347447783,), (1347447787,), (1347447789,), (1347447793,), (1347447796,), (1347447801,), (1347447854,), (1347447838,), (1347447841,), (1347447842,), (1347447846,), (1347447850,), (1347447906,), (1347447918,), (1347447932,), (1347447940,), (1347448019,), (1347448043,), (1347448261,), (1347448699,), (1347448827,), (1347448835,), (1347448844,), (1347448854,), (1347448858,), (1347448925,), (1347448928,), (1347448932,), (1347448958,), (1347449012,), (1347449019,), (1347449032,), (1347449036,), (1347450110,), (1347450116,), (1347450118,), (1347450225,), (1347450601,), (1347450676,), (1347450983,), (1347465376,), (1347465491,), (1347465661,), (1347465663,), (1347465733,), (1347465777,), (1347465779,), (1347465812,), (1347465817,), (1347465820,), (1347465825,), (1347465831,), (1347465864,), (1347465867,), (1347465871,), (1347465876,), (1347465880,), (1347465931,), (1347465903,), (1347465908,), (1347465914,), (1347465918,), (1347465925,), (1347465954,), (1347465959,), (1347465963,), (1347465970,), (1347465976,), (1347465983,), (1347466010,), (1347466014,), (1347466017,), (1347466060,), (1347466066,), (1347466073,), (1347466079,), (1347466085,), (1347466090,), (1347466115,), (1347466118,), (1347466121,), (1347466128,), (1347466133,), (1347466139,), (1347466163,), (1347466169,), (1347466174,), (1347466182,), (1347466212,), (1347466218,), (1347466225,), (1347466231,), (1347466235,), (1347466239,), (1347466252,), (1347466254,), (1347466258,), (1347466264,), (1347466298,), (1347466302,), (1347466309,), (1347466314,), (1347466318,), (1347466320,), (1347466326,), (1347466329,), (1347466332,), (1347466335,), (1347466361,), (1347466364,), (1347466368,), (1347466371,), (1347466374,), (1347466403,), (1347466408,), (1347466412,), (1347466417,), (1347466420,), (1347466422,), (1347466455,), (1347466458,), (1347466463,), (1347466465,), (1347466466,), (1347466539,), (1347466541,), (1347466545,), (1347466549,), (1347466555,), (1347466560,), (1347466579,), (1347466582,), (1347466586,), (1347466621,), (1347466598,), (1347466603,), (1347466607,), (1347466613,), (1347466618,), (1347466650,), (1347466653,), (1347466656,), (1347466661,), (1347466698,), (1347466703,), (1347466707,), (1347466714,), (1347466751,), (1347466754,), (1347466758,), (1347466764,), (1347466769,), (1347466776,), (1347466806,), (1347466809,), (1347466812,), (1347466818,), (1347466850,), (1347466853,), (1347466855,), (1347466861,), (1347466866,), (1347466898,), (1347466903,), (1347466905,), (1347466910,), (1347466950,), (1347466954,), (1347466958,), (1347466964,), (1347466997,), (1347467002,), (1347467007,), (1347467012,), (1347467016,), (1347467042,), (1347467046,), (1347467137,), (1347467141,), (1347467181,), (1347467184,), (1347467188,), (1347467223,), (1347467226,), (1347467231,), (1347467235,), (1347467239,), (1347467262,), (1347467265,), (1347467268,), (1347467274,), (1347467279,), (1347467317,), (1347467304,), (1347467306,), (1347467309,), (1347467314,), (1347467353,), (1347467356,), (1347467360,), (1347467365,), (1347467368,), (1347467373,), (1347467414,), (1347467416,), (1347467419,), (1347467423,), (1347467466,), (1347467470,), (1347467473,), (1347467480,), (1347467488,), (1347467507,), (1347467568,), (1347467569,), (1347467570,), (1347467860,), (1347467864,), (1347467875,), (1347467895,), (1347467901,), (1347467905,), (1347467966,), (1347467995,), (1347468023,), (1347468056,), (1347468133,), (1347468137,), (1347468142,), (1347468156,), (1347468173,), (1347468257,), (1347468260,), (1347468261,), (1347468267,), (1347468359,), (1347468362,), (1347468385,), (1347468461,), (1347468519,), (1347468576,), (1347469012,), (1347469049,), (1347469051,), (1347469064,), (1347469068,), (1347469297,), (1347469317,), (1347469320,), (1347469386,), (1347469390,), (1347469463,), (1347469551,), (1347469675,), (1347469737,), (1347470166,), (1347470200,), (1347470220,), (1347470265,), (1347470443,), (1347470415,), (1347470776,), (1347470788,), (1347470796,), (1347471049,), (1347471085,), (1347471168,), (1347471487,), (1347471507,), (1347471522,), (1347471546,), (1347471554,), (1347471721,), (1347471742,), (1347471755,), (1347471758,), (1347471833,), (1347471843,), (1347471860,), (1347471881,), (1347472049,), (1347472075,), (1347472092,), (1347472278,), (1347472304,), (1347472315,), (1347472321,), (1347472327,), (1347472358,), (1347472360,), (1347472362,), (1347472388,), (1347472483,), (1347472486,), (1347472493,), (1347472497,), (1347472502,), (1347472830,), (1347472913,), (1347472992,), (1347473065,), (1347473215,), (1347473225,), (1347473235,), (1347473407,), (1347473411,), (1347473441,), (1347473469,), (1347473500,), (1347473529,), (1347473577,), (1347473599,), (1347473607,), (1347473612,), (1347473617,), (1347473646,), (1347473648,), (1347473657,), (1347473676,), (1347473679,), (1347474142,), (1347478250,), (1347478279,), (1347478712,), (1347478763,), (1347479359,), (1347479381,), (1347479883,), (1347479972,), (1347480019,), (1347480069,), (1347480140,), (1347480555,), (1347480594,), (1347480650,), (1347480781,), (1347480866,), (1347481357,), (1347481427,), (1347481529,), (1347482736,), (1347482819,), (1347482889,), (1347484675,), (1347484808,), (1347484898,), (1347484951,), (1347485005,), (1347485592,), (1347485693,), (1347485808,), (1347485907,), (1347486125,), (1347486335,), (1347486985,), (1347487008,), (1347487148,), (1347487836,), (1347487932,), (1347487979,), (1347488033,), (1347488087,), (1347488138,), (1347488541,), (1347488599,), (1347488641,), (1347488684,), (1347488747,), (1347489389,), (1347489416,), (1347489453,), (1347489470,), (1347489514,), (1347489572,), (1347489576,), (1347489581,), (1347489585,), (1347489589,), (1347489592,), (1347490014,), (1347489904,), (1347489960,), (1347490526,), (1347490546,), (1347490590,), (1347490652,), (1347490672,), (1347490741,), (1347491282,), (1347491302,), (1347491403,), (1347491417,), (1347491811,), (1347491843,), (1347491851,), (1347491856,), (1347491881,), (1347491914,), (1347492204,), (1347492237,), (1347492262,), (1347492457,), (1347492473,), (1347492495,), (1347492511,), (1347492522,), (1347492544,), (1347492778,), (1347492798,), (1347492805,), (1347492825,), (1347492829,), (1347492853,), (1347493158,), (1347493172,), (1347493200,), (1347493229,), (1347493359,), (1347493364,), (1347493367,), (1347493371,), (1347493374,), (1347493378,), (1347493497,), (1347493505,), (1347493508,), (1347493512,), (1347493517,), (1347493995,), (1347494037,), (1347494070,), (1347494115,), (1347494163,), (1347494597,), (1347494619,), (1347494661,), (1347494700,), (1347494748,), (1347495052,), (1347495062,), (1347495065,), (1347495069,), (1347495215,), (1347495218,), (1347495225,), (1347495253,), (1347495278,), (1347495531,), (1347495571,), (1347495607,), (1347496114,), (1347495905,), (1347496048,), (1347496086,), (1347499286,), (1347499978,), (1347500026,), (1347500089,), (1347500541,), (1347500564,), (1347500582,), (1347500599,), (1347500618,), (1347500669,), (1347501166,), (1347501217,), (1347501269,), (1347501334,), (1347501664,), (1347501913,), (1347501983,), (1347501987,), (1347502120,), (1347502713,), (1347502726,), (1347502753,), (1347502784,), (1347502799,), (1347502823,), (1347503325,), (1347503448,), (1347503555,), (1347504096,), (1347504152,), (1347504208,), (1347504255,), (1347504335,), (1347504389,), (1347504734,), (1347504795,), (1347504839,), (1347504915,), (1347504995,), (1347505622,), (1347505675,), (1347505751,), (1347505817,), (1347505854,), (1347506347,), (1347506178,), (1347506230,), (1347506283,), (1347506806,), (1347506814,), (1347506874,), (1347506915,), (1347506944,), (1347506994,), (1347507285,), (1347507316,), (1347507349,), (1347507381,), (1347507774,), (1347507818,), (1347507852,), (1347507875,), (1347508226,), (1347508274,), (1347508321,), (1347508347,), (1347508377,), (1347508429,), (1347508777,), (1347508844,), (1347508902,), (1347508965,), (1347509754,), (1347509832,), (1347509894,), (1347509924,), (1347509986,), (1347510057,), (1347510552,), (1347513658,), (1347513769,), (1347514117,), (1347514165,), (1347514577,), (1347514771,), (1347515758,), (1347515835,), (1347515879,), (1347516572,), (1347516430,), (1347516494,), (1347517168,), (1347517207,), (1347517256,), (1347517315,), (1347517354,), (1347517493,), (1347518352,), (1347518386,), (1347518451,), (1347518489,), (1347518509,), (1347518584,), (1347519313,), (1347519403,), (1347519517,), (1347519593,), (1347519926,), (1347519939,), (1347519966,), (1347520027,), (1347520084,), (1347520100,), (1347520481,), (1347520545,), (1347520606,), (1347520631,), (1347520997,), (1347521037,), (1347521062,), (1347521074,), (1347521101,), (1347521139,), (1347521443,), (1347521482,), (1347521627,), (1347521692,), (1347522090,), (1347522114,), (1347522157,), (1347522198,), (1347522259,), (1347522298,), (1347522712,), (1347522776,), (1347522844,), (1347523472,), (1347524436,), (1347524477,), (1347524771,), (1347524813,), (1347524835,), (1347524859,), (1347524882,), (1347524909,), (1347525108,), (1347525135,), (1347525152,), (1347525469,), (1347525486,), (1347525513,), (1347525543,), (1347525568,), (1347525825,), (1347525708,), (1347525712,), (1347525738,), (1347525763,), (1347525790,), (1347526360,), (1347526810,), (1347526879,), (1347526984,), (1347527040,), (1347527197,), (1347527199,), (1347527207,), (1347527276,), (1347527320,), (1347527346,), (1347527792,), (1347527818,), (1347527854,), (1347527886,), (1347528091,), (1347528095,), (1347528105,), (1347528109,), (1347528112,), (1347528117,), (1347528178,), (1347528181,), (1347528201,), (1347528485,), (1347528500,), (1347528504,), (1347528509,), (1347528662,), (1347528680,), (1347528738,), (1347528748,), (1347528755,), (1347528771,), (1347528787,), (1347528817,), (1347528830,), (1347528844,), (1347528852,), (1347528871,), (1347528903,), (1347528909,), (1347528914,), (1347528917,), (1347528921,), (1347528984,), (1347529001,), (1347529006,), (1347529015,), (1347529030,), (1347529034,), (1347529057,), (1347529060,), (1347529062,), (1347529185,), (1347529197,), (1347529208,), (1347529238,), (1347529267,), (1347529333,), (1347529475,), (1347529483,), (1347529500,), (1347529507,), (1347529657,), (1347529660,), (1347529674,), (1347529677,), (1347529732,), (1347529704,), (1347529709,), (1347529717,), (1347529722,), (1347529726,), (1347529784,), (1347529789,), (1347529806,), (1347529885,), (1347530182,), (1347530210,), (1347530235,), (1347530258,), (1347530284,), (1347530315,), (1347530357,), (1347530408,), (1347530467,), (1347530499,), (1347530532,), (1347530575,), (1347530834,), (1347530862,), (1347530892,), (1347530915,), (1347531202,), (1347531244,), (1347531289,), (1347531379,), (1347531428,), (1347531541,), (1347531544,), (1347531547,), (1347531629,), (1347531663,), (1347531715,), (1347531735,), (1347531795,), (1347532165,), (1347532235,), (1347532277,), (1347532327,), (1347532476,), (1347532818,), (1347532853,), (1347532908,), (1347532956,), (1347532992,), (1347533057,), (1347533409,), (1347533472,), (1347533502,), (1347533519,), (1347533546,), (1347533961,), (1347534005,), (1347534055,), (1347534094,), (1347534134,), (1347534174,), (1347534438,), (1347534488,), (1347534536,), (1347534559,), (1347534789,), (1347534818,), (1347534852,), (1347534880,), (1347534911,), (1347534934,), (1347535242,), (1347535094,), (1347535100,), (1347535226,), (1347535519,), (1347535525,), (1347535530,), (1347535534,), (1347535538,), (1347535542,), (1347535654,), (1347535681,), (1347535723,), (1347536043,), (1347536096,), (1347536137,), (1347536151,), (1347536194,), (1347536204,), (1347536421,), (1347536426,), (1347536428,), (1347536430,), (1347536482,), (1347536484,), (1347536487,), (1347536489,), (1347536492,), (1347536526,), (1347536530,), (1347536537,), (1347536539,), (1347536540,), (1347536544,), (1347536564,), (1347536586,), (1347536589,), (1347536593,), (1347536597,), (1347536603,), (1347536621,), (1347536623,), (1347536645,), (1347536650,), (1347536654,), (1347536765,), (1347536788,), (1347536810,), (1347536826,), (1347536829,), (1347536841,), (1347536852,), (1347536860,), (1347536869,), (1347536871,), (1347536913,), (1347536916,), (1347536920,), (1347536924,), (1347536930,), (1347536986,), (1347536994,), (1347536997,), (1347537000,), (1347537002,), (1347538224,), (1347538304,), (1347538375,), (1347538684,), (1347538744,), (1347538800,), (1347538828,), (1347538886,), (1347539227,), (1347539034,), (1347539069,), (1347539110,), (1347539157,), (1347539593,), (1347539705,), (1347539773,), (1347539888,), (1347539992,), (1347540071,), (1347540658,), (1347540706,), (1347540749,), (1347540786,), (1347540829,), (1347541274,), (1347541321,), (1347541420,), (1347541475,), (1347541535,), (1347542109,), (1347542165,), (1347542222,), (1347542277,), (1347542324,), (1347542359,), (1347542492,), (1347542515,), (1347542538,), (1347542566,), (1347542593,), (1347543024,), (1347543060,), (1347543095,), (1347543121,), (1347543141,), (1347543164,), (1347543313,), (1347543337,), (1347543368,), (1347543431,), (1347543460,), (1347543577,), (1347543613,), (1347543640,), (1347543657,), (1347543660,), (1347543859,), (1347543888,), (1347543910,), (1347543915,), (1347543926,), (1347544121,), (1347544161,), (1347544171,), (1347544177,), (1347544364,), (1347544386,), (1347544399,), (1347544409,), (1347544413,), (1347544419,), (1347544614,), (1347544629,), (1347544639,), (1347544643,), (1347544670,), (1347544868,), (1347544872,), (1347544919,), (1347544942,), (1347544944,), (1347544950,), (1347545024,), (1347545027,), (1347545029,), (1347545033,), (1347545323,), (1347545188,), (1347545195,), (1347545205,), (1347545217,), (1347545257,), (1347545371,), (1347545374,), (1347545377,), (1347545382,), (1347545506,), (1347545525,), (1347545547,), (1347545549,), (1347545554,), (1347545559,), (1347545578,), (1347545584,), (1347545591,), (1347545692,), (1347545766,), (1347545882,), (1347545894,), (1347545899,), (1347545966,), (1347545978,), (1347545983,), (1347545987,), (1347546020,), (1347546023,), (1347546032,), (1347546082,), (1347546085,), (1347546087,), (1347546091,), (1347546093,), (1347546098,), (1347546131,), (1347546138,), (1347546145,), (1347546149,), (1347546193,), (1347546198,), (1347546274,), (1347546316,), (1347546372,), (1347546376,), (1347546379,), (1347546385,), (1347546388,), (1347546394,), (1347546418,), (1347546421,), (1347546425,), (1347546428,), (1347546455,), (1347546457,), (1347546462,), (1347546472,), (1347546476,), (1347546486,), (1347546517,), (1347546522,), (1347546526,), (1347546574,), (1347546585,), (1347546589,), (1347553591,), (1347553533,), (1347553557,), (1347553572,), (1347553911,), (1347553965,), (1347554020,), (1347554912,), (1347554959,), (1347555008,), (1347555057,), (1347555089,), (1347555201,), (1347555688,), (1347555761,), (1347555799,), (1347556156,), (1347556180,), (1347556203,), (1347556241,), (1347556263,), (1347556293,), (1347556524,), (1347556541,), (1347556545,), (1347556554,), (1347556823,), (1347556919,), (1347556939,), (1347556958,), (1347556988,), (1347557043,), (1347557209,), (1347557293,), (1347557324,), (1347557356,), (1347557577,), (1347557580,), (1347557584,), (1347557589,), (1347557617,), (1347557649,), (1347557770,), (1347557798,), (1347557824,), (1347557851,), (1347557866,), (1347558008,), (1347558010,), (1347558014,), (1347558016,), (1347558021,), (1347558107,), (1347558142,), (1347558169,), (1347558204,), (1347558230,), (1347558257,), (1347558555,), (1347558624,), (1347558675,), (1347558717,), (1347559034,), (1347559061,), (1347559089,), (1347559120,), (1347559146,), (1347559170,), (1347559309,), (1347559332,), (1347559340,), (1347559344,), (1347559508,), (1347559454,), (1347559458,), (1347559468,), (1347559497,), (1347559504,), (1347559577,), (1347559601,), (1347559648,), (1347559720,), (1347559916,), (1347559934,), (1347559943,), (1347559957,), (1347559970,), (1347559982,), (1347560201,), (1347560212,), (1347560217,), (1347560223,), (1347560264,), (1347560267,), (1347560272,), (1347560280,), (1347560282,), (1347560311,), (1347560314,), (1347560316,), (1347560321,), (1347560370,), (1347560373,), (1347560376,), (1347560379,), (1347560381,), (1347560420,), (1347560434,), (1347560438,), (1347560442,), (1347560490,), (1347560495,), (1347560498,), (1347560501,), (1347560515,), (1347560518,), (1347560544,), (1347560601,), (1347560607,), (1347560613,), (1347560616,), (1347560652,), (1347560654,), (1347560657,), (1347560660,), (1347560691,), (1347560695,), (1347560697,), (1347560700,), (1347560702,), (1347560706,), (1347560743,), (1347560744,), (1347560745,), (1347560750,), (1347560819,), (1347560821,), (1347560823,), (1347560827,), (1347560830,), (1347560833,), (1347560902,), (1347560920,), (1347560925,), (1347560928,), (1347561211,), (1347561081,), (1347561094,), (1347561110,), (1347561172,), (1347561190,), (1347561445,), (1347561485,), (1347561520,), (1347561537,), (1347561585,), (1347561587,), (1347561592,), (1347561595,), (1347561599,), (1347561605,), (1347561641,), (1347561644,), (1347561646,), (1347561649,), (1347561651,), (1347561682,), (1347561686,), (1347561690,), (1347561695,), (1347561740,), (1347561745,), (1347561750,), (1347561755,), (1347561758,), (1347561767,), (1347561838,), (1347561840,), (1347561843,), (1347561891,), (1347562372,), (1347562389,), (1347562473,), (1347562509,), (1347562554,), (1347562751,), (1347562756,), (1347562784,), (1347562786,), (1347562804,), (1347562809,), (1347562895,), (1347562899,), (1347562901,), (1347562907,), (1347563012,), (1347563021,), (1347563025,), (1347563029,), (1347563033,), (1347563038,), (1347563118,), (1347563125,), (1347563148,), (1347563287,), (1347563443,), (1347563446,), (1347563450,), (1347563455,), (1347563518,), (1347563523,), (1347563526,), (1347563528,), (1347563732,), (1347563736,), (1347563738,), (1347563754,), (1347563778,), (1347563830,), (1347563955,), (1347563856,), (1347563859,), (1347563942,), (1347563948,), (1347564004,), (1347564007,), (1347564011,), (1347564077,), (1347564081,), (1347564086,), (1347564090,), (1347564095,), (1347564097,), (1347564125,), (1347564128,), (1347564166,), (1347564314,), (1347564463,), (1347564467,), (1347564472,), (1347564622,), (1347564624,), (1347564628,), (1347564633,), (1347564638,), (1347564642,), (1347564671,), (1347564681,), (1347564683,), (1347564689,), (1347564716,), (1347564718,), (1347564720,), (1347564724,), (1347564728,), (1347564734,), (1347564760,), (1347564762,), (1347564764,), (1347564767,), (1347565019,), (1347565055,), (1347565136,), (1347565185,), (1347565224,), (1347565245,), (1347565348,), (1347565381,), (1347565419,), (1347565449,), (1347565474,), (1347565605,), (1347565642,), (1347565731,), (1347565768,), (1347565816,), (1347566212,), (1347566287,), (1347566332,), (1347566353,), (1347566416,), (1347567115,), (1347567120,), (1347567125,), (1347567132,), (1347567137,), (1347567142,), (1347567158,), (1347567163,), (1347567191,), (1347567460,), (1347567293,), (1347567339,), (1347567379,), (1347567407,), (1347567783,), (1347567808,), (1347567842,), (1347567871,), (1347567905,), (1347568295,), (1347568360,), (1347568435,), (1347568510,), (1347568590,), (1347569299,), (1347569384,), (1347569461,), (1347569507,), (1347569565,), (1347570185,), (1347570264,), (1347570340,), (1347570358,), (1347570469,), (1347571133,), (1347571178,), (1347571225,), (1347571266,), (1347571343,), (1347571782,), (1347571832,), (1347571861,), (1347571928,), (1347572617,), (1347572637,), (1347572757,), (1347572805,), (1347572865,), (1347573254,), (1347573281,), (1347573306,), (1347573316,), (1347573331,), (1347573649,), (1347573684,), (1347573761,), (1347573800,), (1347573832,), (1347574056,), (1347574084,), (1347574126,), (1347574150,), (1347574168,), (1347574172,), (1347574420,), (1347574442,), (1347574455,), (1347574850,), (1347574898,), (1347575415,), (1347575441,), (1347575492,), (1347575519,), (1347575548,), (1347575572,), (1347575664,), (1347575685,), (1347575715,), (1347575739,), (1347575771,), (1347575818,), (1347576108,), (1347576018,), (1347576032,), (1347576066,), (1347576079,), (1347576525,), (1347576576,), (1347576664,), (1347576700,), (1347576829,), (1347577425,), (1347577450,), (1347577522,), (1347577531,), (1347577541,), (1347577812,), (1347577814,), (1347577816,), (1347577821,), (1347577844,), (1347578034,), (1347578081,), (1347578178,), (1347578252,), (1347578282,), (1347578317,), (1347578458,), (1347578479,), (1347578487,), (1347578503,), (1347578828,), (1347578863,), (1347578877,), (1347578909,), (1347578927,), (1347579480,), (1347579552,), (1347579659,), (1347579700,), (1347579714,), (1347579729,), (1347579834,), (1347579836,), (1347579867,), (1347580213,), (1347580285,), (1347580336,), (1347580405,), (1347580464,), (1347580525,), (1347580996,), (1347581040,), (1347581060,), (1347581089,), (1347581428,), (1347581461,), (1347581468,), (1347581487,), (1347581566,), (1347581574,), (1347581914,), (1347581917,), (1347581925,), (1347581999,), (1347582002,), (1347582007,), (1347582018,), (1347582044,), (1347582070,), (1347582294,), (1347582309,), (1347582325,), (1347582678,), (1347582502,), (1347582508,), (1347582511,), (1347582525,), (1347582551,), (1347582777,), (1347582784,), (1347582817,), (1347583130,), (1347583141,), (1347583146,), (1347583148,), (1347583171,), (1347583267,), (1347583373,), (1347583377,), (1347583381,), (1347583435,), (1347583448,), (1347583857,), (1347583864,), (1347583869,), (1347583879,), (1347583898,), (1347584097,), (1347584100,), (1347584106,), (1347584423,), (1347584465,), (1347584478,), (1347584523,), (1347584525,), (1347584547,), (1347584561,), (1347584565,), (1347584650,), (1347584672,), (1347584682,), (1347584685,), (1347585023,), (1347585067,), (1347585130,), (1347585174,), (1347585222,), (1347585292,), (1347585605,), (1347585646,), (1347585700,), (1347586085,), (1347586120,), (1347586132,), (1347586158,), (1347586188,), (1347586244,), (1347586564,), (1347586570,), (1347586574,), (1347586577,), (1347586582,), (1347586702,), (1347586730,), (1347586754,), (1347586776,), (1347586943,), (1347586926,), (1347586932,), (1347586935,), (1347586938,), (1347586941,), (1347587195,), (1347587345,), (1347587437,), (1347587474,), (1347587597,), (1347588003,), (1347588026,), (1347588034,), (1347588046,), (1347588064,), (1347588313,), (1347588349,), (1347588385,), (1347588431,), (1347588459,), (1347588505,), (1347588861,), (1347588910,), (1347588945,), (1347588961,), (1347588990,), (1347589295,), (1347589324,), (1347589397,), (1347589452,), (1347589797,), (1347589836,), (1347589866,), (1347589891,), (1347589933,), (1347589957,), (1347590407,), (1347590469,), (1347590524,), (1347590556,), (1347590899,), (1347590944,), (1347591006,), (1347591050,), (1347591077,), (1347591114,), (1347591246,), (1347591250,), (1347591258,), (1347591613,), (1347591751,), (1347591803,), (1347591848,), (1347591877,), (1347591898,), (1347592029,), (1347592065,), (1347592111,), (1347592125,), (1347592148,), (1347592747,), (1347592791,), (1347592849,), (1347592886,), (1347594016,), (1347594060,), (1347594086,), (1347594095,), (1347594100,), (1347594136,), (1347594749,), (1347594572,), (1347594618,), (1347594655,), (1347595286,), (1347595311,), (1347595342,), (1347595358,), (1347595380,), (1347595661,), (1347595690,), (1347595715,), (1347595732,), (1347595779,), (1347595949,), (1347595955,), (1347595966,), (1347595987,), (1347596000,), (1347596013,), (1347596139,), (1347596167,), (1347596199,), (1347596229,), (1347596527,), (1347596774,), (1347596805,), (1347596828,), (1347596833,), (1347596857,), (1347596994,), (1347597043,), (1347597099,), (1347597127,), (1347597568,), (1347597616,), (1347597638,), (1347597657,), (1347597688,), (1347597710,), (1347597844,), (1347597850,), (1347597853,), (1347597867,), (1347598153,), (1347598177,), (1347598187,), (1347598225,), (1347598251,), (1347598282,), (1347598534,), (1347598578,), (1347598622,), (1347598654,), (1347598953,), (1347598986,), (1347599034,), (1347599077,), (1347599123,), (1347599468,), (1347599494,), (1347599520,), (1347599546,), (1347599597,), (1347599635,), (1347599922,), (1347599969,), (1347600000,), (1347600338,), (1347600359,), (1347600380,), (1347600403,), (1347600431,), (1347600447,), (1347600811,), (1347600722,), (1347600759,), (1347601460,), (1347601471,), (1347601476,), (1347601502,), (1347601531,), (1347601647,), (1347602000,), (1347602003,), (1347602006,), (1347602034,), (1347602184,), (1347602187,), (1347602191,), (1347602198,), (1347602199,), (1347602243,), (1347602478,), (1347602504,), (1347602552,), (1347602561,), (1347602749,), (1347602780,), (1347602796,), (1347602805,), (1347602812,), (1347602833,), (1347602928,), (1347602932,), (1347602935,), (1347603079,), (1347603083,), (1347603089,), (1347603093,), (1347603097,), (1347603102,), (1347603124,), (1347603147,), (1347603158,), (1347603162,), (1347603166,), (1347603193,), (1347603204,), (1347603213,), (1347603218,), (1347603223,), (1347603227,), (1347603254,), (1347603270,), (1347603276,), (1347603280,), (1347603332,), (1347603338,), (1347603344,), (1347603346,), (1347603350,), (1347603491,), (1347603494,), (1347603500,), (1347603506,), (1347603510,), (1347603515,), (1347603547,), (1347603554,), (1347603563,), (1347603569,), (1347603632,), (1347603642,), (1347603647,), (1347603652,), (1347603658,), (1347603664,), (1347603856,), (1347603748,), (1347603807,), (1347603843,), (1347603990,), (1347604010,), (1347604029,), (1347604040,), (1347604044,), (1347604071,), (1347604377,), (1347604393,), (1347604413,), (1347604426,), (1347604591,), (1347604593,), (1347604621,), (1347605000,), (1347605079,), (1347605115,), (1347605343,), (1347605349,), (1347605351,), (1347605363,), (1347605383,), (1347605393,), (1347605415,), (1347605446,), (1347605472,), (1347605498,), (1347605836,), (1347611089,), (1347611891,), (1347612977,), (1347613002,), (1347613098,), (1347613178,), (1347615211,), (1347615363,), (1347615367,), (1347615387,), (1347615394,), (1347615611,), (1347615634,), (1347615645,), (1347615660,), (1347615664,), (1347615689,), (1347615828,), (1347615867,), (1347615901,), (1347615948,), (1347616384,), (1347616413,), (1347616438,), (1347616468,), (1347616495,), (1347616652,), (1347616666,), (1347616714,), (1347616744,), (1347616791,), (1347617235,), (1347617266,), (1347617288,), (1347617305,), (1347617543,), (1347617550,), (1347617556,), (1347617643,), (1347618174,), (1347618172,), (1347618217,), (1347618223,), (1347618228,), (1347618232,), (1347618281,), (1347618295,), (1347618303,), (1347618319,), (1347618556,), (1347618560,), (1347618562,), (1347618584,), (1347618614,), (1347618680,), (1347618683,), (1347618685,), (1347618688,), (1347618737,), (1347618739,), (1347618743,), (1347618746,), (1347618748,), (1347618777,), (1347618778,), (1347618781,), (1347618783,), (1347618788,), (1347618828,), (1347618830,), (1347618834,), (1347618837,), (1347618840,), (1347618868,), (1347618871,), (1347618875,), (1347618878,), (1347619007,), (1347619013,), (1347619032,), (1347619097,), (1347619106,), (1347619142,), (1347619251,), (1347619254,), (1347619257,), (1347619299,), (1347619301,), (1347619305,), (1347619308,), (1347619309,), (1347619318,), (1347619351,), (1347619353,), (1347619356,), (1347619359,), (1347619361,), (1347619365,), (1347619635,), (1347619666,), (1347619889,), (1347619877,), (1347620054,), (1347620058,), (1347620061,), (1347620066,), (1347620071,), (1347620115,), (1347620120,), (1347620182,), (1347620191,), (1347620202,), (1347620211,), (1347620375,), (1347620387,), (1347620390,), (1347620394,), (1347620396,), (1347620400,), (1347620424,), (1347620428,), (1347620430,), (1347620433,), (1347620454,), (1347620456,), (1347620459,), (1347620462,), (1347620471,), (1347620478,), (1347620526,), (1347620540,), (1347620543,), (1347620544,), (1347620549,), (1347620617,), (1347620619,), (1347620622,), (1347620656,), (1347620657,), (1347620660,), (1347620664,), (1347620670,), (1347620676,), (1347620840,), (1347620869,), (1347620924,), (1347620935,), (1347620950,), (1347620964,), (1347621103,), (1347621105,), (1347621132,), (1347621182,), (1347621208,), (1347621218,), (1347621220,), (1347621223,), (1347621385,), (1347621418,), (1347621452,), (1347621487,), (1347621520,), (1347621846,), (1347621902,), (1347621974,), (1347622053,), (1347622258,), (1347622283,), (1347622305,), (1347622327,), (1347622357,), (1347622689,), (1347622620,), (1347622641,), (1347622646,), (1347622659,), (1347622663,), (1347622761,), (1347622763,), (1347622804,), (1347622806,), (1347622816,), (1347622824,), (1347622834,), (1347622840,), (1347623074,), (1347623091,), (1347623139,), (1347623151,), (1347623165,), (1347623481,), (1347623488,), (1347623492,), (1347623501,), (1347623652,), (1347623657,), (1347623661,), (1347623674,), (1347623679,), (1347623684,), (1347623773,), (1347623795,), (1347623808,), (1347623836,), (1347623838,), (1347623841,), (1347623845,), (1347623850,), (1347623854,), (1347623892,), (1347623898,), (1347623901,), (1347623904,), (1347623929,), (1347623941,), (1347623945,), (1347623949,), (1347623952,), (1347624105,), (1347624112,), (1347624114,), (1347624118,), (1347624123,), (1347624133,), (1347624272,), (1347624311,), (1347624324,), (1347624409,), (1347624445,), (1347624476,), (1347624494,), (1347624547,), (1347624572,), (1347625798,), (1347625948,), (1347626030,), (1347626063,), (1347626091,), (1347626228,), (1347626255,), (1347626307,), (1347626651,), (1347626446,), (1347626505,), (1347626569,), (1347627593,), (1347627639,), (1347627683,), (1347627713,), (1347628086,), (1347628110,), (1347628114,), (1347628666,), (1347628690,), (1347628716,), (1347629370,), (1347629432,), (1347629463,), (1347629528,), (1347629602,), (1347629974,), (1347629978,), (1347630005,), (1347630027,), (1347630041,), (1347630105,), (1347630108,), (1347630112,), (1347630116,), (1347630256,), (1347630259,), (1347630263,), (1347630268,), (1347630272,), (1347630304,), (1347630308,), (1347630314,), (1347630352,), (1347630376,), (1347630696,), (1347630741,), (1347630792,), (1347631363,), (1347631418,), (1347631465,), (1347631518,), (1347631576,), (1347631611,), (1347631983,), (1347632019,), (1347632052,), (1347632079,), (1347632103,), (1347632329,), (1347632354,), (1347632648,), (1347632660,), (1347632693,), (1347632719,), (1347633000,), (1347633055,), (1347633098,), (1347633122,), (1347633796,), (1347633635,), (1347633678,), (1347633716,), (1347633730,), (1347633760,), (1347634133,), (1347634161,), (1347634187,), (1347634558,), (1347634631,), (1347634728,), (1347634774,), (1347634805,), (1347635098,), (1347635123,), (1347635151,), (1347635177,), (1347635208,), (1347636342,), (1347636421,), (1347636490,), (1347636562,), (1347637090,), (1347637144,), (1347637424,), (1347637547,), (1347637603,), (1347638115,), (1347638159,), (1347638197,), (1347638254,), (1347638275,), (1347638325,), (1347638592,), (1347638629,), (1347638954,), (1347638977,), (1347638999,), (1347639029,), (1347639050,), (1347639076,), (1347639313,), (1347639330,), (1347639357,), (1347639380,), (1347639399,), (1347639612,), (1347639638,), (1347639660,), (1347640054,), (1347640093,), (1347640120,), (1347640150,), (1347640193,), (1347640240,), (1347640825,), (1347640913,), (1347641014,), (1347641115,), (1347641198,), (1347641300,), (1347641879,), (1347644420,), (1347644276,), (1347644307,), (1347644351,), (1347644373,), (1347644931,), (1347645022,), (1347645143,), (1347645305,), (1347645398,), (1347645424,), (1347645514,), (1347645528,), (1347645555,), (1347645618,), (1347645625,), (1347645658,), (1347645813,), (1347645990,), (1347646145,), (1347646275,), (1347646571,), (1347646575,), (1347646598,), (1347646734,), (1347646739,), (1347646748,), (1347646751,), (1347646820,), (1347647133,), (1347647206,), (1347647210,), (1347647215,), (1347647218,), (1347647267,), (1347647272,), (1347647344,), (1347647372,), (1347647401,), (1347647419,), (1347647467,), (1347647483,), (1347647795,), (1347647815,), (1347647832,), (1347647855,), (1347647987,), (1347647996,), (1347648015,), (1347648021,), (1347648072,), (1347648084,), (1347648090,), (1347648094,), (1347648095,), (1347648107,), (1347648374,), (1347648420,), (1347648458,), (1347648502,), (1347648534,), (1347648559,), (1347648847,), (1347648892,), (1347648938,), (1347649614,), (1347649379,), (1347649400,), (1347649419,), (1347649457,), (1347649552,), (1347649808,), (1347649835,), (1347649863,), (1347649882,), (1347649924,), (1347650295,), (1347650322,), (1347650568,), (1347650593,), (1347650622,), (1347650663,), (1347650683,), (1347650864,), (1347650953,), (1347650984,), (1347651036,), (1347651057,), (1347651078,), (1347651240,), (1347651266,), (1347651289,), (1347651315,), (1347651574,), (1347651626,), (1347651667,), (1347651718,), (1347651759,), (1347651790,), (1347652123,), (1347652154,), (1347652179,), (1347652204,), (1347652363,), (1347652409,), (1347652478,), (1347652526,), (1347652566,), (1347652605,), (1347652840,), (1347652860,), (1347652870,), (1347652893,), (1347652940,), (1347652984,), (1347653133,), (1347653136,), (1347653164,), (1347653577,), (1347653618,), (1347653669,), (1347653706,), (1347653740,), (1347653791,), (1347654105,), (1347654127,), (1347654171,), (1347654206,), (1347654226,), (1347654282,), (1347655436,), (1347655515,), (1347655569,), (1347655617,), (1347655648,), (1347656084,), (1347656011,), (1347656064,), (1347656597,), (1347656610,), (1347656621,), (1347656743,), (1347658069,), (1347658087,), (1347658108,), (1347658124,), (1347658133,), (1347658136,), (1347658440,), (1347658575,), (1347658622,), (1347659014,), (1347659034,), (1347659060,), (1347659118,), (1347659150,), (1347659196,), (1347659536,), (1347659596,), (1347659646,), (1347659689,), (1347659731,), (1347659990,), (1347660025,), (1347660074,), (1347660113,), (1347661227,), (1347661294,), (1347661472,), (1347661657,), (1347661705,), (1347661747,), (1347662126,), (1347662179,), (1347662229,), (1347662270,), (1347662896,), (1347662925,), (1347662951,), (1347662981,), (1347663045,), (1347663114,), (1347663475,), (1347663528,), (1347663576,), (1347663983,), (1347664010,), (1347664041,), (1347664057,), (1347664062,), (1347664078,), (1347664322,), (1347664370,), (1347664411,), (1347664425,), (1347664826,), (1347664917,), (1347664949,), (1347664975,), (1347665003,), (1347665177,), (1347665201,), (1347665233,), (1347665254,), (1347665299,), (1347665840,), (1347665670,), (1347665722,), (1347665793,), (1347666682,), (1347666748,), (1347666835,), (1347666942,), (1347667440,), (1347667485,), (1347667515,), (1347667584,), (1347667707,), (1347667995,), (1347668045,), (1347668130,), (1347668175,), (1347668220,), (1347668706,), (1347668744,), (1347668772,), (1347668812,), (1347668852,), (1347669177,), (1347669210,), (1347669244,), (1347669280,), (1347669525,), (1347669527,), (1347669536,), (1347669567,), (1347669588,), (1347669637,), (1347669642,), (1347669646,), (1347669650,), (1347669838,), (1347669887,), (1347669917,), (1347670167,), (1347670190,), (1347670212,), (1347670232,), (1347670254,), (1347670281,), (1347670483,), (1347670509,), (1347670537,), (1347670976,), (1347670999,), (1347671027,), (1347671447,), (1347671505,), (1347671555,), (1347671599,), (1347672003,), (1347672095,), (1347672141,), (1347672550,), (1347672577,), (1347672630,), (1347673415,), (1347673278,), (1347673338,), (1347674369,), (1347674420,), (1347674481,), (1347674522,), (1347674577,), (1347675058,), (1347675099,), (1347675143,), (1347675157,), (1347675200,), (1347675237,), (1347675682,), (1347675929,), (1347676026,), (1347676887,), (1347676894,), (1347676931,), (1347676935,), (1347676978,), (1347677021,), (1347677065,), (1347677092,), (1347677116,), (1347677144,), (1347677170,), (1347677395,), (1347677404,), (1347677408,), (1347677430,), (1347677455,), (1347677477,), (1347677568,), (1347677593,), (1347677614,), (1347677628,), (1347677659,), (1347677661,), (1347677665,), (1347677669,), (1347677674,), (1347677678,), (1347677728,), (1347677733,), (1347677735,), (1347677738,), (1347677893,), (1347677928,), (1347678225,), (1347678256,), (1347678282,), (1347678304,), (1347678326,), (1347678353,), (1347678573,), (1347678631,), (1347678656,), (1347678686,), (1347678755,), (1347678830,), (1347679184,), (1347679238,), (1347679250,), (1347679459,), (1347679464,), (1347679469,), (1347679492,), (1347679507,), (1347679514,), (1347679656,), (1347679586,), (1347679589,), (1347679616,), (1347679627,), (1347679630,), (1347679708,), (1347679712,), (1347679724,), (1347679779,), (1347679789,), (1347679792,), (1347679795,), (1347679799,), (1347679802,), (1347679828,), (1347679831,), (1347679836,), (1347679839,), (1347679888,), (1347679920,), (1347679980,), (1347679985,), (1347679994,), (1347680228,), (1347680238,), (1347680253,), (1347680258,), (1347680278,), (1347680286,), (1347680425,), (1347680438,), (1347680478,), (1347680481,), (1347680485,), (1347680512,), (1347680712,), (1347680871,), (1347680908,), (1347681011,), (1347681034,), (1347681035,), (1347681038,), (1347681042,), (1347681047,), (1347681076,), (1347681081,), (1347681090,), (1347681095,), (1347681126,), (1347681129,), (1347681138,), (1347681145,), (1347681150,), (1347681154,), (1347681184,), (1347681187,), (1347681240,), (1347681354,), (1347681370,), (1347681374,), (1347681378,), (1347681380,), (1347681688,), (1347681707,), (1347681747,), (1347681779,), (1347681840,), (1347681885,), (1347682026,), (1347682073,), (1347682097,), (1347682890,), (1347450947,), (1347450952,), (1347450968,), (1347451294,), (1347451348,), (1347451457,), (1347451521,), (1347451754,), (1347451801,), (1347451867,), (1347451895,), (1347451907,), (1347452072,), (1347452090,), (1347452108,), (1347452160,), (1347452163,), (1347452165,), (1347452168,), (1347452405,), (1347452430,), (1347452452,), (1347452480,), (1347452505,), (1347452525,), (1347452741,), (1347452763,), (1347452785,), (1347452811,), (1347452841,), (1347452951,), (1347452955,), (1347452959,), (1347453140,), (1347453143,), (1347453150,), (1347453156,), (1347453161,), (1347453172,), (1347453353,), (1347453380,), (1347453405,), (1347453439,), (1347453574,), (1347453580,), (1347453620,), (1347453624,), (1347453627,), (1347453630,), (1347453631,), (1347453675,), (1347453680,), (1347453684,), (1347453688,), (1347453690,), (1347453691,), (1347453889,), (1347453894,), (1347453898,), (1347453901,), (1347453907,), (1347453912,), (1347453921,), (1347455190,), (1347455238,), (1347455242,), (1347455249,), (1347455254,), (1347455259,), (1347455291,), (1347455296,), (1347455301,), (1347455334,), (1347455349,), (1347455356,), (1347455363,), (1347455368,), (1347455395,), (1347455400,), (1347455405,), (1347455453,), (1347455460,), (1347455467,), (1347455474,), (1347455482,), (1347455518,), (1347455524,), (1347455529,), (1347455537,), (1347455576,), (1347455580,), (1347455585,), (1347455592,), (1347455629,), (1347455635,), (1347455690,), (1347455695,), (1347455701,), (1347455744,), (1347455750,), (1347455755,), (1347455761,), (1347455764,), (1347455767,), (1347455790,), (1347455794,), (1347455802,), (1347455812,), (1347455820,), (1347455849,), (1347455854,), (1347455861,), (1347455869,), (1347455873,), (1347455876,), (1347455905,), (1347455909,), (1347455913,), (1347455953,), (1347455957,), (1347456008,), (1347455999,), (1347456004,), (1347456049,), (1347456053,), (1347456056,), (1347456064,), (1347456102,), (1347456108,), (1347456112,), (1347456118,), (1347456160,), (1347456165,), (1347456167,), (1347456173,), (1347456178,), (1347456211,), (1347456217,), (1347456264,), (1347456266,), (1347456269,), (1347456273,), (1347456278,), (1347456313,), (1347456315,), (1347456319,), (1347456325,), (1347456365,), (1347456368,), (1347456374,), (1347456379,), (1347456410,), (1347456413,), (1347456416,), (1347456421,), (1347456461,), (1347456466,), (1347456607,), (1347456610,), (1347456689,), (1347456694,), (1347456700,), (1347456705,), (1347456712,), (1347456762,), (1347456746,), (1347456751,), (1347456757,), (1347456805,), (1347456808,), (1347456810,), (1347456817,), (1347456852,), (1347456856,), (1347456859,), (1347456867,), (1347456899,), (1347456904,), (1347456911,), (1347456918,), (1347456925,), (1347456932,), (1347456964,), (1347456968,), (1347456973,), (1347456978,), (1347457008,), (1347457010,), (1347457012,), (1347457018,), (1347457026,), (1347457062,), (1347457066,), (1347457069,), (1347457075,), (1347457080,), (1347457114,), (1347457118,), (1347457121,), (1347457150,), (1347457155,), (1347457159,), (1347457167,), (1347457205,), (1347457209,), (1347457215,), (1347457218,), (1347457245,), (1347457262,), (1347457269,), (1347457274,), (1347457280,), (1347457285,), (1347457303,), (1347457308,), (1347457313,), (1347457319,), (1347457324,), (1347457328,), (1347457353,), (1347457357,), (1347457391,), (1347457396,), (1347457400,), (1347457442,), (1347457448,), (1347457453,), (1347457458,), (1347457462,), (1347457466,), (1347457514,), (1347457491,), (1347457495,), (1347457497,), (1347457504,), (1347457509,), (1347457531,), (1347457535,), (1347457572,), (1347457577,), (1347457582,), (1347457588,), (1347457594,), (1347457614,), (1347457617,), (1347457620,), (1347457626,), (1347457632,), (1347457666,), (1347457672,), (1347457674,), (1347457679,), (1347457682,), (1347457721,), (1347457722,), (1347457726,), (1347457730,), (1347457764,), (1347457766,), (1347457769,), (1347457809,), (1347457812,), (1347457815,), (1347457819,), (1347457823,), (1347457829,), (1347457862,), (1347457865,), (1347457867,), (1347457871,), (1347457909,), (1347457912,), (1347457914,), (1347457963,), (1347457966,), (1347457971,), (1347457974,), (1347458004,), (1347458006,), (1347458007,), (1347458011,), (1347458015,), (1347458022,), (1347458046,), (1347458049,), (1347458051,), (1347458089,), (1347458092,), (1347458095,), (1347458099,), (1347458102,), (1347458109,), (1347458139,), (1347458142,), (1347458144,), (1347458148,), (1347458150,), (1347458154,), (1347458188,), (1347458186,), (1347458278,), (1347458281,), (1347458283,), (1347458318,), (1347458323,), (1347458327,), (1347458366,), (1347458370,), (1347458374,), (1347458380,), (1347458416,), (1347458418,), (1347458421,), (1347458427,), (1347458433,), (1347458461,), (1347458465,), (1347458468,), (1347458507,), (1347458509,), (1347458511,), (1347458516,), (1347458522,), (1347458529,), (1347458565,), (1347458569,), (1347458572,), (1347458577,), (1347458586,), (1347458610,), (1347458612,), (1347458613,), (1347458648,), (1347458651,), (1347458655,), (1347458660,), (1347458693,), (1347458698,), (1347458703,), (1347458732,), (1347458734,), (1347458739,), (1347458742,), (1347458774,), (1347458777,), (1347458779,), (1347458782,), (1347458812,), (1347458813,), (1347458815,), (1347458884,), (1347458868,), (1347458870,), (1347458873,), (1347458876,), (1347458880,), (1347458904,), (1347458907,), (1347458910,), (1347458916,), (1347458922,), (1347458929,), (1347458961,), (1347458966,), (1347458970,), (1347459000,), (1347459005,), (1347459009,), (1347459013,), (1347459020,), (1347459051,), (1347459055,), (1347459060,), (1347459092,), (1347459096,), (1347459100,), (1347459107,), (1347459112,), (1347459137,), (1347459141,), (1347459145,), (1347459152,), (1347459186,), (1347459190,), (1347459193,), (1347459232,), (1347459236,), (1347459240,), (1347459245,), (1347459249,), (1347459253,), (1347459277,), (1347459281,), (1347459284,), (1347459290,), (1347459319,), (1347459323,), (1347459326,), (1347459332,), (1347459360,), (1347459364,), (1347459369,), (1347459376,), (1347459380,), (1347459409,), (1347459414,), (1347459418,), (1347459421,), (1347459423,), (1347459424,), (1347459492,), (1347459496,), (1347459548,), (1347459537,), (1347459540,), (1347459544,), (1347459585,), (1347459589,), (1347459592,), (1347459597,), (1347459600,), (1347459632,), (1347459636,), (1347459639,), (1347459675,), (1347459680,), (1347459684,), (1347459690,), (1347459718,), (1347459723,), (1347459726,), (1347459734,), (1347459741,), (1347459747,), (1347459769,), (1347459773,), (1347459777,), (1347459808,), (1347459813,), (1347459818,), (1347459829,), (1347459863,), (1347459867,), (1347459870,), (1347459875,), (1347459906,), (1347459908,), (1347459909,), (1347459913,), (1347459917,), (1347459922,), (1347459950,), (1347459954,), (1347459957,), (1347459962,), (1347459965,), (1347459995,), (1347459997,), (1347460000,), (1347460035,), (1347460040,), (1347460044,), (1347460083,), (1347460085,), (1347460090,), (1347460122,), (1347460125,), (1347460129,), (1347460136,), (1347460141,), (1347460170,), (1347460172,), (1347460175,), (1347460225,), (1347460208,), (1347460214,), (1347460218,), (1347460221,), (1347460248,), (1347460251,), (1347460254,), (1347460376,), (1347460380,), (1347460384,), (1347460386,), (1347460422,), (1347460426,), (1347460429,), (1347460432,), (1347460461,), (1347460465,), (1347460468,), (1347460472,), (1347460504,), (1347460506,), (1347460507,), (1347460510,), (1347460513,), (1347460541,), (1347460544,), (1347460547,), (1347460579,), (1347460581,), (1347460584,), (1347460588,), (1347460591,), (1347460629,), (1347460631,), (1347460632,), (1347460640,), (1347460645,), (1347460652,), (1347460673,), (1347460676,), (1347460678,), (1347460682,), (1347460686,), (1347460824,), (1347460815,), (1347460818,), (1347460820,), (1347460823,), (1347460855,), (1347460857,), (1347460859,), (1347460862,), (1347460865,), (1347460870,), (1347460897,), (1347460900,), (1347460903,), (1347460905,), (1347460907,), (1347460933,), (1347460935,), (1347460936,), (1347460940,), (1347460975,), (1347460978,), (1347460980,), (1347460982,), (1347460984,), (1347460987,), (1347461012,), (1347461014,), (1347461017,), (1347461019,), (1347461047,), (1347461048,), (1347461049,), (1347461052,), (1347461055,), (1347461082,), (1347461085,), (1347461087,), (1347461092,), (1347461093,), (1347461095,), (1347461120,), (1347461122,), (1347461124,), (1347461156,), (1347461158,), (1347461159,), (1347461162,), (1347461163,), (1347461166,), (1347461188,), (1347461192,), (1347461195,), (1347461200,), (1347461227,), (1347461231,), (1347461236,), (1347461262,), (1347461265,), (1347461269,), (1347461272,), (1347461274,), (1347461303,), (1347461306,), (1347461310,), (1347461316,), (1347461320,), (1347461325,), (1347461349,), (1347461351,), (1347461353,), (1347461392,), (1347461383,), (1347461387,), (1347461426,), (1347461428,), (1347461431,), (1347461436,), (1347461440,), (1347461468,), (1347461473,), (1347461477,), (1347461482,), (1347461484,), (1347461507,), (1347461511,), (1347461547,), (1347461550,), (1347461554,), (1347461557,), (1347461558,), (1347461580,), (1347461583,), (1347461585,), (1347461623,), (1347461628,), (1347461631,), (1347461637,), (1347461642,), (1347461647,), (1347461671,), (1347461675,), (1347461677,), (1347461683,), (1347461689,), (1347461718,), (1347461762,), (1347461765,), (1347461766,), (1347461772,), (1347461778,), (1347461807,), (1347461812,), (1347461817,), (1347461822,), (1347461859,), (1347461862,), (1347461866,), (1347461871,), (1347461877,), (1347461881,), (1347461908,), (1347461910,), (1347461912,), (1347461915,), (1347461918,), (1347461919,), (1347461987,), (1347461991,), (1347461995,), (1347461998,), (1347462007,), (1347462021,), (1347462024,), (1347462026,), (1347462028,), (1347462029,), (1347462052,), (1347462034,), (1347462039,), (1347462043,), (1347462048,), (1347462082,), (1347462086,), (1347462089,), (1347462093,), (1347462097,), (1347462102,), (1347462131,), (1347462135,), (1347462138,), (1347462143,), (1347462146,), (1347462150,), (1347462172,), (1347462174,), (1347462179,), (1347462185,), (1347462191,), (1347462226,), (1347462231,), (1347462234,), (1347462238,), (1347462241,), (1347462246,), (1347462268,), (1347462271,), (1347462273,), (1347462278,), (1347462308,), (1347462310,), (1347462315,), (1347462317,), (1347462323,), (1347462354,), (1347462356,), (1347462357,), (1347462390,), (1347462394,), (1347462396,), (1347462400,), (1347462402,), (1347462433,), (1347462435,), (1347462438,), (1347462444,), (1347462449,), (1347462485,), (1347465453,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26032025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21747195]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] map_info['map_portfolio_photo'] : {21747195: [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748]} final : True mtd_id 4302 list_pids : [1347611089, 1347605836, 1347605498, 1347605472, 1347605446, 1347605415, 1347605393, 1347605383, 1347605363, 1347605351, 1347605349, 1347605343, 1347605115, 1347605079, 1347605000, 1347604621, 1347604593, 1347604591, 1347604426, 1347604413, 1347604393, 1347604377, 1347604071, 1347604044, 1347604040, 1347604029, 1347604010, 1347603990, 1347603843, 1347603807, 1347603748] Looping around the photos to save general results len do output : 1 /21747195Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864') ('4302', None, None, None, None, None, None, None, '2695864') ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '21747195', 'None', None, None, None, None, '2695864'), ('4302', '21747195', '1347611089', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605836', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605498', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605472', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605446', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605415', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605383', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605363', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605351', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605349', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605343', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605115', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605079', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347605000', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604621', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604593', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604591', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604426', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604413', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604393', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604377', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604071', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604044', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604040', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604029', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347604010', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603990', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603843', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603807', None, None, None, None, None, '2695864'), ('4302', '21747195', '1347603748', None, None, None, None, None, '2695864')] time used for this insertion : 0.2026810646057129 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.586103916168213 time spend to save output : 0.20308375358581543 total time spend for step 5 : 3.7891876697540283 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2695864) 3.10user 2.24system 0:17.55elapsed 30%CPU (0avgtext+0avgdata 162924maxresident)k 552inputs+23984outputs (2major+85737minor)pagefaults 0swaps