insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22844509 , 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=22844460 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 (22844509) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22844460) result : ((1357284178,), (1357284219,), (1357284245,), (1357284271,), (1357284373,), (1357284601,), (1357284629,), (1357284660,), (1357284692,), (1357284773,), (1357284785,), (1357284812,), (1357284841,), (1357285757,), (1357285760,), (1357285763,), (1357285767,), (1357285771,), (1357285773,), (1357285956,), (1357286033,), (1357286060,), (1357286184,), (1357286217,), (1357286246,), (1357286541,), (1357286570,), (1357289843,), (1357289845,), (1357289847,), (1357289849,), (1357289851,), (1357289875,), (1357289878,), (1357289903,), (1357289909,), (1357289933,), (1357290222,), (1357290251,), (1357290279,), (1357290303,), (1357290685,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22844514 , 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=22844460 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 (22844514) result : ((1357286519,), (1357286520,), (1357286521,), (1357286522,), (1357287754,), (1357287755,), (1357287756,), (1357287757,), (1357290811,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22844460) result : ((1357284178,), (1357284219,), (1357284245,), (1357284271,), (1357284373,), (1357284601,), (1357284629,), (1357284660,), (1357284692,), (1357284773,), (1357284785,), (1357284812,), (1357284841,), (1357285757,), (1357285760,), (1357285763,), (1357285767,), (1357285771,), (1357285773,), (1357285956,), (1357286033,), (1357286060,), (1357286184,), (1357286217,), (1357286246,), (1357286541,), (1357286570,), (1357289843,), (1357289845,), (1357289847,), (1357289849,), (1357289851,), (1357289875,), (1357289878,), (1357289903,), (1357289909,), (1357289933,), (1357290222,), (1357290251,), (1357290279,), (1357290303,), (1357290685,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22844517 , 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=22844460 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 (22844517) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22844460) result : ((1357284178,), (1357284219,), (1357284245,), (1357284271,), (1357284373,), (1357284601,), (1357284629,), (1357284660,), (1357284692,), (1357284773,), (1357284785,), (1357284812,), (1357284841,), (1357285757,), (1357285760,), (1357285763,), (1357285767,), (1357285771,), (1357285773,), (1357285956,), (1357286033,), (1357286060,), (1357286184,), (1357286217,), (1357286246,), (1357286541,), (1357286570,), (1357289843,), (1357289845,), (1357289847,), (1357289849,), (1357289851,), (1357289875,), (1357289878,), (1357289903,), (1357289909,), (1357289933,), (1357290222,), (1357290251,), (1357290279,), (1357290303,), (1357290685,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22844518 , 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=22844460 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 (22844518) result : ((1357286544,), (1357287783,), (1357288571,), (1357288573,), (1357290901,), (1357291527,), (1357291528,), (1357291530,), (1357291531,), (1357291532,), (1357291533,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22844460) result : ((1357284178,), (1357284219,), (1357284245,), (1357284271,), (1357284373,), (1357284601,), (1357284629,), (1357284660,), (1357284692,), (1357284773,), (1357284785,), (1357284812,), (1357284841,), (1357285757,), (1357285760,), (1357285763,), (1357285767,), (1357285771,), (1357285773,), (1357285956,), (1357286033,), (1357286060,), (1357286184,), (1357286217,), (1357286246,), (1357286541,), (1357286570,), (1357289843,), (1357289845,), (1357289847,), (1357289849,), (1357289851,), (1357289875,), (1357289878,), (1357289903,), (1357289909,), (1357289933,), (1357290222,), (1357290251,), (1357290279,), (1357290303,), (1357290685,)) 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 () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") 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`=22844460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','plastique','Teint_Dans_La_Masse','Carton_gris','cartonnette','mal_croppe','environnement','metal','papier','kraft')) 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`=22844460 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','autre_refus','flou','plastique','Teint_Dans_La_Masse','Carton_gris','cartonnette','mal_croppe','environnement','metal','papier','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 22844460, 'sub_port_id': 22844519, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245930, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'cartonnette': {'main_port_id': 22844460, 'sub_port_id': 22844520, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245931, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'papier': {'main_port_id': 22844460, 'sub_port_id': 22844521, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245932, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 22844460, 'sub_port_id': 22844522, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245933, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'metal': {'main_port_id': 22844460, 'sub_port_id': 22844523, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245934, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'Carton_gris': {'main_port_id': 22844460, 'sub_port_id': 22844524, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245935, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'environnement': {'main_port_id': 22844460, 'sub_port_id': 22844525, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245936, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'mal_croppe': {'main_port_id': 22844460, 'sub_port_id': 22844526, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245937, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'flou': {'main_port_id': 22844460, 'sub_port_id': 22844527, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245938, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'autre_refus': {'main_port_id': 22844460, 'sub_port_id': 22844528, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245939, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'kraft': {'main_port_id': 22844460, 'sub_port_id': 22844529, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245940, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}, 'plastique': {'main_port_id': 22844460, 'sub_port_id': 22844530, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15245941, 'last_updated_at': datetime.datetime(2025, 5, 9, 22, 33, 1), 'last_updated_at_desc': datetime.datetime(2025, 5, 9, 22, 33, 1), 'last_updated_at_asc': datetime.datetime(2025, 5, 9, 22, 18, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844519,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844493 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844520,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844496 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844521,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844497 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844522,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844498 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844523,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844499 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844524,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844500 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844525,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844501 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844526,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844503 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844527,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844509 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844528,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844514 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844529,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844517 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22844530,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22844518 lien utilise dans velours : https://www.fotonower.com/velours/22844519,22844520,22844521,22844522,22844523,22844524,22844525,22844526,22844527,22844528,22844529,22844530?tags=Carton_brun,cartonnette,papier,Teint_Dans_La_Masse,metal,Carton_gris,environnement,mal_croppe,flou,autre_refus,kraft,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22844460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] map_info['map_portfolio_photo'] : {22844460: [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178]} final : False mtd_id 4302 list_pids : [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] Looping around the photos to save general results len do output : 1 /22844460. 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, '2815715') ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '22844460', "{'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518}", None, None, None, None, '2815715'), ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715')] time used for this insertion : 0.03350234031677246 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.5272924900054932 time spend to save output : 0.03407120704650879 total time spend for step 1 : 1.561363697052002 step2:final Sat May 10 05:56:28 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 (22844460) 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 22844460 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1357284373,1357284271,1357284245,1357284219,1357284178,1357284692,1357284660,1357284629,1357284601,1357284841,1357284812,1357284785,1357284773,1357285773,1357285771,1357285767,1357285763,1357285760,1357285757,1357286246,1357286217,1357286184,1357286060,1357285956,1357286033,1357286570,1357286541,1357289851,1357289849,1357289847,1357289845,1357289843,1357289878,1357289875,1357289933,1357289909,1357289903,1357290303,1357290279,1357290251,1357290222,1357290685); 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([22844460]) Inside saveOutput : final : False verbose : True original output for save of step final : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} new output for save of step final : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] map_info['map_portfolio_photo'] : {22844460: [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178]} final : False mtd_id 4302 list_pids : [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] Looping around the photos to save general results len do output : 42 /1357290685.Didn't retrieve data . /1357290303.Didn't retrieve data . /1357290279.Didn't retrieve data . /1357290251.Didn't retrieve data . /1357290222.Didn't retrieve data . /1357289933.Didn't retrieve data . /1357289909.Didn't retrieve data . /1357289903.Didn't retrieve data . /1357289878.Didn't retrieve data . /1357289875.Didn't retrieve data . /1357289851.Didn't retrieve data . /1357289849.Didn't retrieve data . /1357289847.Didn't retrieve data . /1357289845.Didn't retrieve data . /1357289843.Didn't retrieve data . /1357286570.Didn't retrieve data . /1357286541.Didn't retrieve data . /1357286246.Didn't retrieve data . /1357286217.Didn't retrieve data . /1357286184.Didn't retrieve data . /1357286060.Didn't retrieve data . /1357286033.Didn't retrieve data . /1357285956.Didn't retrieve data . /1357285773.Didn't retrieve data . /1357285771.Didn't retrieve data . /1357285767.Didn't retrieve data . /1357285763.Didn't retrieve data . /1357285760.Didn't retrieve data . /1357285757.Didn't retrieve data . /1357284841.Didn't retrieve data . /1357284812.Didn't retrieve data . /1357284785.Didn't retrieve data . /1357284773.Didn't retrieve data . /1357284692.Didn't retrieve data . /1357284660.Didn't retrieve data . /1357284629.Didn't retrieve data . /1357284601.Didn't retrieve data . /1357284373.Didn't retrieve data . /1357284271.Didn't retrieve data . /1357284245.Didn't retrieve data . /1357284219.Didn't retrieve data . /1357284178.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, '2815715') ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '22844460', '1357290685', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357290303', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357290279', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357290251', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357290222', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289933', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289909', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289903', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289878', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289875', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289851', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289849', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289847', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289845', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357289843', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286570', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286541', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286246', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286217', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286184', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286060', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357286033', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285956', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285773', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285771', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285767', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285763', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285760', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357285757', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284841', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284812', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284785', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284773', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284692', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284660', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284629', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284601', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284373', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284271', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284245', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284219', '0.037080958733470414', None, None, None, None, '2815715'), ('4302', '22844460', '1357284178', '0.037080958733470414', None, None, None, None, '2815715')] time used for this insertion : 0.026778697967529297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07965946197509766 time spend to save output : 0.028399229049682617 total time spend for step 2 : 0.10805869102478027 step3:velours_tree Sat May 10 05:56:28 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 : {22844460: [{'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518}]} input_args_next_step : {22844460: ()} output_args : {22844460: [{'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518}]} args : 22844460 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 : ({'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22844460) 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([22844460]) 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.308422327041626 time spend to save output : 7.843971252441406e-05 total time spend for step 3 : 0.3085007667541504 step4:send_mail_cod Sat May 10 05:56: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 ! complete output_args for input 2 : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} input_args_next_step : {1357290685: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357290685 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357290303 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357290279 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357290251 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357290222 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289933 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289909 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289903 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289878 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289875 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289851 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289849 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289847 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289845 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357289843 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286570 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286541 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286246 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286217 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286184 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286060 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357286033 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285956 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285773 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285771 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285767 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285763 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285760 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357285757 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284841 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284812 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284785 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284773 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284692 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284660 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284629 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284601 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284373 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284271 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284245 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284219 depend.output_id : 0 input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ()} output_args : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',)} args : 1357284178 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 : {22844460: [{'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518}]} input_args_next_step : {1357290685: ('0.037080958733470414',), 1357290303: ('0.037080958733470414',), 1357290279: ('0.037080958733470414',), 1357290251: ('0.037080958733470414',), 1357290222: ('0.037080958733470414',), 1357289933: ('0.037080958733470414',), 1357289909: ('0.037080958733470414',), 1357289903: ('0.037080958733470414',), 1357289878: ('0.037080958733470414',), 1357289875: ('0.037080958733470414',), 1357289851: ('0.037080958733470414',), 1357289849: ('0.037080958733470414',), 1357289847: ('0.037080958733470414',), 1357289845: ('0.037080958733470414',), 1357289843: ('0.037080958733470414',), 1357286570: ('0.037080958733470414',), 1357286541: ('0.037080958733470414',), 1357286246: ('0.037080958733470414',), 1357286217: ('0.037080958733470414',), 1357286184: ('0.037080958733470414',), 1357286060: ('0.037080958733470414',), 1357286033: ('0.037080958733470414',), 1357285956: ('0.037080958733470414',), 1357285773: ('0.037080958733470414',), 1357285771: ('0.037080958733470414',), 1357285767: ('0.037080958733470414',), 1357285763: ('0.037080958733470414',), 1357285760: ('0.037080958733470414',), 1357285757: ('0.037080958733470414',), 1357284841: ('0.037080958733470414',), 1357284812: ('0.037080958733470414',), 1357284785: ('0.037080958733470414',), 1357284773: ('0.037080958733470414',), 1357284692: ('0.037080958733470414',), 1357284660: ('0.037080958733470414',), 1357284629: ('0.037080958733470414',), 1357284601: ('0.037080958733470414',), 1357284373: ('0.037080958733470414',), 1357284271: ('0.037080958733470414',), 1357284245: ('0.037080958733470414',), 1357284219: ('0.037080958733470414',), 1357284178: ('0.037080958733470414',), 22844460: ()} output_args : {22844460: [{'Carton_brun': 22844493, 'cartonnette': 22844496, 'papier': 22844497, 'Teint_Dans_La_Masse': 22844498, 'metal': 22844499, 'Carton_gris': 22844500, 'environnement': 22844501, 'mal_croppe': 22844503, 'flou': 22844509, 'autre_refus': 22844514, 'kraft': 22844517, 'plastique': 22844518}]} args : 22844460 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 :43, first value : ('0.037080958733470414',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22844460) 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 (1357290685,1357290303,1357290279,1357290251,1357290222,1357289933,1357289909,1357289903,1357289878,1357289875,1357289851,1357289849,1357289847,1357289845,1357289843,1357286570,1357286541,1357286246,1357286217,1357286184,1357286060,1357286033,1357285956,1357285773,1357285771,1357285767,1357285763,1357285760,1357285757,1357284841,1357284812,1357284785,1357284773,1357284692,1357284660,1357284629,1357284601,1357284373,1357284271,1357284245,1357284219,1357284178) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1357284178 begin to download photo : 1357284773 begin to download photo : 1357285773 begin to download photo : 1357289843 begin to download photo : 1357289933 download finish for photo 1357285773 begin to download photo : 1357285956 download finish for photo 1357289843 begin to download photo : 1357289845 download finish for photo 1357289933 begin to download photo : 1357290222 download finish for photo 1357284178 begin to download photo : 1357284219 download finish for photo 1357284773 begin to download photo : 1357284785 download finish for photo 1357285956 begin to download photo : 1357286033 download finish for photo 1357289845 begin to download photo : 1357289847 download finish for photo 1357284219 begin to download photo : 1357284245 download finish for photo 1357284785 begin to download photo : 1357284812 download finish for photo 1357290222 begin to download photo : 1357290251 download finish for photo 1357286033 begin to download photo : 1357286060 download finish for photo 1357289847 begin to download photo : 1357289849 download finish for photo 1357284245 begin to download photo : 1357284271 download finish for photo 1357284812 begin to download photo : 1357284841 download finish for photo 1357290251 begin to download photo : 1357290279 download finish for photo 1357289849 begin to download photo : 1357289851 download finish for photo 1357286060 begin to download photo : 1357286184 download finish for photo 1357284271 begin to download photo : 1357284373 download finish for photo 1357284841 begin to download photo : 1357285757 download finish for photo 1357289851 begin to download photo : 1357289875 download finish for photo 1357290279 begin to download photo : 1357290303 download finish for photo 1357284373 begin to download photo : 1357284601 download finish for photo 1357285757 begin to download photo : 1357285760 download finish for photo 1357286184 begin to download photo : 1357286217 download finish for photo 1357289875 begin to download photo : 1357289878 download finish for photo 1357285760 begin to download photo : 1357285763 download finish for photo 1357284601 begin to download photo : 1357284629 download finish for photo 1357286217 begin to download photo : 1357286246 download finish for photo 1357290303 begin to download photo : 1357290685 download finish for photo 1357289878 begin to download photo : 1357289903 download finish for photo 1357284629 begin to download photo : 1357284660 download finish for photo 1357285763 begin to download photo : 1357285767 download finish for photo 1357290685 download finish for photo 1357286246 begin to download photo : 1357286541 download finish for photo 1357284660 begin to download photo : 1357284692 download finish for photo 1357289903 begin to download photo : 1357289909 download finish for photo 1357286541 begin to download photo : 1357286570 download finish for photo 1357285767 begin to download photo : 1357285771 download finish for photo 1357289909 download finish for photo 1357284692 download finish for photo 1357286570 download finish for photo 1357285771 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P22844460_10-05-2025_05_56_30.pdf 22844496 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=22844496 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357286531: '1746822012_489807_1357284271_214b3c64406dbf8c3afbd937a6b9e481_rle_crop_3792028897_0.png', 1357286532: '1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028917_0.png', 1357286534: '1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028918_0.png', 1357287131: '1746822071_490661_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030913_0.png', 1357287132: '1746822071_490661_1357285760_893937284a9174d2559d78b5e10fe6b4_rle_crop_3792030938_0.png', 1357287770: '1746822132_491359_1357284271_214b3c64406dbf8c3afbd937a6b9e481_rle_crop_3792028897_0.png', 1357287771: '1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028917_0.png', 1357287772: '1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028918_0.png', 1357288558: '1746822190_491856_1357285956_a6b2c5fa6100e9b3a73d41669ad565b6_rle_crop_3792036813_0.png', 1357290834: '1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066625_0.png', 1357303310: '1746824531_514980_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030913_0.png', 1357303311: '1746824531_514980_1357285760_893937284a9174d2559d78b5e10fe6b4_rle_crop_3792030938_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/0698f2087fe34ab2115c9f1481c1c4aa_74666004.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/68d31a671a8365d4965dd442b7a2de49_1627260.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/709a3a2d72978aa60fda4902c7c8680f_82442628.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/27f9c2b126989caf930ef880b9850a8e_73606074.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/25c8a15b8bb567001f6d3956ada8c9a6_22410990.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/0698f2087fe34ab2115c9f1481c1c4aa_30024718.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/68d31a671a8365d4965dd442b7a2de49_98755733.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/709a3a2d72978aa60fda4902c7c8680f_27157644.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/0fb32cc34783b971fa9783693fd329e6_13210159.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/cd7c45a331fb747696b0070b903fb9d1_29051816.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/27f9c2b126989caf930ef880b9850a8e_91717986.png change filename to text .imagette228444961746849390/ imagette228444961746849390/1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028918_0.png.png imagette228444961746849390/1746822071_490661_1357285760_893937284a9174d2559d78b5e10fe6b4_rle_crop_3792030938_0.png.png imagette228444961746849390/1746822132_491359_1357284271_214b3c64406dbf8c3afbd937a6b9e481_rle_crop_3792028897_0.png.png imagette228444961746849390/1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028918_0.png.png imagette228444961746849390/1746824531_514980_1357285760_893937284a9174d2559d78b5e10fe6b4_rle_crop_3792030938_0.png.png imagette228444961746849390/1746822012_489807_1357284271_214b3c64406dbf8c3afbd937a6b9e481_rle_crop_3792028897_0.png.png imagette228444961746849390/1746822071_490661_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030913_0.png.png imagette228444961746849390/1746824531_514980_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030913_0.png.png imagette228444961746849390/1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028917_0.png.png imagette228444961746849390/1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028917_0.png.png imagette228444961746849390/1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066625_0.png.png imagette228444961746849390/1746822190_491856_1357285956_a6b2c5fa6100e9b3a73d41669ad565b6_rle_crop_3792036813_0.png.png imagette228444991746849391/ imagette228445031746849391/ imagette228445091746849391/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/25c8a15b8bb567001f6d3956ada8c9a6_38872378.png imagette228444961746849390 22844499 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=22844499 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette228444991746849391 22844503 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=22844503 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette228445031746849391 22844509 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=22844509 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette228445091746849391 22844514 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=22844514 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357286519: '1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028870_0.png', 1357286520: '1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028922_0.png', 1357286521: '1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028919_0.png', 1357286522: '1746822012_489807_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028942_0.png', 1357287754: '1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028870_0.png', 1357287755: '1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028922_0.png', 1357287756: '1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028919_0.png', 1357287757: '1746822132_491359_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028942_0.png', 1357290811: '1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066629_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/db227679a7897f65379940d8f1aff1f4_88533570.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/2668ff5117f5962d42d1a575934ae791_9300988.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/5c8031728757f9d70a6473e0359997af_42364746.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/b64078829f00a9653175e9ddc803adb3_29447070.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/db227679a7897f65379940d8f1aff1f4_95858354.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/2668ff5117f5962d42d1a575934ae791_6020974.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/5c8031728757f9d70a6473e0359997af_57127802.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/b64078829f00a9653175e9ddc803adb3_53042806.png change filename to text .imagette228445141746849391/ imagette228445141746849391/1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028919_0.png.png imagette228445141746849391/1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066629_0.png.png imagette228445141746849391/1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028919_0.png.png imagette228445141746849391/1746822132_491359_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028942_0.png.png imagette228445141746849391/1746822012_489807_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028942_0.png.png imagette228445141746849391/1746822132_491359_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028922_0.png.png imagette228445141746849391/1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028870_0.png.png imagette228445141746849391/1746822012_489807_1357284219_341f50187aeed089af8d392de82aa320_rle_crop_3792028922_0.png.png imagette228445141746849391/1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028870_0.png.png imagette228445171746849392/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/05cf3ab0ea931082976129ddfab8c176_79993100.png imagette228445141746849391 22844517 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=22844517 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette228445171746849392 22844518 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=22844518 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357286544: '1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028871_0.png', 1357287783: '1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028871_0.png', 1357288571: '1746822190_491856_1357286570_e45dbb46d99c07aedb06d7fdb22ce14b_rle_crop_3792035322_0.png', 1357288573: '1746822190_491856_1357286033_86d572ece92471600c2d709686667016_rle_crop_3792036803_0.png', 1357290901: '1746822686_3769346_1357289933_8fa6e41da802a20d6cf8fe9ac362edc1_rle_crop_3792067190_0.png', 1357291527: '1746822732_497207_1357290303_543bc32c4dd934ce8ec3effe611d57a3_rle_crop_3792067908_0.png', 1357291528: '1746822732_497207_1357290303_543bc32c4dd934ce8ec3effe611d57a3_rle_crop_3792067902_0.png', 1357291530: '1746822732_497207_1357289909_af6115d0163db40ec196ea9452a1e9d9_rle_crop_3792067927_0.png', 1357291531: '1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067945_0.png', 1357291532: '1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067944_0.png', 1357291533: '1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067946_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/71652ab9b67967009d6a81b440cbc33b_52383559.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/71652ab9b67967009d6a81b440cbc33b_21388123.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/c33f8db4ab91ef82f7332624d97ee458_67587476.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/00f30ce5357a9853b8fcd86a05683cff_29245921.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/e91bd33efe628db782147a9af6028c0c_81142114.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/79d18640d5756db8bbc8fa3a2ab8bc63_34965968.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/6ba8400a71220fbdc81adc299d9d789d_5356549.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/17cfe6e424aa9e50a5e4935946027e98_41622734.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/f8247861ed0423c581c25d166d406c1f_32693489.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/34d9ba3adab2cf032f153bb14b036d41_35819605.png change filename to text .imagette228445181746849392/ imagette228445181746849392/1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028871_0.png.png imagette228445181746849392/1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028871_0.png.png imagette228445181746849392/1746822732_497207_1357290303_543bc32c4dd934ce8ec3effe611d57a3_rle_crop_3792067902_0.png.png imagette228445181746849392/1746822732_497207_1357290303_543bc32c4dd934ce8ec3effe611d57a3_rle_crop_3792067908_0.png.png imagette228445181746849392/1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067944_0.png.png imagette228445181746849392/1746822190_491856_1357286570_e45dbb46d99c07aedb06d7fdb22ce14b_rle_crop_3792035322_0.png.png imagette228445181746849392/1746822686_3769346_1357289933_8fa6e41da802a20d6cf8fe9ac362edc1_rle_crop_3792067190_0.png.png imagette228445181746849392/1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067945_0.png.png imagette228445181746849392/1746822732_497207_1357289903_46ca9b717bca87ded4d225b3b1404525_rle_crop_3792067946_0.png.png imagette228445181746849392/1746822732_497207_1357289909_af6115d0163db40ec196ea9452a1e9d9_rle_crop_3792067927_0.png.png imagette228445181746849392/1746822190_491856_1357286033_86d572ece92471600c2d709686667016_rle_crop_3792036803_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/fa5efd499bb89b1884b14c44652b02c0_35422385.png imagette228445181746849392 22844493 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=22844493 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357288563: '1746822190_491856_1357286217_5c2c4eb339bb6301a52ecbe53fc04ca9_rle_crop_3792036763_0.png', 1357290886: '1746822686_3769346_1357289933_8fa6e41da802a20d6cf8fe9ac362edc1_rle_crop_3792067195_0.png', 1357292808: '1746822851_498662_1357290685_5814dca1c4eed5e06f022d2f043a9414_rle_crop_3792071046_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/3ac14e978ada9247fa776ab0108e4901_49154770.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/95b9cb83c5e0280b7d44ac6ad09e95d6_98424341.png change filename to text .imagette228444931746849393/ imagette228444931746849393/1746822190_491856_1357286217_5c2c4eb339bb6301a52ecbe53fc04ca9_rle_crop_3792036763_0.png.png imagette228444931746849393/1746822686_3769346_1357289933_8fa6e41da802a20d6cf8fe9ac362edc1_rle_crop_3792067195_0.png.png imagette228444931746849393/1746822851_498662_1357290685_5814dca1c4eed5e06f022d2f043a9414_rle_crop_3792071046_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/28d81b90c62efc5952e54f18dc2a46bb_13333887.png imagette228444931746849393 22844498 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=22844498 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357288904: '1746822253_492503_1357285773_219741c565338f04439117dfa20ddf12_rle_crop_3792036862_0.png', 1357303305: '1746824531_514980_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030932_0.png', 1357303304: '1746824531_514980_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030917_0.png', 1357303303: '1746824531_514980_1357285771_f6fdaba29b11006adbe310e60dc9aff1_rle_crop_3792030903_0.png', 1357290872: '1746822686_3769346_1357289875_41396a8fa47f9ec2981b8560cbb247b2_rle_crop_3792067211_0.png', 1357290802: '1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066631_0.png', 1357290085: '1746822552_494886_1357289843_c7100c42a66f7cb2498d83da2c75cfad_rle_crop_3792054567_0.png', 1357290083: '1746822552_494886_1357289845_b0188f37d2d89aa61ea560f9a6225184_rle_crop_3792054553_0.png', 1357290082: '1746822552_494886_1357289845_b0188f37d2d89aa61ea560f9a6225184_rle_crop_3792054552_0.png', 1357290081: '1746822552_494886_1357289878_33dea3d3bbad4bba362fca06366723a4_rle_crop_3792054535_0.png', 1357286508: '1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028876_0.png', 1357288544: '1746822190_491856_1357285956_a6b2c5fa6100e9b3a73d41669ad565b6_rle_crop_3792036821_0.png', 1357288542: '1746822190_491856_1357286033_86d572ece92471600c2d709686667016_rle_crop_3792036809_0.png', 1357288541: '1746822190_491856_1357286060_68d2f76233460dd13cccb287190a63f9_rle_crop_3792036791_0.png', 1357287732: '1746822132_491359_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028939_0.png', 1357287731: '1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028876_0.png', 1357287117: '1746822071_490661_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030932_0.png', 1357287116: '1746822071_490661_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030917_0.png', 1357287114: '1746822071_490661_1357285771_f6fdaba29b11006adbe310e60dc9aff1_rle_crop_3792030903_0.png', 1357286509: '1746822012_489807_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028939_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/225c29a9ca8ddf152724910ec0f2af81_29798659.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/9821674a0d62b862a81846608556c3ad_97157344.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/718dbc3394d7c5d6c08ab40d5948927c_23706123.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/c667379971dd56823b881aebe0c0888c_2150050.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/de6e717ba172ae00672bfbfd4c612558_92514909.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/8477ffd9e8c65b7a6a797ef6e46eaaa0_46392013.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/37f28e5b1b26d74f31166a962bb4b984_62119487.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/c8b2501240e6b7f093634b3841bd38ba_28991432.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/ec887c62fa6c6223b0bbc1746e6a0078_79736025.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/eb5f9e33106118a64c4fe2b3934430ef_87928096.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/15709caac07e51ca5f09878940c1b005_62725385.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/c6378d98ff19fa4b58554fc3b6db332e_43316594.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/94878a90cc86e1c2b2fc49962c9070bd_3328796.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/f012654d7a39d900bade811b4c9317a8_93551180.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/9cc70a2b4aa16633549a7ced36ed7e05_73887746.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/15709caac07e51ca5f09878940c1b005_60652997.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/9821674a0d62b862a81846608556c3ad_73741433.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/718dbc3394d7c5d6c08ab40d5948927c_38713064.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/c667379971dd56823b881aebe0c0888c_6052434.png change filename to text .imagette228444981746849393/ imagette228444981746849393/1746822071_490661_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030932_0.png.png imagette228444981746849393/1746822132_491359_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028939_0.png.png imagette228444981746849393/1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066631_0.png.png imagette228444981746849393/1746822012_489807_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028876_0.png.png imagette228444981746849393/1746822071_490661_1357285771_f6fdaba29b11006adbe310e60dc9aff1_rle_crop_3792030903_0.png.png imagette228444981746849393/1746822190_491856_1357286033_86d572ece92471600c2d709686667016_rle_crop_3792036809_0.png.png imagette228444981746849393/1746824531_514980_1357285771_f6fdaba29b11006adbe310e60dc9aff1_rle_crop_3792030903_0.png.png imagette228444981746849393/1746822190_491856_1357285956_a6b2c5fa6100e9b3a73d41669ad565b6_rle_crop_3792036821_0.png.png imagette228444981746849393/1746822132_491359_1357284692_ee7b4791f09a9d0a66c02841e61c2b90_rle_crop_3792028876_0.png.png imagette228444981746849393/1746822686_3769346_1357289875_41396a8fa47f9ec2981b8560cbb247b2_rle_crop_3792067211_0.png.png imagette228444981746849393/1746822190_491856_1357286060_68d2f76233460dd13cccb287190a63f9_rle_crop_3792036791_0.png.png imagette228444981746849393/1746822552_494886_1357289845_b0188f37d2d89aa61ea560f9a6225184_rle_crop_3792054553_0.png.png imagette228444981746849393/1746822552_494886_1357289843_c7100c42a66f7cb2498d83da2c75cfad_rle_crop_3792054567_0.png.png imagette228444981746849393/1746822552_494886_1357289878_33dea3d3bbad4bba362fca06366723a4_rle_crop_3792054535_0.png.png imagette228444981746849393/1746824531_514980_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030932_0.png.png imagette228444981746849393/1746822012_489807_1357284178_3de73ab73b6b44254aa487003bac38d6_rle_crop_3792028939_0.png.png imagette228444981746849393/1746822552_494886_1357289845_b0188f37d2d89aa61ea560f9a6225184_rle_crop_3792054552_0.png.png imagette228444981746849393/1746822071_490661_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030917_0.png.png imagette228444981746849393/1746824531_514980_1357285767_564deabe7a3f06659d139218aad6cb32_rle_crop_3792030917_0.png.png imagette228444981746849393/1746822253_492503_1357285773_219741c565338f04439117dfa20ddf12_rle_crop_3792036862_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/9cc70a2b4aa16633549a7ced36ed7e05_16885203.png imagette228444981746849393 22844500 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=22844500 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1357287123: '1746822071_490661_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030930_0.png', 1357288550: '1746822190_491856_1357286570_e45dbb46d99c07aedb06d7fdb22ce14b_rle_crop_3792035320_0.png', 1357290821: '1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066630_0.png', 1357291491: '1746822732_497207_1357289909_af6115d0163db40ec196ea9452a1e9d9_rle_crop_3792067919_0.png', 1357303309: '1746824531_514980_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030930_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/db1f5f1ebd8f1b68a7ed51c122121656_12355156.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/858ac7ca2681ab71e06343d7da2b8ff6_54010229.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/1b945a039636c015edbfdc2827e72a34_6897731.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/57bf417ca5152cca79219af2cf93ff6c_44630040.png change filename to text .imagette228445001746849395/ imagette228445001746849395/1746822732_497207_1357289909_af6115d0163db40ec196ea9452a1e9d9_rle_crop_3792067919_0.png.png imagette228445001746849395/1746822071_490661_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030930_0.png.png imagette228445001746849395/1746822670_496683_1357290251_9653d8cf9ec70818307ed7e45877db33_rle_crop_3792066630_0.png.png imagette228445001746849395/1746822190_491856_1357286570_e45dbb46d99c07aedb06d7fdb22ce14b_rle_crop_3792035320_0.png.png imagette228445001746849395/1746824531_514980_1357285763_b40eeec9b45dd65cb42d5ee51b087c43_rle_crop_3792030930_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/db1f5f1ebd8f1b68a7ed51c122121656_30934510.png imagette228445001746849395 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22844460 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22844519,22844520,22844521,22844522,22844523,22844524,22844525,22844526,22844527,22844528,22844529,22844530?tags=Carton_brun,cartonnette,papier,Teint_Dans_La_Masse,metal,Carton_gris,environnement,mal_croppe,flou,autre_refus,kraft,plastique your option no_mail is active, we will not send the real mail to your client args[1357290685] : ('0.037080958733470414',) no score found for photo 1357290685 We are sending mail with results at report@fotonower.com args[1357290303] : ('0.037080958733470414',) no score found for photo 1357290303 We are sending mail with results at report@fotonower.com args[1357290279] : ('0.037080958733470414',) no score found for photo 1357290279 We are sending mail with results at report@fotonower.com args[1357290251] : ('0.037080958733470414',) no score found for photo 1357290251 We are sending mail with results at report@fotonower.com args[1357290222] : ('0.037080958733470414',) no score found for photo 1357290222 We are sending mail with results at report@fotonower.com args[1357289933] : ('0.037080958733470414',) no score found for photo 1357289933 We are sending mail with results at report@fotonower.com args[1357289909] : ('0.037080958733470414',) no score found for photo 1357289909 We are sending mail with results at report@fotonower.com args[1357289903] : ('0.037080958733470414',) no score found for photo 1357289903 We are sending mail with results at report@fotonower.com args[1357289878] : ('0.037080958733470414',) no score found for photo 1357289878 We are sending mail with results at report@fotonower.com args[1357289875] : ('0.037080958733470414',) no score found for photo 1357289875 We are sending mail with results at report@fotonower.com args[1357289851] : ('0.037080958733470414',) no score found for photo 1357289851 We are sending mail with results at report@fotonower.com args[1357289849] : ('0.037080958733470414',) no score found for photo 1357289849 We are sending mail with results at report@fotonower.com args[1357289847] : ('0.037080958733470414',) no score found for photo 1357289847 We are sending mail with results at report@fotonower.com args[1357289845] : ('0.037080958733470414',) no score found for photo 1357289845 We are sending mail with results at report@fotonower.com args[1357289843] : ('0.037080958733470414',) no score found for photo 1357289843 We are sending mail with results at report@fotonower.com args[1357286570] : ('0.037080958733470414',) no score found for photo 1357286570 We are sending mail with results at report@fotonower.com args[1357286541] : ('0.037080958733470414',) no score found for photo 1357286541 We are sending mail with results at report@fotonower.com args[1357286246] : ('0.037080958733470414',) no score found for photo 1357286246 We are sending mail with results at report@fotonower.com args[1357286217] : ('0.037080958733470414',) no score found for photo 1357286217 We are sending mail with results at report@fotonower.com args[1357286184] : ('0.037080958733470414',) no score found for photo 1357286184 We are sending mail with results at report@fotonower.com args[1357286060] : ('0.037080958733470414',) no score found for photo 1357286060 We are sending mail with results at report@fotonower.com args[1357286033] : ('0.037080958733470414',) no score found for photo 1357286033 We are sending mail with results at report@fotonower.com args[1357285956] : ('0.037080958733470414',) no score found for photo 1357285956 We are sending mail with results at report@fotonower.com args[1357285773] : ('0.037080958733470414',) no score found for photo 1357285773 We are sending mail with results at report@fotonower.com args[1357285771] : ('0.037080958733470414',) no score found for photo 1357285771 We are sending mail with results at report@fotonower.com args[1357285767] : ('0.037080958733470414',) no score found for photo 1357285767 We are sending mail with results at report@fotonower.com args[1357285763] : ('0.037080958733470414',) no score found for photo 1357285763 We are sending mail with results at report@fotonower.com args[1357285760] : ('0.037080958733470414',) no score found for photo 1357285760 We are sending mail with results at report@fotonower.com args[1357285757] : ('0.037080958733470414',) no score found for photo 1357285757 We are sending mail with results at report@fotonower.com args[1357284841] : ('0.037080958733470414',) no score found for photo 1357284841 We are sending mail with results at report@fotonower.com args[1357284812] : ('0.037080958733470414',) no score found for photo 1357284812 We are sending mail with results at report@fotonower.com args[1357284785] : ('0.037080958733470414',) no score found for photo 1357284785 We are sending mail with results at report@fotonower.com args[1357284773] : ('0.037080958733470414',) no score found for photo 1357284773 We are sending mail with results at report@fotonower.com args[1357284692] : ('0.037080958733470414',) no score found for photo 1357284692 We are sending mail with results at report@fotonower.com args[1357284660] : ('0.037080958733470414',) no score found for photo 1357284660 We are sending mail with results at report@fotonower.com args[1357284629] : ('0.037080958733470414',) no score found for photo 1357284629 We are sending mail with results at report@fotonower.com args[1357284601] : ('0.037080958733470414',) no score found for photo 1357284601 We are sending mail with results at report@fotonower.com args[1357284373] : ('0.037080958733470414',) no score found for photo 1357284373 We are sending mail with results at report@fotonower.com args[1357284271] : ('0.037080958733470414',) no score found for photo 1357284271 We are sending mail with results at report@fotonower.com args[1357284245] : ('0.037080958733470414',) no score found for photo 1357284245 We are sending mail with results at report@fotonower.com args[1357284219] : ('0.037080958733470414',) no score found for photo 1357284219 We are sending mail with results at report@fotonower.com args[1357284178] : ('0.037080958733470414',) no score found for photo 1357284178 We are sending mail with results at report@fotonower.com refus_total : 0.037080958733470414 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=22844460 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_P22844460_10-05-2025_05_56_30.pdf results_Auto_P22844460_10-05-2025_05_56_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22844460_10-05-2025_05_56_30.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','22844460','results_Auto_P22844460_10-05-2025_05_56_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22844460_10-05-2025_05_56_30.pdf','pdf','','0.45','0.037080958733470414') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22844460]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] map_info['map_portfolio_photo'] : {22844460: [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178]} final : False mtd_id 4302 list_pids : [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] 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, '2815715') ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '22844460', '1357290685', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715')] time used for this insertion : 0.026973962783813477 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.520658016204834 time spend to save output : 0.027502059936523438 total time spend for step 4 : 9.548160076141357 step5:split_time_score Sat May 10 05:56: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 : ['22844460'] 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 : [('22844460',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22844460) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1357289933: {'path': 'temp/1746849389_3016328_1357289933_8fa6e41da802a20d6cf8fe9ac362edc1.jpg', 'extension': 'jpg'}, 1357290222: {'path': 'temp/1746849389_3016328_1357290222_d4886174f4ae3f48704f77ee9f829028.jpg', 'extension': 'jpg'}, 1357290251: {'path': 'temp/1746849389_3016328_1357290251_9653d8cf9ec70818307ed7e45877db33.jpg', 'extension': 'jpg'}, 1357290279: {'path': 'temp/1746849389_3016328_1357290279_e9d14e27321b303b39146159370673f7.jpg', 'extension': 'jpg'}, 1357290303: {'path': 'temp/1746849389_3016328_1357290303_543bc32c4dd934ce8ec3effe611d57a3.jpg', 'extension': 'jpg'}, 1357290685: {'path': 'temp/1746849389_3016328_1357290685_5814dca1c4eed5e06f022d2f043a9414.jpg', 'extension': 'jpg'}, 1357289843: {'path': 'temp/1746849389_3016328_1357289843_c7100c42a66f7cb2498d83da2c75cfad.jpg', 'extension': 'jpg'}, 1357289845: {'path': 'temp/1746849389_3016328_1357289845_b0188f37d2d89aa61ea560f9a6225184.jpg', 'extension': 'jpg'}, 1357289847: {'path': 'temp/1746849389_3016328_1357289847_0193e68f36b0da50235fd9a7f950f593.jpg', 'extension': 'jpg'}, 1357289849: {'path': 'temp/1746849389_3016328_1357289849_f02762744628276c820195aa52015f15.jpg', 'extension': 'jpg'}, 1357289851: {'path': 'temp/1746849389_3016328_1357289851_7daf3dadfbf57ae70376b378b15451df.jpg', 'extension': 'jpg'}, 1357289875: {'path': 'temp/1746849389_3016328_1357289875_41396a8fa47f9ec2981b8560cbb247b2.jpg', 'extension': 'jpg'}, 1357289878: {'path': 'temp/1746849389_3016328_1357289878_33dea3d3bbad4bba362fca06366723a4.jpg', 'extension': 'jpg'}, 1357289903: {'path': 'temp/1746849389_3016328_1357289903_46ca9b717bca87ded4d225b3b1404525.jpg', 'extension': 'jpg'}, 1357289909: {'path': 'temp/1746849389_3016328_1357289909_af6115d0163db40ec196ea9452a1e9d9.jpg', 'extension': 'jpg'}, 1357284178: {'path': 'temp/1746849389_3016328_1357284178_3de73ab73b6b44254aa487003bac38d6.jpg', 'extension': 'jpg'}, 1357284219: {'path': 'temp/1746849389_3016328_1357284219_341f50187aeed089af8d392de82aa320.jpg', 'extension': 'jpg'}, 1357284245: {'path': 'temp/1746849389_3016328_1357284245_8cb614cba38a373e7e7aaa3408534dde.jpg', 'extension': 'jpg'}, 1357284271: {'path': 'temp/1746849389_3016328_1357284271_214b3c64406dbf8c3afbd937a6b9e481.jpg', 'extension': 'jpg'}, 1357284373: {'path': 'temp/1746849389_3016328_1357284373_2476094d948aecdba332d8888f6b6780.jpg', 'extension': 'jpg'}, 1357284601: {'path': 'temp/1746849389_3016328_1357284601_e752ed07ded032e8a77b2d792a1f079c.jpg', 'extension': 'jpg'}, 1357284629: {'path': 'temp/1746849389_3016328_1357284629_3b9eba03a55065741d753c31b6257137.jpg', 'extension': 'jpg'}, 1357284660: {'path': 'temp/1746849389_3016328_1357284660_180eaffdcb900a211a743e2a90109812.jpg', 'extension': 'jpg'}, 1357284692: {'path': 'temp/1746849389_3016328_1357284692_ee7b4791f09a9d0a66c02841e61c2b90.jpg', 'extension': 'jpg'}, 1357285773: {'path': 'temp/1746849389_3016328_1357285773_219741c565338f04439117dfa20ddf12.jpg', 'extension': 'jpg'}, 1357285956: {'path': 'temp/1746849389_3016328_1357285956_a6b2c5fa6100e9b3a73d41669ad565b6.jpg', 'extension': 'jpg'}, 1357286033: {'path': 'temp/1746849389_3016328_1357286033_86d572ece92471600c2d709686667016.jpg', 'extension': 'jpg'}, 1357286060: {'path': 'temp/1746849389_3016328_1357286060_68d2f76233460dd13cccb287190a63f9.jpg', 'extension': 'jpg'}, 1357286184: {'path': 'temp/1746849389_3016328_1357286184_cedaedbb50339b3f4f4d7489d80f02b3.jpg', 'extension': 'jpg'}, 1357286217: {'path': 'temp/1746849389_3016328_1357286217_5c2c4eb339bb6301a52ecbe53fc04ca9.jpg', 'extension': 'jpg'}, 1357286246: {'path': 'temp/1746849389_3016328_1357286246_8b380c8ca00e2fdd8ea48a713547ec01.jpg', 'extension': 'jpg'}, 1357286541: {'path': 'temp/1746849389_3016328_1357286541_1e09c22d3f32b03f8370b07db0980c24.jpg', 'extension': 'jpg'}, 1357286570: {'path': 'temp/1746849389_3016328_1357286570_e45dbb46d99c07aedb06d7fdb22ce14b.jpg', 'extension': 'jpg'}, 1357284773: {'path': 'temp/1746849389_3016328_1357284773_a089243ad2cb6cbc94231f946a33473b.jpg', 'extension': 'jpg'}, 1357284785: {'path': 'temp/1746849389_3016328_1357284785_37ee09676f923deac65d4553ca2f90dc.jpg', 'extension': 'jpg'}, 1357284812: {'path': 'temp/1746849389_3016328_1357284812_f4ed295b0338b94cba38de52e8d9a6e0.jpg', 'extension': 'jpg'}, 1357284841: {'path': 'temp/1746849389_3016328_1357284841_958e522a6e0039063e03c36a43450908.jpg', 'extension': 'jpg'}, 1357285757: {'path': 'temp/1746849389_3016328_1357285757_17e15ee2758f88122e650ed105154af3.jpg', 'extension': 'jpg'}, 1357285760: {'path': 'temp/1746849389_3016328_1357285760_893937284a9174d2559d78b5e10fe6b4.jpg', 'extension': 'jpg'}, 1357285763: {'path': 'temp/1746849389_3016328_1357285763_b40eeec9b45dd65cb42d5ee51b087c43.jpg', 'extension': 'jpg'}, 1357285767: {'path': 'temp/1746849389_3016328_1357285767_564deabe7a3f06659d139218aad6cb32.jpg', 'extension': 'jpg'}, 1357285771: {'path': 'temp/1746849389_3016328_1357285771_f6fdaba29b11006adbe310e60dc9aff1.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 = 22844460; (('arc_en_ciel_jrm_bis',), ('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 = 22844460 group by h (('22', 42),) 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=22844460 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 (22844460) 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 (22844460) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09052025 22844460 Nombre de photos uploadées : 42 / 23040 (0%) 09052025 22844460 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 09052025 22844460 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1357284373, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/2476094d948aecdba332d8888f6b6780.jpg', 'username': None, 'uploaded_at': 1746821767, 'text': 'image_09052025_22_15_04_010150m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1357284271, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/214b3c64406dbf8c3afbd937a6b9e481.jpg', 'username': None, 'uploaded_at': 1746821767, 'text': 'image_09052025_22_15_14_009125m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1357284245, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/8cb614cba38a373e7e7aaa3408534dde.jpg', 'username': None, 'uploaded_at': 1746821767, 'text': 'image_09052025_22_15_24_010143m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1357284219, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/9/341f50187aeed089af8d392de82aa320.jpg', 'username': None, 'uploaded_at': 1746821767, 'text': 'image_09052025_22_15_34_010144m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0021512508392333984 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22844460, '2025-05-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1789478,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.042841196060180664 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= 1789478 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22808280, 'dashboard_result_id': 10466837, '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_P22808280_10-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808364, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22808548, 'dashboard_result_id': 10466838, '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_P22808548_10-05-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808560, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22808912, 'dashboard_result_id': 10466839, '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_P22808912_10-05-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808948, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22809471, 'dashboard_result_id': 10466840, '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_P22809471_10-05-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809509, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22809829, 'dashboard_result_id': 10466841, '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_P22809829_10-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809870, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22810325, 'dashboard_result_id': 10466842, '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_P22810325_10-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810343, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22810785, 'dashboard_result_id': 10466843, '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_P22810785_10-05-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810824, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22811272, 'dashboard_result_id': 10466844, '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_P22811272_10-05-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22811276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811284, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22811687, 'dashboard_result_id': 10466845, '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_P22811687_10-05-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22811691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811702, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22812382, 'dashboard_result_id': 10466846, '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_P22812382_10-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812398, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22812747, 'dashboard_result_id': 10466847, '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_P22812747_10-05-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812762, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22813158, 'dashboard_result_id': 10466848, '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_P22813158_10-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22813196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22813198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813207, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22813765, 'dashboard_result_id': 10466849, '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_P22813765_10-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22813772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22813775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813783, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22814401, 'dashboard_result_id': 10466850, '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_P22814401_10-05-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22814429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814438, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22814870, 'dashboard_result_id': 10466851, '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_P22814870_10-05-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22814878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814889, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22815465, 'dashboard_result_id': 10466852, '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_P22815465_10-05-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22815547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22815548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22815549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22815550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22815551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22815552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22815553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22815554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22815555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22815556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22815557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22815558, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22816849, 'dashboard_result_id': 10466853, '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_P22816849_10-05-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22816877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22816878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22816879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22816880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22816882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22816886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22816888, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22817262, 'dashboard_result_id': 10466854, '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_P22817262_10-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22817274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817281, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22817892, 'dashboard_result_id': 10466855, '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_P22817892_10-05-2025_05_41_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22817896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817907, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22818499, 'dashboard_result_id': 10466856, '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_P22818499_10-05-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22818531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818542, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22818948, 'dashboard_result_id': 10466857, '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_P22818948_10-05-2025_05_41_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22818958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818967, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22819621, 'dashboard_result_id': 10466858, '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_P22819621_10-05-2025_05_42_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22819627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22819628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22819629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22819630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22819631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22819632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22819633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22819634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22819635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22819636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22819637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22819638, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22820055, 'dashboard_result_id': 10466859, '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_P22820055_10-05-2025_05_42_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820070, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22820724, 'dashboard_result_id': 10466860, '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_P22820724_10-05-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820763, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22821162, 'dashboard_result_id': 10466861, '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_P22821162_10-05-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821179, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22821669, 'dashboard_result_id': 10466862, '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_P22821669_10-05-2025_05_43_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821687, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22822254, 'dashboard_result_id': 10466863, '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_P22822254_10-05-2025_05_44_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22822283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22822284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22822285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22822286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22822287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22822288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22822289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22822290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22822291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22822292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22822293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22822294, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22824276, 'dashboard_result_id': 10466864, '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_P22824276_10-05-2025_05_44_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824288, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22824519, 'dashboard_result_id': 10466865, '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_P22824519_10-05-2025_05_45_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824534, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22825011, 'dashboard_result_id': 10466866, '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_P22825011_10-05-2025_05_45_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22825060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825071, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22825811, 'dashboard_result_id': 10466867, '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_P22825811_10-05-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22825835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825844, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22826693, 'dashboard_result_id': 10466868, '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_P22826693_10-05-2025_05_46_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22826723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22826724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22826725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22826726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22826727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22826728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22826729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22826730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22826731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22826732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22826733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22826734, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22827648, 'dashboard_result_id': 10466869, '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_P22827648_10-05-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22827678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22827679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22827680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22827681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22827682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22827683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22827684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22827685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22827686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22827687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22827688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22827689, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22828478, 'dashboard_result_id': 10466870, '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_P22828478_10-05-2025_05_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22828554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22828555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22828556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22828557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22828558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22828559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22828560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22828561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22828562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22828563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22828565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22828566, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22829434, 'dashboard_result_id': 10466871, '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_P22829434_10-05-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22829435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22829436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22829437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22829438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22829439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22829440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22829441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22829442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22829443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22829444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22829445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22829446, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22830600, 'dashboard_result_id': 10466872, '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_P22830600_10-05-2025_05_47_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22830665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22830666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22830667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22830668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22830669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22830670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22830671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22830672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22830673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22830674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22830675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22830676, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22831086, 'dashboard_result_id': 10466873, '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_P22831086_10-05-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831127, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22831604, 'dashboard_result_id': 10466874, '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_P22831604_10-05-2025_05_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831648, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22832346, 'dashboard_result_id': 10466875, '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_P22832346_10-05-2025_05_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832361, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22832727, 'dashboard_result_id': 10466876, '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_P22832727_10-05-2025_05_49_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832765, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22833211, 'dashboard_result_id': 10466877, '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_P22833211_10-05-2025_05_49_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833228, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22833758, 'dashboard_result_id': 10466878, '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_P22833758_10-05-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833821, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22834699, 'dashboard_result_id': 10466879, '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_P22834699_10-05-2025_05_50_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22834832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22834833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22834834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22834835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22834836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22834837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22834838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22834839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22834840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22834841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22834842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22834843, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22835951, 'dashboard_result_id': 10466880, '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_P22835951_10-05-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22836007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836018, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22836557, 'dashboard_result_id': 10466881, '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_P22836557_10-05-2025_05_51_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22836609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836612, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22837268, 'dashboard_result_id': 10466882, '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_P22837268_10-05-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22837269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22837270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22837271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22837272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22837273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22837274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22837275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22837276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22837277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22837278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22837279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22837280, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22838029, 'dashboard_result_id': 10466883, '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_P22838029_10-05-2025_05_51_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22838059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22838060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22838061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22838062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22838063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22838064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22838065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22838066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22838067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22838068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22838069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22838070, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22838999, 'dashboard_result_id': 10466884, '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_P22838999_10-05-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839073, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22839586, 'dashboard_result_id': 10466885, '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_P22839586_10-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839651, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22840072, 'dashboard_result_id': 10466886, '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_P22840072_10-05-2025_05_53_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840116, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22840559, 'dashboard_result_id': 10466887, '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_P22840559_10-05-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840597, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22841278, 'dashboard_result_id': 10466888, '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_P22841278_10-05-2025_05_53_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841290, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22841701, 'dashboard_result_id': 10466889, '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_P22841701_10-05-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841713, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22842204, 'dashboard_result_id': 10466890, '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_P22842204_10-05-2025_05_54_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842275, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22842610, 'dashboard_result_id': 10466891, '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_P22842610_10-05-2025_05_55_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842657, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22843182, 'dashboard_result_id': 10466892, '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_P22843182_10-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843223, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22843812, 'dashboard_result_id': 10466893, '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_P22843812_10-05-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843827, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22844460, 'dashboard_result_id': 10466894, '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_P22844460_09-05-2025_22_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22844493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22844496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22844497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22844498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22844499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22844500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22844501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22844503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22844509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22844517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22844518, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22845147, 'dashboard_result_id': 10466895, '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_P22845147_09-05-2025_22_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845195, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22845951, 'dashboard_result_id': 10466896, '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_P22845951_09-05-2025_23_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845976, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22846634, 'dashboard_result_id': 10466897, '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_P22846634_09-05-2025_23_17_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22846639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22846640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22846641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22846642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22846643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22846644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22846645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22846646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22846647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22846648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22846649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22846650, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22847335, 'dashboard_result_id': 10466898, '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_P22847335_09-05-2025_23_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847350, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22847849, 'dashboard_result_id': 10466899, '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_P22847849_09-05-2025_23_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847863, 'pht': 3726}}"}, {'dashboat_entry_day': 1789478, 'dashboard_run_id': 1801743, 'mtr_portfolio_id': 22848228, 'dashboard_result_id': 10466900, '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_P22848228_10-05-2025_01_02_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22848255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22848256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22848257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22848258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22848259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22848260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22848261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22848262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22848263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22848264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22848265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22848266, '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 = 22808280 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': 2815658, 'mtr_portfolio_id': 22808280, 'created_at': datetime.datetime(2025, 5, 10, 5, 34, 31), 'result': '0.06913327302407037', 'result_long': None, 'result_double': None}] Qualite : 0.06913327302407037 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22808280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808280_10-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22808280 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_P22808280_10-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808364, 'pht': 3726}}" where mtr_portfolio_id = 22808280 and dashboard_run_id = 1801743 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`=22808280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466837, 0.06913327302407037, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808280_10-05-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808353, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808356, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808357, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808359, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808362, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808364, '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 = 22808548 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': 2815659, 'mtr_portfolio_id': 22808548, 'created_at': datetime.datetime(2025, 5, 10, 5, 34, 58), 'result': '0.03820159261661144', 'result_long': None, 'result_double': None}] Qualite : 0.03820159261661144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22808548 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808548_10-05-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22808548 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_P22808548_10-05-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808560, 'pht': 3726}}" where mtr_portfolio_id = 22808548 and dashboard_run_id = 1801743 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`=22808548 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466838, 0.03820159261661144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808548_10-05-2025_05_35_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808551, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808560, '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 = 22808912 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': 2815660, 'mtr_portfolio_id': 22808912, 'created_at': datetime.datetime(2025, 5, 10, 5, 35, 27), 'result': '0.03305923469068544', 'result_long': None, 'result_double': None}] Qualite : 0.03305923469068544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22808912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808912_10-05-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22808912 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_P22808912_10-05-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808948, 'pht': 3726}}" where mtr_portfolio_id = 22808912 and dashboard_run_id = 1801743 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`=22808912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466839, 0.03305923469068544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22808912_10-05-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22808937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22808938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22808939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22808940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22808941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22808942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22808943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22808944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22808945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22808946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22808947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22808948, '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 = 22809471 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': 2815661, 'mtr_portfolio_id': 22809471, 'created_at': datetime.datetime(2025, 5, 10, 5, 35, 30), 'result': '0.046301180697064764', 'result_long': None, 'result_double': None}] Qualite : 0.046301180697064764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22809471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22809471_10-05-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22809471 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_P22809471_10-05-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809509, 'pht': 3726}}" where mtr_portfolio_id = 22809471 and dashboard_run_id = 1801743 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`=22809471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466840, 0.046301180697064764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22809471_10-05-2025_05_35_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809501, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809509, '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 = 22809829 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': 2815662, 'mtr_portfolio_id': 22809829, 'created_at': datetime.datetime(2025, 5, 10, 5, 36), 'result': '0.06224370069757758', 'result_long': None, 'result_double': None}] Qualite : 0.06224370069757758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22809829 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22809829_10-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22809829 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_P22809829_10-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809870, 'pht': 3726}}" where mtr_portfolio_id = 22809829 and dashboard_run_id = 1801743 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`=22809829 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466841, 0.06224370069757758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22809829_10-05-2025_05_36_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22809859, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22809860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22809861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22809862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22809863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22809864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22809865, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22809866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22809867, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22809868, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22809869, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22809870, '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 = 22810325 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': 2815663, 'mtr_portfolio_id': 22810325, 'created_at': datetime.datetime(2025, 5, 10, 5, 36, 28), 'result': '0.0540303369781229', 'result_long': None, 'result_double': None}] Qualite : 0.0540303369781229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22810325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22810325_10-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22810325 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_P22810325_10-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810343, 'pht': 3726}}" where mtr_portfolio_id = 22810325 and dashboard_run_id = 1801743 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`=22810325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466842, 0.0540303369781229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22810325_10-05-2025_05_36_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810341, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810342, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810343, '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 = 22810785 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': 2815664, 'mtr_portfolio_id': 22810785, 'created_at': datetime.datetime(2025, 5, 10, 5, 36, 57), 'result': '0.042101820255738075', 'result_long': None, 'result_double': None}] Qualite : 0.042101820255738075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22810785 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22810785_10-05-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22810785 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_P22810785_10-05-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810824, 'pht': 3726}}" where mtr_portfolio_id = 22810785 and dashboard_run_id = 1801743 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`=22810785 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466843, 0.042101820255738075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22810785_10-05-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22810813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22810814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22810815, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22810816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22810817, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22810818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22810819, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22810820, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22810821, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22810822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22810823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22810824, '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 = 22811272 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': 2815665, 'mtr_portfolio_id': 22811272, 'created_at': datetime.datetime(2025, 5, 10, 5, 37, 32), 'result': '0.03839193528664462', 'result_long': None, 'result_double': None}] Qualite : 0.03839193528664462 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22811272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22811272_10-05-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22811272 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_P22811272_10-05-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22811276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811284, 'pht': 3726}}" where mtr_portfolio_id = 22811272 and dashboard_run_id = 1801743 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`=22811272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466844, 0.03839193528664462, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22811272_10-05-2025_05_37_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811274, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22811276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811277, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811281, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811282, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811284, '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 = 22811687 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': 2815666, 'mtr_portfolio_id': 22811687, 'created_at': datetime.datetime(2025, 5, 10, 5, 37, 33), 'result': '0.04043440771647138', 'result_long': None, 'result_double': None}] Qualite : 0.04043440771647138 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22811687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22811687_10-05-2025_05_37_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22811687 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_P22811687_10-05-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22811691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811702, 'pht': 3726}}" where mtr_portfolio_id = 22811687 and dashboard_run_id = 1801743 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`=22811687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466845, 0.04043440771647138, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22811687_10-05-2025_05_37_39.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22811691, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22811692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22811693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22811694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22811695, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22811696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22811697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22811698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22811699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22811700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22811701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22811702, '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 = 22812382 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': 2815667, 'mtr_portfolio_id': 22812382, 'created_at': datetime.datetime(2025, 5, 10, 5, 37, 29), 'result': '0.031885481045962415', 'result_long': None, 'result_double': None}] Qualite : 0.031885481045962415 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22812382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22812382_10-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22812382 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_P22812382_10-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812398, 'pht': 3726}}" where mtr_portfolio_id = 22812382 and dashboard_run_id = 1801743 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`=22812382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466846, 0.031885481045962415, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22812382_10-05-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812388, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812395, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812396, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812397, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812398, '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 = 22812747 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': 2815668, 'mtr_portfolio_id': 22812747, 'created_at': datetime.datetime(2025, 5, 10, 5, 37, 59), 'result': '0.04714325850414769', 'result_long': None, 'result_double': None}] Qualite : 0.04714325850414769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22812747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22812747_10-05-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22812747 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_P22812747_10-05-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812762, 'pht': 3726}}" where mtr_portfolio_id = 22812747 and dashboard_run_id = 1801743 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`=22812747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466847, 0.04714325850414769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22812747_10-05-2025_05_38_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22812751, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22812752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22812753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22812754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22812755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22812756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22812757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22812758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22812759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22812760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22812761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22812762, '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 = 22813158 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': 2815669, 'mtr_portfolio_id': 22813158, 'created_at': datetime.datetime(2025, 5, 10, 5, 38, 30), 'result': '0.05709999513195405', 'result_long': None, 'result_double': None}] Qualite : 0.05709999513195405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22813158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22813158_10-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22813158 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_P22813158_10-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22813196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22813198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813207, 'pht': 3726}}" where mtr_portfolio_id = 22813158 and dashboard_run_id = 1801743 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`=22813158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466848, 0.05709999513195405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22813158_10-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22813196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22813198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813201, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813206, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813207, '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 = 22813765 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': 2815670, 'mtr_portfolio_id': 22813765, 'created_at': datetime.datetime(2025, 5, 10, 5, 38, 58), 'result': '0.05716625169810055', 'result_long': None, 'result_double': None}] Qualite : 0.05716625169810055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22813765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22813765_10-05-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22813765 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_P22813765_10-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22813772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22813775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813783, 'pht': 3726}}" where mtr_portfolio_id = 22813765 and dashboard_run_id = 1801743 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`=22813765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466849, 0.05716625169810055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22813765_10-05-2025_05_39_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22813772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22813773, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22813774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22813775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22813776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22813777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22813778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22813779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22813780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22813781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22813782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22813783, '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 = 22814401 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': 2815671, 'mtr_portfolio_id': 22814401, 'created_at': datetime.datetime(2025, 5, 10, 5, 39, 30), 'result': '0.05412901808144728', 'result_long': None, 'result_double': None}] Qualite : 0.05412901808144728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22814401 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22814401_10-05-2025_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22814401 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_P22814401_10-05-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22814429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814438, 'pht': 3726}}" where mtr_portfolio_id = 22814401 and dashboard_run_id = 1801743 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`=22814401 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466850, 0.05412901808144728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22814401_10-05-2025_05_39_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814427, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22814429, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814431, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814433, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814434, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814436, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814438, '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 = 22814870 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': 2815672, 'mtr_portfolio_id': 22814870, 'created_at': datetime.datetime(2025, 5, 10, 5, 39, 28), 'result': '0.03489152894040071', 'result_long': None, 'result_double': None}] Qualite : 0.03489152894040071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22814870 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22814870_10-05-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22814870 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_P22814870_10-05-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22814878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814889, 'pht': 3726}}" where mtr_portfolio_id = 22814870 and dashboard_run_id = 1801743 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`=22814870 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466851, 0.03489152894040071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22814870_10-05-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22814878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22814879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22814880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22814881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22814882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22814883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22814884, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22814885, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22814886, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22814887, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22814888, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22814889, '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 = 22815465 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': 2815673, 'mtr_portfolio_id': 22815465, 'created_at': datetime.datetime(2025, 5, 10, 5, 39, 58), 'result': '0.03839132117119281', 'result_long': None, 'result_double': None}] Qualite : 0.03839132117119281 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22815465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22815465_10-05-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22815465 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_P22815465_10-05-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22815547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22815548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22815549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22815550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22815551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22815552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22815553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22815554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22815555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22815556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22815557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22815558, 'pht': 3726}}" where mtr_portfolio_id = 22815465 and dashboard_run_id = 1801743 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`=22815465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466852, 0.03839132117119281, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22815465_10-05-2025_05_40_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22815547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22815548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22815549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22815550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22815551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22815552, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22815553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22815554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22815555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22815556, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22815557, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22815558, '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 = 22816849 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': 2815674, 'mtr_portfolio_id': 22816849, 'created_at': datetime.datetime(2025, 5, 10, 5, 40, 30), 'result': '0.0392152304532081', 'result_long': None, 'result_double': None}] Qualite : 0.0392152304532081 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22816849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22816849_10-05-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22816849 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_P22816849_10-05-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22816877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22816878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22816879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22816880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22816882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22816886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22816888, 'pht': 3726}}" where mtr_portfolio_id = 22816849 and dashboard_run_id = 1801743 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`=22816849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466853, 0.0392152304532081, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22816849_10-05-2025_05_40_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22816877, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22816878, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22816879, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22816880, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22816881, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22816882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22816883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22816884, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22816885, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22816886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22816887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22816888, '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 = 22817262 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': 2815675, 'mtr_portfolio_id': 22817262, 'created_at': datetime.datetime(2025, 5, 10, 5, 40, 57), 'result': '0.043027124246009525', 'result_long': None, 'result_double': None}] Qualite : 0.043027124246009525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22817262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22817262_10-05-2025_05_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22817262 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_P22817262_10-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22817274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817281, 'pht': 3726}}" where mtr_portfolio_id = 22817262 and dashboard_run_id = 1801743 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`=22817262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466854, 0.043027124246009525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22817262_10-05-2025_05_41_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817271, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22817274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817278, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817281, '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 = 22817892 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': 2815676, 'mtr_portfolio_id': 22817892, 'created_at': datetime.datetime(2025, 5, 10, 5, 41), 'result': '0.04715237858342509', 'result_long': None, 'result_double': None}] Qualite : 0.04715237858342509 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22817892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22817892_10-05-2025_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22817892 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_P22817892_10-05-2025_05_41_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22817896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817907, 'pht': 3726}}" where mtr_portfolio_id = 22817892 and dashboard_run_id = 1801743 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`=22817892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466855, 0.04715237858342509, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22817892_10-05-2025_05_41_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22817896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22817897, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22817898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22817899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22817900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22817901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22817902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22817903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22817904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22817905, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22817906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22817907, '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 = 22818499 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': 2815677, 'mtr_portfolio_id': 22818499, 'created_at': datetime.datetime(2025, 5, 10, 5, 41, 28), 'result': '0.030243659506124745', 'result_long': None, 'result_double': None}] Qualite : 0.030243659506124745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22818499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22818499_10-05-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22818499 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_P22818499_10-05-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22818531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818542, 'pht': 3726}}" where mtr_portfolio_id = 22818499 and dashboard_run_id = 1801743 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`=22818499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466856, 0.030243659506124745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22818499_10-05-2025_05_41_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22818531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818536, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818537, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818538, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818542, '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 = 22818948 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': 2815678, 'mtr_portfolio_id': 22818948, 'created_at': datetime.datetime(2025, 5, 10, 5, 41, 33), 'result': '0.03666034748373819', 'result_long': None, 'result_double': None}] Qualite : 0.03666034748373819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22818948 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22818948_10-05-2025_05_41_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22818948 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_P22818948_10-05-2025_05_41_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22818958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818967, 'pht': 3726}}" where mtr_portfolio_id = 22818948 and dashboard_run_id = 1801743 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`=22818948 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466857, 0.03666034748373819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22818948_10-05-2025_05_41_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22818956, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22818957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22818958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22818959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22818960, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22818961, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22818962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22818963, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22818964, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22818965, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22818966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22818967, '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 = 22819621 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': 2815679, 'mtr_portfolio_id': 22819621, 'created_at': datetime.datetime(2025, 5, 10, 5, 41, 58), 'result': '0.054525533457638435', 'result_long': None, 'result_double': None}] Qualite : 0.054525533457638435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22819621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22819621_10-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22819621 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_P22819621_10-05-2025_05_42_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22819627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22819628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22819629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22819630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22819631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22819632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22819633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22819634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22819635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22819636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22819637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22819638, 'pht': 3726}}" where mtr_portfolio_id = 22819621 and dashboard_run_id = 1801743 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`=22819621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466858, 0.054525533457638435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22819621_10-05-2025_05_42_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22819627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22819628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22819629, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22819630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22819631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22819632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22819633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22819634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22819635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22819636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22819637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22819638, '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 = 22820055 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': 2815680, 'mtr_portfolio_id': 22820055, 'created_at': datetime.datetime(2025, 5, 10, 5, 42, 28), 'result': '0.04048318749377497', 'result_long': None, 'result_double': None}] Qualite : 0.04048318749377497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22820055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22820055_10-05-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22820055 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_P22820055_10-05-2025_05_42_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820070, 'pht': 3726}}" where mtr_portfolio_id = 22820055 and dashboard_run_id = 1801743 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`=22820055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466859, 0.04048318749377497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22820055_10-05-2025_05_42_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820062, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820063, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820064, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820070, '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 = 22820724 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': 2815681, 'mtr_portfolio_id': 22820724, 'created_at': datetime.datetime(2025, 5, 10, 5, 42, 56), 'result': '0.037359512226120044', 'result_long': None, 'result_double': None}] Qualite : 0.037359512226120044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22820724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22820724_10-05-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22820724 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_P22820724_10-05-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820763, 'pht': 3726}}" where mtr_portfolio_id = 22820724 and dashboard_run_id = 1801743 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`=22820724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466860, 0.037359512226120044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22820724_10-05-2025_05_43_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22820752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22820753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22820754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22820755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22820756, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22820757, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22820758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22820759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22820760, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22820761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22820762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22820763, '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 = 22821162 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': 2815682, 'mtr_portfolio_id': 22821162, 'created_at': datetime.datetime(2025, 5, 10, 5, 43, 28), 'result': '0.04106209474645057', 'result_long': None, 'result_double': None}] Qualite : 0.04106209474645057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22821162 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22821162_10-05-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22821162 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_P22821162_10-05-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821179, 'pht': 3726}}" where mtr_portfolio_id = 22821162 and dashboard_run_id = 1801743 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`=22821162 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466861, 0.04106209474645057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22821162_10-05-2025_05_43_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821169, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821172, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821173, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821174, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821175, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821176, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821178, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821179, '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 = 22821669 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': 2815683, 'mtr_portfolio_id': 22821669, 'created_at': datetime.datetime(2025, 5, 10, 5, 43, 29), 'result': '0.04684699935399955', 'result_long': None, 'result_double': None}] Qualite : 0.04684699935399955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22821669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22821669_10-05-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22821669 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_P22821669_10-05-2025_05_43_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821687, 'pht': 3726}}" where mtr_portfolio_id = 22821669 and dashboard_run_id = 1801743 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`=22821669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466862, 0.04684699935399955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22821669_10-05-2025_05_43_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22821676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22821677, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22821678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22821679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22821680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22821681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22821682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22821683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22821684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22821685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22821686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22821687, '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 = 22822254 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': 2815684, 'mtr_portfolio_id': 22822254, 'created_at': datetime.datetime(2025, 5, 10, 5, 44), 'result': '0.04190198931004498', 'result_long': None, 'result_double': None}] Qualite : 0.04190198931004498 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22822254 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22822254_10-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22822254 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_P22822254_10-05-2025_05_44_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22822283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22822284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22822285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22822286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22822287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22822288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22822289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22822290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22822291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22822292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22822293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22822294, 'pht': 3726}}" where mtr_portfolio_id = 22822254 and dashboard_run_id = 1801743 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`=22822254 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466863, 0.04190198931004498, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22822254_10-05-2025_05_44_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22822283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22822284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22822285, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22822286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22822287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22822288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22822289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22822290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22822291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22822292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22822293, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22822294, '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 = 22824276 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': 2815685, 'mtr_portfolio_id': 22824276, 'created_at': datetime.datetime(2025, 5, 10, 5, 44, 30), 'result': '0.049200345418256124', 'result_long': None, 'result_double': None}] Qualite : 0.049200345418256124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22824276 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22824276_10-05-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22824276 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_P22824276_10-05-2025_05_44_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824288, 'pht': 3726}}" where mtr_portfolio_id = 22824276 and dashboard_run_id = 1801743 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`=22824276 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466864, 0.049200345418256124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22824276_10-05-2025_05_44_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824279, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824287, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824288, '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 = 22824519 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': 2815686, 'mtr_portfolio_id': 22824519, 'created_at': datetime.datetime(2025, 5, 10, 5, 44, 58), 'result': '0.04902249429379232', 'result_long': None, 'result_double': None}] Qualite : 0.04902249429379232 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22824519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22824519_10-05-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22824519 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_P22824519_10-05-2025_05_45_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824534, 'pht': 3726}}" where mtr_portfolio_id = 22824519 and dashboard_run_id = 1801743 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`=22824519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466865, 0.04902249429379232, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22824519_10-05-2025_05_45_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22824523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22824524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22824525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22824526, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22824527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22824528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22824529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22824530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22824531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22824532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22824533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22824534, '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 = 22825011 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': 2815687, 'mtr_portfolio_id': 22825011, 'created_at': datetime.datetime(2025, 5, 10, 5, 45, 33), 'result': '0.04244121847964095', 'result_long': None, 'result_double': None}] Qualite : 0.04244121847964095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22825011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22825011_10-05-2025_05_45_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22825011 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_P22825011_10-05-2025_05_45_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22825060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825071, 'pht': 3726}}" where mtr_portfolio_id = 22825011 and dashboard_run_id = 1801743 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`=22825011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466866, 0.04244121847964095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22825011_10-05-2025_05_45_38.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22825060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825061, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825067, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825071, '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 = 22825811 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': 2815688, 'mtr_portfolio_id': 22825811, 'created_at': datetime.datetime(2025, 5, 10, 5, 45, 29), 'result': '0.05072440440296839', 'result_long': None, 'result_double': None}] Qualite : 0.05072440440296839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22825811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22825811_10-05-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22825811 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_P22825811_10-05-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22825835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825844, 'pht': 3726}}" where mtr_portfolio_id = 22825811 and dashboard_run_id = 1801743 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`=22825811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466867, 0.05072440440296839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22825811_10-05-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22825833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22825834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22825835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22825836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22825837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22825838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22825839, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22825840, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22825841, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22825842, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22825843, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22825844, '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 = 22826693 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': 2815689, 'mtr_portfolio_id': 22826693, 'created_at': datetime.datetime(2025, 5, 10, 5, 46), 'result': '0.04491495982900438', 'result_long': None, 'result_double': None}] Qualite : 0.04491495982900438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22826693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22826693_10-05-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22826693 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_P22826693_10-05-2025_05_46_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22826723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22826724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22826725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22826726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22826727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22826728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22826729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22826730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22826731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22826732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22826733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22826734, 'pht': 3726}}" where mtr_portfolio_id = 22826693 and dashboard_run_id = 1801743 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`=22826693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466868, 0.04491495982900438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22826693_10-05-2025_05_46_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22826723, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22826724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22826725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22826726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22826727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22826728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22826729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22826730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22826731, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22826732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22826733, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22826734, '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 = 22827648 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': 2815690, 'mtr_portfolio_id': 22827648, 'created_at': datetime.datetime(2025, 5, 10, 5, 46, 30), 'result': '0.054317631937398456', 'result_long': None, 'result_double': None}] Qualite : 0.054317631937398456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22827648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22827648_10-05-2025_05_46_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22827648 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_P22827648_10-05-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22827678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22827679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22827680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22827681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22827682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22827683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22827684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22827685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22827686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22827687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22827688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22827689, 'pht': 3726}}" where mtr_portfolio_id = 22827648 and dashboard_run_id = 1801743 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`=22827648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466869, 0.054317631937398456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22827648_10-05-2025_05_46_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22827678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22827679, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22827680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22827681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22827682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22827683, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22827684, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22827685, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22827686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22827687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22827688, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22827689, '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 = 22828478 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': 2815691, 'mtr_portfolio_id': 22828478, 'created_at': datetime.datetime(2025, 5, 10, 5, 46, 59), 'result': '0.042993519838413624', 'result_long': None, 'result_double': None}] Qualite : 0.042993519838413624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22828478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22828478_10-05-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22828478 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_P22828478_10-05-2025_05_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22828554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22828555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22828556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22828557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22828558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22828559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22828560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22828561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22828562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22828563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22828565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22828566, 'pht': 3726}}" where mtr_portfolio_id = 22828478 and dashboard_run_id = 1801743 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`=22828478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466870, 0.042993519838413624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22828478_10-05-2025_05_47_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22828554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22828555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22828556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22828557, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22828558, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22828559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22828560, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22828561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22828562, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22828563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22828565, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22828566, '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 = 22829434 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': 2815692, 'mtr_portfolio_id': 22829434, 'created_at': datetime.datetime(2025, 5, 10, 5, 47, 27), 'result': '0.05047761763454627', 'result_long': None, 'result_double': None}] Qualite : 0.05047761763454627 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22829434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22829434_10-05-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22829434 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_P22829434_10-05-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22829435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22829436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22829437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22829438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22829439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22829440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22829441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22829442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22829443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22829444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22829445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22829446, 'pht': 3726}}" where mtr_portfolio_id = 22829434 and dashboard_run_id = 1801743 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`=22829434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466871, 0.05047761763454627, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22829434_10-05-2025_05_47_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22829435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22829436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22829437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22829438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22829439, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22829440, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22829441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22829442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22829443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22829444, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22829445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22829446, '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 = 22830600 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': 2815693, 'mtr_portfolio_id': 22830600, 'created_at': datetime.datetime(2025, 5, 10, 5, 47, 33), 'result': '0.0716229456758822', 'result_long': None, 'result_double': None}] Qualite : 0.0716229456758822 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22830600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22830600_10-05-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22830600 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_P22830600_10-05-2025_05_47_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22830665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22830666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22830667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22830668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22830669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22830670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22830671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22830672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22830673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22830674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22830675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22830676, 'pht': 3726}}" where mtr_portfolio_id = 22830600 and dashboard_run_id = 1801743 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`=22830600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466872, 0.0716229456758822, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22830600_10-05-2025_05_47_36.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22830665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22830666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22830667, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22830668, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22830669, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22830670, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22830671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22830672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22830673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22830674, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22830675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22830676, '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 = 22831086 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': 2815694, 'mtr_portfolio_id': 22831086, 'created_at': datetime.datetime(2025, 5, 10, 5, 47, 57), 'result': '0.052068127147624654', 'result_long': None, 'result_double': None}] Qualite : 0.052068127147624654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22831086 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22831086_10-05-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22831086 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_P22831086_10-05-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831127, 'pht': 3726}}" where mtr_portfolio_id = 22831086 and dashboard_run_id = 1801743 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`=22831086 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466873, 0.052068127147624654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22831086_10-05-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831121, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831127, '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 = 22831604 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': 2815695, 'mtr_portfolio_id': 22831604, 'created_at': datetime.datetime(2025, 5, 10, 5, 48, 31), 'result': '0.0525359631223577', 'result_long': None, 'result_double': None}] Qualite : 0.0525359631223577 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22831604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22831604_10-05-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22831604 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_P22831604_10-05-2025_05_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831648, 'pht': 3726}}" where mtr_portfolio_id = 22831604 and dashboard_run_id = 1801743 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`=22831604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466874, 0.0525359631223577, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22831604_10-05-2025_05_48_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22831637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22831638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22831639, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22831640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22831641, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22831642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22831643, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22831644, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22831645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22831646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22831647, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22831648, '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 = 22832346 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': 2815696, 'mtr_portfolio_id': 22832346, 'created_at': datetime.datetime(2025, 5, 10, 5, 48, 58), 'result': '0.0443997692794362', 'result_long': None, 'result_double': None}] Qualite : 0.0443997692794362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22832346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22832346_10-05-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22832346 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_P22832346_10-05-2025_05_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832361, 'pht': 3726}}" where mtr_portfolio_id = 22832346 and dashboard_run_id = 1801743 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`=22832346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466875, 0.0443997692794362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22832346_10-05-2025_05_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832355, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832356, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832357, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832358, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832361, '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 = 22832727 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': 2815697, 'mtr_portfolio_id': 22832727, 'created_at': datetime.datetime(2025, 5, 10, 5, 49, 1), 'result': '0.04714921402620469', 'result_long': None, 'result_double': None}] Qualite : 0.04714921402620469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22832727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22832727_10-05-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22832727 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_P22832727_10-05-2025_05_49_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832765, 'pht': 3726}}" where mtr_portfolio_id = 22832727 and dashboard_run_id = 1801743 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`=22832727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466876, 0.04714921402620469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22832727_10-05-2025_05_49_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22832754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22832755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22832756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22832757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22832758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22832759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22832760, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22832761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22832762, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22832763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22832764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22832765, '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 = 22833211 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': 2815698, 'mtr_portfolio_id': 22833211, 'created_at': datetime.datetime(2025, 5, 10, 5, 49, 28), 'result': '0.04031248626542704', 'result_long': None, 'result_double': None}] Qualite : 0.04031248626542704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22833211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22833211_10-05-2025_05_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22833211 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_P22833211_10-05-2025_05_49_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833228, 'pht': 3726}}" where mtr_portfolio_id = 22833211 and dashboard_run_id = 1801743 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`=22833211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466877, 0.04031248626542704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22833211_10-05-2025_05_49_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833218, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833220, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833223, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833226, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833228, '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 = 22833758 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': 2815699, 'mtr_portfolio_id': 22833758, 'created_at': datetime.datetime(2025, 5, 10, 5, 49, 28), 'result': '0.047981710885131264', 'result_long': None, 'result_double': None}] Qualite : 0.047981710885131264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22833758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22833758_10-05-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22833758 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_P22833758_10-05-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833821, 'pht': 3726}}" where mtr_portfolio_id = 22833758 and dashboard_run_id = 1801743 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`=22833758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466878, 0.047981710885131264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22833758_10-05-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22833810, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22833811, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22833812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22833813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22833814, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22833815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22833816, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22833817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22833818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22833819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22833820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22833821, '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 = 22834699 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': 2815700, 'mtr_portfolio_id': 22834699, 'created_at': datetime.datetime(2025, 5, 10, 5, 49, 58), 'result': '0.05821204026922763', 'result_long': None, 'result_double': None}] Qualite : 0.05821204026922763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22834699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22834699_10-05-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22834699 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_P22834699_10-05-2025_05_50_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22834832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22834833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22834834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22834835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22834836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22834837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22834838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22834839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22834840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22834841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22834842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22834843, 'pht': 3726}}" where mtr_portfolio_id = 22834699 and dashboard_run_id = 1801743 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`=22834699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466879, 0.05821204026922763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22834699_10-05-2025_05_50_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22834832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22834833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22834834, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22834835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22834836, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22834837, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22834838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22834839, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22834840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22834841, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22834842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22834843, '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 = 22835951 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': 2815701, 'mtr_portfolio_id': 22835951, 'created_at': datetime.datetime(2025, 5, 10, 5, 50, 30), 'result': '0.05698592351454493', 'result_long': None, 'result_double': None}] Qualite : 0.05698592351454493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22835951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22835951_10-05-2025_05_50_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22835951 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_P22835951_10-05-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22836007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836018, 'pht': 3726}}" where mtr_portfolio_id = 22835951 and dashboard_run_id = 1801743 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`=22835951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466880, 0.05698592351454493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22835951_10-05-2025_05_50_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22836007, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836008, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836009, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836014, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836018, '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 = 22836557 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': 2815702, 'mtr_portfolio_id': 22836557, 'created_at': datetime.datetime(2025, 5, 10, 5, 50, 59), 'result': '0.04589254796849214', 'result_long': None, 'result_double': None}] Qualite : 0.04589254796849214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22836557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22836557_10-05-2025_05_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22836557 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_P22836557_10-05-2025_05_51_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22836609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836612, 'pht': 3726}}" where mtr_portfolio_id = 22836557 and dashboard_run_id = 1801743 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`=22836557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466881, 0.04589254796849214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22836557_10-05-2025_05_51_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22836602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22836603, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22836604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22836605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22836606, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22836607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22836608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22836609, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22836610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22836611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22836612, '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 = 22837268 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': 2815703, 'mtr_portfolio_id': 22837268, 'created_at': datetime.datetime(2025, 5, 10, 5, 51, 29), 'result': '0.04591455592484723', 'result_long': None, 'result_double': None}] Qualite : 0.04591455592484723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22837268 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22837268_10-05-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22837268 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_P22837268_10-05-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22837269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22837270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22837271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22837272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22837273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22837274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22837275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22837276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22837277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22837278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22837279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22837280, 'pht': 3726}}" where mtr_portfolio_id = 22837268 and dashboard_run_id = 1801743 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`=22837268 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466882, 0.04591455592484723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22837268_10-05-2025_05_51_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22837269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22837270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22837271, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22837272, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22837273, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22837274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22837275, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22837276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22837277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22837278, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22837279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22837280, '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 = 22838029 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': 2815704, 'mtr_portfolio_id': 22838029, 'created_at': datetime.datetime(2025, 5, 10, 5, 51, 29), 'result': '0.05894483978516194', 'result_long': None, 'result_double': None}] Qualite : 0.05894483978516194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22838029 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22838029_10-05-2025_05_51_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22838029 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_P22838029_10-05-2025_05_51_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22838059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22838060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22838061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22838062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22838063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22838064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22838065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22838066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22838067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22838068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22838069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22838070, 'pht': 3726}}" where mtr_portfolio_id = 22838029 and dashboard_run_id = 1801743 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`=22838029 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466883, 0.05894483978516194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22838029_10-05-2025_05_51_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22838059, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22838060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22838061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22838062, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22838063, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22838064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22838065, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22838066, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22838067, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22838068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22838069, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22838070, '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 = 22838999 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': 2815705, 'mtr_portfolio_id': 22838999, 'created_at': datetime.datetime(2025, 5, 10, 5, 51, 57), 'result': '0.03558867384898078', 'result_long': None, 'result_double': None}] Qualite : 0.03558867384898078 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22838999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22838999_10-05-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22838999 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_P22838999_10-05-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839073, 'pht': 3726}}" where mtr_portfolio_id = 22838999 and dashboard_run_id = 1801743 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`=22838999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466884, 0.03558867384898078, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22838999_10-05-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839065, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839068, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839073, '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 = 22839586 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': 2815706, 'mtr_portfolio_id': 22839586, 'created_at': datetime.datetime(2025, 5, 10, 5, 52, 29), 'result': '0.053944460042140686', 'result_long': None, 'result_double': None}] Qualite : 0.053944460042140686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22839586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22839586_10-05-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22839586 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_P22839586_10-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839651, 'pht': 3726}}" where mtr_portfolio_id = 22839586 and dashboard_run_id = 1801743 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`=22839586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466885, 0.053944460042140686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22839586_10-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22839640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22839641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22839642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22839643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22839644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22839645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22839646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22839647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22839648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22839649, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22839650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22839651, '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 = 22840072 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': 2815707, 'mtr_portfolio_id': 22840072, 'created_at': datetime.datetime(2025, 5, 10, 5, 53), 'result': '0.05951884919663071', 'result_long': None, 'result_double': None}] Qualite : 0.05951884919663071 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22840072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22840072_10-05-2025_05_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22840072 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_P22840072_10-05-2025_05_53_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840116, 'pht': 3726}}" where mtr_portfolio_id = 22840072 and dashboard_run_id = 1801743 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`=22840072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466886, 0.05951884919663071, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22840072_10-05-2025_05_53_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840111, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840112, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840115, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840116, '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 = 22840559 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': 2815708, 'mtr_portfolio_id': 22840559, 'created_at': datetime.datetime(2025, 5, 10, 5, 53, 31), 'result': '0.03103442182431158', 'result_long': None, 'result_double': None}] Qualite : 0.03103442182431158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22840559 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22840559_10-05-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22840559 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_P22840559_10-05-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840597, 'pht': 3726}}" where mtr_portfolio_id = 22840559 and dashboard_run_id = 1801743 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`=22840559 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466887, 0.03103442182431158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22840559_10-05-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22840586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22840587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22840588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22840589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22840590, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22840591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22840592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22840593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22840594, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22840595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22840596, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22840597, '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 = 22841278 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': 2815709, 'mtr_portfolio_id': 22841278, 'created_at': datetime.datetime(2025, 5, 10, 5, 53, 28), 'result': '0.03134944217690724', 'result_long': None, 'result_double': None}] Qualite : 0.03134944217690724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22841278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22841278_10-05-2025_05_53_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22841278 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_P22841278_10-05-2025_05_53_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841290, 'pht': 3726}}" where mtr_portfolio_id = 22841278 and dashboard_run_id = 1801743 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`=22841278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466888, 0.03134944217690724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22841278_10-05-2025_05_53_29.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841280, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841281, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841283, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841284, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841285, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841287, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841290, '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 = 22841701 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': 2815710, 'mtr_portfolio_id': 22841701, 'created_at': datetime.datetime(2025, 5, 10, 5, 53, 58), 'result': '0.04684668230899769', 'result_long': None, 'result_double': None}] Qualite : 0.04684668230899769 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22841701 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22841701_10-05-2025_05_54_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22841701 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_P22841701_10-05-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841713, 'pht': 3726}}" where mtr_portfolio_id = 22841701 and dashboard_run_id = 1801743 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`=22841701 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466889, 0.04684668230899769, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22841701_10-05-2025_05_54_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22841702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22841703, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22841704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22841705, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22841706, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22841707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22841708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22841709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22841710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22841711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22841712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22841713, '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 = 22842204 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': 2815711, 'mtr_portfolio_id': 22842204, 'created_at': datetime.datetime(2025, 5, 10, 5, 54, 30), 'result': '0.03328413308170533', 'result_long': None, 'result_double': None}] Qualite : 0.03328413308170533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22842204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22842204_10-05-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22842204 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_P22842204_10-05-2025_05_54_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842275, 'pht': 3726}}" where mtr_portfolio_id = 22842204 and dashboard_run_id = 1801743 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`=22842204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466890, 0.03328413308170533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22842204_10-05-2025_05_54_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842266, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842269, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842272, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842273, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842274, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842275, '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 = 22842610 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': 2815712, 'mtr_portfolio_id': 22842610, 'created_at': datetime.datetime(2025, 5, 10, 5, 54, 59), 'result': '0.021778517203979036', 'result_long': None, 'result_double': None}] Qualite : 0.021778517203979036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22842610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22842610_10-05-2025_05_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22842610 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_P22842610_10-05-2025_05_55_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842657, 'pht': 3726}}" where mtr_portfolio_id = 22842610 and dashboard_run_id = 1801743 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`=22842610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466891, 0.021778517203979036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22842610_10-05-2025_05_55_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22842646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22842647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22842648, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22842649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22842650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22842651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22842652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22842653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22842654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22842655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22842656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22842657, '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 = 22843182 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': 2815713, 'mtr_portfolio_id': 22843182, 'created_at': datetime.datetime(2025, 5, 10, 5, 55, 30), 'result': '0.03225333227320866', 'result_long': None, 'result_double': None}] Qualite : 0.03225333227320866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22843182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22843182_10-05-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22843182 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_P22843182_10-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843223, 'pht': 3726}}" where mtr_portfolio_id = 22843182 and dashboard_run_id = 1801743 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`=22843182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466892, 0.03225333227320866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22843182_10-05-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843214, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843215, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843217, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843218, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843219, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843223, '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 = 22843812 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': 2815714, 'mtr_portfolio_id': 22843812, 'created_at': datetime.datetime(2025, 5, 10, 5, 55, 58), 'result': '0.0428277581019066', 'result_long': None, 'result_double': None}] Qualite : 0.0428277581019066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22843812 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22843812_10-05-2025_05_56_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22843812 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_P22843812_10-05-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843827, 'pht': 3726}}" where mtr_portfolio_id = 22843812 and dashboard_run_id = 1801743 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`=22843812 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466893, 0.0428277581019066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22843812_10-05-2025_05_56_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22843816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22843817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22843818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22843819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22843820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22843821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22843822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22843823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22843824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22843825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22843826, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22843827, '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 = 22844460 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': 2815715, 'mtr_portfolio_id': 22844460, 'created_at': datetime.datetime(2025, 5, 10, 5, 56, 28), 'result': '0.037080958733470414', 'result_long': None, 'result_double': None}] Qualite : 0.037080958733470414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22844460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22844460_10-05-2025_05_56_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22844460 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_P22844460_10-05-2025_05_56_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22844493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22844496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22844497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22844498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22844499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22844500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22844501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22844503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22844509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22844517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22844518, 'pht': 3726}}" where mtr_portfolio_id = 22844460 and dashboard_run_id = 1801743 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`=22844460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466894, 0.037080958733470414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22844460_10-05-2025_05_56_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22844493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22844496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22844497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22844498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22844499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22844500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22844501, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22844503, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22844509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22844517, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22844518, '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 = 22845147 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': 2814489, 'mtr_portfolio_id': 22845147, 'created_at': datetime.datetime(2025, 5, 9, 22, 48, 58), 'result': '0.04842331784978372', 'result_long': None, 'result_double': None}] Qualite : 0.04842331784978372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22845147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22845147_09-05-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22845147 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_P22845147_09-05-2025_22_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845195, 'pht': 3726}}" where mtr_portfolio_id = 22845147 and dashboard_run_id = 1801743 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`=22845147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466895, 0.04842331784978372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22845147_09-05-2025_22_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845184, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845193, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845194, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845195, '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 = 22845951 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': 2814546, 'mtr_portfolio_id': 22845951, 'created_at': datetime.datetime(2025, 5, 9, 23, 1, 59), 'result': '0.03855804298533271', 'result_long': None, 'result_double': None}] Qualite : 0.03855804298533271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22845951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22845951_09-05-2025_23_01_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22845951 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_P22845951_09-05-2025_23_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845976, 'pht': 3726}}" where mtr_portfolio_id = 22845951 and dashboard_run_id = 1801743 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`=22845951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466896, 0.03855804298533271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22845951_09-05-2025_23_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22845965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22845966, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22845967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22845968, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22845969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22845970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22845971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22845972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22845973, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22845974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22845975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22845976, '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 = 22846634 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': 2814593, 'mtr_portfolio_id': 22846634, 'created_at': datetime.datetime(2025, 5, 9, 23, 16, 58), 'result': '0.047956890190273965', 'result_long': None, 'result_double': None}] Qualite : 0.047956890190273965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22846634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22846634_09-05-2025_23_17_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22846634 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_P22846634_09-05-2025_23_17_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22846639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22846640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22846641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22846642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22846643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22846644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22846645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22846646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22846647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22846648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22846649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22846650, 'pht': 3726}}" where mtr_portfolio_id = 22846634 and dashboard_run_id = 1801743 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`=22846634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466897, 0.047956890190273965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22846634_09-05-2025_23_17_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22846639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22846640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22846641, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22846642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22846643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22846644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22846645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22846646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22846647, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22846648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22846649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22846650, '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 = 22847335 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': 2814635, 'mtr_portfolio_id': 22847335, 'created_at': datetime.datetime(2025, 5, 9, 23, 34, 57), 'result': '0.03896456844948922', 'result_long': None, 'result_double': None}] Qualite : 0.03896456844948922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22847335 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22847335_09-05-2025_23_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22847335 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_P22847335_09-05-2025_23_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847350, 'pht': 3726}}" where mtr_portfolio_id = 22847335 and dashboard_run_id = 1801743 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`=22847335 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466898, 0.03896456844948922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22847335_09-05-2025_23_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847339, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847340, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847343, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847348, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847350, '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 = 22847849 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': 2814684, 'mtr_portfolio_id': 22847849, 'created_at': datetime.datetime(2025, 5, 9, 23, 50, 59), 'result': '0.04179818298618503', 'result_long': None, 'result_double': None}] Qualite : 0.04179818298618503 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22847849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22847849_09-05-2025_23_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22847849 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_P22847849_09-05-2025_23_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847863, 'pht': 3726}}" where mtr_portfolio_id = 22847849 and dashboard_run_id = 1801743 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`=22847849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466899, 0.04179818298618503, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22847849_09-05-2025_23_50_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22847852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22847853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22847854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22847855, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22847856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22847857, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22847858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22847859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22847860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22847861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22847862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22847863, '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 = 22848228 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': 2814729, 'mtr_portfolio_id': 22848228, 'created_at': datetime.datetime(2025, 5, 10, 1, 1, 59), 'result': '0.046996415060963116', 'result_long': None, 'result_double': None}] Qualite : 0.046996415060963116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22848228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22848228_10-05-2025_01_02_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22848228 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_P22848228_10-05-2025_01_02_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22848255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22848256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22848257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22848258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22848259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22848260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22848261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22848262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22848263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22848264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22848265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22848266, 'pht': 3726}}" where mtr_portfolio_id = 22848228 and dashboard_run_id = 1801743 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`=22848228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10466900, 0.046996415060963116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22848228_10-05-2025_01_02_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22848255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22848256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22848257, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22848258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22848259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22848260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22848261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22848262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22848263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22848264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22848265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22848266, '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 (22808280,22808548,22808912,22809471,22809829,22810325,22810785,22811272,22811687,22812382,22812747,22813158,22813765,22814401,22814870,22815465,22816849,22817262,22817892,22818499,22818948,22819621,22820055,22820724,22821162,22821669,22822254,22824276,22824519,22825011,22825811,22826693,22827648,22828478,22829434,22830600,22831086,22831604,22832346,22832727,22833211,22833758,22834699,22835951,22836557,22837268,22838029,22838999,22839586,22840072,22840559,22841278,22841701,22842204,22842610,22843182,22843812,22844460,22845147,22845951,22846634,22847335,22847849,22848228) result : ((1357120566,), (1357120592,), (1357120613,), (1357120618,), (1357120620,), (1357120623,), (1357120642,), (1357120645,), (1357120716,), (1357120718,), (1357120992,), (1357121397,), (1357121425,), (1357121503,), (1357121506,), (1357121513,), (1357121547,), (1357121574,), (1357121576,), (1357121648,), (1357121645,), (1357121646,), (1357121647,), (1357121670,), (1357121672,), (1357121673,), (1357121698,), (1357121699,), (1357121700,), (1357121701,), (1357121725,), (1357121726,), (1357121728,), (1357121730,), (1357121731,), (1357121759,), (1357121762,), (1357121764,), (1357121767,), (1357121772,), (1357121812,), (1357121815,), (1357121817,), (1357121821,), (1357121823,), (1357121842,), (1357121843,), (1357121845,), (1357121847,), (1357121874,), (1357121877,), (1357122056,), (1357122058,), (1357122059,), (1357122060,), (1357122062,), (1357122086,), (1357122089,), (1357122091,), (1357122093,), (1357122096,), (1357122113,), (1357122114,), (1357122116,), (1357122118,), (1357122141,), (1357122143,), (1357122145,), (1357122147,), (1357122150,), (1357122176,), (1357122179,), (1357122181,), (1357122182,), (1357122184,), (1357122214,), (1357122216,), (1357122219,), (1357122256,), (1357122250,), (1357122252,), (1357122254,), (1357122281,), (1357122283,), (1357122285,), (1357122288,), (1357122290,), (1357122315,), (1357122316,), (1357122317,), (1357122318,), (1357122353,), (1357122355,), (1357122357,), (1357122387,), (1357122389,), (1357122391,), (1357122393,), (1357122394,), (1357122429,), (1357122431,), (1357122433,), (1357122435,), (1357122463,), (1357122465,), (1357122468,), (1357122470,), (1357122496,), (1357122498,), (1357122500,), (1357122502,), (1357122525,), (1357122527,), (1357122529,), (1357122532,), (1357122534,), (1357122555,), (1357122595,), (1357122600,), (1357122603,), (1357122607,), (1357122611,), (1357122642,), (1357122645,), (1357122648,), (1357122651,), (1357122685,), (1357122687,), (1357122689,), (1357122691,), (1357122694,), (1357122727,), (1357122728,), (1357122729,), (1357122730,), (1357122732,), (1357122733,), (1357122765,), (1357122766,), (1357122767,), (1357122814,), (1357122801,), (1357122804,), (1357122806,), (1357122809,), (1357122811,), (1357122839,), (1357122841,), (1357122844,), (1357122846,), (1357122849,), (1357122876,), (1357122878,), (1357122880,), (1357122882,), (1357122883,), (1357122912,), (1357122914,), (1357122917,), (1357122919,), (1357122923,), (1357122926,), (1357122952,), (1357122955,), (1357122957,), (1357122959,), (1357122995,), (1357122998,), (1357123001,), (1357123004,), (1357123007,), (1357123011,), (1357123050,), (1357123053,), (1357123055,), (1357123058,), (1357123061,), (1357123082,), (1357123084,), (1357123085,), (1357123114,), (1357123116,), (1357123118,), (1357123120,), (1357123123,), (1357123124,), (1357123149,), (1357123152,), (1357123154,), (1357123156,), (1357123158,), (1357123249,), (1357123252,), (1357123255,), (1357123290,), (1357123292,), (1357123295,), (1357123312,), (1357123343,), (1357123519,), (1357123530,), (1357123549,), (1357123561,), (1357123564,), (1357123615,), (1357123618,), (1357123623,), (1357123627,), (1357123671,), (1357123668,), (1357123704,), (1357123707,), (1357123709,), (1357123711,), (1357123713,), (1357123753,), (1357123755,), (1357123758,), (1357123760,), (1357123762,), (1357123793,), (1357123795,), (1357123797,), (1357123799,), (1357123801,), (1357123826,), (1357123828,), (1357123874,), (1357123876,), (1357123878,), (1357123880,), (1357123883,), (1357123884,), (1357123913,), (1357123915,), (1357123963,), (1357123965,), (1357123967,), (1357123970,), (1357123971,), (1357124002,), (1357124018,), (1357124035,), (1357124064,), (1357124067,), (1357124069,), (1357124073,), (1357124076,), (1357124077,), (1357124101,), (1357124103,), (1357124105,), (1357124107,), (1357124110,), (1357124128,), (1357124131,), (1357124133,), (1357124136,), (1357124138,), (1357124175,), (1357124178,), (1357124180,), (1357124211,), (1357124213,), (1357124217,), (1357124219,), (1357124221,), (1357124269,), (1357124258,), (1357124261,), (1357124263,), (1357124265,), (1357124267,), (1357124298,), (1357124299,), (1357124300,), (1357124342,), (1357124344,), (1357124346,), (1357124349,), (1357124380,), (1357124382,), (1357124384,), (1357124386,), (1357124423,), (1357124425,), (1357124427,), (1357124429,), (1357124473,), (1357124476,), (1357124479,), (1357124480,), (1357124482,), (1357124483,), (1357124526,), (1357124527,), (1357124530,), (1357124533,), (1357124538,), (1357124541,), (1357124572,), (1357124576,), (1357124578,), (1357124580,), (1357124581,), (1357124624,), (1357124649,), (1357124650,), (1357124651,), (1357124652,), (1357124695,), (1357124696,), (1357124697,), (1357124698,), (1357124723,), (1357124724,), (1357124725,), (1357124758,), (1357124760,), (1357124762,), (1357124800,), (1357124802,), (1357124804,), (1357124806,), (1357124809,), (1357124811,), (1357124840,), (1357124842,), (1357124844,), (1357124846,), (1357124851,), (1357124854,), (1357124898,), (1357124888,), (1357124891,), (1357124893,), (1357124926,), (1357124928,), (1357124930,), (1357124932,), (1357124934,), (1357124939,), (1357124968,), (1357124971,), (1357124974,), (1357124977,), (1357124981,), (1357124985,), (1357125023,), (1357125026,), (1357125028,), (1357125030,), (1357125032,), (1357125064,), (1357125066,), (1357125069,), (1357125072,), (1357125075,), (1357125076,), (1357125122,), (1357125127,), (1357125129,), (1357125132,), (1357125135,), (1357125170,), (1357125172,), (1357125174,), (1357125209,), (1357125212,), (1357125214,), (1357125216,), (1357125218,), (1357125222,), (1357125261,), (1357125263,), (1357125266,), (1357125269,), (1357125271,), (1357125276,), (1357125300,), (1357125304,), (1357125308,), (1357125347,), (1357125350,), (1357125353,), (1357125356,), (1357125359,), (1357125402,), (1357125404,), (1357125405,), (1357125406,), (1357125442,), (1357125444,), (1357125446,), (1357125495,), (1357125497,), (1357125498,), (1357125499,), (1357125502,), (1357125533,), (1357125535,), (1357125537,), (1357125539,), (1357125582,), (1357125576,), (1357125578,), (1357125580,), (1357125611,), (1357125613,), (1357125615,), (1357125616,), (1357125643,), (1357125645,), (1357125646,), (1357125647,), (1357125688,), (1357125690,), (1357125691,), (1357125692,), (1357125693,), (1357125696,), (1357125731,), (1357125847,), (1357125901,), (1357125904,), (1357125907,), (1357125935,), (1357125937,), (1357125939,), (1357125941,), (1357125943,), (1357125947,), (1357125972,), (1357125999,), (1357126035,), (1357126086,), (1357126145,), (1357126423,), (1357126438,), (1357126441,), (1357126443,), (1357126526,), (1357126534,), (1357126539,), (1357126545,), (1357126552,), (1357126557,), (1357126563,), (1357126564,), (1357126574,), (1357126580,), (1357126584,), (1357126611,), (1357126596,), (1357126601,), (1357126605,), (1357126607,), (1357126635,), (1357126644,), (1357126649,), (1357126687,), (1357126691,), (1357126694,), (1357126697,), (1357126743,), (1357126748,), (1357126753,), (1357126758,), (1357126762,), (1357126766,), (1357126808,), (1357126810,), (1357126812,), (1357126815,), (1357126819,), (1357126824,), (1357126858,), (1357126862,), (1357126867,), (1357126872,), (1357126913,), (1357126917,), (1357126921,), (1357126923,), (1357126927,), (1357126974,), (1357126979,), (1357126985,), (1357127012,), (1357127042,), (1357127164,), (1357127168,), (1357127173,), (1357127176,), (1357127179,), (1357127228,), (1357127232,), (1357127235,), (1357127239,), (1357127245,), (1357127251,), (1357127347,), (1357127352,), (1357127359,), (1357127474,), (1357127478,), (1357127483,), (1357127488,), (1357127491,), (1357127534,), (1357127539,), (1357127542,), (1357127545,), (1357127549,), (1357127573,), (1357127576,), (1357127580,), (1357127627,), (1357127632,), (1357127637,), (1357127641,), (1357127645,), (1357127648,), (1357127702,), (1357127691,), (1357127694,), (1357127696,), (1357127698,), (1357127741,), (1357127745,), (1357127748,), (1357127756,), (1357127830,), (1357127835,), (1357127885,), (1357127889,), (1357127891,), (1357127896,), (1357127935,), (1357127938,), (1357127942,), (1357127946,), (1357127983,), (1357127989,), (1357127993,), (1357127996,), (1357128034,), (1357128038,), (1357128043,), (1357128098,), (1357128101,), (1357128104,), (1357128108,), (1357128163,), (1357128168,), (1357128173,), (1357128178,), (1357128230,), (1357128234,), (1357128237,), (1357128241,), (1357128285,), (1357128296,), (1357128304,), (1357128348,), (1357128351,), (1357128355,), (1357128359,), (1357128364,), (1357128372,), (1357128533,), (1357128538,), (1357128542,), (1357128598,), (1357128602,), (1357128607,), (1357128659,), (1357128653,), (1357128656,), (1357128709,), (1357128714,), (1357128718,), (1357128722,), (1357128727,), (1357128732,), (1357128766,), (1357128772,), (1357128776,), (1357128783,), (1357128787,), (1357128819,), (1357128826,), (1357128830,), (1357128844,), (1357128902,), (1357128908,), (1357128913,), (1357128917,), (1357128921,), (1357128961,), (1357128966,), (1357128971,), (1357128976,), (1357129019,), (1357129027,), (1357129032,), (1357129034,), (1357129039,), (1357129075,), (1357129149,), (1357129205,), (1357129209,), (1357129212,), (1357129215,), (1357129219,), (1357129260,), (1357129265,), (1357129270,), (1357129315,), (1357129319,), (1357129330,), (1357129334,), (1357129350,), (1357129395,), (1357129399,), (1357129405,), (1357129411,), (1357129415,), (1357129463,), (1357129466,), (1357129470,), (1357129473,), (1357129543,), (1357129547,), (1357129551,), (1357129554,), (1357129591,), (1357129597,), (1357129703,), (1357129695,), (1357129697,), (1357129700,), (1357129820,), (1357129822,), (1357129825,), (1357129828,), (1357129832,), (1357129877,), (1357129880,), (1357129883,), (1357129886,), (1357129889,), (1357129933,), (1357129936,), (1357129939,), (1357129942,), (1357129999,), (1357130007,), (1357130011,), (1357130016,), (1357130021,), (1357130073,), (1357130077,), (1357130080,), (1357130101,), (1357130106,), (1357130109,), (1357130166,), (1357130170,), (1357130173,), (1357130214,), (1357130217,), (1357130219,), (1357130223,), (1357130227,), (1357130230,), (1357130307,), (1357130309,), (1357130312,), (1357130315,), (1357130418,), (1357130435,), (1357130438,), (1357130560,), (1357130564,), (1357130567,), (1357130571,), (1357130575,), (1357130611,), (1357130612,), (1357130613,), (1357130615,), (1357130617,), (1357130899,), (1357130930,), (1357130972,), (1357131639,), (1357131722,), (1357131784,), (1357131846,), (1357131900,), (1357131950,), (1357132198,), (1357132277,), (1357132361,), (1357132437,), (1357132822,), (1357132713,), (1357132768,), (1357133417,), (1357133433,), (1357133462,), (1357133489,), (1357133536,), (1357133838,), (1357133865,), (1357133888,), (1357133895,), (1357133902,), (1357134074,), (1357134079,), (1357134081,), (1357134542,), (1357134736,), (1357134908,), (1357134913,), (1357134918,), (1357134956,), (1357135186,), (1357135225,), (1357135237,), (1357135239,), (1357135243,), (1357135245,), (1357135500,), (1357135523,), (1357135534,), (1357135562,), (1357135612,), (1357135616,), (1357135618,), (1357135620,), (1357135624,), (1357135809,), (1357135836,), (1357135864,), (1357135888,), (1357135937,), (1357135943,), (1357135946,), (1357135955,), (1357135966,), (1357136019,), (1357136023,), (1357136040,), (1357136055,), (1357136062,), (1357136166,), (1357136170,), (1357136172,), (1357136174,), (1357136177,), (1357136220,), (1357136222,), (1357136225,), (1357136279,), (1357136282,), (1357136284,), (1357136286,), (1357136290,), (1357136292,), (1357136342,), (1357136348,), (1357136352,), (1357136357,), (1357136363,), (1357136415,), (1357136406,), (1357136409,), (1357136413,), (1357136455,), (1357136459,), (1357136462,), (1357136466,), (1357136469,), (1357136471,), (1357136512,), (1357136515,), (1357136517,), (1357136524,), (1357136532,), (1357136540,), (1357136609,), (1357136613,), (1357136733,), (1357136737,), (1357136742,), (1357136746,), (1357136798,), (1357136811,), (1357136814,), (1357136816,), (1357136819,), (1357136862,), (1357136864,), (1357136867,), (1357136870,), (1357136873,), (1357136912,), (1357136913,), (1357136916,), (1357136919,), (1357136922,), (1357136965,), (1357136970,), (1357136972,), (1357136976,), (1357136979,), (1357136983,), (1357137032,), (1357137034,), (1357137036,), (1357137096,), (1357137130,), (1357137136,), (1357137138,), (1357137142,), (1357137170,), (1357137201,), (1357137203,), (1357137205,), (1357137207,), (1357137246,), (1357137250,), (1357137253,), (1357137255,), (1357137306,), (1357137319,), (1357137322,), (1357137325,), (1357137327,), (1357137333,), (1357137403,), (1357137376,), (1357137386,), (1357137391,), (1357137398,), (1357137433,), (1357137478,), (1357137482,), (1357137529,), (1357137532,), (1357137536,), (1357137543,), (1357137547,), (1357137551,), (1357137587,), (1357137592,), (1357137597,), (1357137601,), (1357137636,), (1357137639,), (1357137643,), (1357137647,), (1357137679,), (1357137683,), (1357137688,), (1357137693,), (1357137698,), (1357137739,), (1357137741,), (1357137743,), (1357137745,), (1357137746,), (1357137790,), (1357137793,), (1357137797,), (1357137800,), (1357137845,), (1357137847,), (1357137848,), (1357137850,), (1357137853,), (1357137857,), (1357137915,), (1357137924,), (1357137940,), (1357138012,), (1357138016,), (1357138018,), (1357138019,), (1357138067,), (1357138070,), (1357138074,), (1357138076,), (1357138080,), (1357138138,), (1357138141,), (1357138144,), (1357138148,), (1357138357,), (1357138471,), (1357138474,), (1357138479,), (1357138490,), (1357138494,), (1357138558,), (1357138546,), (1357138548,), (1357138551,), (1357138554,), (1357138601,), (1357138604,), (1357138607,), (1357138649,), (1357138657,), (1357138660,), (1357138672,), (1357138684,), (1357138775,), (1357138780,), (1357138784,), (1357138787,), (1357138790,), (1357138793,), (1357138852,), (1357138885,), (1357138902,), (1357138904,), (1357139094,), (1357139097,), (1357139099,), (1357139102,), (1357139105,), (1357139116,), (1357139183,), (1357139189,), (1357139206,), (1357139208,), (1357139277,), (1357139278,), (1357139280,), (1357139282,), (1357139284,), (1357139295,), (1357139471,), (1357139475,), (1357139478,), (1357139502,), (1357139631,), (1357139634,), (1357139638,), (1357139641,), (1357139645,), (1357139649,), (1357139774,), (1357139810,), (1357139845,), (1357139863,), (1357139877,), (1357140153,), (1357140163,), (1357140170,), (1357140176,), (1357140182,), (1357140189,), (1357140336,), (1357140373,), (1357140383,), (1357140390,), (1357140410,), (1357141591,), (1357141617,), (1357141646,), (1357141657,), (1357141689,), (1357141708,), (1357141731,), (1357141762,), (1357141810,), (1357141871,), (1357141899,), (1357147124,), (1357147115,), (1357147117,), (1357147120,), (1357147122,), (1357147164,), (1357147166,), (1357147170,), (1357147174,), (1357147361,), (1357147365,), (1357147369,), (1357147374,), (1357147377,), (1357147396,), (1357147398,), (1357147406,), (1357147420,), (1357147433,), (1357147437,), (1357147512,), (1357147515,), (1357147517,), (1357147549,), (1357147551,), (1357147554,), (1357147557,), (1357147560,), (1357147562,), (1357147611,), (1357147617,), (1357147623,), (1357147629,), (1357147652,), (1357147654,), (1357147657,), (1357147660,), (1357147663,), (1357147666,), (1357147689,), (1357147693,), (1357147696,), (1357147699,), (1357147899,), (1357147935,), (1357147969,), (1357148008,), (1357148040,), (1357148069,), (1357148261,), (1357148263,), (1357148266,), (1357148269,), (1357148303,), (1357148306,), (1357148309,), (1357148312,), (1357148315,), (1357148318,), (1357148336,), (1357148339,), (1357148342,), (1357148406,), (1357148433,), (1357148436,), (1357148439,), (1357148461,), (1357148463,), (1357148605,), (1357148578,), (1357148580,), (1357148589,), (1357148864,), (1357148901,), (1357148911,), (1357148916,), (1357148919,), (1357148921,), (1357149006,), (1357149009,), (1357149013,), (1357149018,), (1357149098,), (1357149100,), (1357149103,), (1357149110,), (1357149117,), (1357149156,), (1357149159,), (1357149162,), (1357149168,), (1357149170,), (1357149227,), (1357149229,), (1357149232,), (1357149235,), (1357149237,), (1357149270,), (1357149272,), (1357149274,), (1357149276,), (1357149279,), (1357149283,), (1357149307,), (1357149450,), (1357149454,), (1357149457,), (1357149490,), (1357149502,), (1357149507,), (1357149511,), (1357149519,), (1357149522,), (1357149558,), (1357149560,), (1357149562,), (1357149565,), (1357149569,), (1357149571,), (1357149595,), (1357149598,), (1357149600,), (1357149602,), (1357149636,), (1357149638,), (1357149641,), (1357149644,), (1357149897,), (1357149914,), (1357149921,), (1357150540,), (1357150546,), (1357150553,), (1357150657,), (1357150640,), (1357150647,), (1357150651,), (1357150653,), (1357150707,), (1357150712,), (1357150716,), (1357150719,), (1357150750,), (1357150753,), (1357150756,), (1357150768,), (1357150859,), (1357150864,), (1357150867,), (1357151243,), (1357151275,), (1357151300,), (1357151332,), (1357151358,), (1357151583,), (1357151588,), (1357151592,), (1357151596,), (1357151600,), (1357151769,), (1357151804,), (1357151806,), (1357151810,), (1357151814,), (1357151839,), (1357151842,), (1357151845,), (1357151848,), (1357151853,), (1357151880,), (1357151883,), (1357151887,), (1357151891,), (1357151894,), (1357151933,), (1357151935,), (1357151938,), (1357151990,), (1357151993,), (1357151996,), (1357151999,), (1357152007,), (1357152114,), (1357152146,), (1357152165,), (1357152169,), (1357152175,), (1357152181,), (1357152218,), (1357152221,), (1357152225,), (1357152408,), (1357152411,), (1357152414,), (1357152417,), (1357152420,), (1357152451,), (1357152455,), (1357152458,), (1357152519,), (1357152493,), (1357152506,), (1357152510,), (1357152620,), (1357152623,), (1357152626,), (1357152629,), (1357152631,), (1357152790,), (1357152798,), (1357152808,), (1357152813,), (1357152816,), (1357152961,), (1357152965,), (1357152969,), (1357152972,), (1357153057,), (1357153062,), (1357153068,), (1357153072,), (1357153077,), (1357153082,), (1357153115,), (1357153118,), (1357153122,), (1357153126,), (1357153130,), (1357153160,), (1357153163,), (1357153166,), (1357153169,), (1357153226,), (1357153230,), (1357153235,), (1357153263,), (1357153357,), (1357153380,), (1357153394,), (1357153401,), (1357153471,), (1357153476,), (1357153480,), (1357153482,), (1357153490,), (1357153495,), (1357153521,), (1357153524,), (1357153529,), (1357153532,), (1357153537,), (1357153564,), (1357153568,), (1357153571,), (1357153573,), (1357153577,), (1357153580,), (1357153602,), (1357153607,), (1357153613,), (1357153617,), (1357153649,), (1357153654,), (1357153658,), (1357153661,), (1357153697,), (1357153701,), (1357153704,), (1357153707,), (1357153711,), (1357153714,), (1357153759,), (1357153752,), (1357153756,), (1357153814,), (1357153818,), (1357153822,), (1357153825,), (1357153828,), (1357153831,), (1357153862,), (1357153954,), (1357154009,), (1357154013,), (1357154016,), (1357154058,), (1357154061,), (1357154064,), (1357154066,), (1357154068,), (1357154119,), (1357154125,), (1357154131,), (1357154135,), (1357154141,), (1357154173,), (1357154177,), (1357154181,), (1357154184,), (1357154188,), (1357154190,), (1357154218,), (1357154222,), (1357154224,), (1357154227,), (1357154265,), (1357154268,), (1357154271,), (1357154275,), (1357154278,), (1357154281,), (1357154318,), (1357154322,), (1357154324,), (1357154325,), (1357154367,), (1357154370,), (1357154413,), (1357154417,), (1357154419,), (1357154422,), (1357154426,), (1357154485,), (1357154487,), (1357154504,), (1357154505,), (1357154575,), (1357154579,), (1357154581,), (1357154582,), (1357154590,), (1357154649,), (1357154652,), (1357154654,), (1357154657,), (1357154705,), (1357154709,), (1357154712,), (1357154714,), (1357154716,), (1357154770,), (1357154758,), (1357154760,), (1357154763,), (1357154765,), (1357154768,), (1357154807,), (1357154809,), (1357154812,), (1357154814,), (1357154852,), (1357154854,), (1357154856,), (1357154857,), (1357154861,), (1357154865,), (1357154906,), (1357154908,), (1357154910,), (1357154912,), (1357154969,), (1357154973,), (1357154975,), (1357154976,), (1357154977,), (1357154979,), (1357155028,), (1357155030,), (1357155033,), (1357155036,), (1357155039,), (1357155043,), (1357155105,), (1357155112,), (1357155113,), (1357155114,), (1357155146,), (1357155148,), (1357155150,), (1357155152,), (1357155155,), (1357155206,), (1357155208,), (1357155210,), (1357155213,), (1357155215,), (1357155218,), (1357155249,), (1357155251,), (1357155255,), (1357155325,), (1357155328,), (1357155330,), (1357155331,), (1357155333,), (1357155335,), (1357155366,), (1357155369,), (1357155371,), (1357155374,), (1357155456,), (1357155483,), (1357155511,), (1357155539,), (1357156783,), (1357156876,), (1357156960,), (1357157050,), (1357157141,), (1357157226,), (1357157874,), (1357157689,), (1357157718,), (1357157745,), (1357157827,), (1357158405,), (1357158459,), (1357158512,), (1357158571,), (1357158623,), (1357158697,), (1357159201,), (1357159210,), (1357159216,), (1357159219,), (1357159896,), (1357159901,), (1357159906,), (1357159938,), (1357159972,), (1357159974,), (1357159977,), (1357159979,), (1357160012,), (1357160015,), (1357160019,), (1357160027,), (1357160031,), (1357160061,), (1357160066,), (1357160070,), (1357160153,), (1357160158,), (1357160165,), (1357160195,), (1357160211,), (1357160337,), (1357160340,), (1357160350,), (1357160388,), (1357160515,), (1357160546,), (1357160577,), (1357160590,), (1357160596,), (1357160600,), (1357160699,), (1357160702,), (1357160706,), (1357160711,), (1357160717,), (1357160722,), (1357160753,), (1357160759,), (1357160763,), (1357160768,), (1357160854,), (1357160829,), (1357160833,), (1357160839,), (1357160845,), (1357160848,), (1357160929,), (1357160937,), (1357160945,), (1357160949,), (1357160968,), (1357161033,), (1357161038,), (1357161046,), (1357161087,), (1357161090,), (1357161096,), (1357161100,), (1357161106,), (1357161160,), (1357161165,), (1357161169,), (1357161174,), (1357161178,), (1357161184,), (1357161220,), (1357161224,), (1357161269,), (1357161273,), (1357161276,), (1357161281,), (1357161285,), (1357161317,), (1357161320,), (1357161323,), (1357161327,), (1357161330,), (1357161336,), (1357161371,), (1357161373,), (1357161375,), (1357161418,), (1357161422,), (1357161425,), (1357161432,), (1357161440,), (1357161444,), (1357161505,), (1357161508,), (1357161511,), (1357161516,), (1357161520,), (1357161525,), (1357161574,), (1357161576,), (1357161698,), (1357161758,), (1357161765,), (1357161770,), (1357161775,), (1357161853,), (1357161829,), (1357161833,), (1357161838,), (1357161845,), (1357161896,), (1357161899,), (1357161900,), (1357161902,), (1357161946,), (1357161948,), (1357161951,), (1357161955,), (1357162160,), (1357162164,), (1357162167,), (1357162169,), (1357162173,), (1357162177,), (1357162215,), (1357162217,), (1357162220,), (1357162266,), (1357162270,), (1357162272,), (1357162308,), (1357162310,), (1357162314,), (1357162318,), (1357162322,), (1357162354,), (1357162357,), (1357162372,), (1357162375,), (1357162382,), (1357162446,), (1357162455,), (1357162500,), (1357162504,), (1357162508,), (1357162514,), (1357162516,), (1357162520,), (1357162572,), (1357162576,), (1357162579,), (1357162582,), (1357162635,), (1357162638,), (1357162721,), (1357162723,), (1357162725,), (1357162729,), (1357162732,), (1357162784,), (1357162788,), (1357162791,), (1357162794,), (1357162796,), (1357162852,), (1357162860,), (1357162866,), (1357162947,), (1357162931,), (1357162935,), (1357162938,), (1357162941,), (1357162944,), (1357162995,), (1357162998,), (1357163001,), (1357163005,), (1357163008,), (1357163013,), (1357163048,), (1357163051,), (1357163052,), (1357163096,), (1357163101,), (1357163104,), (1357163107,), (1357163109,), (1357163163,), (1357163168,), (1357163172,), (1357163178,), (1357163183,), (1357163189,), (1357163275,), (1357163278,), (1357163281,), (1357163334,), (1357163341,), (1357163349,), (1357163352,), (1357163356,), (1357163392,), (1357163394,), (1357163398,), (1357163487,), (1357163546,), (1357163592,), (1357163599,), (1357163601,), (1357163669,), (1357163673,), (1357163725,), (1357163738,), (1357163744,), (1357163749,), (1357163753,), (1357163796,), (1357163800,), (1357163803,), (1357163806,), (1357163809,), (1357164226,), (1357164256,), (1357164288,), (1357164322,), (1357164412,), (1357164498,), (1357164526,), (1357164624,), (1357164605,), (1357164613,), (1357164619,), (1357164978,), (1357165008,), (1357165046,), (1357165115,), (1357165625,), (1357165684,), (1357165743,), (1357165794,), (1357166752,), (1357166856,), (1357166948,), (1357167007,), (1357167376,), (1357167443,), (1357167470,), (1357167507,), (1357167566,), (1357167972,), (1357167984,), (1357167988,), (1357167993,), (1357167996,), (1357168539,), (1357168579,), (1357168658,), (1357168661,), (1357168664,), (1357168698,), (1357168700,), (1357168703,), (1357168706,), (1357168721,), (1357168772,), (1357169030,), (1357169061,), (1357169090,), (1357169115,), (1357169325,), (1357169363,), (1357169849,), (1357174846,), (1357185163,), (1357185232,), (1357185282,), (1357185364,), (1357185389,), (1357185513,), (1357185516,), (1357185519,), (1357185559,), (1357185587,), (1357185599,), (1357185601,), (1357185603,), (1357185712,), (1357185714,), (1357185716,), (1357185724,), (1357185749,), (1357185837,), (1357185861,), (1357185909,), (1357186034,), (1357186039,), (1357186043,), (1357186046,), (1357186048,), (1357186051,), (1357186105,), (1357186109,), (1357186111,), (1357186113,), (1357186116,), (1357186167,), (1357186156,), (1357186159,), (1357186161,), (1357186163,), (1357186164,), (1357186240,), (1357186320,), (1357186328,), (1357186332,), (1357186334,), (1357186357,), (1357186360,), (1357186364,), (1357186368,), (1357186371,), (1357186376,), (1357186421,), (1357186425,), (1357186428,), (1357186430,), (1357186432,), (1357186499,), (1357186506,), (1357186509,), (1357186512,), (1357186571,), (1357186577,), (1357186582,), (1357186615,), (1357186617,), (1357186796,), (1357186801,), (1357186803,), (1357186806,), (1357186810,), (1357186856,), (1357186860,), (1357186864,), (1357186880,), (1357186967,), (1357186972,), (1357186976,), (1357186981,), (1357186986,), (1357186989,), (1357187010,), (1357187020,), (1357187022,), (1357187025,), (1357187029,), (1357187134,), (1357187164,), (1357187191,), (1357187219,), (1357187249,), (1357187495,), (1357187502,), (1357187505,), (1357187517,), (1357187554,), (1357187562,), (1357187644,), (1357187648,), (1357187653,), (1357187659,), (1357187677,), (1357187684,), (1357187688,), (1357187693,), (1357187701,), (1357187743,), (1357187719,), (1357187724,), (1357187731,), (1357187738,), (1357187780,), (1357187785,), (1357187789,), (1357187792,), (1357188005,), (1357188055,), (1357188098,), (1357188143,), (1357188176,), (1357188213,), (1357188499,), (1357188530,), (1357188559,), (1357188591,), (1357188853,), (1357188860,), (1357188890,), (1357188897,), (1357188906,), (1357188940,), (1357188945,), (1357188952,), (1357188957,), (1357188961,), (1357189001,), (1357189013,), (1357189051,), (1357189358,), (1357189404,), (1357189434,), (1357189461,), (1357189488,), (1357189521,), (1357189681,), (1357189697,), (1357189704,), (1357189706,), (1357189709,), (1357189886,), (1357189931,), (1357189935,), (1357189940,), (1357189976,), (1357189979,), (1357189992,), (1357189999,), (1357190001,), (1357190002,), (1357190046,), (1357190050,), (1357190055,), (1357190103,), (1357190105,), (1357190109,), (1357190121,), (1357190126,), (1357190163,), (1357190166,), (1357190169,), (1357190172,), (1357190202,), (1357190206,), (1357190215,), (1357190221,), (1357190395,), (1357190384,), (1357190386,), (1357190389,), (1357190391,), (1357190435,), (1357190438,), (1357190444,), (1357190447,), (1357190450,), (1357190515,), (1357190517,), (1357190520,), (1357190523,), (1357190527,), (1357190531,), (1357190561,), (1357190564,), (1357190610,), (1357190613,), (1357190624,), (1357190636,), (1357190693,), (1357190698,), (1357190704,), (1357190708,), (1357190711,), (1357190756,), (1357190759,), (1357190762,), (1357190765,), (1357190805,), (1357190810,), (1357190814,), (1357190818,), (1357190822,), (1357190826,), (1357190859,), (1357190864,), (1357190868,), (1357190872,), (1357190876,), (1357190929,), (1357190934,), (1357190937,), (1357190941,), (1357190946,), (1357190988,), (1357190992,), (1357190996,), (1357191000,), (1357191004,), (1357191007,), (1357191031,), (1357191036,), (1357191039,), (1357191083,), (1357191086,), (1357191090,), (1357191094,), (1357191097,), (1357191130,), (1357191134,), (1357191135,), (1357191137,), (1357191141,), (1357191188,), (1357191192,), (1357191196,), (1357191264,), (1357191254,), (1357191258,), (1357191261,), (1357191308,), (1357191314,), (1357191317,), (1357191320,), (1357191323,), (1357191348,), (1357191360,), (1357191364,), (1357191369,), (1357191372,), (1357191408,), (1357191412,), (1357191415,), (1357191483,), (1357191521,), (1357191550,), (1357191578,), (1357191606,), (1357191610,), (1357191743,), (1357191749,), (1357191754,), (1357191767,), (1357191770,), (1357191772,), (1357191785,), (1357191789,), (1357191792,), (1357191834,), (1357191840,), (1357191844,), (1357191848,), (1357191853,), (1357191856,), (1357191980,), (1357192006,), (1357192035,), (1357192063,), (1357192091,), (1357192222,), (1357192224,), (1357192227,), (1357192244,), (1357192277,), (1357192405,), (1357192435,), (1357192454,), (1357192458,), (1357192611,), (1357192615,), (1357192618,), (1357192620,), (1357192624,), (1357192629,), (1357192699,), (1357192703,), (1357192706,), (1357192710,), (1357192716,), (1357192722,), (1357192804,), (1357192850,), (1357192854,), (1357192875,), (1357193032,), (1357193046,), (1357193057,), (1357193070,), (1357193083,), (1357193246,), (1357193220,), (1357193243,), (1357193343,), (1357193355,), (1357193365,), (1357193372,), (1357193756,), (1357193782,), (1357193795,), (1357193809,), (1357193820,), (1357194271,), (1357194305,), (1357194332,), (1357194340,), (1357194349,), (1357194541,), (1357194554,), (1357194582,), (1357194611,), (1357194643,), (1357194924,), (1357194978,), (1357194981,), (1357194985,), (1357194990,), (1357195034,), (1357195036,), (1357195038,), (1357195101,), (1357195103,), (1357195107,), (1357195110,), (1357195113,), (1357195152,), (1357195154,), (1357195158,), (1357195429,), (1357195435,), (1357195439,), (1357195452,), (1357195538,), (1357195567,), (1357195642,), (1357195648,), (1357195932,), (1357195963,), (1357195997,), (1357196027,), (1357196071,), (1357196074,), (1357196078,), (1357196125,), (1357196136,), (1357196144,), (1357196152,), (1357196165,), (1357196170,), (1357196845,), (1357196902,), (1357196959,), (1357197036,), (1357197117,), (1357197209,), (1357198216,), (1357197887,), (1357197946,), (1357198008,), (1357198071,), (1357198461,), (1357198525,), (1357198581,), (1357198711,), (1357198903,), (1357198972,), (1357199281,), (1357199329,), (1357199407,), (1357199475,), (1357200085,), (1357200131,), (1357200172,), (1357200212,), (1357200248,), (1357200297,), (1357200805,), (1357200862,), (1357200901,), (1357200939,), (1357201618,), (1357201668,), (1357201692,), (1357201718,), (1357201735,), (1357202050,), (1357202082,), (1357202109,), (1357202128,), (1357202147,), (1357202175,), (1357202359,), (1357202377,), (1357202495,), (1357202925,), (1357202967,), (1357203011,), (1357203427,), (1357203476,), (1357203518,), (1357203575,), (1357203600,), (1357203628,), (1357204307,), (1357204395,), (1357204453,), (1357204494,), (1357204532,), (1357204571,), (1357204781,), (1357204851,), (1357204903,), (1357204954,), (1357205021,), (1357205403,), (1357205426,), (1357205432,), (1357205640,), (1357205672,), (1357205685,), (1357205695,), (1357205724,), (1357206545,), (1357206560,), (1357206607,), (1357206678,), (1357206972,), (1357206894,), (1357206899,), (1357206940,), (1357207152,), (1357207189,), (1357207252,), (1357207306,), (1357207360,), (1357207658,), (1357207693,), (1357207711,), (1357207723,), (1357207739,), (1357207767,), (1357207887,), (1357207890,), (1357207893,), (1357207983,), (1357207986,), (1357207989,), (1357207991,), (1357207995,), (1357207999,), (1357208040,), (1357208044,), (1357208048,), (1357208099,), (1357208281,), (1357208454,), (1357208781,), (1357208785,), (1357208789,), (1357208793,), (1357208938,), (1357208966,), (1357208993,), (1357209019,), (1357209047,), (1357209052,), (1357209617,), (1357209675,), (1357209813,), (1357209863,), (1357210330,), (1357210384,), (1357210431,), (1357210823,), (1357211186,), (1357211215,), (1357211222,), (1357211224,), (1357211227,), (1357211260,), (1357211263,), (1357211268,), (1357211272,), (1357211523,), (1357211539,), (1357211542,), (1357211544,), (1357211549,), (1357211593,), (1357211599,), (1357211603,), (1357211607,), (1357213542,), (1357213528,), (1357213533,), (1357213539,), (1357213602,), (1357213701,), (1357213713,), (1357214071,), (1357214074,), (1357214328,), (1357214406,), (1357214434,), (1357214763,), (1357214799,), (1357215009,), (1357215013,), (1357215017,), (1357215024,), (1357215036,), (1357215324,), (1357215344,), (1357215347,), (1357215350,), (1357215544,), (1357215596,), (1357215646,), (1357215701,), (1357216036,), (1357216062,), (1357216088,), (1357216425,), (1357216414,), (1357216422,), (1357216877,), (1357216989,), (1357217018,), (1357217049,), (1357217075,), (1357217268,), (1357217273,), (1357217277,), (1357217280,), (1357217284,), (1357217291,), (1357217385,), (1357217388,), (1357217391,), (1357217393,), (1357217395,), (1357217444,), (1357217447,), (1357217450,), (1357217452,), (1357217495,), (1357217499,), (1357217505,), (1357217509,), (1357217512,), (1357217517,), (1357217544,), (1357217549,), (1357217554,), (1357217557,), (1357217564,), (1357217732,), (1357217747,), (1357217754,), (1357217758,), (1357217762,), (1357217767,), (1357217794,), (1357217799,), (1357217803,), (1357217806,), (1357217860,), (1357217892,), (1357217921,), (1357217948,), (1357217978,), (1357218008,), (1357218307,), (1357218310,), (1357218333,), (1357219047,), (1357219065,), (1357219099,), (1357219133,), (1357219157,), (1357219163,), (1357219207,), (1357219221,), (1357219235,), (1357219238,), (1357219241,), (1357219320,), (1357219301,), (1357219307,), (1357219313,), (1357219376,), (1357219383,), (1357219394,), (1357219397,), (1357219401,), (1357219405,), (1357219459,), (1357219463,), (1357219479,), (1357219483,), (1357219527,), (1357219531,), (1357219535,), (1357219587,), (1357219592,), (1357219597,), (1357219627,), (1357219635,), (1357219664,), (1357219668,), (1357219671,), (1357219673,), (1357219677,), (1357219681,), (1357219719,), (1357219733,), (1357219755,), (1357219759,), (1357219823,), (1357219827,), (1357219830,), (1357219836,), (1357219863,), (1357219870,), (1357219968,), (1357219989,), (1357219994,), (1357219997,), (1357220278,), (1357220308,), (1357220340,), (1357220368,), (1357220389,), (1357220417,), (1357220549,), (1357220564,), (1357220593,), (1357220602,), (1357220620,), (1357220649,), (1357220756,), (1357220760,), (1357220763,), (1357220766,), (1357220770,), (1357220966,), (1357220971,), (1357220975,), (1357220979,), (1357220984,), (1357221051,), (1357221055,), (1357221057,), (1357221129,), (1357221224,), (1357221273,), (1357221279,), (1357221292,), (1357221322,), (1357221501,), (1357221454,), (1357221458,), (1357221465,), (1357221490,), (1357221498,), (1357221605,), (1357221608,), (1357221611,), (1357221742,), (1357221744,), (1357221747,), (1357221750,), (1357221754,), (1357221841,), (1357221844,), (1357221846,), (1357221847,), (1357221852,), (1357221862,), (1357221972,), (1357221977,), (1357221980,), (1357221985,), (1357222067,), (1357222070,), (1357222072,), (1357222075,), (1357222077,), (1357222084,), (1357222126,), (1357222127,), (1357222129,), (1357222261,), (1357222265,), (1357222268,), (1357222300,), (1357222303,), (1357222306,), (1357222308,), (1357222310,), (1357222315,), (1357222406,), (1357222433,), (1357222461,), (1357222626,), (1357222631,), (1357222752,), (1357222754,), (1357222764,), (1357222789,), (1357222868,), (1357222871,), (1357222874,), (1357222875,), (1357222877,), (1357222946,), (1357223012,), (1357223059,), (1357223063,), (1357223121,), (1357223125,), (1357223128,), (1357223133,), (1357223136,), (1357223140,), (1357223167,), (1357223170,), (1357223171,), (1357223355,), (1357223357,), (1357223359,), (1357223361,), (1357223363,), (1357223365,), (1357223398,), (1357223403,), (1357223408,), (1357223417,), (1357223431,), (1357223519,), (1357223549,), (1357223563,), (1357223564,), (1357223624,), (1357223627,), (1357223630,), (1357223653,), (1357223679,), (1357223704,), (1357223864,), (1357223867,), (1357223870,), (1357224019,), (1357224168,), (1357224382,), (1357224387,), (1357224428,), (1357224431,), (1357224434,), (1357224437,), (1357224440,), (1357224443,), (1357224518,), (1357224520,), (1357224522,), (1357224524,), (1357224529,), (1357224533,), (1357224660,), (1357224650,), (1357224652,), (1357224741,), (1357224759,), (1357224785,), (1357224813,), (1357224841,), (1357224857,), (1357224893,), (1357224897,), (1357224900,), (1357224923,), (1357224958,), (1357225034,), (1357225039,), (1357225043,), (1357225046,), (1357225114,), (1357225138,), (1357225349,), (1357225352,), (1357225528,), (1357225531,), (1357225534,), (1357225574,), (1357225587,), (1357225675,), (1357225685,), (1357225687,), (1357225688,), (1357225716,), (1357225765,), (1357225768,), (1357225769,), (1357226244,), (1357226270,), (1357226995,), (1357227000,), (1357227007,), (1357227012,), (1357227038,), (1357227055,), (1357227087,), (1357227115,), (1357227257,), (1357227177,), (1357227200,), (1357227229,), (1357227242,), (1357227395,), (1357227448,), (1357228352,), (1357228564,), (1357229297,), (1357229349,), (1357229428,), (1357229512,), (1357229592,), (1357230304,), (1357230318,), (1357230322,), (1357230325,), (1357230327,), (1357230332,), (1357230498,), (1357230518,), (1357230522,), (1357230525,), (1357230667,), (1357230696,), (1357230722,), (1357231869,), (1357231948,), (1357232029,), (1357232117,), (1357232178,), (1357232585,), (1357232611,), (1357232640,), (1357232646,), (1357232684,), (1357233143,), (1357233171,), (1357233198,), (1357233255,), (1357233801,), (1357233823,), (1357233862,), (1357233882,), (1357234225,), (1357234235,), (1357234239,), (1357234244,), (1357234248,), (1357234251,), (1357234437,), (1357234465,), (1357234481,), (1357234499,), (1357234501,), (1357234504,), (1357234654,), (1357234663,), (1357234801,), (1357234806,), (1357234811,), (1357234816,), (1357235036,), (1357235002,), (1357235013,), (1357235027,), (1357235031,), (1357235434,), (1357235464,), (1357235534,), (1357235557,), (1357235734,), (1357235737,), (1357235741,), (1357235745,), (1357235800,), (1357235811,), (1357235815,), (1357235827,), (1357235833,), (1357235926,), (1357235958,), (1357235982,), (1357236108,), (1357236113,), (1357236122,), (1357236125,), (1357236127,), (1357236131,), (1357236169,), (1357236175,), (1357236179,), (1357236182,), (1357236272,), (1357236282,), (1357236284,), (1357236287,), (1357236292,), (1357236399,), (1357236404,), (1357236408,), (1357236411,), (1357236416,), (1357236517,), (1357236522,), (1357236527,), (1357236575,), (1357236578,), (1357236584,), (1357236588,), (1357236592,), (1357236632,), (1357236635,), (1357236639,), (1357236644,), (1357236651,), (1357236695,), (1357236697,), (1357236701,), (1357236751,), (1357236801,), (1357236804,), (1357236806,), (1357236809,), (1357236813,), (1357237613,), (1357240242,), (1357240662,), (1357240733,), (1357240826,), (1357240883,), (1357240912,), (1357241608,), (1357241783,), (1357241972,), (1357242174,), (1357242288,), (1357242711,), (1357243571,), (1357243725,), (1357243758,), (1357243807,), (1357243863,), (1357244424,), (1357244459,), (1357244487,), (1357244516,), (1357244522,), (1357244526,), (1357244631,), (1357244636,), (1357244640,), (1357244791,), (1357244824,), (1357244884,), (1357244913,), (1357244943,), (1357244972,), (1357245035,), (1357245039,), (1357245041,), (1357245043,), (1357245266,), (1357245295,), (1357245331,), (1357245353,), (1357245356,), (1357245456,), (1357245461,), (1357245465,), (1357245468,), (1357245473,), (1357245476,), (1357245510,), (1357245514,), (1357245520,), (1357245523,), (1357245528,), (1357245531,), (1357245558,), (1357245568,), (1357245578,), (1357245581,), (1357245627,), (1357245631,), (1357245634,), (1357245637,), (1357245641,), (1357245684,), (1357245688,), (1357245692,), (1357245696,), (1357245995,), (1357245984,), (1357245989,), (1357246124,), (1357246149,), (1357246183,), (1357246212,), (1357246242,), (1357246269,), (1357246377,), (1357246393,), (1357246401,), (1357246415,), (1357246418,), (1357246447,), (1357246663,), (1357246693,), (1357246700,), (1357246702,), (1357246890,), (1357246897,), (1357246901,), (1357246904,), (1357246908,), (1357246913,), (1357246976,), (1357246981,), (1357246985,), (1357246989,), (1357247031,), (1357247035,), (1357247038,), (1357247040,), (1357247044,), (1357247048,), (1357247093,), (1357247096,), (1357247098,), (1357247148,), (1357247150,), (1357247153,), (1357247157,), (1357247160,), (1357247162,), (1357247190,), (1357247192,), (1357247272,), (1357247276,), (1357247283,), (1357247291,), (1357247300,), (1357247313,), (1357247400,), (1357247406,), (1357247410,), (1357247431,), (1357247439,), (1357247900,), (1357247916,), (1357247941,), (1357247968,), (1357248048,), (1357248061,), (1357248064,), (1357248067,), (1357248070,), (1357248073,), (1357248200,), (1357248205,), (1357248211,), (1357248216,), (1357248222,), (1357248228,), (1357248290,), (1357248279,), (1357248282,), (1357248286,), (1357248338,), (1357248342,), (1357248344,), (1357248347,), (1357248349,), (1357248353,), (1357248383,), (1357248387,), (1357248397,), (1357248402,), (1357248412,), (1357248414,), (1357248505,), (1357248507,), (1357248509,), (1357248596,), (1357248598,), (1357248600,), (1357248603,), (1357249017,), (1357249051,), (1357249062,), (1357249065,), (1357249383,), (1357249439,), (1357249465,), (1357249489,), (1357249502,), (1357249774,), (1357249777,), (1357249779,), (1357249796,), (1357249821,), (1357249846,), (1357249891,), (1357249893,), (1357249912,), (1357250422,), (1357250594,), (1357250620,), (1357250654,), (1357250662,), (1357250668,), (1357250779,), (1357250807,), (1357250828,), (1357250831,), (1357251195,), (1357251238,), (1357251283,), (1357251304,), (1357251307,), (1357251581,), (1357251617,), (1357251669,), (1357251701,), (1357251711,), (1357251714,), (1357251818,), (1357251843,), (1357251864,), (1357251867,), (1357252116,), (1357252144,), (1357252182,), (1357252209,), (1357252241,), (1357252307,), (1357252294,), (1357252296,), (1357252298,), (1357252301,), (1357252306,), (1357252369,), (1357252399,), (1357252541,), (1357252756,), (1357252896,), (1357252912,), (1357252940,), (1357252947,), (1357252975,), (1357253253,), (1357253259,), (1357253261,), (1357253265,), (1357253314,), (1357253315,), (1357253317,), (1357253319,), (1357253320,), (1357253813,), (1357253843,), (1357253884,), (1357253967,), (1357254039,), (1357254554,), (1357254668,), (1357254745,), (1357254814,), (1357254933,), (1357254934,), (1357254936,), (1357254938,), (1357254940,), (1357255263,), (1357255313,), (1357255367,), (1357255420,), (1357255525,), (1357255584,), (1357255868,), (1357255892,), (1357257438,), (1357257945,), (1357258019,), (1357258001,), (1357258005,), (1357258010,), (1357258299,), (1357258327,), (1357258357,), (1357258537,), (1357258549,), (1357258578,), (1357258606,), (1357258618,), (1357258669,), (1357258677,), (1357258680,), (1357258683,), (1357258688,), (1357258800,), (1357258807,), (1357258813,), (1357258831,), (1357259194,), (1357259221,), (1357259259,), (1357259288,), (1357259318,), (1357259353,), (1357259640,), (1357259666,), (1357259708,), (1357259736,), (1357259759,), (1357259781,), (1357259783,), (1357259785,), (1357259788,), (1357260129,), (1357260158,), (1357260191,), (1357260204,), (1357260214,), (1357260379,), (1357260417,), (1357260437,), (1357260445,), (1357260450,), (1357260460,), (1357260548,), (1357260551,), (1357260557,), (1357260889,), (1357260920,), (1357260949,), (1357260980,), (1357260996,), (1357261035,), (1357261280,), (1357261282,), (1357261285,), (1357261289,), (1357261292,), (1357261325,), (1357261328,), (1357261330,), (1357261333,), (1357261780,), (1357261760,), (1357261768,), (1357261770,), (1357261775,), (1357261778,), (1357261797,), (1357261808,), (1357261814,), (1357261816,), (1357261818,), (1357261871,), (1357261906,), (1357261926,), (1357262001,), (1357262004,), (1357262008,), (1357262010,), (1357262013,), (1357262015,), (1357262143,), (1357262181,), (1357262186,), (1357262189,), (1357262191,), (1357262225,), (1357262227,), (1357262229,), (1357262231,), (1357262232,), (1357262236,), (1357262294,), (1357262305,), (1357262307,), (1357262338,), (1357262344,), (1357262431,), (1357262474,), (1357262478,), (1357262483,), (1357262486,), (1357262489,), (1357262506,), (1357262508,), (1357262510,), (1357262569,), (1357262570,), (1357262574,), (1357262575,), (1357262584,), (1357262587,), (1357262634,), (1357262636,), (1357262638,), (1357262665,), (1357262669,), (1357262671,), (1357262672,), (1357262707,), (1357262709,), (1357262751,), (1357262753,), (1357262756,), (1357262757,), (1357262759,), (1357262803,), (1357262788,), (1357262790,), (1357262792,), (1357262799,), (1357262870,), (1357263299,), (1357263877,), (1357263879,), (1357263881,), (1357263914,), (1357263915,), (1357263917,), (1357263919,), (1357263921,), (1357263944,), (1357263945,), (1357264067,), (1357264405,), (1357264428,), (1357264430,), (1357264433,), (1357264437,), (1357264444,), (1357264479,), (1357264482,), (1357264799,), (1357266615,), (1357268927,), (1357268953,), (1357268955,), (1357268958,), (1357268992,), (1357268995,), (1357268998,), (1357273852,), (1357275078,), (1357275082,), (1357275085,), (1357275357,), (1357276049,), (1357276185,), (1357276350,), (1357276353,), (1357276379,), (1357276384,), (1357276397,), (1357276400,), (1357276404,), (1357276484,), (1357276514,), (1357276543,), (1357276548,), (1357276551,), (1357276643,), (1357276646,), (1357276648,), (1357276651,), (1357276683,), (1357276687,), (1357276690,), (1357276692,), (1357276695,), (1357276698,), (1357276770,), (1357276773,), (1357276776,), (1357276780,), (1357276802,), (1357276899,), (1357276926,), (1357276941,), (1357276947,), (1357276950,), (1357276953,), (1357277049,), (1357277083,), (1357277088,), (1357277091,), (1357277202,), (1357277188,), (1357277192,), (1357277195,), (1357277197,), (1357277199,), (1357277221,), (1357277225,), (1357277228,), (1357277231,), (1357277259,), (1357277261,), (1357277264,), (1357277275,), (1357277279,), (1357277348,), (1357277351,), (1357277374,), (1357277403,), (1357277411,), (1357277413,), (1357277441,), (1357277444,), (1357277447,), (1357277470,), (1357277472,), (1357277475,), (1357277478,), (1357277500,), (1357277502,), (1357277505,), (1357277508,), (1357277511,), (1357277536,), (1357277538,), (1357277541,), (1357277544,), (1357277547,), (1357277550,), (1357277572,), (1357277574,), (1357277577,), (1357277580,), (1357277609,), (1357277613,), (1357277617,), (1357277621,), (1357277624,), (1357277656,), (1357277663,), (1357277692,), (1357277703,), (1357277706,), (1357277723,), (1357277726,), (1357277750,), (1357277755,), (1357277758,), (1357277781,), (1357277782,), (1357277786,), (1357277789,), (1357277791,), (1357277816,), (1357277818,), (1357277821,), (1357277824,), (1357277828,), (1357278006,), (1357277915,), (1357278002,), (1357278401,), (1357278541,), (1357278543,), (1357278546,), (1357278549,), (1357278589,), (1357278592,), (1357278596,), (1357278602,), (1357278604,), (1357278632,), (1357278634,), (1357278637,), (1357278640,), (1357278671,), (1357278676,), (1357278680,), (1357278683,), (1357278768,), (1357278822,), (1357278827,), (1357278828,), (1357278904,), (1357278911,), (1357278939,), (1357278966,), (1357278988,), (1357279099,), (1357279106,), (1357279120,), (1357279149,), (1357279174,), (1357279178,), (1357279197,), (1357279199,), (1357279202,), (1357279225,), (1357279228,), (1357279265,), (1357279253,), (1357279256,), (1357279259,), (1357279262,), (1357279293,), (1357279295,), (1357279297,), (1357279299,), (1357279303,), (1357279332,), (1357279359,), (1357279367,), (1357279370,), (1357279373,), (1357279467,), (1357279471,), (1357279476,), (1357279507,), (1357279509,), (1357279512,), (1357279518,), (1357279529,), (1357279539,), (1357279543,), (1357279546,), (1357279548,), (1357279550,), (1357279554,), (1357279581,), (1357279584,), (1357279587,), (1357279667,), (1357279777,), (1357279780,), (1357279783,), (1357279790,), (1357279818,), (1357279924,), (1357279939,), (1357279942,), (1357279944,), (1357279946,), (1357280067,), (1357280069,), (1357280072,), (1357280075,), (1357280198,), (1357280206,), (1357280232,), (1357280258,), (1357280483,), (1357280491,), (1357280494,), (1357280498,), (1357280502,), (1357280543,), (1357280548,), (1357280552,), (1357280557,), (1357280610,), (1357280592,), (1357280601,), (1357280605,), (1357280895,), (1357280907,), (1357280934,), (1357280964,), (1357280980,), (1357280983,), (1357281060,), (1357281063,), (1357281066,), (1357281713,), (1357281753,), (1357281756,), (1357281758,), (1357281990,), (1357282014,), (1357282047,), (1357282062,), (1357282080,), (1357282082,), (1357282085,), (1357282373,), (1357282779,), (1357283048,), (1357283053,), (1357283214,), (1357283216,), (1357283218,), (1357283223,), (1357283228,), (1357283247,), (1357283438,), (1357283466,), (1357283492,), (1357283520,), (1357283786,), (1357283813,), (1357283842,), (1357283876,), (1357284403,), (1357284178,), (1357284219,), (1357284245,), (1357284271,), (1357284373,), (1357284601,), (1357284629,), (1357284660,), (1357284692,), (1357284773,), (1357284785,), (1357284812,), (1357284841,), (1357285757,), (1357285760,), (1357285763,), (1357285767,), (1357285771,), (1357285773,), (1357285956,), (1357286033,), (1357286060,), (1357286184,), (1357286217,), (1357286246,), (1357286541,), (1357286570,), (1357289843,), (1357289845,), (1357289847,), (1357289849,), (1357289851,), (1357289875,), (1357289878,), (1357289903,), (1357289909,), (1357289933,), (1357290222,), (1357290251,), (1357290279,), (1357290303,), (1357290685,), (1357290639,), (1357290640,), (1357290642,), (1357290659,), (1357291160,), (1357291186,), (1357291217,), (1357291657,), (1357291691,), (1357291718,), (1357291767,), (1357292562,), (1357292591,), (1357292649,), (1357292702,), (1357293726,), (1357293734,), (1357293754,), (1357293766,), (1357293818,), (1357294072,), (1357294320,), (1357294350,), (1357294379,), (1357294741,), (1357294766,), (1357294792,), (1357294818,), (1357294846,), (1357294947,), (1357294948,), (1357294968,), (1357294995,), (1357295174,), (1357295200,), (1357295226,), (1357295250,), (1357295251,), (1357295331,), (1357295354,), (1357295505,), (1357295506,), (1357295509,), (1357295538,), (1357295581,), (1357295582,), (1357295584,), (1357295592,), (1357295755,), (1357295756,), (1357295758,), (1357295760,), (1357296004,), (1357295806,), (1357295810,), (1357295874,), (1357296097,), (1357296099,), (1357296101,), (1357297542,), (1357298539,), (1357298586,), (1357299156,), (1357299208,), (1357299247,), (1357299293,), (1357299838,), (1357299872,), (1357299897,), (1357299925,), (1357299951,), (1357300271,), (1357300635,), (1357300666,), (1357300883,), (1357300885,), (1357301439,), (1357301499,), (1357301552,), (1357301704,), (1357301759,), (1357301810,), (1357302381,), (1357302283,), (1357302337,), (1357302658,), (1357302689,), (1357302714,), (1357302762,), (1357302800,), (1357303342,), (1357303345,), (1357303354,), (1357303419,), (1357303421,), (1357303431,), (1357303457,), (1357303497,), (1357303916,), (1357303971,), (1357304026,), (1357304077,), (1357304603,), (1357304632,), (1357304661,), (1357304687,), (1357304731,), (1357305007,), (1357305039,), (1357305058,), (1357305062,), (1357305085,), (1357305095,), (1357305255,), (1357305282,), (1357305688,), (1357305713,), (1357305952,), (1357305963,), (1357306029,), (1357306058,), (1357306061,), (1357306064,), (1357306067,), (1357306070,), (1357306091,), (1357306093,), (1357306096,), (1357306100,), (1357306103,), (1357306261,), (1357306263,), (1357306266,), (1357306269,), (1357306291,), (1357306293,), (1357306296,), (1357306299,), (1357306302,), (1357306341,), (1357306331,), (1357306333,), (1357306335,), (1357306338,), (1357306362,), (1357306364,), (1357306366,), (1357306369,), (1357306419,), (1357306427,), (1357306430,), (1357306433,), (1357306437,), (1357306438,), (1357306455,), (1357306458,), (1357306461,), (1357306465,), (1357306469,), (1357306471,), (1357306489,), (1357306493,), (1357306496,), (1357306536,), (1357306540,), (1357306543,), (1357306558,), (1357306621,), (1357306625,), (1357306628,), (1357306630,), (1357306662,), (1357306664,), (1357306667,), (1357306702,), (1357306710,), (1357306712,), (1357306733,), (1357306736,), (1357306738,), (1357306766,), (1357306796,), (1357306832,), (1357306868,), (1357306871,), (1357306873,), (1357306875,), (1357306879,), (1357307001,), (1357307036,), (1357307039,), (1357307042,), (1357307066,), (1357307215,), (1357307146,), (1357307148,), (1357307151,), (1357307416,), (1357307437,), (1357307503,), (1357307506,), (1357307509,), (1357307513,), (1357307516,), (1357307548,), (1357307556,), (1357307559,), (1357307562,), (1357307566,), (1357307568,), (1357307607,), (1357307609,), (1357308360,), (1357308378,), (1357308385,), (1357308387,), (1357308432,), (1357308433,), (1357308435,), (1357308437,), (1357308439,), (1357308577,), (1357308718,), (1357308720,), (1357308722,), (1357308723,), (1357308725,), (1357308753,), (1357308754,), (1357308756,), (1357308815,), (1357308820,), (1357308825,), (1357308828,), (1357308833,), (1357308862,), (1357308851,), (1357308854,), (1357308857,), (1357308859,), (1357308880,), (1357308882,), (1357308884,), (1357308887,), (1357308909,), (1357308912,), (1357308938,), (1357308942,), (1357308945,), (1357308947,), (1357308950,), (1357308953,), (1357308984,), (1357308989,), (1357308992,), (1357308994,), (1357308996,), (1357308999,), (1357309054,), (1357309056,), (1357309059,), (1357309062,), (1357309092,), (1357309096,), (1357309099,), (1357309101,), (1357309108,), (1357309111,), (1357309125,), (1357309298,), (1357309364,), (1357309368,), (1357309381,), (1357309397,), (1357309400,), (1357309403,), (1357309426,), (1357309428,), (1357309431,), (1357309434,), (1357309883,), (1357309935,), (1357309975,), (1357310519,), (1357310522,), (1357310525,), (1357310574,), (1357310601,), (1357310629,), (1357310655,), (1357310682,), (1357311324,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09052025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22844460]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] map_info['map_portfolio_photo'] : {22844460: [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178]} final : True mtd_id 4302 list_pids : [1357290685, 1357290303, 1357290279, 1357290251, 1357290222, 1357289933, 1357289909, 1357289903, 1357289878, 1357289875, 1357289851, 1357289849, 1357289847, 1357289845, 1357289843, 1357286570, 1357286541, 1357286246, 1357286217, 1357286184, 1357286060, 1357286033, 1357285956, 1357285773, 1357285771, 1357285767, 1357285763, 1357285760, 1357285757, 1357284841, 1357284812, 1357284785, 1357284773, 1357284692, 1357284660, 1357284629, 1357284601, 1357284373, 1357284271, 1357284245, 1357284219, 1357284178] Looping around the photos to save general results len do output : 1 /22844460Didn'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, '2815715') ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715') ('4302', None, None, None, None, None, None, None, '2815715') ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '22844460', 'None', None, None, None, None, '2815715'), ('4302', '22844460', '1357290685', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290303', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290279', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290251', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357290222', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289933', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289909', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289903', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289878', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289875', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289851', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289849', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289847', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289845', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357289843', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286570', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286541', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286246', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286217', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286184', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286060', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357286033', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285956', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285771', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285767', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285763', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285760', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357285757', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284841', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284812', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284785', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284773', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284692', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284660', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284629', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284601', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284373', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284271', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284245', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284219', None, None, None, None, None, '2815715'), ('4302', '22844460', '1357284178', None, None, None, None, None, '2815715')] time used for this insertion : 0.026836633682250977 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.7616453170776367 time spend to save output : 0.027366161346435547 total time spend for step 5 : 3.7890114784240723 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 (2815715) 3.40user 2.55system 0:17.23elapsed 34%CPU (0avgtext+0avgdata 168024maxresident)k 192inputs+32880outputs (1major+89896minor)pagefaults 0swaps