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 22153544 , 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=22153496 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153544) result : ((1350840235,), (1350840236,), (1350841299,), (1350841300,), (1350841301,), (1350841513,), (1350841761,), (1350841762,), (1350841763,), (1350842109,), (1350842110,), (1350842111,), (1350842113,), (1350842897,), (1350842898,), (1350844226,), (1350844227,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153496) result : ((1350838105,), (1350838817,), (1350838822,), (1350838924,), (1350839311,), (1350839362,), (1350839405,), (1350839764,), (1350839782,), (1350839793,), (1350839807,), (1350839812,), (1350839818,), (1350840088,), (1350840163,), (1350840255,), (1350840278,), (1350840296,), (1350840311,), (1350840322,), (1350840356,), (1350840359,), (1350840363,), (1350840369,), (1350840396,), (1350840432,), (1350840823,), (1350840854,), (1350840909,), (1350840966,), (1350841381,), (1350841411,), (1350841417,), (1350841426,), (1350841432,), (1350841438,), (1350841722,), (1350841736,), (1350841741,), (1350841746,), (1350841758,), (1350842313,), (1350842343,), (1350842393,), (1350842447,), (1350842507,), (1350842993,)) 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 22153545 , 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=22153496 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 (22153545) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153496) result : ((1350838105,), (1350838817,), (1350838822,), (1350838924,), (1350839311,), (1350839362,), (1350839405,), (1350839764,), (1350839782,), (1350839793,), (1350839807,), (1350839812,), (1350839818,), (1350840088,), (1350840163,), (1350840255,), (1350840278,), (1350840296,), (1350840311,), (1350840322,), (1350840356,), (1350840359,), (1350840363,), (1350840369,), (1350840396,), (1350840432,), (1350840823,), (1350840854,), (1350840909,), (1350840966,), (1350841381,), (1350841411,), (1350841417,), (1350841426,), (1350841432,), (1350841438,), (1350841722,), (1350841736,), (1350841741,), (1350841746,), (1350841758,), (1350842313,), (1350842343,), (1350842393,), (1350842447,), (1350842507,), (1350842993,)) 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 22153546 , 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=22153496 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153546) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153496) result : ((1350838105,), (1350838817,), (1350838822,), (1350838924,), (1350839311,), (1350839362,), (1350839405,), (1350839764,), (1350839782,), (1350839793,), (1350839807,), (1350839812,), (1350839818,), (1350840088,), (1350840163,), (1350840255,), (1350840278,), (1350840296,), (1350840311,), (1350840322,), (1350840356,), (1350840359,), (1350840363,), (1350840369,), (1350840396,), (1350840432,), (1350840823,), (1350840854,), (1350840909,), (1350840966,), (1350841381,), (1350841411,), (1350841417,), (1350841426,), (1350841432,), (1350841438,), (1350841722,), (1350841736,), (1350841741,), (1350841746,), (1350841758,), (1350842313,), (1350842343,), (1350842393,), (1350842447,), (1350842507,), (1350842993,)) 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 22153547 , 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=22153496 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153547) result : ((1350841316,), (1350841317,), (1350841318,), (1350841766,), (1350841767,), (1350841768,), (1350841769,), (1350842902,), (1350842903,), (1350844958,), (1350844959,), (1350844960,), (1350844993,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22153496) result : ((1350838105,), (1350838817,), (1350838822,), (1350838924,), (1350839311,), (1350839362,), (1350839405,), (1350839764,), (1350839782,), (1350839793,), (1350839807,), (1350839812,), (1350839818,), (1350840088,), (1350840163,), (1350840255,), (1350840278,), (1350840296,), (1350840311,), (1350840322,), (1350840356,), (1350840359,), (1350840363,), (1350840369,), (1350840396,), (1350840432,), (1350840823,), (1350840854,), (1350840909,), (1350840966,), (1350841381,), (1350841411,), (1350841417,), (1350841426,), (1350841432,), (1350841438,), (1350841722,), (1350841736,), (1350841741,), (1350841746,), (1350841758,), (1350842313,), (1350842343,), (1350842393,), (1350842447,), (1350842507,), (1350842993,)) 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`=22153496 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','autre_refus','kraft','mal_croppe','papier','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','flou','Carton_gris')) 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`=22153496 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','autre_refus','kraft','mal_croppe','papier','Carton_brun','Teint_Dans_La_Masse','cartonnette','metal','flou','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22153496, 'sub_port_id': 22153548, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632895, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'kraft': {'main_port_id': 22153496, 'sub_port_id': 22153549, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632896, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'autre_refus': {'main_port_id': 22153496, 'sub_port_id': 22153550, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632897, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'environnement': {'main_port_id': 22153496, 'sub_port_id': 22153551, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632898, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'metal': {'main_port_id': 22153496, 'sub_port_id': 22153552, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632899, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'plastique': {'main_port_id': 22153496, 'sub_port_id': 22153553, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632900, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'mal_croppe': {'main_port_id': 22153496, 'sub_port_id': 22153554, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632901, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'cartonnette': {'main_port_id': 22153496, 'sub_port_id': 22153555, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632902, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'Carton_gris': {'main_port_id': 22153496, 'sub_port_id': 22153556, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632903, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'flou': {'main_port_id': 22153496, 'sub_port_id': 22153557, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632904, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'papier': {'main_port_id': 22153496, 'sub_port_id': 22153558, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632905, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 11), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}, 'Carton_brun': {'main_port_id': 22153496, 'sub_port_id': 22153559, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14632906, 'last_updated_at': datetime.datetime(2025, 4, 17, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 4, 17, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 4, 17, 21, 11)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153548,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153536 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153549,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153537 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153550,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153538 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153551,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153539 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153552,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153540 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153553,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153541 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153554,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153542 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153555,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153543 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153556,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153544 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153557,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153545 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153558,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153546 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22153559,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22153547 lien utilise dans velours : https://www.fotonower.com/velours/22153548,22153549,22153550,22153551,22153552,22153553,22153554,22153555,22153556,22153557,22153558,22153559?tags=Teint_Dans_La_Masse,kraft,autre_refus,environnement,metal,plastique,mal_croppe,cartonnette,Carton_gris,flou,papier,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22153496]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] map_info['map_portfolio_photo'] : {22153496: [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105]} final : False mtd_id 4302 list_pids : [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] Looping around the photos to save general results len do output : 1 /22153496. 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, '2734179') ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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, '22153496', "{'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547}", None, None, None, None, '2734179'), ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179')] time used for this insertion : 0.028419971466064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.475318193435669 time spend to save output : 0.028975963592529297 total time spend for step 1 : 1.5042941570281982 step2:final Fri Apr 18 06:12:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! 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 (22153496) 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 22153496 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1350838105,1350838822,1350838817,1350838924,1350839405,1350839362,1350839311,1350839818,1350839812,1350839807,1350839793,1350839782,1350839764,1350840163,1350840088,1350840322,1350840311,1350840296,1350840255,1350840278,1350840432,1350840396,1350840369,1350840363,1350840359,1350840356,1350840966,1350840909,1350840854,1350840823,1350841438,1350841432,1350841426,1350841417,1350841411,1350841381,1350841758,1350841746,1350841741,1350841736,1350841722,1350842507,1350842447,1350842393,1350842343,1350842313,1350842993); 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([22153496]) Inside saveOutput : final : False verbose : True original output for save of step final : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} new output for save of step final : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] map_info['map_portfolio_photo'] : {22153496: [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105]} final : False mtd_id 4302 list_pids : [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] Looping around the photos to save general results len do output : 47 /1350842993.Didn't retrieve data . /1350842507.Didn't retrieve data . /1350842447.Didn't retrieve data . /1350842393.Didn't retrieve data . /1350842343.Didn't retrieve data . /1350842313.Didn't retrieve data . /1350841758.Didn't retrieve data . /1350841746.Didn't retrieve data . /1350841741.Didn't retrieve data . /1350841736.Didn't retrieve data . /1350841722.Didn't retrieve data . /1350841438.Didn't retrieve data . /1350841432.Didn't retrieve data . /1350841426.Didn't retrieve data . /1350841417.Didn't retrieve data . /1350841411.Didn't retrieve data . /1350841381.Didn't retrieve data . /1350840966.Didn't retrieve data . /1350840909.Didn't retrieve data . /1350840854.Didn't retrieve data . /1350840823.Didn't retrieve data . /1350840432.Didn't retrieve data . /1350840396.Didn't retrieve data . /1350840369.Didn't retrieve data . /1350840363.Didn't retrieve data . /1350840359.Didn't retrieve data . /1350840356.Didn't retrieve data . /1350840322.Didn't retrieve data . /1350840311.Didn't retrieve data . /1350840296.Didn't retrieve data . /1350840278.Didn't retrieve data . /1350840255.Didn't retrieve data . /1350840163.Didn't retrieve data . /1350840088.Didn't retrieve data . /1350839818.Didn't retrieve data . /1350839812.Didn't retrieve data . /1350839807.Didn't retrieve data . /1350839793.Didn't retrieve data . /1350839782.Didn't retrieve data . /1350839764.Didn't retrieve data . /1350839405.Didn't retrieve data . /1350839362.Didn't retrieve data . /1350839311.Didn't retrieve data . /1350838924.Didn't retrieve data . /1350838822.Didn't retrieve data . /1350838817.Didn't retrieve data . /1350838105.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, '2734179') ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 141 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', '22153496', '1350842993', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350842507', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350842447', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350842393', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350842343', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350842313', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841758', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841746', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841741', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841736', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841722', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841438', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841432', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841426', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841417', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841411', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350841381', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840966', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840909', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840854', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840823', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840432', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840396', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840369', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840363', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840359', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840356', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840322', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840311', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840296', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840278', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840255', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840163', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350840088', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839818', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839812', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839807', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839793', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839782', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839764', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839405', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839362', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350839311', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350838924', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350838822', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350838817', '0.04876306353602063', None, None, None, None, '2734179'), ('4302', '22153496', '1350838105', '0.04876306353602063', None, None, None, None, '2734179')] time used for this insertion : 0.02420973777770996 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0756227970123291 time spend to save output : 0.026257038116455078 total time spend for step 2 : 0.10187983512878418 step3:velours_tree Fri Apr 18 06:12:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {22153496: [{'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547}]} input_args_next_step : {22153496: ()} output_args : {22153496: [{'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547}]} args : 22153496 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 : ({'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22153496) 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([22153496]) 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.3002610206604004 time spend to save output : 7.152557373046875e-05 total time spend for step 3 : 0.30033254623413086 step4:send_mail_cod Fri Apr 18 06:12:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} input_args_next_step : {1350842993: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842993 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842507 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842447 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842393 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842343 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350842313 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841758 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841746 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841741 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841736 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841722 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841438 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841432 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841426 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841417 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841411 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350841381 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840966 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840909 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840854 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840823 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840432 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840396 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840369 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840363 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840359 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840356 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840322 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840311 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840296 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840278 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840255 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840163 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350840088 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839818 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839812 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839807 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839793 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839782 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839764 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839405 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839362 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350839311 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350838924 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350838822 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350838817 depend.output_id : 0 input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ()} output_args : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',)} args : 1350838105 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 : {22153496: [{'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547}]} input_args_next_step : {1350842993: ('0.04876306353602063',), 1350842507: ('0.04876306353602063',), 1350842447: ('0.04876306353602063',), 1350842393: ('0.04876306353602063',), 1350842343: ('0.04876306353602063',), 1350842313: ('0.04876306353602063',), 1350841758: ('0.04876306353602063',), 1350841746: ('0.04876306353602063',), 1350841741: ('0.04876306353602063',), 1350841736: ('0.04876306353602063',), 1350841722: ('0.04876306353602063',), 1350841438: ('0.04876306353602063',), 1350841432: ('0.04876306353602063',), 1350841426: ('0.04876306353602063',), 1350841417: ('0.04876306353602063',), 1350841411: ('0.04876306353602063',), 1350841381: ('0.04876306353602063',), 1350840966: ('0.04876306353602063',), 1350840909: ('0.04876306353602063',), 1350840854: ('0.04876306353602063',), 1350840823: ('0.04876306353602063',), 1350840432: ('0.04876306353602063',), 1350840396: ('0.04876306353602063',), 1350840369: ('0.04876306353602063',), 1350840363: ('0.04876306353602063',), 1350840359: ('0.04876306353602063',), 1350840356: ('0.04876306353602063',), 1350840322: ('0.04876306353602063',), 1350840311: ('0.04876306353602063',), 1350840296: ('0.04876306353602063',), 1350840278: ('0.04876306353602063',), 1350840255: ('0.04876306353602063',), 1350840163: ('0.04876306353602063',), 1350840088: ('0.04876306353602063',), 1350839818: ('0.04876306353602063',), 1350839812: ('0.04876306353602063',), 1350839807: ('0.04876306353602063',), 1350839793: ('0.04876306353602063',), 1350839782: ('0.04876306353602063',), 1350839764: ('0.04876306353602063',), 1350839405: ('0.04876306353602063',), 1350839362: ('0.04876306353602063',), 1350839311: ('0.04876306353602063',), 1350838924: ('0.04876306353602063',), 1350838822: ('0.04876306353602063',), 1350838817: ('0.04876306353602063',), 1350838105: ('0.04876306353602063',), 22153496: ()} output_args : {22153496: [{'Teint_Dans_La_Masse': 22153536, 'kraft': 22153537, 'autre_refus': 22153538, 'environnement': 22153539, 'metal': 22153540, 'plastique': 22153541, 'mal_croppe': 22153542, 'cartonnette': 22153543, 'Carton_gris': 22153544, 'flou': 22153545, 'papier': 22153546, 'Carton_brun': 22153547}]} args : 22153496 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 :48, first value : ('0.04876306353602063',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22153496) 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 (1350842993,1350842507,1350842447,1350842393,1350842343,1350842313,1350841758,1350841746,1350841741,1350841736,1350841722,1350841438,1350841432,1350841426,1350841417,1350841411,1350841381,1350840966,1350840909,1350840854,1350840823,1350840432,1350840396,1350840369,1350840363,1350840359,1350840356,1350840322,1350840311,1350840296,1350840278,1350840255,1350840163,1350840088,1350839818,1350839812,1350839807,1350839793,1350839782,1350839764,1350839405,1350839362,1350839311,1350838924,1350838822,1350838817,1350838105) Found this number of photos: 47 ##### Call download_photos : nb_thread : 5 begin to download photo : 1350838105 begin to download photo : 1350839807 begin to download photo : 1350840356 begin to download photo : 1350841381 begin to download photo : 1350841758 download finish for photo 1350838105 begin to download photo : 1350838817 download finish for photo 1350840356 begin to download photo : 1350840359 download finish for photo 1350839807 begin to download photo : 1350839812 download finish for photo 1350841758 begin to download photo : 1350842313 download finish for photo 1350841381 begin to download photo : 1350841411 download finish for photo 1350840359 begin to download photo : 1350840363 download finish for photo 1350842313 begin to download photo : 1350842343 download finish for photo 1350838817 begin to download photo : 1350838822 download finish for photo 1350841411 begin to download photo : 1350841417 download finish for photo 1350839812 begin to download photo : 1350839818 download finish for photo 1350842343 begin to download photo : 1350842393 download finish for photo 1350841417 begin to download photo : 1350841426 download finish for photo 1350840363 begin to download photo : 1350840369 download finish for photo 1350839818 begin to download photo : 1350840088 download finish for photo 1350838822 begin to download photo : 1350838924 download finish for photo 1350842393 begin to download photo : 1350842447 download finish for photo 1350840088 begin to download photo : 1350840163 download finish for photo 1350840369 begin to download photo : 1350840396 download finish for photo 1350838924 begin to download photo : 1350839311 download finish for photo 1350841426 begin to download photo : 1350841432 download finish for photo 1350840163 begin to download photo : 1350840255 download finish for photo 1350839311 begin to download photo : 1350839362 download finish for photo 1350840396 begin to download photo : 1350840432 download finish for photo 1350839362 begin to download photo : 1350839405 download finish for photo 1350840255 begin to download photo : 1350840278 download finish for photo 1350841432 begin to download photo : 1350841438 download finish for photo 1350839405 begin to download photo : 1350839764 download finish for photo 1350841438 begin to download photo : 1350841722 download finish for photo 1350840432 begin to download photo : 1350840823 download finish for photo 1350840278 begin to download photo : 1350840296 download finish for photo 1350841722 begin to download photo : 1350841736 download finish for photo 1350839764 begin to download photo : 1350839782 download finish for photo 1350840296 begin to download photo : 1350840311 download finish for photo 1350840823 begin to download photo : 1350840854 download finish for photo 1350841736 begin to download photo : 1350841741 download finish for photo 1350840854 begin to download photo : 1350840909 download finish for photo 1350840311 begin to download photo : 1350840322 download finish for photo 1350842447 begin to download photo : 1350842507 download finish for photo 1350839782 begin to download photo : 1350839793 download finish for photo 1350840909 begin to download photo : 1350840966 download finish for photo 1350841741 begin to download photo : 1350841746 download finish for photo 1350840322 download finish for photo 1350839793 download finish for photo 1350842507 begin to download photo : 1350842993 download finish for photo 1350841746 download finish for photo 1350840966 download finish for photo 1350842993 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 : 47 ; length of list_pids : 47 ; length of list_args : 47 results_Auto_P22153496_18-04-2025_06_12_32.pdf 22153537 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=22153537 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350841773: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512887_0.png', 1350842905: '1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514104_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/4716f1e1f3da06be7a7e49168bdfe483_67860660.png change filename to text .imagette221535371744949552/ imagette221535371744949552/1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514104_0.png.png imagette221535371744949552/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512887_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2c9fd21737262c2dda2c5656fb487f84_59810963.png imagette221535371744949552 22153538 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=22153538 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350839593: '1744916830_3288197_1350838924_b3af24c760e8642468362dd478e455c0_rle_crop_3752487247_0.png', 1350840225: '1744916942_3289213_1350839311_2154008b0deb20e459cf85e417dde96a_rle_crop_3752496786_0.png', 1350841288: '1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507712_0.png', 1350841506: '1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511233_0.png', 1350841756: '1744917229_1210300_1350840966_0dfa006180add044fcad569f00b44ca8_rle_crop_3752512859_0.png', 1350841757: '1744917229_1210300_1350840396_83ad19cdfb07945307b1ff51c6e6c623_rle_crop_3752512873_0.png', 1350842895: '1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514117_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0f3a65fb0b82a303ea42e85d6b225a54_90376295.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/77631fae8f4ef3cf1c608c9298a34f1a_19353671.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/7e1ee2752fcb6263cf40c25ab980c237_81206382.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9789e57ba141490aa231752e63bed57c_46724268.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b3a9aca3ecef746353f854fdf0a9ac7a_75834497.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0c0583dae83e56b8a47815fc61253481_71641009.png change filename to text .imagette221535381744949552/ imagette221535381744949552/1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511233_0.png.png imagette221535381744949552/1744917229_1210300_1350840396_83ad19cdfb07945307b1ff51c6e6c623_rle_crop_3752512873_0.png.png imagette221535381744949552/1744917229_1210300_1350840966_0dfa006180add044fcad569f00b44ca8_rle_crop_3752512859_0.png.png imagette221535381744949552/1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507712_0.png.png imagette221535381744949552/1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514117_0.png.png imagette221535381744949552/1744916942_3289213_1350839311_2154008b0deb20e459cf85e417dde96a_rle_crop_3752496786_0.png.png imagette221535381744949552/1744916830_3288197_1350838924_b3af24c760e8642468362dd478e455c0_rle_crop_3752487247_0.png.png imagette221535401744949553/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/d2962701a437c3b268daf31b52093f7e_30059871.png imagette221535381744949552 22153540 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=22153540 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221535401744949553 22153541 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=22153541 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350841327: '1744917131_3291098_1350839812_05e05a95e2c09487a1dc2f64b94d44fb_rle_crop_3752507736_0.png', 1350841328: '1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507994_0.png', 1350841771: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512888_0.png', 1350844963: '1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518209_0.png', 1350844964: '1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518202_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/f3dcb7f66891b52ab4a0c2b37227cd96_91210620.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/55e0cbe6da01c99770a7a105058e9f49_59153283.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9fc6c8d1df25205e0f87f2033e8202e9_7485928.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/c4753bad1095546d9dadfcb538160a9c_39509595.png change filename to text .imagette221535411744949553/ imagette221535411744949553/1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518209_0.png.png imagette221535411744949553/1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507994_0.png.png imagette221535411744949553/1744917131_3291098_1350839812_05e05a95e2c09487a1dc2f64b94d44fb_rle_crop_3752507736_0.png.png imagette221535411744949553/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512888_0.png.png imagette221535411744949553/1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518202_0.png.png imagette221535421744949553/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/46207b2420e50858129c1987e4097198_77900995.png imagette221535411744949553 22153542 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=22153542 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221535421744949553 22153543 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=22153543 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350840476: '1744917072_3290506_1350839818_829f8180b3aa8a50c609babfc5e26ddf_rle_crop_3752498901_0.png', 1350841307: '1744917131_3291098_1350839782_0eed4aba53f04c1f41f10b837b908f95_rle_crop_3752508288_0.png', 1350841309: '1744917131_3291098_1350839764_4114f0d76785f1615c7b97aae6774d4f_rle_crop_3752508362_0.png', 1350841517: '1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511228_0.png', 1350842138: '1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513139_0.png', 1350842139: '1744917251_3292233_1350840278_4c904002ab6290257e190aa8790584a1_rle_crop_3752513173_0.png', 1350842899: '1744917314_3292894_1350841432_524afbdc984dbca8ccde81e2ab93ba88_rle_crop_3752513871_0.png', 1350844246: '1744917433_3294718_1350841736_176acf9c74391db7429bfb9b467c41f7_rle_crop_3752517735_0.png', 1350844943: '1744917494_3295412_1350842393_f27fb40e1f40c2c46c9a6aa9e8c045d0_rle_crop_3752518226_0.png', 1350844944: '1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518246_0.png', 1350844945: '1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518245_0.png', 1350844946: '1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518263_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6229a703f5aa5dcac5612f707deb871f_49509140.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/bf18696dcead34773d89918b326af4a5_61765011.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ffb62b5ef8161e01f9ac926f17cecda7_78017135.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/93abb526a5fc2153d0573db935cb281e_37470226.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/e9facccd853b7ff56df22f87b4315f61_41763396.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/deb771e0a57df6660fd478ac4834511e_1616398.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/e3ddc52a177b3d489d2366bd5fce948e_518089.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/604f886f7eebdf34e29f31c1190a6ddd_13177113.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/823a0a13deee70c2e9b1168b1fdcc91a_85087460.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b9c750967e3e484f2d22a2e38e9712d0_6784711.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/5b5f6141b928587b45e344b60452ed90_70415900.png change filename to text .imagette221535431744949553/ imagette221535431744949553/1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518246_0.png.png imagette221535431744949553/1744917314_3292894_1350841432_524afbdc984dbca8ccde81e2ab93ba88_rle_crop_3752513871_0.png.png imagette221535431744949553/1744917251_3292233_1350840278_4c904002ab6290257e190aa8790584a1_rle_crop_3752513173_0.png.png imagette221535431744949553/1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518245_0.png.png imagette221535431744949553/1744917072_3290506_1350839818_829f8180b3aa8a50c609babfc5e26ddf_rle_crop_3752498901_0.png.png imagette221535431744949553/1744917131_3291098_1350839782_0eed4aba53f04c1f41f10b837b908f95_rle_crop_3752508288_0.png.png imagette221535431744949553/1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513139_0.png.png imagette221535431744949553/1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511228_0.png.png imagette221535431744949553/1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518263_0.png.png imagette221535431744949553/1744917494_3295412_1350842393_f27fb40e1f40c2c46c9a6aa9e8c045d0_rle_crop_3752518226_0.png.png imagette221535431744949553/1744917131_3291098_1350839764_4114f0d76785f1615c7b97aae6774d4f_rle_crop_3752508362_0.png.png imagette221535431744949553/1744917433_3294718_1350841736_176acf9c74391db7429bfb9b467c41f7_rle_crop_3752517735_0.png.png imagette221535451744949555/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/245042cf4ea01dfa411dee499f8f75bd_11846774.png imagette221535431744949553 22153545 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=22153545 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette221535451744949555 22153536 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=22153536 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350842083: '1744917251_3292233_1350840255_9fe7e86b26f047a96cbfd0eec64fd4b4_rle_crop_3752513180_0.png', 1350844992: '1744917553_3296060_1350840088_610d5066a7ef6f195eedd8d3e36a0083_rle_crop_3752518395_0.png', 1350844932: '1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518260_0.png', 1350844931: '1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518271_0.png', 1350844930: '1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518252_0.png', 1350844200: '1744917433_3294718_1350841722_df7ecd27ef03840fb8eae9f521683121_rle_crop_3752517753_0.png', 1350842893: '1744917314_3292894_1350841381_00a838cd92ddbeed8e24b7e90cdb4691_rle_crop_3752514396_0.png', 1350842892: '1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514125_0.png', 1350842891: '1744917314_3292894_1350841432_524afbdc984dbca8ccde81e2ab93ba88_rle_crop_3752513868_0.png', 1350841282: '1744917131_3291098_1350839812_05e05a95e2c09487a1dc2f64b94d44fb_rle_crop_3752507731_0.png', 1350842081: '1744917251_3292233_1350840296_6657edf36686ecfbc6ac63edd66a652b_rle_crop_3752513155_0.png', 1350841753: '1744917229_1210300_1350840356_077fc1c32a1c5700b636f7826d95436c_rle_crop_3752512929_0.png', 1350841752: '1744917229_1210300_1350840356_077fc1c32a1c5700b636f7826d95436c_rle_crop_3752512932_0.png', 1350841751: '1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512922_0.png', 1350841750: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512890_0.png', 1350841749: '1744917229_1210300_1350840966_0dfa006180add044fcad569f00b44ca8_rle_crop_3752512867_0.png', 1350841283: '1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507989_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9b53419a19e705bb06294a2675a9ec4b_48865121.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/d050e638409463e08aeb5431ee4432a4_26314126.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/2971c200b4690300bf748ef1c14dd69f_16399468.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/515632e98b780776a7fea4e7a41206e7_88841868.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/64aac63a0e0935924338cb857df5baab_66201953.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/a0421b2e32eb51eb3e109dfb8415c475_51284869.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/000044ab8ce7eb566ec2efd549c142ab_21607737.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/a5052665f02a847f328794b22f622f92_85756254.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/c869b4b0bc60aba9ae145f10e17abd9c_62263875.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/4bba4f9af3a462ae1a70e06a72064d29_6168650.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/97ad75e5897b280b1a003c52b2def995_37045955.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9349923a3afaee64728f4a4c41f2785d_7831103.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6c6c8fe0e885cbd968a44258ecc87d48_66369365.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/39c3fffd554828095ab2fa2adda1db9c_1614432.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3ce3af1adda801a359d054b37ad03f45_56838692.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/d2332e3ed1e5b17cb2db571f166ecafe_68168182.png change filename to text .imagette221535361744949555/ imagette221535361744949555/1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512922_0.png.png imagette221535361744949555/1744917251_3292233_1350840255_9fe7e86b26f047a96cbfd0eec64fd4b4_rle_crop_3752513180_0.png.png imagette221535361744949555/1744917314_3292894_1350841381_00a838cd92ddbeed8e24b7e90cdb4691_rle_crop_3752514396_0.png.png imagette221535361744949555/1744917251_3292233_1350840296_6657edf36686ecfbc6ac63edd66a652b_rle_crop_3752513155_0.png.png imagette221535361744949555/1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518271_0.png.png imagette221535361744949555/1744917553_3296060_1350840088_610d5066a7ef6f195eedd8d3e36a0083_rle_crop_3752518395_0.png.png imagette221535361744949555/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512890_0.png.png imagette221535361744949555/1744917229_1210300_1350840356_077fc1c32a1c5700b636f7826d95436c_rle_crop_3752512929_0.png.png imagette221535361744949555/1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518252_0.png.png imagette221535361744949555/1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507989_0.png.png imagette221535361744949555/1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514125_0.png.png imagette221535361744949555/1744917229_1210300_1350840356_077fc1c32a1c5700b636f7826d95436c_rle_crop_3752512932_0.png.png imagette221535361744949555/1744917433_3294718_1350841722_df7ecd27ef03840fb8eae9f521683121_rle_crop_3752517753_0.png.png imagette221535361744949555/1744917314_3292894_1350841432_524afbdc984dbca8ccde81e2ab93ba88_rle_crop_3752513868_0.png.png imagette221535361744949555/1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518260_0.png.png imagette221535361744949555/1744917229_1210300_1350840966_0dfa006180add044fcad569f00b44ca8_rle_crop_3752512867_0.png.png imagette221535361744949555/1744917131_3291098_1350839812_05e05a95e2c09487a1dc2f64b94d44fb_rle_crop_3752507731_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3db903d3ba9b489eeeb3ae73e09f5f80_51921674.png imagette221535361744949555 22153544 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=22153544 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350841763: '1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512923_0.png', 1350844227: '1744917433_3294718_1350841736_176acf9c74391db7429bfb9b467c41f7_rle_crop_3752517741_0.png', 1350844226: '1744917433_3294718_1350841741_f17cdcd047b35d028c9bb3f8541dbef0_rle_crop_3752517715_0.png', 1350842898: '1744917314_3292894_1350841381_00a838cd92ddbeed8e24b7e90cdb4691_rle_crop_3752514388_0.png', 1350842897: '1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514101_0.png', 1350842113: '1744917251_3292233_1350840255_9fe7e86b26f047a96cbfd0eec64fd4b4_rle_crop_3752513179_0.png', 1350842111: '1744917251_3292233_1350840296_6657edf36686ecfbc6ac63edd66a652b_rle_crop_3752513154_0.png', 1350842110: '1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513135_0.png', 1350842109: '1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513134_0.png', 1350840235: '1744916942_3289213_1350839362_688f01127ad323f9645dff3f9723573e_rle_crop_3752496768_0.png', 1350841762: '1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512919_0.png', 1350841761: '1744917229_1210300_1350840396_83ad19cdfb07945307b1ff51c6e6c623_rle_crop_3752512872_0.png', 1350841513: '1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511234_0.png', 1350841301: '1744917131_3291098_1350839793_9cf941ecc91c826c3bcd96f25948b617_rle_crop_3752508000_0.png', 1350841300: '1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507990_0.png', 1350841299: '1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507710_0.png', 1350840236: '1744916942_3289213_1350839311_2154008b0deb20e459cf85e417dde96a_rle_crop_3752496782_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/fffa7439ca94a04242081b1448223c26_45980841.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/7ebfefa200f71a5e159660633f50dc85_682332.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3c9fa0bb3b356d836657c5a984859367_22875882.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/1a1b1f677913c7b102fac56e79d90693_98569127.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/34c3615fb75c91808a2464af24d8ba3f_25074904.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/6a9862156cf6991fab7daf0cdcb3b6a3_87644178.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/93768dd61563d9511ff93469c7b3d0b5_47688505.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/1bc01c3d4c574374cf5887f6bfd6642f_6653630.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/ebf5f979dd901441ca82b669491aac69_33309510.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/09f5d81c0d6df3b6eda6334edfb221af_22423710.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/31aaac2648b379a4abe72c5b0f2ccd31_28484536.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8902ec2a35d1aad6a7e00f099e253ccd_62254581.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0295fcb3639d98702d1e4de00a5797d8_39041033.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/af6f162d56725d029412a7061918dcb9_52104646.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/9eae58696e5454ed3cdcdcd1782e2a95_94631439.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/746dbbc32c6b8586eac4efe6ad7d75b4_36132351.png change filename to text .imagette221535441744949557/ imagette221535441744949557/1744916942_3289213_1350839362_688f01127ad323f9645dff3f9723573e_rle_crop_3752496768_0.png.png imagette221535441744949557/1744916942_3289213_1350839311_2154008b0deb20e459cf85e417dde96a_rle_crop_3752496782_0.png.png imagette221535441744949557/1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513134_0.png.png imagette221535441744949557/1744917251_3292233_1350840432_5d6e239945e4ae67372b1979e1565ced_rle_crop_3752513135_0.png.png imagette221535441744949557/1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507710_0.png.png imagette221535441744949557/1744917251_3292233_1350840296_6657edf36686ecfbc6ac63edd66a652b_rle_crop_3752513154_0.png.png imagette221535441744949557/1744917131_3291098_1350839807_7a4f6217721f50175b2521cd0bc974b6_rle_crop_3752507990_0.png.png imagette221535441744949557/1744917433_3294718_1350841736_176acf9c74391db7429bfb9b467c41f7_rle_crop_3752517741_0.png.png imagette221535441744949557/1744917251_3292233_1350840255_9fe7e86b26f047a96cbfd0eec64fd4b4_rle_crop_3752513179_0.png.png imagette221535441744949557/1744917192_3291723_1350840909_43f1815cde1f809a0c788d8947735f36_rle_crop_3752511234_0.png.png imagette221535441744949557/1744917433_3294718_1350841741_f17cdcd047b35d028c9bb3f8541dbef0_rle_crop_3752517715_0.png.png imagette221535441744949557/1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514101_0.png.png imagette221535441744949557/1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512923_0.png.png imagette221535441744949557/1744917131_3291098_1350839793_9cf941ecc91c826c3bcd96f25948b617_rle_crop_3752508000_0.png.png imagette221535441744949557/1744917229_1210300_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a_rle_crop_3752512919_0.png.png imagette221535441744949557/1744917229_1210300_1350840396_83ad19cdfb07945307b1ff51c6e6c623_rle_crop_3752512872_0.png.png imagette221535441744949557/1744917314_3292894_1350841381_00a838cd92ddbeed8e24b7e90cdb4691_rle_crop_3752514388_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/c3b773991b09db40cb5b1c0f4341956c_7200461.png imagette221535441744949557 22153547 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=22153547 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1350841316: '1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507719_0.png', 1350841317: '1744917131_3291098_1350839782_0eed4aba53f04c1f41f10b837b908f95_rle_crop_3752508293_0.png', 1350841318: '1744917131_3291098_1350839764_4114f0d76785f1615c7b97aae6774d4f_rle_crop_3752508367_0.png', 1350841766: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512892_0.png', 1350841767: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512896_0.png', 1350841768: '1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512891_0.png', 1350841769: '1744917229_1210300_1350840363_83cc2463b73e5aaf32308d42c76020ff_rle_crop_3752512906_0.png', 1350842902: '1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514106_0.png', 1350842903: '1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514118_0.png', 1350844958: '1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518206_0.png', 1350844959: '1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518249_0.png', 1350844960: '1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518267_0.png', 1350844993: '1744917553_3296060_1350840088_610d5066a7ef6f195eedd8d3e36a0083_rle_crop_3752518391_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/e4e7777d88e91482eeb41ae6cc526095_69625450.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/a6011b593fc409ca4ea5ebdcef48f871_96260829.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/d9ee16687c21a22f7c79a6cc1fdf4086_75237528.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/c96ccaa00ebb6fa858f05927ce36cd8e_82342684.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/760be94a76ef2ed8f90f218879ca7828_59536647.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/50f1691bf1b4caa9d9d451ebde7dc680_45269709.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/0735bfc88db00a2bccf64f0d874f0d77_2252744.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/caa1a71a56a5c6e49015af81be44f3e9_81281246.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/cf6d1a1d8143f4471f1a02ff1f62ac31_91474591.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/5f5447ad4673ba4e5cac2ef7292db5ae_42948493.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/3bdb0c26be7166df9a6aaaea8eca8666_44347421.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b8b90666e5332dc13e53d57096a3eca1_66003140.png change filename to text .imagette221535471744949558/ imagette221535471744949558/1744917494_3295412_1350842313_92893d28ed81f5e7cfade16c36f267d9_rle_crop_3752518267_0.png.png imagette221535471744949558/1744917229_1210300_1350840363_83cc2463b73e5aaf32308d42c76020ff_rle_crop_3752512906_0.png.png imagette221535471744949558/1744917314_3292894_1350841417_4c384327b57a7b85fe560e75e2764b83_rle_crop_3752514118_0.png.png imagette221535471744949558/1744917553_3296060_1350840088_610d5066a7ef6f195eedd8d3e36a0083_rle_crop_3752518391_0.png.png imagette221535471744949558/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512891_0.png.png imagette221535471744949558/1744917131_3291098_1350840163_0622e1c1a7577fdd055c7af7c063cf87_rle_crop_3752507719_0.png.png imagette221535471744949558/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512896_0.png.png imagette221535471744949558/1744917131_3291098_1350839764_4114f0d76785f1615c7b97aae6774d4f_rle_crop_3752508367_0.png.png imagette221535471744949558/1744917229_1210300_1350840369_542aff67e451d844fcd2e4850a68a6da_rle_crop_3752512892_0.png.png imagette221535471744949558/1744917314_3292894_1350841426_5df70d8012d586e29bf5c4285bf11610_rle_crop_3752514106_0.png.png imagette221535471744949558/1744917494_3295412_1350842343_28789d6d566d8cca71a0a76e6c5e5783_rle_crop_3752518249_0.png.png imagette221535471744949558/1744917494_3295412_1350842993_9ce3ef3290a579136a22f383309b8486_rle_crop_3752518206_0.png.png imagette221535471744949558/1744917131_3291098_1350839782_0eed4aba53f04c1f41f10b837b908f95_rle_crop_3752508293_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b0204774ffcd8e4ab9974b7a47d1369b_27066823.png imagette221535471744949558 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22153496 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22153548,22153549,22153550,22153551,22153552,22153553,22153554,22153555,22153556,22153557,22153558,22153559?tags=Teint_Dans_La_Masse,kraft,autre_refus,environnement,metal,plastique,mal_croppe,cartonnette,Carton_gris,flou,papier,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1350842993] : ('0.04876306353602063',) no score found for photo 1350842993 We are sending mail with results at report@fotonower.com args[1350842507] : ('0.04876306353602063',) no score found for photo 1350842507 We are sending mail with results at report@fotonower.com args[1350842447] : ('0.04876306353602063',) no score found for photo 1350842447 We are sending mail with results at report@fotonower.com args[1350842393] : ('0.04876306353602063',) no score found for photo 1350842393 We are sending mail with results at report@fotonower.com args[1350842343] : ('0.04876306353602063',) no score found for photo 1350842343 We are sending mail with results at report@fotonower.com args[1350842313] : ('0.04876306353602063',) no score found for photo 1350842313 We are sending mail with results at report@fotonower.com args[1350841758] : ('0.04876306353602063',) no score found for photo 1350841758 We are sending mail with results at report@fotonower.com args[1350841746] : ('0.04876306353602063',) no score found for photo 1350841746 We are sending mail with results at report@fotonower.com args[1350841741] : ('0.04876306353602063',) no score found for photo 1350841741 We are sending mail with results at report@fotonower.com args[1350841736] : ('0.04876306353602063',) no score found for photo 1350841736 We are sending mail with results at report@fotonower.com args[1350841722] : ('0.04876306353602063',) no score found for photo 1350841722 We are sending mail with results at report@fotonower.com args[1350841438] : ('0.04876306353602063',) no score found for photo 1350841438 We are sending mail with results at report@fotonower.com args[1350841432] : ('0.04876306353602063',) no score found for photo 1350841432 We are sending mail with results at report@fotonower.com args[1350841426] : ('0.04876306353602063',) no score found for photo 1350841426 We are sending mail with results at report@fotonower.com args[1350841417] : ('0.04876306353602063',) no score found for photo 1350841417 We are sending mail with results at report@fotonower.com args[1350841411] : ('0.04876306353602063',) no score found for photo 1350841411 We are sending mail with results at report@fotonower.com args[1350841381] : ('0.04876306353602063',) no score found for photo 1350841381 We are sending mail with results at report@fotonower.com args[1350840966] : ('0.04876306353602063',) no score found for photo 1350840966 We are sending mail with results at report@fotonower.com args[1350840909] : ('0.04876306353602063',) no score found for photo 1350840909 We are sending mail with results at report@fotonower.com args[1350840854] : ('0.04876306353602063',) no score found for photo 1350840854 We are sending mail with results at report@fotonower.com args[1350840823] : ('0.04876306353602063',) no score found for photo 1350840823 We are sending mail with results at report@fotonower.com args[1350840432] : ('0.04876306353602063',) no score found for photo 1350840432 We are sending mail with results at report@fotonower.com args[1350840396] : ('0.04876306353602063',) no score found for photo 1350840396 We are sending mail with results at report@fotonower.com args[1350840369] : ('0.04876306353602063',) no score found for photo 1350840369 We are sending mail with results at report@fotonower.com args[1350840363] : ('0.04876306353602063',) no score found for photo 1350840363 We are sending mail with results at report@fotonower.com args[1350840359] : ('0.04876306353602063',) no score found for photo 1350840359 We are sending mail with results at report@fotonower.com args[1350840356] : ('0.04876306353602063',) no score found for photo 1350840356 We are sending mail with results at report@fotonower.com args[1350840322] : ('0.04876306353602063',) no score found for photo 1350840322 We are sending mail with results at report@fotonower.com args[1350840311] : ('0.04876306353602063',) no score found for photo 1350840311 We are sending mail with results at report@fotonower.com args[1350840296] : ('0.04876306353602063',) no score found for photo 1350840296 We are sending mail with results at report@fotonower.com args[1350840278] : ('0.04876306353602063',) no score found for photo 1350840278 We are sending mail with results at report@fotonower.com args[1350840255] : ('0.04876306353602063',) no score found for photo 1350840255 We are sending mail with results at report@fotonower.com args[1350840163] : ('0.04876306353602063',) no score found for photo 1350840163 We are sending mail with results at report@fotonower.com args[1350840088] : ('0.04876306353602063',) no score found for photo 1350840088 We are sending mail with results at report@fotonower.com args[1350839818] : ('0.04876306353602063',) no score found for photo 1350839818 We are sending mail with results at report@fotonower.com args[1350839812] : ('0.04876306353602063',) no score found for photo 1350839812 We are sending mail with results at report@fotonower.com args[1350839807] : ('0.04876306353602063',) no score found for photo 1350839807 We are sending mail with results at report@fotonower.com args[1350839793] : ('0.04876306353602063',) no score found for photo 1350839793 We are sending mail with results at report@fotonower.com args[1350839782] : ('0.04876306353602063',) no score found for photo 1350839782 We are sending mail with results at report@fotonower.com args[1350839764] : ('0.04876306353602063',) no score found for photo 1350839764 We are sending mail with results at report@fotonower.com args[1350839405] : ('0.04876306353602063',) no score found for photo 1350839405 We are sending mail with results at report@fotonower.com args[1350839362] : ('0.04876306353602063',) no score found for photo 1350839362 We are sending mail with results at report@fotonower.com args[1350839311] : ('0.04876306353602063',) no score found for photo 1350839311 We are sending mail with results at report@fotonower.com args[1350838924] : ('0.04876306353602063',) no score found for photo 1350838924 We are sending mail with results at report@fotonower.com args[1350838822] : ('0.04876306353602063',) no score found for photo 1350838822 We are sending mail with results at report@fotonower.com args[1350838817] : ('0.04876306353602063',) no score found for photo 1350838817 We are sending mail with results at report@fotonower.com args[1350838105] : ('0.04876306353602063',) no score found for photo 1350838105 We are sending mail with results at report@fotonower.com refus_total : 0.04876306353602063 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=22153496 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_P22153496_18-04-2025_06_12_32.pdf results_Auto_P22153496_18-04-2025_06_12_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153496_18-04-2025_06_12_32.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','22153496','results_Auto_P22153496_18-04-2025_06_12_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153496_18-04-2025_06_12_32.pdf','pdf','','0.56','0.04876306353602063') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22153496]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] map_info['map_portfolio_photo'] : {22153496: [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105]} final : False mtd_id 4302 list_pids : [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] 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, '2734179') ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 47 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', '22153496', '1350842993', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179')] time used for this insertion : 0.022176504135131836 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.646926164627075 time spend to save output : 0.02273726463317871 total time spend for step 4 : 11.669663429260254 step5:split_time_score Fri Apr 18 06:12:42 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 : ['22153496'] 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 : [('22153496',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22153496) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1350839807: {'path': 'temp/1744949550_634466_1350839807_7a4f6217721f50175b2521cd0bc974b6.jpg', 'extension': 'jpg'}, 1350839812: {'path': 'temp/1744949550_634466_1350839812_05e05a95e2c09487a1dc2f64b94d44fb.jpg', 'extension': 'jpg'}, 1350839818: {'path': 'temp/1744949550_634466_1350839818_829f8180b3aa8a50c609babfc5e26ddf.jpg', 'extension': 'jpg'}, 1350840088: {'path': 'temp/1744949550_634466_1350840088_610d5066a7ef6f195eedd8d3e36a0083.jpg', 'extension': 'jpg'}, 1350840163: {'path': 'temp/1744949550_634466_1350840163_0622e1c1a7577fdd055c7af7c063cf87.jpg', 'extension': 'jpg'}, 1350840255: {'path': 'temp/1744949550_634466_1350840255_9fe7e86b26f047a96cbfd0eec64fd4b4.jpg', 'extension': 'jpg'}, 1350840278: {'path': 'temp/1744949550_634466_1350840278_4c904002ab6290257e190aa8790584a1.jpg', 'extension': 'jpg'}, 1350840296: {'path': 'temp/1744949550_634466_1350840296_6657edf36686ecfbc6ac63edd66a652b.jpg', 'extension': 'jpg'}, 1350840311: {'path': 'temp/1744949550_634466_1350840311_dec2c9f59c0d7435de2c1a47195068fc.jpg', 'extension': 'jpg'}, 1350840322: {'path': 'temp/1744949550_634466_1350840322_c3ff441a6ca21a0f2b8a519ff344cad6.jpg', 'extension': 'jpg'}, 1350838105: {'path': 'temp/1744949550_634466_1350838105_8a579a1cfb0442d071a58ec061ec6adc.jpg', 'extension': 'jpg'}, 1350838817: {'path': 'temp/1744949550_634466_1350838817_8d483ecd7fd81a887f59f01ce8263788.jpg', 'extension': 'jpg'}, 1350838822: {'path': 'temp/1744949550_634466_1350838822_992f0cb2947a346cd6479a64f04862cc.jpg', 'extension': 'jpg'}, 1350838924: {'path': 'temp/1744949550_634466_1350838924_b3af24c760e8642468362dd478e455c0.jpg', 'extension': 'jpg'}, 1350839311: {'path': 'temp/1744949550_634466_1350839311_2154008b0deb20e459cf85e417dde96a.jpg', 'extension': 'jpg'}, 1350839362: {'path': 'temp/1744949550_634466_1350839362_688f01127ad323f9645dff3f9723573e.jpg', 'extension': 'jpg'}, 1350839405: {'path': 'temp/1744949550_634466_1350839405_13b0d6cce37ddcd187c28d1d6048d2ea.jpg', 'extension': 'jpg'}, 1350839764: {'path': 'temp/1744949550_634466_1350839764_4114f0d76785f1615c7b97aae6774d4f.jpg', 'extension': 'jpg'}, 1350839782: {'path': 'temp/1744949550_634466_1350839782_0eed4aba53f04c1f41f10b837b908f95.jpg', 'extension': 'jpg'}, 1350839793: {'path': 'temp/1744949550_634466_1350839793_9cf941ecc91c826c3bcd96f25948b617.jpg', 'extension': 'jpg'}, 1350841381: {'path': 'temp/1744949550_634466_1350841381_00a838cd92ddbeed8e24b7e90cdb4691.jpg', 'extension': 'jpg'}, 1350841411: {'path': 'temp/1744949550_634466_1350841411_77f5e71c47490ba66e4f75228df6e3d8.jpg', 'extension': 'jpg'}, 1350841417: {'path': 'temp/1744949550_634466_1350841417_4c384327b57a7b85fe560e75e2764b83.jpg', 'extension': 'jpg'}, 1350841426: {'path': 'temp/1744949550_634466_1350841426_5df70d8012d586e29bf5c4285bf11610.jpg', 'extension': 'jpg'}, 1350841432: {'path': 'temp/1744949550_634466_1350841432_524afbdc984dbca8ccde81e2ab93ba88.jpg', 'extension': 'jpg'}, 1350841438: {'path': 'temp/1744949550_634466_1350841438_3758d8d03bb2c930afa8ba68fd9ba929.jpg', 'extension': 'jpg'}, 1350841722: {'path': 'temp/1744949550_634466_1350841722_df7ecd27ef03840fb8eae9f521683121.jpg', 'extension': 'jpg'}, 1350841736: {'path': 'temp/1744949550_634466_1350841736_176acf9c74391db7429bfb9b467c41f7.jpg', 'extension': 'jpg'}, 1350841741: {'path': 'temp/1744949550_634466_1350841741_f17cdcd047b35d028c9bb3f8541dbef0.jpg', 'extension': 'jpg'}, 1350841746: {'path': 'temp/1744949550_634466_1350841746_3a04002f410efc940cb1cdee09dc3f00.jpg', 'extension': 'jpg'}, 1350840356: {'path': 'temp/1744949550_634466_1350840356_077fc1c32a1c5700b636f7826d95436c.jpg', 'extension': 'jpg'}, 1350840359: {'path': 'temp/1744949550_634466_1350840359_3baa7df8bad4fb28853c42dbc9a4ad6a.jpg', 'extension': 'jpg'}, 1350840363: {'path': 'temp/1744949550_634466_1350840363_83cc2463b73e5aaf32308d42c76020ff.jpg', 'extension': 'jpg'}, 1350840369: {'path': 'temp/1744949550_634466_1350840369_542aff67e451d844fcd2e4850a68a6da.jpg', 'extension': 'jpg'}, 1350840396: {'path': 'temp/1744949550_634466_1350840396_83ad19cdfb07945307b1ff51c6e6c623.jpg', 'extension': 'jpg'}, 1350840432: {'path': 'temp/1744949550_634466_1350840432_5d6e239945e4ae67372b1979e1565ced.jpg', 'extension': 'jpg'}, 1350840823: {'path': 'temp/1744949550_634466_1350840823_59e70ef4244846ef04576c87a8e35f99.jpg', 'extension': 'jpg'}, 1350840854: {'path': 'temp/1744949550_634466_1350840854_4fdd228993ab48a9954c77924175f0fc.jpg', 'extension': 'jpg'}, 1350840909: {'path': 'temp/1744949550_634466_1350840909_43f1815cde1f809a0c788d8947735f36.jpg', 'extension': 'jpg'}, 1350840966: {'path': 'temp/1744949550_634466_1350840966_0dfa006180add044fcad569f00b44ca8.jpg', 'extension': 'jpg'}, 1350841758: {'path': 'temp/1744949550_634466_1350841758_8779c1949a23d62ba320e9f985d2c920.jpg', 'extension': 'jpg'}, 1350842313: {'path': 'temp/1744949550_634466_1350842313_92893d28ed81f5e7cfade16c36f267d9.jpg', 'extension': 'jpg'}, 1350842343: {'path': 'temp/1744949550_634466_1350842343_28789d6d566d8cca71a0a76e6c5e5783.jpg', 'extension': 'jpg'}, 1350842393: {'path': 'temp/1744949550_634466_1350842393_f27fb40e1f40c2c46c9a6aa9e8c045d0.jpg', 'extension': 'jpg'}, 1350842447: {'path': 'temp/1744949550_634466_1350842447_aa9d942302c9fe3dabfdc1565ac950ba.jpg', 'extension': 'jpg'}, 1350842507: {'path': 'temp/1744949550_634466_1350842507_18ebfc6e0f287b8b1f4ece65609417d7.jpg', 'extension': 'jpg'}, 1350842993: {'path': 'temp/1744949550_634466_1350842993_9ce3ef3290a579136a22f383309b8486.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 = 22153496; (('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 = 22153496 group by h (('21', 47),) 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=22153496 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 (22153496) 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 (22153496) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 17042025 22153496 Nombre de photos uploadées : 47 / 23040 (0%) 17042025 22153496 Nombre de photos taguées (types de déchets): 0 / 47 (0%) 17042025 22153496 Nombre de photos taguées (volume) : 0 / 47 (0%) [{'photo_id': 1350838105, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8a579a1cfb0442d071a58ec061ec6adc.jpg', 'username': None, 'uploaded_at': 1744916472, 'text': 'image_17042025_21_00_24_10139.jpg'}, {'photo_id': 1350838822, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/992f0cb2947a346cd6479a64f04862cc.jpg', 'username': None, 'uploaded_at': 1744916587, 'text': 'image_17042025_21_01_24_10150.jpg'}, {'photo_id': 1350838817, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/8d483ecd7fd81a887f59f01ce8263788.jpg', 'username': None, 'uploaded_at': 1744916587, 'text': 'image_17042025_21_02_14_010133m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1350838924, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/17/b3af24c760e8642468362dd478e455c0.jpg', 'username': None, 'uploaded_at': 1744916708, 'text': 'image_17042025_21_02_23_009122m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002198934555053711 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22153496, '2025-04-17' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1721208,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02442145347595215 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= 1721208 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22109428, 'dashboard_result_id': 9965738, '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_P22109428_18-04-2025_05_34_53.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22109455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109466, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22110285, 'dashboard_result_id': 9965739, '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_P22110285_18-04-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110345, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22111035, 'dashboard_result_id': 9965740, '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_P22111035_18-04-2025_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111047, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22111457, 'dashboard_result_id': 9965741, '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_P22111457_18-04-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111469, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22112780, 'dashboard_result_id': 9965742, '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_P22112780_18-04-2025_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22112782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112793, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22113134, 'dashboard_result_id': 9965743, '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_P22113134_18-04-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113158, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22113655, 'dashboard_result_id': 9965744, '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_P22113655_18-04-2025_05_38_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113668, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22114370, 'dashboard_result_id': 9965745, '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_P22114370_18-04-2025_05_38_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114419, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22114903, 'dashboard_result_id': 9965746, '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_P22114903_18-04-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114915, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22115415, 'dashboard_result_id': 9965747, '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_P22115415_18-04-2025_05_40_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115427, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22116007, 'dashboard_result_id': 9965748, '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_P22116007_18-04-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116043, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22116457, 'dashboard_result_id': 9965749, '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_P22116457_18-04-2025_05_40_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116469, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22117034, 'dashboard_result_id': 9965750, '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_P22117034_17-04-2025_03_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117082, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22117347, 'dashboard_result_id': 9965751, '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_P22117347_17-04-2025_04_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22117350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117361, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22117600, 'dashboard_result_id': 9965752, '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_P22117600_18-04-2025_00_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117650, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22119017, 'dashboard_result_id': 9965753, '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_P22119017_18-04-2025_05_43_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119029, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22119196, 'dashboard_result_id': 9965754, '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_P22119196_18-04-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119208, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22119607, 'dashboard_result_id': 9965755, '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_P22119607_18-04-2025_05_44_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119619, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22120069, 'dashboard_result_id': 9965756, '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_P22120069_18-04-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120081, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22120437, 'dashboard_result_id': 9965757, '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_P22120437_18-04-2025_05_45_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120510, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22121396, 'dashboard_result_id': 9965758, '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_P22121396_18-04-2025_05_46_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121408, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22121697, 'dashboard_result_id': 9965759, '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_P22121697_18-04-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121715, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22122263, 'dashboard_result_id': 9965760, '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_P22122263_18-04-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22122266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122277, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22122830, 'dashboard_result_id': 9965761, '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_P22122830_18-04-2025_05_48_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22122876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122887, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22123197, 'dashboard_result_id': 9965762, '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_P22123197_18-04-2025_05_48_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123211, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22123509, 'dashboard_result_id': 9965763, '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_P22123509_18-04-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22123536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123547, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22123926, 'dashboard_result_id': 9965764, '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_P22123926_18-04-2025_05_50_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123943, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22125427, 'dashboard_result_id': 9965765, '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_P22125427_18-04-2025_05_50_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125440, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22125958, 'dashboard_result_id': 9965766, '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_P22125958_18-04-2025_05_50_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125973, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22126585, 'dashboard_result_id': 9965767, '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_P22126585_18-04-2025_05_51_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22126623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22126624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22126625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22126626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22126627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22126628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22126629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22126630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22126631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22126632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22126633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22126634, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22127126, 'dashboard_result_id': 9965768, '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_P22127126_18-04-2025_05_52_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127138, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22127830, 'dashboard_result_id': 9965769, '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_P22127830_18-04-2025_05_53_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127842, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22128489, 'dashboard_result_id': 9965770, '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_P22128489_18-04-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22128493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22128494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22128495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22128496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22128497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22128498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22128499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22128500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22128501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22128502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22128503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22128504, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22129126, 'dashboard_result_id': 9965771, '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_P22129126_18-04-2025_05_54_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22129156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129161, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129167, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22129636, 'dashboard_result_id': 9965772, '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_P22129636_18-04-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22129669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129674, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22130303, 'dashboard_result_id': 9965773, '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_P22130303_18-04-2025_05_55_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130339, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22130914, 'dashboard_result_id': 9965774, '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_P22130914_18-04-2025_05_55_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130927, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22131282, 'dashboard_result_id': 9965775, '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_P22131282_18-04-2025_05_55_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131295, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22131955, 'dashboard_result_id': 9965776, '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_P22131955_18-04-2025_05_56_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131995, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22134150, 'dashboard_result_id': 9965777, '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_P22134150_18-04-2025_05_57_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134162, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22134502, 'dashboard_result_id': 9965778, '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_P22134502_18-04-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134573, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22135140, 'dashboard_result_id': 9965779, '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_P22135140_18-04-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135152, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22135842, 'dashboard_result_id': 9965780, '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_P22135842_18-04-2025_05_58_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135883, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22136371, 'dashboard_result_id': 9965781, '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_P22136371_18-04-2025_05_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22136378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136385, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22136983, 'dashboard_result_id': 9965782, '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_P22136983_18-04-2025_06_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22136988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136999, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22137490, 'dashboard_result_id': 9965783, '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_P22137490_18-04-2025_06_00_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22137492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22137493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22137494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22137495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22137496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22137497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22137498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22137499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22137500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22137501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22137502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22137503, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22138183, 'dashboard_result_id': 9965784, '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_P22138183_18-04-2025_06_00_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138219, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22138849, 'dashboard_result_id': 9965785, '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_P22138849_18-04-2025_06_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138891, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22139472, 'dashboard_result_id': 9965786, '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_P22139472_18-04-2025_06_02_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22139473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22139474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22139475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22139476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22139477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22139478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22139479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22139480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22139481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22139482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22139483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22139484, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22140073, 'dashboard_result_id': 9965787, '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_P22140073_18-04-2025_06_02_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22140080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140091, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22140760, 'dashboard_result_id': 9965788, '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_P22140760_18-04-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22140772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140774, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22141160, 'dashboard_result_id': 9965789, '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_P22141160_18-04-2025_06_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141191, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22141820, 'dashboard_result_id': 9965790, '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_P22141820_18-04-2025_06_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141834, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22142522, 'dashboard_result_id': 9965791, '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_P22142522_18-04-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22142524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22142525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22142526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22142527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22142528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22142529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22142530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22142531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22142532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22142533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22142534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22142535, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22143351, 'dashboard_result_id': 9965792, '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_P22143351_18-04-2025_06_05_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22143354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22143355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22143356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22143357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22143358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22143359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22143360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22143361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22143362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22143363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22143364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22143365, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22144314, 'dashboard_result_id': 9965793, '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_P22144314_18-04-2025_06_06_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144350, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22144739, 'dashboard_result_id': 9965794, '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_P22144739_18-04-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144751, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22145408, 'dashboard_result_id': 9965795, '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_P22145408_18-04-2025_06_07_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22145449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22145450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22145451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22145452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22145453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22145454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22145455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22145456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22145457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22145458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22145459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22145460, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22146025, 'dashboard_result_id': 9965796, '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_P22146025_18-04-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146040, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22146806, 'dashboard_result_id': 9965797, '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_P22146806_18-04-2025_06_08_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146865, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22147754, 'dashboard_result_id': 9965798, '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_P22147754_18-04-2025_06_09_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22147800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22147802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22147803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22147804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22147806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22147807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22147808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22147810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22147811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22147812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22147813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22147815, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22148955, 'dashboard_result_id': 9965799, '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_P22148955_18-04-2025_06_10_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22148984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22148985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22148986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22148987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22148988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22148989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22148990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22148991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22148992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22148993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22148994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22148995, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22149555, 'dashboard_result_id': 9965800, '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_P22149555_18-04-2025_06_10_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22149558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22149559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22149560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22149561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22149562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22149563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22149564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22149565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22149566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22149567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22149568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22149569, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22150422, 'dashboard_result_id': 9965801, '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_P22150422_18-04-2025_06_10_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22150536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22150537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22150538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22150539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22150540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22150541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22150542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22150543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22150544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22150545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22150546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22150547, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22151606, 'dashboard_result_id': 9965802, '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_P22151606_18-04-2025_06_11_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22151992, 'dashboard_result_id': 9965803, '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_P22151992_18-04-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22153496, 'dashboard_result_id': 9965804, '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_P22153496_17-04-2025_21_16_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153547, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22153951, 'dashboard_result_id': 9965805, '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_P22153951_17-04-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153992, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22154716, 'dashboard_result_id': 9965806, '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_P22154716_17-04-2025_21_49_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22154720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22154721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22154722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22154723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22154724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22154725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22154726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22154727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22154728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22154729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22154730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22154731, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22155322, 'dashboard_result_id': 9965807, '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_P22155322_17-04-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22155329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155334, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22155908, 'dashboard_result_id': 9965808, '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_P22155908_17-04-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22155940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155951, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22157097, 'dashboard_result_id': 9965809, '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_P22157097_17-04-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22157125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22157126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22157127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22157128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22157129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22157130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22157131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22157132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22157133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22157134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22157135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22157136, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22157982, 'dashboard_result_id': 9965810, '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_P22157982_17-04-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22158011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22158012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22158013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22158014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22158015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22158016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22158017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22158018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22158019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22158020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22158021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22158022, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22159002, 'dashboard_result_id': 9965811, '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_P22159002_17-04-2025_23_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159015, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22159366, 'dashboard_result_id': 9965812, '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_P22159366_17-04-2025_23_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159480, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22160562, 'dashboard_result_id': 9965813, '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_P22160562_17-04-2025_23_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22160599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22160600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22160601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22160602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22160603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22160604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22160605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22160606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22160607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22160608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22160609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22160610, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22161353, 'dashboard_result_id': 9965814, '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_P22161353_17-04-2025_23_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22161379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22161380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22161381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22161382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22161383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22161384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22161385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22161386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22161387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22161389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22161390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22161391, 'pht': 3726}}"}, {'dashboat_entry_day': 1721208, 'dashboard_run_id': 1733392, 'mtr_portfolio_id': 22162225, 'dashboard_result_id': 9965815, '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_P22162225_18-04-2025_01_01_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22162227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162238, '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 = 22109428 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': 2734113, 'mtr_portfolio_id': 22109428, 'created_at': datetime.datetime(2025, 4, 18, 5, 34, 49), 'result': '0.05326626683953516', 'result_long': None, 'result_double': None}] Qualite : 0.05326626683953516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22109428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109428_18-04-2025_05_34_53.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22109428 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_P22109428_18-04-2025_05_34_53.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22109455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109466, 'pht': 3726}}" where mtr_portfolio_id = 22109428 and dashboard_run_id = 1733392 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`=22109428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965738, 0.05326626683953516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22109428_18-04-2025_05_34_53.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22109455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22109456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22109457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22109458, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22109459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22109460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22109461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22109462, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22109463, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22109464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22109465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22109466, '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 = 22110285 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': 2734114, 'mtr_portfolio_id': 22110285, 'created_at': datetime.datetime(2025, 4, 18, 5, 34, 28), 'result': '0.05893092211052675', 'result_long': None, 'result_double': None}] Qualite : 0.05893092211052675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22110285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110285_18-04-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22110285 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_P22110285_18-04-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110345, 'pht': 3726}}" where mtr_portfolio_id = 22110285 and dashboard_run_id = 1733392 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`=22110285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965739, 0.05893092211052675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22110285_18-04-2025_05_34_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22110329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22110334, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22110336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22110337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22110338, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22110339, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22110340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22110341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22110342, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22110343, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22110344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22110345, '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 = 22111035 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': 2734115, 'mtr_portfolio_id': 22111035, 'created_at': datetime.datetime(2025, 4, 18, 5, 35, 28), 'result': '0.05039574714889079', 'result_long': None, 'result_double': None}] Qualite : 0.05039574714889079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111035_18-04-2025_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111035 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_P22111035_18-04-2025_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111047, 'pht': 3726}}" where mtr_portfolio_id = 22111035 and dashboard_run_id = 1733392 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`=22111035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965740, 0.05039574714889079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111035_18-04-2025_05_35_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111037, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111040, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111047, '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 = 22111457 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': 2734116, 'mtr_portfolio_id': 22111457, 'created_at': datetime.datetime(2025, 4, 18, 5, 36, 1), 'result': '0.044204172515926475', 'result_long': None, 'result_double': None}] Qualite : 0.044204172515926475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22111457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111457_18-04-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22111457 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_P22111457_18-04-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111469, 'pht': 3726}}" where mtr_portfolio_id = 22111457 and dashboard_run_id = 1733392 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`=22111457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965741, 0.044204172515926475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22111457_18-04-2025_05_36_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22111458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22111459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22111460, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22111461, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22111462, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22111463, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22111464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22111465, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22111466, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22111467, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22111468, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22111469, '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 = 22112780 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': 2734117, 'mtr_portfolio_id': 22112780, 'created_at': datetime.datetime(2025, 4, 18, 5, 36, 29), 'result': '0.0464569880209319', 'result_long': None, 'result_double': None}] Qualite : 0.0464569880209319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22112780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112780_18-04-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22112780 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_P22112780_18-04-2025_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22112782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112793, 'pht': 3726}}" where mtr_portfolio_id = 22112780 and dashboard_run_id = 1733392 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`=22112780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965742, 0.0464569880209319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22112780_18-04-2025_05_36_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22112782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22112783, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22112784, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22112785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22112786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22112787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22112788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22112789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22112790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22112791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22112792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22112793, '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 = 22113134 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': 2734118, 'mtr_portfolio_id': 22113134, 'created_at': datetime.datetime(2025, 4, 18, 5, 37, 28), 'result': '0.051928431047967925', 'result_long': None, 'result_double': None}] Qualite : 0.051928431047967925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22113134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113134_18-04-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22113134 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_P22113134_18-04-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113158, 'pht': 3726}}" where mtr_portfolio_id = 22113134 and dashboard_run_id = 1733392 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`=22113134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965743, 0.051928431047967925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113134_18-04-2025_05_37_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113147, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113151, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113154, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113155, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113156, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113158, '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 = 22113655 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': 2734119, 'mtr_portfolio_id': 22113655, 'created_at': datetime.datetime(2025, 4, 18, 5, 38), 'result': '0.04935505336417203', 'result_long': None, 'result_double': None}] Qualite : 0.04935505336417203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22113655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113655_18-04-2025_05_38_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22113655 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_P22113655_18-04-2025_05_38_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113668, 'pht': 3726}}" where mtr_portfolio_id = 22113655 and dashboard_run_id = 1733392 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`=22113655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965744, 0.04935505336417203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22113655_18-04-2025_05_38_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22113657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22113658, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22113659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22113660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22113661, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22113662, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22113663, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22113664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22113665, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22113666, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22113667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22113668, '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 = 22114370 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': 2734120, 'mtr_portfolio_id': 22114370, 'created_at': datetime.datetime(2025, 4, 18, 5, 38, 29), 'result': '0.0421763809676091', 'result_long': None, 'result_double': None}] Qualite : 0.0421763809676091 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22114370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114370_18-04-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22114370 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_P22114370_18-04-2025_05_38_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114419, 'pht': 3726}}" where mtr_portfolio_id = 22114370 and dashboard_run_id = 1733392 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`=22114370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965745, 0.0421763809676091, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114370_18-04-2025_05_38_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114413, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114418, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114419, '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 = 22114903 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': 2734121, 'mtr_portfolio_id': 22114903, 'created_at': datetime.datetime(2025, 4, 18, 5, 39, 28), 'result': '0.04637668367251088', 'result_long': None, 'result_double': None}] Qualite : 0.04637668367251088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22114903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114903_18-04-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22114903 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_P22114903_18-04-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114915, 'pht': 3726}}" where mtr_portfolio_id = 22114903 and dashboard_run_id = 1733392 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`=22114903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965746, 0.04637668367251088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22114903_18-04-2025_05_39_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22114904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22114905, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22114906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22114907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22114908, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22114909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22114910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22114911, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22114912, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22114913, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22114914, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22114915, '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 = 22115415 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': 2734122, 'mtr_portfolio_id': 22115415, 'created_at': datetime.datetime(2025, 4, 18, 5, 39, 59), 'result': '0.051671926222815766', 'result_long': None, 'result_double': None}] Qualite : 0.051671926222815766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22115415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115415_18-04-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22115415 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_P22115415_18-04-2025_05_40_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115427, 'pht': 3726}}" where mtr_portfolio_id = 22115415 and dashboard_run_id = 1733392 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`=22115415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965747, 0.051671926222815766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22115415_18-04-2025_05_40_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22115416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22115417, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22115418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22115419, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22115420, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22115421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22115422, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22115423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22115424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22115425, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22115426, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22115427, '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 = 22116007 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': 2734123, 'mtr_portfolio_id': 22116007, 'created_at': datetime.datetime(2025, 4, 18, 5, 40, 29), 'result': '0.06118719126519021', 'result_long': None, 'result_double': None}] Qualite : 0.06118719126519021 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22116007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116007_18-04-2025_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22116007 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_P22116007_18-04-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116043, 'pht': 3726}}" where mtr_portfolio_id = 22116007 and dashboard_run_id = 1733392 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`=22116007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965748, 0.06118719126519021, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116007_18-04-2025_05_40_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116037, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116038, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116043, '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 = 22116457 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': 2734124, 'mtr_portfolio_id': 22116457, 'created_at': datetime.datetime(2025, 4, 18, 5, 40, 38), 'result': '0.04927003371459403', 'result_long': None, 'result_double': None}] Qualite : 0.04927003371459403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22116457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116457_18-04-2025_05_40_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22116457 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_P22116457_18-04-2025_05_40_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116469, 'pht': 3726}}" where mtr_portfolio_id = 22116457 and dashboard_run_id = 1733392 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`=22116457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965749, 0.04927003371459403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22116457_18-04-2025_05_40_41.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22116458, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22116459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22116460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22116461, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22116462, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22116463, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22116464, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22116465, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22116466, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22116467, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22116468, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22116469, '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 = 22117034 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': 2734125, 'mtr_portfolio_id': 22117034, 'created_at': datetime.datetime(2025, 4, 18, 5, 41, 28), 'result': '0.06018409570347596', 'result_long': None, 'result_double': None}] Qualite : 0.06018409570347596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117034 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117034_17-04-2025_03_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117034 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_P22117034_17-04-2025_03_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117082, 'pht': 3726}}" where mtr_portfolio_id = 22117034 and dashboard_run_id = 1733392 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`=22117034 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965750, 0.06018409570347596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117034_17-04-2025_03_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117078, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117081, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117082, '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 = 22117347 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': 2734126, 'mtr_portfolio_id': 22117347, 'created_at': datetime.datetime(2025, 4, 18, 5, 41, 57), 'result': '0.04368670763285473', 'result_long': None, 'result_double': None}] Qualite : 0.04368670763285473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117347_17-04-2025_04_00_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117347 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_P22117347_17-04-2025_04_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22117350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117361, 'pht': 3726}}" where mtr_portfolio_id = 22117347 and dashboard_run_id = 1733392 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`=22117347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965751, 0.04368670763285473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117347_17-04-2025_04_00_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22117350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117354, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117359, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117360, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117361, '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 = 22117600 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': 2734127, 'mtr_portfolio_id': 22117600, 'created_at': datetime.datetime(2025, 4, 18, 5, 42, 29), 'result': '0.04223337352818484', 'result_long': None, 'result_double': None}] Qualite : 0.04223337352818484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22117600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117600_18-04-2025_00_02_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22117600 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_P22117600_18-04-2025_00_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117650, 'pht': 3726}}" where mtr_portfolio_id = 22117600 and dashboard_run_id = 1733392 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`=22117600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965752, 0.04223337352818484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22117600_18-04-2025_00_02_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22117639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22117640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22117641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22117642, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22117643, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22117644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22117645, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22117646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22117647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22117648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22117649, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22117650, '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 = 22119017 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': 2734128, 'mtr_portfolio_id': 22119017, 'created_at': datetime.datetime(2025, 4, 18, 5, 43, 30), 'result': '0.01883186654157207', 'result_long': None, 'result_double': None}] Qualite : 0.01883186654157207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22119017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119017_18-04-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22119017 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_P22119017_18-04-2025_05_43_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119029, 'pht': 3726}}" where mtr_portfolio_id = 22119017 and dashboard_run_id = 1733392 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`=22119017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965753, 0.01883186654157207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119017_18-04-2025_05_43_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119021, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119022, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119023, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119028, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119029, '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 = 22119196 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': 2734129, 'mtr_portfolio_id': 22119196, 'created_at': datetime.datetime(2025, 4, 18, 5, 43, 59), 'result': '0.04013905567270706', 'result_long': None, 'result_double': None}] Qualite : 0.04013905567270706 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22119196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119196_18-04-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22119196 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_P22119196_18-04-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119208, 'pht': 3726}}" where mtr_portfolio_id = 22119196 and dashboard_run_id = 1733392 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`=22119196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965754, 0.04013905567270706, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119196_18-04-2025_05_44_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22119197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119200, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119206, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119208, '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 = 22119607 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': 2734130, 'mtr_portfolio_id': 22119607, 'created_at': datetime.datetime(2025, 4, 18, 5, 44, 30), 'result': '0.040558905367645726', 'result_long': None, 'result_double': None}] Qualite : 0.040558905367645726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22119607 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119607_18-04-2025_05_44_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22119607 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_P22119607_18-04-2025_05_44_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119619, 'pht': 3726}}" where mtr_portfolio_id = 22119607 and dashboard_run_id = 1733392 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`=22119607 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965755, 0.040558905367645726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22119607_18-04-2025_05_44_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22119608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22119609, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22119610, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22119611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22119612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22119613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22119614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22119615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22119616, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22119617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22119618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22119619, '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 = 22120069 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': 2734131, 'mtr_portfolio_id': 22120069, 'created_at': datetime.datetime(2025, 4, 18, 5, 45, 29), 'result': '0.04962723338689827', 'result_long': None, 'result_double': None}] Qualite : 0.04962723338689827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120069 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120069_18-04-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120069 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_P22120069_18-04-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120081, 'pht': 3726}}" where mtr_portfolio_id = 22120069 and dashboard_run_id = 1733392 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`=22120069 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965756, 0.04962723338689827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120069_18-04-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120070, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120072, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120073, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120075, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120077, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120078, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120081, '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 = 22120437 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': 2734132, 'mtr_portfolio_id': 22120437, 'created_at': datetime.datetime(2025, 4, 18, 5, 45, 38), 'result': '0.04780230937370558', 'result_long': None, 'result_double': None}] Qualite : 0.04780230937370558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22120437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120437_18-04-2025_05_45_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22120437 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_P22120437_18-04-2025_05_45_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120510, 'pht': 3726}}" where mtr_portfolio_id = 22120437 and dashboard_run_id = 1733392 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`=22120437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965757, 0.04780230937370558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22120437_18-04-2025_05_45_39.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22120499, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22120500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22120501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22120502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22120503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22120504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22120505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22120506, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22120507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22120508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22120509, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22120510, '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 = 22121396 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': 2734133, 'mtr_portfolio_id': 22121396, 'created_at': datetime.datetime(2025, 4, 18, 5, 45, 59), 'result': '0.0217253490201696', 'result_long': None, 'result_double': None}] Qualite : 0.0217253490201696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22121396 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22121396_18-04-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22121396 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_P22121396_18-04-2025_05_46_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121408, 'pht': 3726}}" where mtr_portfolio_id = 22121396 and dashboard_run_id = 1733392 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`=22121396 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965758, 0.0217253490201696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22121396_18-04-2025_05_46_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121397, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121399, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121401, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121403, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121404, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121408, '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 = 22121697 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': 2734134, 'mtr_portfolio_id': 22121697, 'created_at': datetime.datetime(2025, 4, 18, 5, 46, 27), 'result': '0.05472739365877293', 'result_long': None, 'result_double': None}] Qualite : 0.05472739365877293 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22121697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22121697_18-04-2025_05_46_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22121697 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_P22121697_18-04-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121715, 'pht': 3726}}" where mtr_portfolio_id = 22121697 and dashboard_run_id = 1733392 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`=22121697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965759, 0.05472739365877293, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22121697_18-04-2025_05_46_28.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22121704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22121705, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22121706, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22121707, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22121708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22121709, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22121710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22121711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22121712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22121713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22121714, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22121715, '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 = 22122263 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': 2734135, 'mtr_portfolio_id': 22122263, 'created_at': datetime.datetime(2025, 4, 18, 5, 47, 31), 'result': '0.019539957057527424', 'result_long': None, 'result_double': None}] Qualite : 0.019539957057527424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122263 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122263_18-04-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122263 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_P22122263_18-04-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22122266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122277, 'pht': 3726}}" where mtr_portfolio_id = 22122263 and dashboard_run_id = 1733392 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`=22122263 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965760, 0.019539957057527424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122263_18-04-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22122266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122268, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122271, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22122272, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122274, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122277, '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 = 22122830 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': 2734136, 'mtr_portfolio_id': 22122830, 'created_at': datetime.datetime(2025, 4, 18, 5, 48, 1), 'result': '0.036302187745342857', 'result_long': None, 'result_double': None}] Qualite : 0.036302187745342857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22122830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122830_18-04-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22122830 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_P22122830_18-04-2025_05_48_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22122876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122887, 'pht': 3726}}" where mtr_portfolio_id = 22122830 and dashboard_run_id = 1733392 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`=22122830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965761, 0.036302187745342857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22122830_18-04-2025_05_48_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22122876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22122877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22122878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22122879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22122880, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22122881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22122882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22122883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22122884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22122885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22122886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22122887, '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 = 22123197 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': 2734137, 'mtr_portfolio_id': 22123197, 'created_at': datetime.datetime(2025, 4, 18, 5, 48, 30), 'result': '0.06381588274222416', 'result_long': None, 'result_double': None}] Qualite : 0.06381588274222416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22123197 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123197_18-04-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22123197 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_P22123197_18-04-2025_05_48_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123211, 'pht': 3726}}" where mtr_portfolio_id = 22123197 and dashboard_run_id = 1733392 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`=22123197 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965762, 0.06381588274222416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123197_18-04-2025_05_48_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123202, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123211, '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 = 22123509 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': 2734138, 'mtr_portfolio_id': 22123509, 'created_at': datetime.datetime(2025, 4, 18, 5, 49, 29), 'result': '0.06765689112557549', 'result_long': None, 'result_double': None}] Qualite : 0.06765689112557549 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22123509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123509_18-04-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22123509 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_P22123509_18-04-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22123536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123547, 'pht': 3726}}" where mtr_portfolio_id = 22123509 and dashboard_run_id = 1733392 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`=22123509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965763, 0.06765689112557549, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123509_18-04-2025_05_49_30.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22123536, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123538, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123543, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123547, '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 = 22123926 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': 2734139, 'mtr_portfolio_id': 22123926, 'created_at': datetime.datetime(2025, 4, 18, 5, 49, 59), 'result': '0.05801691974205643', 'result_long': None, 'result_double': None}] Qualite : 0.05801691974205643 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22123926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123926_18-04-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22123926 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_P22123926_18-04-2025_05_50_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123943, 'pht': 3726}}" where mtr_portfolio_id = 22123926 and dashboard_run_id = 1733392 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`=22123926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965764, 0.05801691974205643, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22123926_18-04-2025_05_50_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22123932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22123933, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22123934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22123935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22123936, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22123937, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22123938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22123939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22123940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22123941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22123942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22123943, '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 = 22125427 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': 2734140, 'mtr_portfolio_id': 22125427, 'created_at': datetime.datetime(2025, 4, 18, 5, 50, 27), 'result': '0.07745474073352679', 'result_long': None, 'result_double': None}] Qualite : 0.07745474073352679 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22125427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22125427_18-04-2025_05_50_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22125427 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_P22125427_18-04-2025_05_50_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125440, 'pht': 3726}}" where mtr_portfolio_id = 22125427 and dashboard_run_id = 1733392 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`=22125427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965765, 0.07745474073352679, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22125427_18-04-2025_05_50_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125430, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125432, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125434, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125435, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125436, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125438, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125440, '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 = 22125958 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': 2734141, 'mtr_portfolio_id': 22125958, 'created_at': datetime.datetime(2025, 4, 18, 5, 50, 39), 'result': '0.04280518713586551', 'result_long': None, 'result_double': None}] Qualite : 0.04280518713586551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22125958 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22125958_18-04-2025_05_50_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22125958 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_P22125958_18-04-2025_05_50_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125973, 'pht': 3726}}" where mtr_portfolio_id = 22125958 and dashboard_run_id = 1733392 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`=22125958 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965766, 0.04280518713586551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22125958_18-04-2025_05_50_41.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22125962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22125963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22125964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22125965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22125966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22125967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22125968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22125969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22125970, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22125971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22125972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22125973, '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 = 22126585 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': 2734142, 'mtr_portfolio_id': 22126585, 'created_at': datetime.datetime(2025, 4, 18, 5, 51, 31), 'result': '0.04293720886533631', 'result_long': None, 'result_double': None}] Qualite : 0.04293720886533631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22126585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22126585_18-04-2025_05_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22126585 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_P22126585_18-04-2025_05_51_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22126623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22126624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22126625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22126626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22126627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22126628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22126629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22126630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22126631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22126632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22126633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22126634, 'pht': 3726}}" where mtr_portfolio_id = 22126585 and dashboard_run_id = 1733392 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`=22126585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965767, 0.04293720886533631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22126585_18-04-2025_05_51_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22126623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22126624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22126625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22126626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22126627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22126628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22126629, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22126630, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22126631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22126632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22126633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22126634, '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 = 22127126 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': 2734143, 'mtr_portfolio_id': 22127126, 'created_at': datetime.datetime(2025, 4, 18, 5, 51, 58), 'result': '0.042853242291227216', 'result_long': None, 'result_double': None}] Qualite : 0.042853242291227216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22127126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22127126_18-04-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22127126 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_P22127126_18-04-2025_05_52_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127138, 'pht': 3726}}" where mtr_portfolio_id = 22127126 and dashboard_run_id = 1733392 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`=22127126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965768, 0.042853242291227216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22127126_18-04-2025_05_52_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127129, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127130, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127137, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127138, '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 = 22127830 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': 2734144, 'mtr_portfolio_id': 22127830, 'created_at': datetime.datetime(2025, 4, 18, 5, 52, 59), 'result': '0.049998469642473356', 'result_long': None, 'result_double': None}] Qualite : 0.049998469642473356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22127830 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22127830_18-04-2025_05_53_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22127830 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_P22127830_18-04-2025_05_53_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127842, 'pht': 3726}}" where mtr_portfolio_id = 22127830 and dashboard_run_id = 1733392 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`=22127830 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965769, 0.049998469642473356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22127830_18-04-2025_05_53_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22127831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22127832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22127833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22127834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22127835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22127836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22127837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22127838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22127839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22127840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22127841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22127842, '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 = 22128489 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': 2734145, 'mtr_portfolio_id': 22128489, 'created_at': datetime.datetime(2025, 4, 18, 5, 53, 30), 'result': '0.04248544942436387', 'result_long': None, 'result_double': None}] Qualite : 0.04248544942436387 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22128489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22128489_18-04-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22128489 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_P22128489_18-04-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22128493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22128494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22128495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22128496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22128497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22128498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22128499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22128500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22128501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22128502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22128503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22128504, 'pht': 3726}}" where mtr_portfolio_id = 22128489 and dashboard_run_id = 1733392 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`=22128489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965770, 0.04248544942436387, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22128489_18-04-2025_05_53_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22128493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22128494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22128495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22128496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22128497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22128498, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22128499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22128500, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22128501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22128502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22128503, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22128504, '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 = 22129126 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': 2734146, 'mtr_portfolio_id': 22129126, 'created_at': datetime.datetime(2025, 4, 18, 5, 54), 'result': '0.0486787016015683', 'result_long': None, 'result_double': None}] Qualite : 0.0486787016015683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22129126 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22129126_18-04-2025_05_54_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22129126 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_P22129126_18-04-2025_05_54_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22129156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129161, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129167, 'pht': 3726}}" where mtr_portfolio_id = 22129126 and dashboard_run_id = 1733392 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`=22129126 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965771, 0.0486787016015683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22129126_18-04-2025_05_54_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22129156, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129157, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129159, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129161, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129162, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129163, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129164, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129166, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129167, '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 = 22129636 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': 2734147, 'mtr_portfolio_id': 22129636, 'created_at': datetime.datetime(2025, 4, 18, 5, 54, 29), 'result': '0.0291746607263226', 'result_long': None, 'result_double': None}] Qualite : 0.0291746607263226 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22129636 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22129636_18-04-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22129636 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_P22129636_18-04-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22129669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129674, 'pht': 3726}}" where mtr_portfolio_id = 22129636 and dashboard_run_id = 1733392 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`=22129636 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965772, 0.0291746607263226, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22129636_18-04-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22129663, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22129664, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22129665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22129666, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22129667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22129668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22129669, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22129670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22129671, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22129672, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22129673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22129674, '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 = 22130303 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': 2734148, 'mtr_portfolio_id': 22130303, 'created_at': datetime.datetime(2025, 4, 18, 5, 55, 28), 'result': '0.0361299952590032', 'result_long': None, 'result_double': None}] Qualite : 0.0361299952590032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22130303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22130303_18-04-2025_05_55_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22130303 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_P22130303_18-04-2025_05_55_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130339, 'pht': 3726}}" where mtr_portfolio_id = 22130303 and dashboard_run_id = 1733392 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`=22130303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965773, 0.0361299952590032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22130303_18-04-2025_05_55_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130329, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130331, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130332, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130333, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130334, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130338, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130339, '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 = 22130914 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': 2734149, 'mtr_portfolio_id': 22130914, 'created_at': datetime.datetime(2025, 4, 18, 5, 55, 36), 'result': '0.043850361382757254', 'result_long': None, 'result_double': None}] Qualite : 0.043850361382757254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22130914 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22130914_18-04-2025_05_55_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22130914 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_P22130914_18-04-2025_05_55_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130927, 'pht': 3726}}" where mtr_portfolio_id = 22130914 and dashboard_run_id = 1733392 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`=22130914 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965774, 0.043850361382757254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22130914_18-04-2025_05_55_38.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22130916, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22130917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22130918, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22130919, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22130920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22130921, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22130922, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22130923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22130924, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22130925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22130926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22130927, '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 = 22131282 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': 2734150, 'mtr_portfolio_id': 22131282, 'created_at': datetime.datetime(2025, 4, 18, 5, 55, 57), 'result': '0.03564034606466898', 'result_long': None, 'result_double': None}] Qualite : 0.03564034606466898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22131282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22131282_18-04-2025_05_55_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22131282 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_P22131282_18-04-2025_05_55_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131295, 'pht': 3726}}" where mtr_portfolio_id = 22131282 and dashboard_run_id = 1733392 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`=22131282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965775, 0.03564034606466898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22131282_18-04-2025_05_55_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131294, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131295, '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 = 22131955 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': 2734151, 'mtr_portfolio_id': 22131955, 'created_at': datetime.datetime(2025, 4, 18, 5, 56, 31), 'result': '0.02678960900464045', 'result_long': None, 'result_double': None}] Qualite : 0.02678960900464045 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22131955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22131955_18-04-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22131955 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_P22131955_18-04-2025_05_56_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131995, 'pht': 3726}}" where mtr_portfolio_id = 22131955 and dashboard_run_id = 1733392 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`=22131955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965776, 0.02678960900464045, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22131955_18-04-2025_05_56_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22131984, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22131985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22131986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22131987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22131988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22131989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22131990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22131991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22131992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22131993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22131994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22131995, '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 = 22134150 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': 2734152, 'mtr_portfolio_id': 22134150, 'created_at': datetime.datetime(2025, 4, 18, 5, 57, 47), 'result': '0.048441615925222364', 'result_long': None, 'result_double': None}] Qualite : 0.048441615925222364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22134150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22134150_18-04-2025_05_57_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22134150 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_P22134150_18-04-2025_05_57_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134162, 'pht': 3726}}" where mtr_portfolio_id = 22134150 and dashboard_run_id = 1733392 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`=22134150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965777, 0.048441615925222364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22134150_18-04-2025_05_57_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134151, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134153, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134155, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134160, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134162, '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 = 22134502 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': 2734153, 'mtr_portfolio_id': 22134502, 'created_at': datetime.datetime(2025, 4, 18, 5, 57, 29), 'result': '0.057355486934175096', 'result_long': None, 'result_double': None}] Qualite : 0.057355486934175096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22134502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22134502_18-04-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22134502 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_P22134502_18-04-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134573, 'pht': 3726}}" where mtr_portfolio_id = 22134502 and dashboard_run_id = 1733392 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`=22134502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965778, 0.057355486934175096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22134502_18-04-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22134561, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22134562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22134563, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22134564, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22134565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22134566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22134567, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22134568, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22134569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22134570, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22134571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22134573, '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 = 22135140 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': 2734154, 'mtr_portfolio_id': 22135140, 'created_at': datetime.datetime(2025, 4, 18, 5, 57, 59), 'result': '0.04704927001433636', 'result_long': None, 'result_double': None}] Qualite : 0.04704927001433636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22135140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22135140_18-04-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22135140 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_P22135140_18-04-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135152, 'pht': 3726}}" where mtr_portfolio_id = 22135140 and dashboard_run_id = 1733392 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`=22135140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965779, 0.04704927001433636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22135140_18-04-2025_05_58_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135144, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135146, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135147, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135150, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135151, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135152, '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 = 22135842 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': 2734155, 'mtr_portfolio_id': 22135842, 'created_at': datetime.datetime(2025, 4, 18, 5, 58, 29), 'result': '0.036427177880666683', 'result_long': None, 'result_double': None}] Qualite : 0.036427177880666683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22135842 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22135842_18-04-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22135842 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_P22135842_18-04-2025_05_58_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135883, 'pht': 3726}}" where mtr_portfolio_id = 22135842 and dashboard_run_id = 1733392 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`=22135842 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965780, 0.036427177880666683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22135842_18-04-2025_05_58_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22135872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22135873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22135874, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22135875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22135876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22135877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22135878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22135879, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22135880, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22135881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22135882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22135883, '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 = 22136371 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': 2734156, 'mtr_portfolio_id': 22136371, 'created_at': datetime.datetime(2025, 4, 18, 5, 59, 28), 'result': '0.04674164160335425', 'result_long': None, 'result_double': None}] Qualite : 0.04674164160335425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22136371 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22136371_18-04-2025_05_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22136371 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_P22136371_18-04-2025_05_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22136378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136385, 'pht': 3726}}" where mtr_portfolio_id = 22136371 and dashboard_run_id = 1733392 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`=22136371 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965781, 0.04674164160335425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22136371_18-04-2025_05_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22136378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136379, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136380, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136381, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136385, '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 = 22136983 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': 2734157, 'mtr_portfolio_id': 22136983, 'created_at': datetime.datetime(2025, 4, 18, 5, 59, 57), 'result': '0.035405108572197974', 'result_long': None, 'result_double': None}] Qualite : 0.035405108572197974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22136983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22136983_18-04-2025_06_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22136983 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_P22136983_18-04-2025_06_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22136988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136999, 'pht': 3726}}" where mtr_portfolio_id = 22136983 and dashboard_run_id = 1733392 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`=22136983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965782, 0.035405108572197974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22136983_18-04-2025_06_00_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22136988, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22136989, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22136990, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22136991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22136992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22136993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22136994, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22136995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22136996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22136997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22136998, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22136999, '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 = 22137490 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': 2734158, 'mtr_portfolio_id': 22137490, 'created_at': datetime.datetime(2025, 4, 18, 6, 0, 32), 'result': '0.04263601798405812', 'result_long': None, 'result_double': None}] Qualite : 0.04263601798405812 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22137490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22137490_18-04-2025_06_00_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22137490 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_P22137490_18-04-2025_06_00_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22137492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22137493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22137494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22137495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22137496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22137497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22137498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22137499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22137500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22137501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22137502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22137503, 'pht': 3726}}" where mtr_portfolio_id = 22137490 and dashboard_run_id = 1733392 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`=22137490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965783, 0.04263601798405812, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22137490_18-04-2025_06_00_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22137492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22137493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22137494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22137495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22137496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22137497, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22137498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22137499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22137500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22137501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22137502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22137503, '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 = 22138183 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': 2734159, 'mtr_portfolio_id': 22138183, 'created_at': datetime.datetime(2025, 4, 18, 6, 0, 41), 'result': '0.03734912331715338', 'result_long': None, 'result_double': None}] Qualite : 0.03734912331715338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22138183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22138183_18-04-2025_06_00_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22138183 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_P22138183_18-04-2025_06_00_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138219, 'pht': 3726}}" where mtr_portfolio_id = 22138183 and dashboard_run_id = 1733392 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`=22138183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965784, 0.03734912331715338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22138183_18-04-2025_06_00_43.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138209, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138211, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138212, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138213, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138214, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138217, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138218, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138219, '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 = 22138849 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': 2734160, 'mtr_portfolio_id': 22138849, 'created_at': datetime.datetime(2025, 4, 18, 6, 1, 30), 'result': '0.03210801050124694', 'result_long': None, 'result_double': None}] Qualite : 0.03210801050124694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22138849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22138849_18-04-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22138849 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_P22138849_18-04-2025_06_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138891, 'pht': 3726}}" where mtr_portfolio_id = 22138849 and dashboard_run_id = 1733392 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`=22138849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965785, 0.03210801050124694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22138849_18-04-2025_06_01_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22138880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22138881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22138882, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22138883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22138884, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22138885, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22138886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22138887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22138888, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22138889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22138890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22138891, '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 = 22139472 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': 2734161, 'mtr_portfolio_id': 22139472, 'created_at': datetime.datetime(2025, 4, 18, 6, 1, 58), 'result': '0.03536266583430932', 'result_long': None, 'result_double': None}] Qualite : 0.03536266583430932 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22139472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22139472_18-04-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22139472 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_P22139472_18-04-2025_06_02_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22139473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22139474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22139475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22139476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22139477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22139478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22139479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22139480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22139481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22139482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22139483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22139484, 'pht': 3726}}" where mtr_portfolio_id = 22139472 and dashboard_run_id = 1733392 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`=22139472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965786, 0.03536266583430932, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22139472_18-04-2025_06_02_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22139473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22139474, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22139475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22139476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22139477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22139478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22139479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22139480, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22139481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22139482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22139483, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22139484, '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 = 22140073 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': 2734162, 'mtr_portfolio_id': 22140073, 'created_at': datetime.datetime(2025, 4, 18, 6, 2, 31), 'result': '0.04332484854653057', 'result_long': None, 'result_double': None}] Qualite : 0.04332484854653057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22140073 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22140073_18-04-2025_06_02_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22140073 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_P22140073_18-04-2025_06_02_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22140080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140091, 'pht': 3726}}" where mtr_portfolio_id = 22140073 and dashboard_run_id = 1733392 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`=22140073 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965787, 0.04332484854653057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22140073_18-04-2025_06_02_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22140080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140083, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140084, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140090, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140091, '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 = 22140760 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': 2734163, 'mtr_portfolio_id': 22140760, 'created_at': datetime.datetime(2025, 4, 18, 6, 3, 28), 'result': '0.05048092066079833', 'result_long': None, 'result_double': None}] Qualite : 0.05048092066079833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22140760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22140760_18-04-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22140760 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_P22140760_18-04-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22140772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140774, 'pht': 3726}}" where mtr_portfolio_id = 22140760 and dashboard_run_id = 1733392 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`=22140760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965788, 0.05048092066079833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22140760_18-04-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22140763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22140764, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22140765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22140766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22140767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22140768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22140769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22140770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22140771, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22140772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22140773, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22140774, '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 = 22141160 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': 2734164, 'mtr_portfolio_id': 22141160, 'created_at': datetime.datetime(2025, 4, 18, 6, 3, 57), 'result': '0.05386074474878272', 'result_long': None, 'result_double': None}] Qualite : 0.05386074474878272 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22141160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22141160_18-04-2025_06_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22141160 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_P22141160_18-04-2025_06_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141191, 'pht': 3726}}" where mtr_portfolio_id = 22141160 and dashboard_run_id = 1733392 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`=22141160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965789, 0.05386074474878272, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22141160_18-04-2025_06_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141180, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141181, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141182, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141186, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141188, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141191, '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 = 22141820 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': 2734165, 'mtr_portfolio_id': 22141820, 'created_at': datetime.datetime(2025, 4, 18, 6, 4, 28), 'result': '0.031553497382468064', 'result_long': None, 'result_double': None}] Qualite : 0.031553497382468064 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22141820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22141820_18-04-2025_06_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22141820 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_P22141820_18-04-2025_06_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141834, 'pht': 3726}}" where mtr_portfolio_id = 22141820 and dashboard_run_id = 1733392 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`=22141820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965790, 0.031553497382468064, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22141820_18-04-2025_06_04_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22141823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22141824, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22141825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22141826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22141827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22141828, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22141829, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22141830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22141831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22141832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22141833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22141834, '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 = 22142522 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': 2734166, 'mtr_portfolio_id': 22142522, 'created_at': datetime.datetime(2025, 4, 18, 6, 5, 29), 'result': '0.052901998624234975', 'result_long': None, 'result_double': None}] Qualite : 0.052901998624234975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22142522 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22142522_18-04-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22142522 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_P22142522_18-04-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22142524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22142525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22142526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22142527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22142528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22142529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22142530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22142531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22142532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22142533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22142534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22142535, 'pht': 3726}}" where mtr_portfolio_id = 22142522 and dashboard_run_id = 1733392 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`=22142522 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965791, 0.052901998624234975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22142522_18-04-2025_06_05_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22142524, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22142525, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22142526, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22142527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22142528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22142529, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22142530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22142531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22142532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22142533, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22142534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22142535, '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 = 22143351 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': 2734167, 'mtr_portfolio_id': 22143351, 'created_at': datetime.datetime(2025, 4, 18, 6, 5, 39), 'result': '0.04290799651615263', 'result_long': None, 'result_double': None}] Qualite : 0.04290799651615263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22143351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22143351_18-04-2025_06_05_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22143351 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_P22143351_18-04-2025_06_05_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22143354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22143355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22143356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22143357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22143358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22143359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22143360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22143361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22143362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22143363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22143364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22143365, 'pht': 3726}}" where mtr_portfolio_id = 22143351 and dashboard_run_id = 1733392 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`=22143351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965792, 0.04290799651615263, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22143351_18-04-2025_06_05_42.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22143354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22143355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22143356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22143357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22143358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22143359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22143360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22143361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22143362, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22143363, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22143364, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22143365, '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 = 22144314 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': 2734168, 'mtr_portfolio_id': 22144314, 'created_at': datetime.datetime(2025, 4, 18, 6, 6, 1), 'result': '0.05087998097914582', 'result_long': None, 'result_double': None}] Qualite : 0.05087998097914582 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22144314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22144314_18-04-2025_06_06_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22144314 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_P22144314_18-04-2025_06_06_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144350, 'pht': 3726}}" where mtr_portfolio_id = 22144314 and dashboard_run_id = 1733392 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`=22144314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965793, 0.05087998097914582, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22144314_18-04-2025_06_06_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144340, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144341, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144343, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144344, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144347, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144348, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144349, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144350, '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 = 22144739 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': 2734169, 'mtr_portfolio_id': 22144739, 'created_at': datetime.datetime(2025, 4, 18, 6, 6, 28), 'result': '0.061638149001256484', 'result_long': None, 'result_double': None}] Qualite : 0.061638149001256484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22144739 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22144739_18-04-2025_06_06_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22144739 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_P22144739_18-04-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144751, 'pht': 3726}}" where mtr_portfolio_id = 22144739 and dashboard_run_id = 1733392 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`=22144739 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965794, 0.061638149001256484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22144739_18-04-2025_06_06_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22144740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22144741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22144742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22144743, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22144744, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22144745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22144746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22144747, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22144748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22144749, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22144750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22144751, '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 = 22145408 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': 2734170, 'mtr_portfolio_id': 22145408, 'created_at': datetime.datetime(2025, 4, 18, 6, 7, 27), 'result': '0.044419526685090936', 'result_long': None, 'result_double': None}] Qualite : 0.044419526685090936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22145408 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22145408_18-04-2025_06_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22145408 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_P22145408_18-04-2025_06_07_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22145449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22145450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22145451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22145452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22145453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22145454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22145455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22145456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22145457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22145458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22145459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22145460, 'pht': 3726}}" where mtr_portfolio_id = 22145408 and dashboard_run_id = 1733392 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`=22145408 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965795, 0.044419526685090936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22145408_18-04-2025_06_07_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22145449, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22145450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22145451, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22145452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22145453, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22145454, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22145455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22145456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22145457, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22145458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22145459, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22145460, '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 = 22146025 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': 2734171, 'mtr_portfolio_id': 22146025, 'created_at': datetime.datetime(2025, 4, 18, 6, 7, 57), 'result': '0.05358218278873282', 'result_long': None, 'result_double': None}] Qualite : 0.05358218278873282 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22146025 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22146025_18-04-2025_06_07_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22146025 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_P22146025_18-04-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146040, 'pht': 3726}}" where mtr_portfolio_id = 22146025 and dashboard_run_id = 1733392 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`=22146025 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965796, 0.05358218278873282, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22146025_18-04-2025_06_07_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146032, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146033, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146034, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146035, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146037, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146039, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146040, '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 = 22146806 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': 2734172, 'mtr_portfolio_id': 22146806, 'created_at': datetime.datetime(2025, 4, 18, 6, 8, 30), 'result': '0.04358670418503533', 'result_long': None, 'result_double': None}] Qualite : 0.04358670418503533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22146806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22146806_18-04-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22146806 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_P22146806_18-04-2025_06_08_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146865, 'pht': 3726}}" where mtr_portfolio_id = 22146806 and dashboard_run_id = 1733392 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`=22146806 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965797, 0.04358670418503533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22146806_18-04-2025_06_08_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22146854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22146855, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22146856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22146857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22146858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22146859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22146860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22146861, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22146862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22146863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22146864, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22146865, '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 = 22147754 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': 2734173, 'mtr_portfolio_id': 22147754, 'created_at': datetime.datetime(2025, 4, 18, 6, 9, 29), 'result': '0.045354416032341485', 'result_long': None, 'result_double': None}] Qualite : 0.045354416032341485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22147754 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22147754_18-04-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22147754 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_P22147754_18-04-2025_06_09_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22147800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22147802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22147803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22147804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22147806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22147807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22147808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22147810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22147811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22147812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22147813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22147815, 'pht': 3726}}" where mtr_portfolio_id = 22147754 and dashboard_run_id = 1733392 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`=22147754 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965798, 0.045354416032341485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22147754_18-04-2025_06_09_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22147800, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22147802, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22147803, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22147804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22147806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22147807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22147808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22147810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22147811, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22147812, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22147813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22147815, '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 = 22148955 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': 2734174, 'mtr_portfolio_id': 22148955, 'created_at': datetime.datetime(2025, 4, 18, 6, 9, 58), 'result': '0.05701276290198671', 'result_long': None, 'result_double': None}] Qualite : 0.05701276290198671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22148955 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22148955_18-04-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22148955 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_P22148955_18-04-2025_06_10_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22148984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22148985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22148986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22148987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22148988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22148989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22148990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22148991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22148992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22148993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22148994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22148995, 'pht': 3726}}" where mtr_portfolio_id = 22148955 and dashboard_run_id = 1733392 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`=22148955 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965799, 0.05701276290198671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22148955_18-04-2025_06_10_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22148984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22148985, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22148986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22148987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22148988, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22148989, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22148990, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22148991, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22148992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22148993, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22148994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22148995, '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 = 22149555 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': 2734175, 'mtr_portfolio_id': 22149555, 'created_at': datetime.datetime(2025, 4, 18, 6, 10, 29), 'result': '0.04479477784905492', 'result_long': None, 'result_double': None}] Qualite : 0.04479477784905492 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22149555 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22149555_18-04-2025_06_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22149555 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_P22149555_18-04-2025_06_10_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22149558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22149559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22149560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22149561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22149562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22149563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22149564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22149565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22149566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22149567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22149568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22149569, 'pht': 3726}}" where mtr_portfolio_id = 22149555 and dashboard_run_id = 1733392 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`=22149555 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965800, 0.04479477784905492, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22149555_18-04-2025_06_10_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22149558, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22149559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22149560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22149561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22149562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22149563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22149564, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22149565, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22149566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22149567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22149568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22149569, '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 = 22150422 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': 2734176, 'mtr_portfolio_id': 22150422, 'created_at': datetime.datetime(2025, 4, 18, 6, 10, 38), 'result': '0.038885186326786725', 'result_long': None, 'result_double': None}] Qualite : 0.038885186326786725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22150422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22150422_18-04-2025_06_10_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22150422 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_P22150422_18-04-2025_06_10_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22150536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22150537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22150538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22150539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22150540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22150541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22150542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22150543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22150544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22150545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22150546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22150547, 'pht': 3726}}" where mtr_portfolio_id = 22150422 and dashboard_run_id = 1733392 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`=22150422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965801, 0.038885186326786725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22150422_18-04-2025_06_10_41.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22150536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22150537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22150538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22150539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22150540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22150541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22150542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22150543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22150544, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22150545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22150546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22150547, '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 = 22151606 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': 2734177, 'mtr_portfolio_id': 22151606, 'created_at': datetime.datetime(2025, 4, 18, 6, 11, 28), 'result': '0.06284813987438001', 'result_long': None, 'result_double': None}] Qualite : 0.06284813987438001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22151606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151606_18-04-2025_06_11_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22151606 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_P22151606_18-04-2025_06_11_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, 'pht': 3726}}" where mtr_portfolio_id = 22151606 and dashboard_run_id = 1733392 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`=22151606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965802, 0.06284813987438001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151606_18-04-2025_06_11_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22151608, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22151609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22151610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22151611, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22151612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22151613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22151614, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22151615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22151616, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22151617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22151618, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22151619, '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 = 22151992 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': 2734178, 'mtr_portfolio_id': 22151992, 'created_at': datetime.datetime(2025, 4, 18, 6, 11, 59), 'result': '0.044936235306311294', 'result_long': None, 'result_double': None}] Qualite : 0.044936235306311294 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22151992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_18-04-2025_06_12_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22151992 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_P22151992_18-04-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, 'pht': 3726}}" where mtr_portfolio_id = 22151992 and dashboard_run_id = 1733392 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`=22151992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965803, 0.044936235306311294, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22151992_18-04-2025_06_12_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22152053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22152054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22152055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22152056, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22152057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22152058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22152059, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22152060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22152061, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22152062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22152063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22152065, '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 = 22153496 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': 2734179, 'mtr_portfolio_id': 22153496, 'created_at': datetime.datetime(2025, 4, 18, 6, 12, 30), 'result': '0.04876306353602063', 'result_long': None, 'result_double': None}] Qualite : 0.04876306353602063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22153496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153496_18-04-2025_06_12_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22153496 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_P22153496_18-04-2025_06_12_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153547, 'pht': 3726}}" where mtr_portfolio_id = 22153496 and dashboard_run_id = 1733392 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`=22153496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965804, 0.04876306353602063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153496_18-04-2025_06_12_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153542, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153543, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153545, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153547, '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 = 22153951 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': 2732652, 'mtr_portfolio_id': 22153951, 'created_at': datetime.datetime(2025, 4, 17, 21, 33), 'result': '0.06628926190622103', 'result_long': None, 'result_double': None}] Qualite : 0.06628926190622103 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22153951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153951_17-04-2025_21_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22153951 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_P22153951_17-04-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153992, 'pht': 3726}}" where mtr_portfolio_id = 22153951 and dashboard_run_id = 1733392 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`=22153951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965805, 0.06628926190622103, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22153951_17-04-2025_21_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22153981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22153982, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22153983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22153984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22153985, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22153986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22153987, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22153988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22153989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22153990, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22153991, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22153992, '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 = 22154716 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': 2732733, 'mtr_portfolio_id': 22154716, 'created_at': datetime.datetime(2025, 4, 17, 21, 49, 30), 'result': '0.04768226599632791', 'result_long': None, 'result_double': None}] Qualite : 0.04768226599632791 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22154716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22154716_17-04-2025_21_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22154716 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_P22154716_17-04-2025_21_49_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22154720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22154721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22154722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22154723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22154724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22154725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22154726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22154727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22154728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22154729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22154730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22154731, 'pht': 3726}}" where mtr_portfolio_id = 22154716 and dashboard_run_id = 1733392 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`=22154716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965806, 0.04768226599632791, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22154716_17-04-2025_21_49_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22154720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22154721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22154722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22154723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22154724, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22154725, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22154726, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22154727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22154728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22154729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22154730, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22154731, '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 = 22155322 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': 2732785, 'mtr_portfolio_id': 22155322, 'created_at': datetime.datetime(2025, 4, 17, 22, 3), 'result': '0.04840716398683219', 'result_long': None, 'result_double': None}] Qualite : 0.04840716398683219 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22155322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22155322_17-04-2025_22_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22155322 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_P22155322_17-04-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22155329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155334, 'pht': 3726}}" where mtr_portfolio_id = 22155322 and dashboard_run_id = 1733392 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`=22155322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965807, 0.04840716398683219, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22155322_17-04-2025_22_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155323, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155325, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22155329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155334, '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 = 22155908 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': 2732882, 'mtr_portfolio_id': 22155908, 'created_at': datetime.datetime(2025, 4, 17, 22, 18, 59), 'result': '0.06299230351687314', 'result_long': None, 'result_double': None}] Qualite : 0.06299230351687314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22155908 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22155908_17-04-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22155908 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_P22155908_17-04-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22155940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155951, 'pht': 3726}}" where mtr_portfolio_id = 22155908 and dashboard_run_id = 1733392 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`=22155908 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965808, 0.06299230351687314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22155908_17-04-2025_22_19_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22155940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22155941, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22155942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22155943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22155944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22155945, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22155946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22155947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22155948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22155949, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22155950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22155951, '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 = 22157097 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': 2732960, 'mtr_portfolio_id': 22157097, 'created_at': datetime.datetime(2025, 4, 17, 22, 32, 59), 'result': '0.05598031954730696', 'result_long': None, 'result_double': None}] Qualite : 0.05598031954730696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22157097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22157097_17-04-2025_22_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22157097 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_P22157097_17-04-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22157125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22157126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22157127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22157128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22157129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22157130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22157131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22157132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22157133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22157134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22157135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22157136, 'pht': 3726}}" where mtr_portfolio_id = 22157097 and dashboard_run_id = 1733392 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`=22157097 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965809, 0.05598031954730696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22157097_17-04-2025_22_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22157125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22157126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22157127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22157128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22157129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22157130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22157131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22157132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22157133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22157134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22157135, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22157136, '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 = 22157982 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': 2733040, 'mtr_portfolio_id': 22157982, 'created_at': datetime.datetime(2025, 4, 17, 22, 46, 59), 'result': '0.045254210494092784', 'result_long': None, 'result_double': None}] Qualite : 0.045254210494092784 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22157982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22157982_17-04-2025_22_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22157982 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_P22157982_17-04-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22158011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22158012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22158013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22158014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22158015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22158016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22158017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22158018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22158019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22158020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22158021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22158022, 'pht': 3726}}" where mtr_portfolio_id = 22157982 and dashboard_run_id = 1733392 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`=22157982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965810, 0.045254210494092784, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22157982_17-04-2025_22_47_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22158011, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22158012, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22158013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22158014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22158015, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22158016, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22158017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22158018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22158019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22158020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22158021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22158022, '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 = 22159002 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': 2733093, 'mtr_portfolio_id': 22159002, 'created_at': datetime.datetime(2025, 4, 17, 23, 3, 1), 'result': '0.06669500678305743', 'result_long': None, 'result_double': None}] Qualite : 0.06669500678305743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22159002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22159002_17-04-2025_23_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22159002 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_P22159002_17-04-2025_23_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159015, 'pht': 3726}}" where mtr_portfolio_id = 22159002 and dashboard_run_id = 1733392 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`=22159002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965811, 0.06669500678305743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22159002_17-04-2025_23_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159010, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159012, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159013, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159014, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159015, '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 = 22159366 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': 2733126, 'mtr_portfolio_id': 22159366, 'created_at': datetime.datetime(2025, 4, 17, 23, 16, 59), 'result': '0.06204319454947508', 'result_long': None, 'result_double': None}] Qualite : 0.06204319454947508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22159366 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22159366_17-04-2025_23_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22159366 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_P22159366_17-04-2025_23_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159480, 'pht': 3726}}" where mtr_portfolio_id = 22159366 and dashboard_run_id = 1733392 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`=22159366 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965812, 0.06204319454947508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22159366_17-04-2025_23_17_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22159469, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22159470, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22159471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22159472, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22159473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22159474, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22159475, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22159476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22159477, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22159478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22159479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22159480, '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 = 22160562 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': 2733184, 'mtr_portfolio_id': 22160562, 'created_at': datetime.datetime(2025, 4, 17, 23, 32, 59), 'result': '0.05262684660563953', 'result_long': None, 'result_double': None}] Qualite : 0.05262684660563953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22160562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22160562_17-04-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22160562 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_P22160562_17-04-2025_23_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22160599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22160600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22160601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22160602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22160603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22160604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22160605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22160606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22160607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22160608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22160609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22160610, 'pht': 3726}}" where mtr_portfolio_id = 22160562 and dashboard_run_id = 1733392 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`=22160562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965813, 0.05262684660563953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22160562_17-04-2025_23_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22160599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22160600, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22160601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22160602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22160603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22160604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22160605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22160606, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22160607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22160608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22160609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22160610, '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 = 22161353 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': 2733227, 'mtr_portfolio_id': 22161353, 'created_at': datetime.datetime(2025, 4, 17, 23, 46, 58), 'result': '0.07187437328418227', 'result_long': None, 'result_double': None}] Qualite : 0.07187437328418227 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22161353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22161353_17-04-2025_23_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22161353 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_P22161353_17-04-2025_23_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22161379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22161380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22161381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22161382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22161383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22161384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22161385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22161386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22161387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22161389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22161390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22161391, 'pht': 3726}}" where mtr_portfolio_id = 22161353 and dashboard_run_id = 1733392 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`=22161353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965814, 0.07187437328418227, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22161353_17-04-2025_23_46_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22161379, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22161380, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22161381, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22161382, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22161383, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22161384, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22161385, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22161386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22161387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22161389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22161390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22161391, '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 = 22162225 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': 2733280, 'mtr_portfolio_id': 22162225, 'created_at': datetime.datetime(2025, 4, 18, 1, 1, 28), 'result': '0.071540497961312', 'result_long': None, 'result_double': None}] Qualite : 0.071540497961312 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22162225 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162225_18-04-2025_01_01_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22162225 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_P22162225_18-04-2025_01_01_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22162227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162238, 'pht': 3726}}" where mtr_portfolio_id = 22162225 and dashboard_run_id = 1733392 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`=22162225 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9965815, 0.071540497961312, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22162225_18-04-2025_01_01_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22162227, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22162228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22162229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22162230, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22162231, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22162232, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22162233, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22162234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22162235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22162236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22162237, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22162238, '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 (22109428,22110285,22111035,22111457,22112780,22113134,22113655,22114370,22114903,22115415,22116007,22116457,22117034,22117347,22117600,22119017,22119196,22119607,22120069,22120437,22121396,22121697,22122263,22122830,22123197,22123509,22123926,22125427,22125958,22126585,22127126,22127830,22128489,22129126,22129636,22130303,22130914,22131282,22131955,22134150,22134502,22135140,22135842,22136371,22136983,22137490,22138183,22138849,22139472,22140073,22140760,22141160,22141820,22142522,22143351,22144314,22144739,22145408,22146025,22146806,22147754,22148955,22149555,22150422,22151606,22151992,22153496,22153951,22154716,22155322,22155908,22157097,22157982,22159002,22159366,22160562,22161353,22162225) result : ((1350567378,), (1350567383,), (1350567592,), (1350567694,), (1350567795,), (1350567865,), (1350567897,), (1350568060,), (1350568094,), (1350568120,), (1350568443,), (1350568449,), (1350568452,), (1350568561,), (1350568566,), (1350568570,), (1350568575,), (1350568580,), (1350568582,), (1350568697,), (1350568726,), (1350568759,), (1350568778,), (1350568783,), (1350568788,), (1350568928,), (1350568958,), (1350568987,), (1350569021,), (1350569076,), (1350569592,), (1350569619,), (1350569645,), (1350569677,), (1350569724,), (1350569778,), (1350570250,), (1350570304,), (1350570358,), (1350570406,), (1350570484,), (1350570564,), (1350571005,), (1350571053,), (1350571116,), (1350571170,), (1350571524,), (1350571531,), (1350571557,), (1350571586,), (1350571615,), (1350571655,), (1350571945,), (1350572004,), (1350572059,), (1350572453,), (1350572457,), (1350572474,), (1350572501,), (1350572543,), (1350572601,), (1350572981,), (1350573002,), (1350573033,), (1350573063,), (1350573114,), (1350573171,), (1350573681,), (1350573452,), (1350573572,), (1350573613,), (1350574211,), (1350574241,), (1350574262,), (1350574502,), (1350574514,), (1350574526,), (1350574566,), (1350574581,), (1350574591,), (1350574651,), (1350574804,), (1350574818,), (1350574824,), (1350574976,), (1350575028,), (1350575076,), (1350575106,), (1350575136,), (1350575298,), (1350575305,), (1350575311,), (1350575337,), (1350575365,), (1350575384,), (1350575424,), (1350575427,), (1350575430,), (1350575433,), (1350575619,), (1350575629,), (1350575639,), (1350575670,), (1350575685,), (1350575697,), (1350575900,), (1350575928,), (1350575958,), (1350575989,), (1350576020,), (1350576053,), (1350576314,), (1350576345,), (1350576373,), (1350576865,), (1350576941,), (1350576989,), (1350577049,), (1350577098,), (1350577161,), (1350577344,), (1350577992,), (1350577956,), (1350577984,), (1350578032,), (1350578037,), (1350578043,), (1350578049,), (1350578055,), (1350578059,), (1350578087,), (1350578092,), (1350578097,), (1350578100,), (1350578105,), (1350578150,), (1350578155,), (1350578160,), (1350578244,), (1350578249,), (1350578252,), (1350578257,), (1350578262,), (1350578292,), (1350578307,), (1350578313,), (1350579225,), (1350579229,), (1350579234,), (1350579528,), (1350579535,), (1350579540,), (1350579771,), (1350579778,), (1350579785,), (1350579796,), (1350579803,), (1350580173,), (1350580185,), (1350580192,), (1350580199,), (1350580206,), (1350580210,), (1350580263,), (1350580281,), (1350580286,), (1350580291,), (1350580329,), (1350580335,), (1350580338,), (1350580343,), (1350580350,), (1350580362,), (1350580451,), (1350580457,), (1350580460,), (1350580465,), (1350580471,), (1350580477,), (1350580673,), (1350580700,), (1350580733,), (1350580766,), (1350580971,), (1350580989,), (1350581004,), (1350581021,), (1350581028,), (1350581262,), (1350581098,), (1350581102,), (1350581109,), (1350581116,), (1350581191,), (1350581327,), (1350581337,), (1350581344,), (1350581443,), (1350581447,), (1350581450,), (1350581453,), (1350581457,), (1350581493,), (1350581507,), (1350581511,), (1350581514,), (1350581517,), (1350581522,), (1350581555,), (1350581567,), (1350581571,), (1350581580,), (1350581659,), (1350581666,), (1350581683,), (1350581689,), (1350581729,), (1350581734,), (1350581738,), (1350581742,), (1350581746,), (1350581750,), (1350581790,), (1350581793,), (1350581796,), (1350581798,), (1350581802,), (1350581806,), (1350581837,), (1350581852,), (1350581856,), (1350581860,), (1350581892,), (1350581895,), (1350581897,), (1350581899,), (1350581901,), (1350581904,), (1350581974,), (1350582003,), (1350582033,), (1350582061,), (1350582090,), (1350582120,), (1350582411,), (1350582436,), (1350582460,), (1350582487,), (1350582797,), (1350582829,), (1350582858,), (1350582895,), (1350583932,), (1350584007,), (1350584063,), (1350584091,), (1350584122,), (1350584154,), (1350584619,), (1350593649,), (1350594115,), (1350594118,), (1350594121,), (1350594320,), (1350594324,), (1350594356,), (1350594361,), (1350594522,), (1350594621,), (1350594656,), (1350594871,), (1350594875,), (1350594880,), (1350594887,), (1350594893,), (1350594898,), (1350594921,), (1350594924,), (1350594928,), (1350594932,), (1350594937,), (1350594967,), (1350594971,), (1350594976,), (1350594982,), (1350594989,), (1350595020,), (1350595024,), (1350595029,), (1350595033,), (1350595038,), (1350595070,), (1350595074,), (1350595077,), (1350595083,), (1350595156,), (1350595166,), (1350595177,), (1350595184,), (1350595189,), (1350595194,), (1350595228,), (1350595233,), (1350595236,), (1350595310,), (1350595314,), (1350595318,), (1350595322,), (1350595390,), (1350595405,), (1350595407,), (1350595409,), (1350595412,), (1350595489,), (1350595495,), (1350595500,), (1350595505,), (1350595509,), (1350595579,), (1350595566,), (1350595571,), (1350595614,), (1350595621,), (1350595624,), (1350595630,), (1350595637,), (1350595665,), (1350595669,), (1350595673,), (1350595674,), (1350595677,), (1350595680,), (1350595916,), (1350595919,), (1350595921,), (1350595924,), (1350595971,), (1350595974,), (1350595976,), (1350595978,), (1350596046,), (1350596067,), (1350596069,), (1350596071,), (1350596074,), (1350596118,), (1350596121,), (1350596124,), (1350596127,), (1350596180,), (1350596184,), (1350596187,), (1350596189,), (1350596193,), (1350596198,), (1350596232,), (1350596236,), (1350596241,), (1350596246,), (1350596254,), (1350596263,), (1350596304,), (1350596307,), (1350596310,), (1350596355,), (1350596359,), (1350596362,), (1350596367,), (1350596371,), (1350596376,), (1350596411,), (1350596415,), (1350596418,), (1350596421,), (1350596423,), (1350596455,), (1350596481,), (1350596483,), (1350596484,), (1350597169,), (1350597221,), (1350597267,), (1350597305,), (1350597336,), (1350597403,), (1350597479,), (1350597482,), (1350597502,), (1350597505,), (1350597508,), (1350597644,), (1350597582,), (1350597618,), (1350597787,), (1350597812,), (1350597837,), (1350597862,), (1350597890,), (1350598196,), (1350598228,), (1350598254,), (1350598284,), (1350598578,), (1350598606,), (1350598635,), (1350598661,), (1350598974,), (1350599002,), (1350599267,), (1350599270,), (1350599272,), (1350599273,), (1350599275,), (1350599278,), (1350599374,), (1350599405,), (1350599435,), (1350599462,), (1350599667,), (1350599694,), (1350599702,), (1350599749,), (1350599754,), (1350599757,), (1350599760,), (1350599763,), (1350599801,), (1350599805,), (1350599807,), (1350599810,), (1350599820,), (1350599901,), (1350599904,), (1350599906,), (1350599908,), (1350599946,), (1350599948,), (1350599953,), (1350599967,), (1350599970,), (1350599974,), (1350600027,), (1350600029,), (1350600031,), (1350600034,), (1350600039,), (1350600042,), (1350600090,), (1350600095,), (1350600101,), (1350600164,), (1350600172,), (1350600177,), (1350600178,), (1350600287,), (1350600262,), (1350600273,), (1350600281,), (1350600284,), (1350600326,), (1350600327,), (1350600328,), (1350600330,), (1350600388,), (1350600392,), (1350600395,), (1350600401,), (1350600413,), (1350600420,), (1350600459,), (1350600463,), (1350600466,), (1350600468,), (1350600471,), (1350600476,), (1350600519,), (1350600522,), (1350600524,), (1350600586,), (1350600607,), (1350600619,), (1350600621,), (1350600624,), (1350600626,), (1350600674,), (1350600695,), (1350600707,), (1350600723,), (1350600738,), (1350600806,), (1350600809,), (1350600812,), (1350600815,), (1350601025,), (1350601040,), (1350601043,), (1350601058,), (1350601065,), (1350601071,), (1350601100,), (1350601106,), (1350601112,), (1350601187,), (1350601194,), (1350601202,), (1350601207,), (1350601213,), (1350601218,), (1350601242,), (1350601247,), (1350601252,), (1350601256,), (1350601298,), (1350601304,), (1350601315,), (1350601325,), (1350601330,), (1350601376,), (1350601379,), (1350601387,), (1350601390,), (1350601393,), (1350601406,), (1350601450,), (1350601452,), (1350601457,), (1350601465,), (1350601545,), (1350601509,), (1350601513,), (1350601532,), (1350601536,), (1350601541,), (1350601586,), (1350601590,), (1350601592,), (1350601594,), (1350601640,), (1350601645,), (1350601649,), (1350601653,), (1350601657,), (1350601751,), (1350601761,), (1350601764,), (1350601816,), (1350601828,), (1350601831,), (1350601832,), (1350601838,), (1350601842,), (1350601870,), (1350601874,), (1350601877,), (1350601879,), (1350601884,), (1350602002,), (1350602007,), (1350602011,), (1350602015,), (1350602018,), (1350602108,), (1350602111,), (1350602116,), (1350602121,), (1350602185,), (1350602190,), (1350602193,), (1350602195,), (1350602197,), (1350602245,), (1350602249,), (1350602251,), (1350602253,), (1350602255,), (1350602286,), (1350602291,), (1350602294,), (1350602296,), (1350602357,), (1350602362,), (1350602366,), (1350602370,), (1350602403,), (1350602410,), (1350602415,), (1350602430,), (1350602463,), (1350602470,), (1350602476,), (1350602480,), (1350602483,), (1350602854,), (1350602861,), (1350602866,), (1350602872,), (1350602876,), (1350602943,), (1350602930,), (1350602940,), (1350602987,), (1350602992,), (1350602994,), (1350603038,), (1350603049,), (1350603054,), (1350603057,), (1350603061,), (1350603065,), (1350603104,), (1350603110,), (1350603115,), (1350603124,), (1350603181,), (1350603184,), (1350603187,), (1350603190,), (1350603194,), (1350603259,), (1350603263,), (1350603267,), (1350603270,), (1350603273,), (1350603316,), (1350603322,), (1350603327,), (1350603332,), (1350603390,), (1350603395,), (1350603399,), (1350603403,), (1350603407,), (1350603448,), (1350603455,), (1350603464,), (1350603468,), (1350603472,), (1350603653,), (1350603657,), (1350603661,), (1350603667,), (1350603672,), (1350603704,), (1350603710,), (1350603715,), (1350603719,), (1350603726,), (1350603778,), (1350604575,), (1350604725,), (1350604766,), (1350604813,), (1350604845,), (1350604874,), (1350605211,), (1350605116,), (1350605151,), (1350605180,), (1350605564,), (1350605568,), (1350605570,), (1350605572,), (1350605770,), (1350605801,), (1350605824,), (1350605827,), (1350605851,), (1350605859,), (1350605946,), (1350605955,), (1350605959,), (1350606011,), (1350606016,), (1350606020,), (1350606024,), (1350606028,), (1350606033,), (1350606074,), (1350606077,), (1350606089,), (1350606098,), (1350606110,), (1350606117,), (1350606163,), (1350606171,), (1350606176,), (1350606220,), (1350606223,), (1350606230,), (1350606235,), (1350606237,), (1350606278,), (1350606284,), (1350606287,), (1350606291,), (1350606349,), (1350606352,), (1350606361,), (1350606414,), (1350606418,), (1350606422,), (1350606426,), (1350606431,), (1350606436,), (1350606467,), (1350606471,), (1350606473,), (1350606487,), (1350606669,), (1350606698,), (1350606703,), (1350606708,), (1350606754,), (1350606758,), (1350606765,), (1350606769,), (1350606770,), (1350607021,), (1350607026,), (1350607031,), (1350607036,), (1350607040,), (1350607045,), (1350607105,), (1350607097,), (1350607100,), (1350607103,), (1350607203,), (1350607207,), (1350607210,), (1350607213,), (1350607217,), (1350607275,), (1350607278,), (1350607279,), (1350607280,), (1350607282,), (1350607285,), (1350607338,), (1350607342,), (1350607345,), (1350607348,), (1350607352,), (1350607356,), (1350607410,), (1350607413,), (1350607416,), (1350607418,), (1350607422,), (1350607467,), (1350607469,), (1350607471,), (1350607473,), (1350607477,), (1350607481,), (1350607522,), (1350607528,), (1350607533,), (1350607538,), (1350607544,), (1350607581,), (1350607588,), (1350607592,), (1350607594,), (1350607640,), (1350607647,), (1350607652,), (1350607654,), (1350607657,), (1350607661,), (1350607727,), (1350607734,), (1350607738,), (1350607742,), (1350607747,), (1350607751,), (1350607796,), (1350607799,), (1350607801,), (1350607857,), (1350607862,), (1350607866,), (1350607870,), (1350607873,), (1350608039,), (1350608086,), (1350608089,), (1350608092,), (1350608141,), (1350608146,), (1350608151,), (1350608241,), (1350608244,), (1350608251,), (1350608258,), (1350608268,), (1350608278,), (1350608357,), (1350608342,), (1350608346,), (1350608350,), (1350608355,), (1350608397,), (1350608400,), (1350608402,), (1350608448,), (1350608451,), (1350608453,), (1350608456,), (1350608459,), (1350608463,), (1350608515,), (1350608517,), (1350608704,), (1350608714,), (1350608718,), (1350608723,), (1350608760,), (1350608764,), (1350608767,), (1350608770,), (1350608812,), (1350608819,), (1350608822,), (1350608879,), (1350608887,), (1350608893,), (1350608903,), (1350608910,), (1350608916,), (1350608961,), (1350608974,), (1350608976,), (1350608982,), (1350608986,), (1350609048,), (1350609058,), (1350609065,), (1350609066,), (1350609123,), (1350609131,), (1350609154,), (1350609156,), (1350609157,), (1350609161,), (1350609202,), (1350609210,), (1350609212,), (1350609220,), (1350609227,), (1350609334,), (1350609340,), (1350609505,), (1350609515,), (1350609516,), (1350609518,), (1350609572,), (1350609576,), (1350609582,), (1350609585,), (1350609590,), (1350609594,), (1350609665,), (1350609639,), (1350609650,), (1350609656,), (1350609706,), (1350609709,), (1350609711,), (1350609713,), (1350609716,), (1350609719,), (1350609758,), (1350609769,), (1350609774,), (1350609782,), (1350609788,), (1350609837,), (1350609839,), (1350609842,), (1350609895,), (1350609901,), (1350609911,), (1350609919,), (1350609923,), (1350609927,), (1350609973,), (1350609977,), (1350609979,), (1350609983,), (1350609987,), (1350610034,), (1350610042,), (1350610048,), (1350610098,), (1350610105,), (1350610107,), (1350610115,), (1350610118,), (1350610122,), (1350610163,), (1350610170,), (1350610174,), (1350610181,), (1350610185,), (1350610188,), (1350610237,), (1350610240,), (1350610243,), (1350610249,), (1350610295,), (1350610298,), (1350610301,), (1350610304,), (1350610349,), (1350610360,), (1350610370,), (1350610381,), (1350610385,), (1350610388,), (1350610431,), (1350610433,), (1350610451,), (1350610476,), (1350610500,), (1350611004,), (1350611035,), (1350611045,), (1350611073,), (1350611097,), (1350611101,), (1350611105,), (1350611106,), (1350611321,), (1350611245,), (1350611269,), (1350611297,), (1350611650,), (1350611675,), (1350611699,), (1350611725,), (1350611741,), (1350612087,), (1350612110,), (1350612133,), (1350612268,), (1350612284,), (1350612316,), (1350612335,), (1350612576,), (1350612579,), (1350612621,), (1350612638,), (1350612644,), (1350612655,), (1350612699,), (1350612701,), (1350612706,), (1350612711,), (1350612748,), (1350612752,), (1350612754,), (1350612757,), (1350612802,), (1350612804,), (1350612806,), (1350612813,), (1350612818,), (1350612825,), (1350612857,), (1350612865,), (1350612924,), (1350612941,), (1350612950,), (1350612955,), (1350612986,), (1350612994,), (1350613177,), (1350618828,), (1350618823,), (1350618873,), (1350618878,), (1350619055,), (1350619097,), (1350619108,), (1350619111,), (1350619114,), (1350619118,), (1350619121,), (1350619161,), (1350619169,), (1350619176,), (1350619181,), (1350619186,), (1350619225,), (1350619230,), (1350619271,), (1350619277,), (1350619334,), (1350619338,), (1350619341,), (1350619345,), (1350619349,), (1350619385,), (1350619388,), (1350619392,), (1350619395,), (1350619398,), (1350619451,), (1350619434,), (1350619440,), (1350619446,), (1350619485,), (1350619490,), (1350619495,), (1350619500,), (1350619547,), (1350619552,), (1350619597,), (1350619609,), (1350619612,), (1350619618,), (1350619622,), (1350619657,), (1350619661,), (1350619663,), (1350619665,), (1350619707,), (1350619713,), (1350619717,), (1350619721,), (1350619765,), (1350619775,), (1350619778,), (1350619837,), (1350619843,), (1350619847,), (1350619850,), (1350619854,), (1350619908,), (1350619911,), (1350619914,), (1350619930,), (1350619934,), (1350619943,), (1350619977,), (1350619982,), (1350619986,), (1350619991,), (1350619997,), (1350620043,), (1350620051,), (1350620105,), (1350620108,), (1350620111,), (1350620113,), (1350620116,), (1350620161,), (1350620165,), (1350620168,), (1350620171,), (1350620176,), (1350620240,), (1350620244,), (1350620246,), (1350620275,), (1350620320,), (1350620329,), (1350620336,), (1350620340,), (1350620408,), (1350620399,), (1350620403,), (1350620405,), (1350620406,), (1350620407,), (1350620449,), (1350620451,), (1350620452,), (1350620456,), (1350620500,), (1350620504,), (1350620509,), (1350620514,), (1350620518,), (1350620569,), (1350620572,), (1350620573,), (1350620574,), (1350620576,), (1350620620,), (1350620624,), (1350620628,), (1350620677,), (1350620684,), (1350620689,), (1350620690,), (1350620692,), (1350620725,), (1350620730,), (1350620735,), (1350620739,), (1350620744,), (1350620748,), (1350620790,), (1350620797,), (1350620801,), (1350620805,), (1350620808,), (1350620811,), (1350620851,), (1350620855,), (1350620856,), (1350620862,), (1350620923,), (1350620928,), (1350620932,), (1350620939,), (1350620944,), (1350620995,), (1350621000,), (1350621003,), (1350621005,), (1350621048,), (1350621051,), (1350621056,), (1350621059,), (1350621115,), (1350621119,), (1350621123,), (1350621129,), (1350621133,), (1350621196,), (1350621197,), (1350621200,), (1350621201,), (1350621204,), (1350621205,), (1350621207,), (1350621208,), (1350621213,), (1350621215,), (1350621219,), (1350621222,), (1350621257,), (1350621261,), (1350621264,), (1350621265,), (1350621268,), (1350621314,), (1350621307,), (1350621311,), (1350621355,), (1350621359,), (1350621361,), (1350621363,), (1350621410,), (1350621422,), (1350621430,), (1350621434,), (1350621437,), (1350621478,), (1350621493,), (1350621499,), (1350621591,), (1350621598,), (1350621601,), (1350621604,), (1350621607,), (1350621612,), (1350621658,), (1350621662,), (1350621665,), (1350621668,), (1350621672,), (1350621676,), (1350621703,), (1350621867,), (1350621872,), (1350621879,), (1350621929,), (1350621932,), (1350621937,), (1350621942,), (1350621985,), (1350621990,), (1350621993,), (1350621998,), (1350622004,), (1350622010,), (1350622038,), (1350622042,), (1350622046,), (1350622051,), (1350622092,), (1350622096,), (1350622100,), (1350622552,), (1350622589,), (1350622628,), (1350622677,), (1350622735,), (1350622927,), (1350622984,), (1350623036,), (1350623091,), (1350623125,), (1350623325,), (1350623257,), (1350623298,), (1350623744,), (1350623776,), (1350623806,), (1350623834,), (1350623866,), (1350624029,), (1350624032,), (1350624035,), (1350624040,), (1350624044,), (1350624327,), (1350624366,), (1350624417,), (1350624795,), (1350624825,), (1350624862,), (1350624923,), (1350625464,), (1350625500,), (1350625531,), (1350625563,), (1350625591,), (1350625621,), (1350625901,), (1350625931,), (1350625955,), (1350625981,), (1350626008,), (1350626111,), (1350626140,), (1350626164,), (1350626188,), (1350626397,), (1350626408,), (1350626412,), (1350626471,), (1350626478,), (1350626482,), (1350626532,), (1350626536,), (1350626583,), (1350626687,), (1350626730,), (1350626735,), (1350626779,), (1350628841,), (1350628884,), (1350628999,), (1350629003,), (1350629007,), (1350629009,), (1350629011,), (1350629047,), (1350629051,), (1350629056,), (1350629080,), (1350629111,), (1350629141,), (1350629554,), (1350629586,), (1350629613,), (1350629635,), (1350629667,), (1350629676,), (1350630026,), (1350629955,), (1350629986,), (1350630287,), (1350630324,), (1350630350,), (1350630694,), (1350630722,), (1350630751,), (1350630902,), (1350630926,), (1350631179,), (1350631195,), (1350631284,), (1350631481,), (1350631486,), (1350631490,), (1350631532,), (1350631903,), (1350632109,), (1350632132,), (1350632137,), (1350632251,), (1350632267,), (1350632459,), (1350632487,), (1350632516,), (1350632783,), (1350632724,), (1350632736,), (1350632739,), (1350632884,), (1350633034,), (1350633211,), (1350633215,), (1350633802,), (1350633808,), (1350634055,), (1350634060,), (1350634198,), (1350634350,), (1350634356,), (1350634858,), (1350634891,), (1350634908,), (1350635036,), (1350635271,), (1350635276,), (1350636008,), (1350635989,), (1350636915,), (1350636954,), (1350636962,), (1350636966,), (1350636987,), (1350636990,), (1350637025,), (1350637038,), (1350637042,), (1350637047,), (1350637052,), (1350637056,), (1350637114,), (1350637868,), (1350637924,), (1350637962,), (1350637966,), (1350638516,), (1350638512,), (1350639295,), (1350639353,), (1350639357,), (1350639402,), (1350639464,), (1350639468,), (1350639534,), (1350639539,), (1350639543,), (1350639546,), (1350639588,), (1350639596,), (1350639615,), (1350639629,), (1350639823,), (1350639887,), (1350641248,), (1350642119,), (1350642061,), (1350642091,), (1350642114,), (1350642275,), (1350642304,), (1350642579,), (1350642873,), (1350642877,), (1350642880,), (1350642917,), (1350642992,), (1350643011,), (1350643026,), (1350643351,), (1350643591,), (1350643711,), (1350643719,), (1350643917,), (1350644362,), (1350644388,), (1350644390,), (1350644455,), (1350644444,), (1350644448,), (1350644451,), (1350644555,), (1350644560,), (1350644627,), (1350644630,), (1350644639,), (1350644645,), (1350644649,), (1350644651,), (1350644900,), (1350644929,), (1350644967,), (1350644992,), (1350645215,), (1350645223,), (1350645235,), (1350645255,), (1350645257,), (1350645294,), (1350645297,), (1350645300,), (1350645303,), (1350645350,), (1350645365,), (1350645369,), (1350645373,), (1350645376,), (1350645437,), (1350645496,), (1350645498,), (1350645501,), (1350645558,), (1350645576,), (1350645607,), (1350645640,), (1350645832,), (1350645848,), (1350645851,), (1350645854,), (1350645856,), (1350645903,), (1350645906,), (1350645910,), (1350645957,), (1350646023,), (1350646027,), (1350646030,), (1350646088,), (1350646092,), (1350646096,), (1350646142,), (1350646146,), (1350646151,), (1350646154,), (1350655366,), (1350655420,), (1350655426,), (1350655431,), (1350655436,), (1350655470,), (1350655474,), (1350655510,), (1350655527,), (1350656072,), (1350656075,), (1350656210,), (1350656215,), (1350656762,), (1350656786,), (1350656855,), (1350656858,), (1350656909,), (1350656915,), (1350657039,), (1350657044,), (1350657048,), (1350657053,), (1350657256,), (1350657270,), (1350657274,), (1350657278,), (1350657281,), (1350657322,), (1350657359,), (1350657365,), (1350657387,), (1350657436,), (1350657440,), (1350657446,), (1350657600,), (1350657616,), (1350657620,), (1350657623,), (1350657627,), (1350657675,), (1350657678,), (1350657682,), (1350657686,), (1350657689,), (1350657695,), (1350657792,), (1350657823,), (1350657827,), (1350657853,), (1350657857,), (1350658111,), (1350658093,), (1350658099,), (1350658238,), (1350658242,), (1350658246,), (1350658250,), (1350658254,), (1350658315,), (1350658321,), (1350658324,), (1350658478,), (1350658484,), (1350658489,), (1350658493,), (1350658527,), (1350658533,), (1350658540,), (1350658547,), (1350658554,), (1350658559,), (1350658627,), (1350658632,), (1350658636,), (1350658655,), (1350658687,), (1350658715,), (1350658764,), (1350658770,), (1350658776,), (1350658783,), (1350658844,), (1350658852,), (1350658858,), (1350658862,), (1350658865,), (1350658928,), (1350658941,), (1350658970,), (1350659000,), (1350659027,), (1350659087,), (1350659091,), (1350659095,), (1350659150,), (1350659157,), (1350659169,), (1350659239,), (1350659704,), (1350659735,), (1350659744,), (1350659772,), (1350659943,), (1350659949,), (1350660198,), (1350660204,), (1350660208,), (1350660393,), (1350660399,), (1350660403,), (1350660407,), (1350660469,), (1350660450,), (1350660456,), (1350660462,), (1350660539,), (1350660545,), (1350660549,), (1350660696,), (1350660701,), (1350660705,), (1350660749,), (1350660755,), (1350660759,), (1350660798,), (1350660802,), (1350660806,), (1350660810,), (1350660814,), (1350660862,), (1350660869,), (1350660875,), (1350660886,), (1350661486,), (1350661494,), (1350661523,), (1350661549,), (1350661578,), (1350661589,), (1350661724,), (1350661730,), (1350661734,), (1350661739,), (1350661742,), (1350661897,), (1350661901,), (1350661909,), (1350661916,), (1350661919,), (1350661923,), (1350661961,), (1350661966,), (1350661973,), (1350661983,), (1350662289,), (1350662296,), (1350662298,), (1350662301,), (1350662306,), (1350662344,), (1350662348,), (1350662353,), (1350662356,), (1350662361,), (1350662368,), (1350662409,), (1350662411,), (1350662413,), (1350662415,), (1350662596,), (1350662647,), (1350662676,), (1350662714,), (1350663174,), (1350663201,), (1350663217,), (1350663225,), (1350663234,), (1350663407,), (1350663290,), (1350663318,), (1350663348,), (1350663377,), (1350663724,), (1350663764,), (1350663805,), (1350664242,), (1350664270,), (1350664300,), (1350664341,), (1350664517,), (1350664523,), (1350664528,), (1350664533,), (1350664538,), (1350664542,), (1350664815,), (1350664840,), (1350664849,), (1350665039,), (1350665049,), (1350665062,), (1350665067,), (1350665546,), (1350665562,), (1350665572,), (1350665590,), (1350665602,), (1350665620,), (1350665729,), (1350665750,), (1350665758,), (1350665762,), (1350665920,), (1350665924,), (1350665980,), (1350666129,), (1350666139,), (1350666143,), (1350666150,), (1350666162,), (1350666167,), (1350666393,), (1350666407,), (1350666412,), (1350666416,), (1350666540,), (1350666563,), (1350666567,), (1350666571,), (1350666598,), (1350666797,), (1350666830,), (1350667474,), (1350667482,), (1350667511,), (1350667589,), (1350667597,), (1350667793,), (1350667846,), (1350667851,), (1350667856,), (1350667952,), (1350667907,), (1350667913,), (1350667946,), (1350668010,), (1350668020,), (1350668039,), (1350668060,), (1350668210,), (1350668225,), (1350668355,), (1350668359,), (1350668436,), (1350668572,), (1350668576,), (1350668631,), (1350668637,), (1350668643,), (1350668648,), (1350668651,), (1350668657,), (1350668696,), (1350668701,), (1350668706,), (1350668711,), (1350668746,), (1350668752,), (1350668757,), (1350668762,), (1350668814,), (1350668818,), (1350668822,), (1350668826,), (1350668839,), (1350668843,), (1350668910,), (1350668948,), (1350669030,), (1350669063,), (1350669078,), (1350669091,), (1350669139,), (1350669145,), (1350669149,), (1350669208,), (1350669213,), (1350669218,), (1350669222,), (1350669303,), (1350669306,), (1350669314,), (1350669318,), (1350669322,), (1350669370,), (1350669375,), (1350669380,), (1350669385,), (1350669449,), (1350669566,), (1350669573,), (1350669580,), (1350669583,), (1350669653,), (1350669669,), (1350669672,), (1350669678,), (1350669727,), (1350669738,), (1350669743,), (1350669748,), (1350669803,), (1350669806,), (1350669810,), (1350669814,), (1350669859,), (1350669862,), (1350669911,), (1350669916,), (1350669920,), (1350669924,), (1350669929,), (1350669931,), (1350669981,), (1350669984,), (1350669987,), (1350670058,), (1350670086,), (1350670094,), (1350670099,), (1350670107,), (1350670112,), (1350670156,), (1350670161,), (1350670166,), (1350670171,), (1350670213,), (1350670217,), (1350670219,), (1350670223,), (1350670302,), (1350670306,), (1350670426,), (1350670429,), (1350670432,), (1350670483,), (1350670487,), (1350670490,), (1350670492,), (1350670550,), (1350670551,), (1350670553,), (1350670630,), (1350670621,), (1350670627,), (1350670677,), (1350670679,), (1350670745,), (1350670749,), (1350670760,), (1350670815,), (1350670864,), (1350670868,), (1350670874,), (1350670968,), (1350670972,), (1350671021,), (1350671032,), (1350671035,), (1350671089,), (1350671092,), (1350671094,), (1350671097,), (1350671101,), (1350671154,), (1350671330,), (1350671347,), (1350671424,), (1350671426,), (1350671428,), (1350671431,), (1350671523,), (1350671551,), (1350671577,), (1350671605,), (1350671782,), (1350672938,), (1350672976,), (1350673500,), (1350673457,), (1350673848,), (1350673879,), (1350673907,), (1350674050,), (1350674081,), (1350674109,), (1350674166,), (1350674189,), (1350674312,), (1350674317,), (1350674323,), (1350674527,), (1350674534,), (1350674539,), (1350674542,), (1350674688,), (1350674711,), (1350674814,), (1350674841,), (1350675093,), (1350675106,), (1350675110,), (1350675218,), (1350675301,), (1350675321,), (1350675324,), (1350675531,), (1350675535,), (1350675538,), (1350675542,), (1350675547,), (1350675774,), (1350675801,), (1350676604,), (1350676667,), (1350676679,), (1350677074,), (1350677163,), (1350677217,), (1350677482,), (1350677496,), (1350677506,), (1350677821,), (1350677781,), (1350677795,), (1350677805,), (1350677811,), (1350677962,), (1350677973,), (1350677987,), (1350677989,), (1350677993,), (1350678010,), (1350678104,), (1350678136,), (1350678172,), (1350678213,), (1350678226,), (1350678282,), (1350678395,), (1350680166,), (1350681200,), (1350681216,), (1350681246,), (1350681303,), (1350681838,), (1350681617,), (1350681727,), (1350682148,), (1350682214,), (1350682269,), (1350682308,), (1350682312,), (1350682317,), (1350682361,), (1350682362,), (1350682364,), (1350682366,), (1350682367,), (1350682372,), (1350682408,), (1350682467,), (1350682470,), (1350682473,), (1350682476,), (1350682477,), (1350682522,), (1350682526,), (1350682532,), (1350682538,), (1350682542,), (1350682594,), (1350682605,), (1350682608,), (1350682610,), (1350682614,), (1350682800,), (1350682804,), (1350682807,), (1350682810,), (1350682864,), (1350682866,), (1350682869,), (1350682872,), (1350682909,), (1350682916,), (1350682921,), (1350682924,), (1350682930,), (1350682934,), (1350683181,), (1350683149,), (1350683161,), (1350683171,), (1350683175,), (1350683620,), (1350683627,), (1350683648,), (1350683723,), (1350683728,), (1350683740,), (1350683799,), (1350683803,), (1350683806,), (1350683809,), (1350683920,), (1350683931,), (1350684046,), (1350684050,), (1350684054,), (1350684069,), (1350684164,), (1350684509,), (1350684528,), (1350684534,), (1350684581,), (1350684586,), (1350684591,), (1350684596,), (1350684651,), (1350684654,), (1350684657,), (1350684659,), (1350684695,), (1350684933,), (1350684961,), (1350684992,), (1350686050,), (1350687882,), (1350687877,), (1350688281,), (1350688313,), (1350688549,), (1350688553,), (1350688556,), (1350688637,), (1350688649,), (1350688651,), (1350688653,), (1350688802,), (1350688807,), (1350688820,), (1350689173,), (1350689176,), (1350689230,), (1350689235,), (1350708449,), (1350708446,), (1350708654,), (1350708656,), (1350708657,), (1350709481,), (1350709722,), (1350709735,), (1350709772,), (1350709786,), (1350709826,), (1350709827,), (1350709829,), (1350709831,), (1350709834,), (1350709881,), (1350709909,), (1350709935,), (1350710250,), (1350710652,), (1350710707,), (1350710750,), (1350710777,), (1350710936,), (1350710963,), (1350710990,), (1350711185,), (1350711209,), (1350711236,), (1350711298,), (1350711291,), (1350711293,), (1350711296,), (1350711471,), (1350711491,), (1350711501,), (1350711507,), (1350711573,), (1350711578,), (1350711581,), (1350711584,), (1350711586,), (1350711775,), (1350711778,), (1350711782,), (1350711848,), (1350711887,), (1350711917,), (1350711961,), (1350713204,), (1350713306,), (1350713333,), (1350713361,), (1350713388,), (1350713652,), (1350713680,), (1350713705,), (1350714567,), (1350714596,), (1350715133,), (1350715136,), (1350715139,), (1350715142,), (1350715146,), (1350715324,), (1350715326,), (1350715327,), (1350715454,), (1350715482,), (1350715511,), (1350715540,), (1350715568,), (1350715602,), (1350715879,), (1350715908,), (1350715937,), (1350716143,), (1350716169,), (1350717525,), (1350717629,), (1350717691,), (1350717856,), (1350717914,), (1350717982,), (1350718062,), (1350718842,), (1350718595,), (1350718667,), (1350718727,), (1350718791,), (1350719522,), (1350719578,), (1350720173,), (1350720210,), (1350720226,), (1350720293,), (1350720325,), (1350720353,), (1350720551,), (1350720554,), (1350720558,), (1350720576,), (1350720737,), (1350720740,), (1350720887,), (1350720900,), (1350720903,), (1350720907,), (1350720977,), (1350720988,), (1350721255,), (1350721263,), (1350721320,), (1350721323,), (1350721405,), (1350721410,), (1350721437,), (1350721441,), (1350721543,), (1350721569,), (1350721587,), (1350721590,), (1350721647,), (1350721651,), (1350721793,), (1350721846,), (1350721852,), (1350721872,), (1350721884,), (1350721955,), (1350722121,), (1350722351,), (1350722199,), (1350722201,), (1350722204,), (1350722207,), (1350722423,), (1350722426,), (1350722429,), (1350722434,), (1350722491,), (1350722501,), (1350722640,), (1350722662,), (1350722743,), (1350722747,), (1350722749,), (1350722954,), (1350722956,), (1350722961,), (1350722988,), (1350723121,), (1350723123,), (1350723163,), (1350723167,), (1350723170,), (1350723215,), (1350723217,), (1350723219,), (1350723225,), (1350723305,), (1350723398,), (1350723501,), (1350723505,), (1350723507,), (1350723509,), (1350723558,), (1350723561,), (1350723565,), (1350723570,), (1350723648,), (1350723674,), (1350723686,), (1350723689,), (1350723693,), (1350723755,), (1350723773,), (1350723775,), (1350723792,), (1350723798,), (1350723854,), (1350723857,), (1350723860,), (1350723863,), (1350723917,), (1350723922,), (1350723990,), (1350723984,), (1350723987,), (1350724037,), (1350724042,), (1350724047,), (1350724051,), (1350724055,), (1350724105,), (1350724107,), (1350724110,), (1350724114,), (1350724117,), (1350724120,), (1350724301,), (1350724305,), (1350724308,), (1350724311,), (1350724358,), (1350724360,), (1350724412,), (1350724414,), (1350724417,), (1350724421,), (1350724427,), (1350724479,), (1350724482,), (1350724486,), (1350724490,), (1350724535,), (1350724537,), (1350724539,), (1350724546,), (1350724552,), (1350724595,), (1350724597,), (1350724600,), (1350724659,), (1350724662,), (1350724665,), (1350724668,), (1350724671,), (1350724674,), (1350724724,), (1350724730,), (1350724732,), (1350724734,), (1350724738,), (1350724742,), (1350724802,), (1350724806,), (1350724852,), (1350724886,), (1350725287,), (1350725313,), (1350725337,), (1350725354,), (1350725357,), (1350725373,), (1350725536,), (1350725541,), (1350725546,), (1350725552,), (1350725616,), (1350725619,), (1350725623,), (1350725628,), (1350725697,), (1350725676,), (1350725681,), (1350725690,), (1350725740,), (1350725743,), (1350725747,), (1350725751,), (1350726223,), (1350726235,), (1350726247,), (1350726252,), (1350726273,), (1350726400,), (1350726404,), (1350726407,), (1350726410,), (1350726414,), (1350726420,), (1350726496,), (1350726507,), (1350726513,), (1350726567,), (1350726571,), (1350726575,), (1350726579,), (1350726586,), (1350726644,), (1350726649,), (1350726654,), (1350726660,), (1350726710,), (1350726715,), (1350726722,), (1350726729,), (1350726734,), (1350726768,), (1350726772,), (1350726775,), (1350726779,), (1350726817,), (1350727007,), (1350727010,), (1350727013,), (1350727067,), (1350727072,), (1350727077,), (1350727082,), (1350727087,), (1350727136,), (1350727139,), (1350727148,), (1350727949,), (1350727981,), (1350728047,), (1350728245,), (1350728297,), (1350728338,), (1350728388,), (1350728976,), (1350728733,), (1350728790,), (1350728846,), (1350728919,), (1350729448,), (1350729507,), (1350729538,), (1350729575,), (1350729844,), (1350729849,), (1350729854,), (1350729858,), (1350729862,), (1350729967,), (1350730068,), (1350730097,), (1350730132,), (1350730382,), (1350730495,), (1350730527,), (1350730709,), (1350730714,), (1350730719,), (1350730723,), (1350730728,), (1350730781,), (1350730785,), (1350730789,), (1350730792,), (1350731008,), (1350731091,), (1350731165,), (1350731204,), (1350731207,), (1350731258,), (1350731260,), (1350731262,), (1350731369,), (1350731383,), (1350731395,), (1350731414,), (1350731578,), (1350731581,), (1350731594,), (1350731768,), (1350731771,), (1350731830,), (1350731861,), (1350731891,), (1350731918,), (1350731948,), (1350732260,), (1350732288,), (1350732354,), (1350732364,), (1350732370,), (1350732401,), (1350732406,), (1350732412,), (1350732419,), (1350732464,), (1350732458,), (1350732460,), (1350732506,), (1350732510,), (1350732514,), (1350732518,), (1350732534,), (1350732626,), (1350732641,), (1350732646,), (1350732648,), (1350732703,), (1350732709,), (1350732715,), (1350732720,), (1350732727,), (1350732776,), (1350732780,), (1350732787,), (1350732795,), (1350732847,), (1350732856,), (1350732861,), (1350732866,), (1350732869,), (1350732875,), (1350732926,), (1350732930,), (1350732939,), (1350732948,), (1350732952,), (1350732989,), (1350732993,), (1350732998,), (1350733052,), (1350733056,), (1350733061,), (1350733073,), (1350733079,), (1350733107,), (1350733111,), (1350733172,), (1350733176,), (1350733193,), (1350733249,), (1350733252,), (1350733347,), (1350733352,), (1350733356,), (1350733361,), (1350733436,), (1350733438,), (1350733441,), (1350733444,), (1350733446,), (1350733484,), (1350733487,), (1350733490,), (1350733494,), (1350733498,), (1350733502,), (1350733571,), (1350733548,), (1350734290,), (1350734327,), (1350734825,), (1350734853,), (1350734905,), (1350734952,), (1350734982,), (1350735680,), (1350735707,), (1350735736,), (1350735755,), (1350735822,), (1350735849,), (1350735876,), (1350735901,), (1350736058,), (1350736066,), (1350736070,), (1350736442,), (1350736461,), (1350736465,), (1350736468,), (1350736568,), (1350736577,), (1350736581,), (1350736967,), (1350737004,), (1350737022,), (1350737047,), (1350737055,), (1350737067,), (1350737174,), (1350737178,), (1350737181,), (1350737299,), (1350737302,), (1350737305,), (1350737307,), (1350737311,), (1350737318,), (1350737574,), (1350737513,), (1350737543,), (1350737946,), (1350738002,), (1350738005,), (1350738010,), (1350738013,), (1350738040,), (1350738044,), (1350738048,), (1350738088,), (1350738092,), (1350738097,), (1350738102,), (1350738106,), (1350738110,), (1350738176,), (1350738180,), (1350738183,), (1350738253,), (1350738272,), (1350738288,), (1350738298,), (1350738314,), (1350738322,), (1350738397,), (1350738400,), (1350738404,), (1350738413,), (1350738415,), (1350738421,), (1350738475,), (1350738479,), (1350738483,), (1350738488,), (1350738548,), (1350738553,), (1350738557,), (1350738562,), (1350738566,), (1350738646,), (1350738650,), (1350738655,), (1350738660,), (1350738667,), (1350738671,), (1350738710,), (1350738716,), (1350738720,), (1350738724,), (1350738729,), (1350738766,), (1350738778,), (1350738806,), (1350739391,), (1350739447,), (1350739487,), (1350739911,), (1350739945,), (1350739961,), (1350739967,), (1350739978,), (1350739998,), (1350740005,), (1350740033,), (1350740066,), (1350740100,), (1350740459,), (1350740410,), (1350741145,), (1350741199,), (1350741254,), (1350741309,), (1350741364,), (1350741924,), (1350741974,), (1350742027,), (1350742109,), (1350742348,), (1350742351,), (1350742355,), (1350742357,), (1350742396,), (1350742399,), (1350743121,), (1350743171,), (1350743221,), (1350743269,), (1350743320,), (1350743581,), (1350743629,), (1350743679,), (1350743708,), (1350743803,), (1350743807,), (1350743812,), (1350743815,), (1350743820,), (1350743844,), (1350743847,), (1350743851,), (1350743855,), (1350743889,), (1350743893,), (1350743898,), (1350743902,), (1350743906,), (1350744017,), (1350744035,), (1350744039,), (1350744084,), (1350744091,), (1350744179,), (1350744187,), (1350744190,), (1350744193,), (1350744250,), (1350744255,), (1350744258,), (1350744260,), (1350744261,), (1350744311,), (1350744301,), (1350744303,), (1350744305,), (1350744306,), (1350744308,), (1350744487,), (1350744499,), (1350744501,), (1350744507,), (1350744562,), (1350744567,), (1350744569,), (1350744613,), (1350744617,), (1350744621,), (1350744624,), (1350744627,), (1350744630,), (1350744673,), (1350744676,), (1350744678,), (1350744679,), (1350744767,), (1350744769,), (1350744773,), (1350744775,), (1350744782,), (1350744821,), (1350744825,), (1350744833,), (1350744843,), (1350744854,), (1350744859,), (1350744897,), (1350744900,), (1350744902,), (1350744905,), (1350744906,), (1350744958,), (1350744961,), (1350744965,), (1350745011,), (1350745016,), (1350745019,), (1350745022,), (1350745025,), (1350745030,), (1350745077,), (1350745083,), (1350745088,), (1350745090,), (1350745095,), (1350745137,), (1350745141,), (1350745145,), (1350745149,), (1350745154,), (1350745204,), (1350745209,), (1350745220,), (1350745228,), (1350745233,), (1350745238,), (1350745281,), (1350745285,), (1350745289,), (1350745339,), (1350745345,), (1350745351,), (1350745486,), (1350745455,), (1350745474,), (1350745478,), (1350745481,), (1350745537,), (1350745546,), (1350745550,), (1350745553,), (1350745602,), (1350745605,), (1350745609,), (1350745675,), (1350745679,), (1350745683,), (1350745736,), (1350745887,), (1350745891,), (1350745948,), (1350745952,), (1350745955,), (1350745958,), (1350746015,), (1350746063,), (1350746068,), (1350746151,), (1350746154,), (1350746169,), (1350746254,), (1350746262,), (1350746265,), (1350746281,), (1350746400,), (1350746407,), (1350746417,), (1350746531,), (1350746534,), (1350746537,), (1350746601,), (1350746604,), (1350746608,), (1350746613,), (1350746664,), (1350746715,), (1350747047,), (1350747166,), (1350747192,), (1350747201,), (1350747203,), (1350747306,), (1350747312,), (1350747332,), (1350747361,), (1350747392,), (1350747475,), (1350747468,), (1350747472,), (1350747517,), (1350747521,), (1350747524,), (1350747526,), (1350747577,), (1350747584,), (1350747592,), (1350747631,), (1350747634,), (1350747637,), (1350747697,), (1350747705,), (1350747716,), (1350747720,), (1350747813,), (1350747815,), (1350747869,), (1350747876,), (1350747880,), (1350747884,), (1350747924,), (1350747926,), (1350747928,), (1350747981,), (1350747984,), (1350747988,), (1350748041,), (1350748089,), (1350748184,), (1350748187,), (1350748241,), (1350748246,), (1350748250,), (1350748255,), (1350748302,), (1350748303,), (1350748305,), (1350748354,), (1350748358,), (1350748362,), (1350748773,), (1350748781,), (1350748790,), (1350748799,), (1350748807,), (1350748814,), (1350749277,), (1350749174,), (1350749221,), (1350749266,), (1350749274,), (1350749690,), (1350749720,), (1350749752,), (1350749798,), (1350749852,), (1350750394,), (1350750453,), (1350750501,), (1350750544,), (1350751164,), (1350751226,), (1350751283,), (1350751332,), (1350751390,), (1350751424,), (1350751891,), (1350751942,), (1350751990,), (1350752039,), (1350752904,), (1350752969,), (1350753034,), (1350753111,), (1350753166,), (1350753223,), (1350753667,), (1350753712,), (1350753750,), (1350753783,), (1350753834,), (1350754334,), (1350754339,), (1350754343,), (1350754363,), (1350754394,), (1350754911,), (1350754961,), (1350755016,), (1350755076,), (1350755127,), (1350755462,), (1350756018,), (1350757375,), (1350757379,), (1350758894,), (1350758794,), (1350758834,), (1350759018,), (1350759019,), (1350759022,), (1350759025,), (1350759028,), (1350759321,), (1350759348,), (1350759373,), (1350759758,), (1350759768,), (1350759772,), (1350759775,), (1350759799,), (1350760068,), (1350760075,), (1350760082,), (1350760084,), (1350760271,), (1350760277,), (1350760280,), (1350760283,), (1350760314,), (1350760319,), (1350760327,), (1350760330,), (1350760388,), (1350760391,), (1350760394,), (1350760396,), (1350760397,), (1350760429,), (1350760431,), (1350760435,), (1350760437,), (1350760462,), (1350760463,), (1350760466,), (1350760469,), (1350760472,), (1350760502,), (1350760505,), (1350760507,), (1350760511,), (1350760547,), (1350760550,), (1350760553,), (1350760555,), (1350760556,), (1350760559,), (1350760606,), (1350760618,), (1350760619,), (1350760622,), (1350760625,), (1350760700,), (1350762908,), (1350762937,), (1350762967,), (1350762994,), (1350763319,), (1350763346,), (1350763376,), (1350763429,), (1350763982,), (1350764029,), (1350764509,), (1350764537,), (1350764569,), (1350765199,), (1350765250,), (1350765304,), (1350765354,), (1350765408,), (1350765773,), (1350765776,), (1350765792,), (1350765818,), (1350765848,), (1350765855,), (1350765920,), (1350765925,), (1350765930,), (1350765934,), (1350765937,), (1350765989,), (1350766018,), (1350766048,), (1350766085,), (1350766112,), (1350766413,), (1350766445,), (1350766473,), (1350766509,), (1350766802,), (1350766827,), (1350766846,), (1350766851,), (1350766855,), (1350766881,), (1350766946,), (1350766951,), (1350766955,), (1350766960,), (1350766964,), (1350766995,), (1350766999,), (1350767002,), (1350767005,), (1350767085,), (1350767097,), (1350767104,), (1350767114,), (1350767123,), (1350767128,), (1350767214,), (1350767216,), (1350767218,), (1350767221,), (1350767547,), (1350767529,), (1350767539,), (1350767543,), (1350767875,), (1350767910,), (1350767955,), (1350768005,), (1350768058,), (1350768416,), (1350768466,), (1350768499,), (1350768649,), (1350768678,), (1350768704,), (1350768893,), (1350768895,), (1350768898,), (1350768901,), (1350768967,), (1350768987,), (1350768991,), (1350768994,), (1350768997,), (1350769053,), (1350769078,), (1350769103,), (1350769170,), (1350769176,), (1350769179,), (1350769182,), (1350769184,), (1350769225,), (1350769228,), (1350769232,), (1350769236,), (1350769240,), (1350769244,), (1350769284,), (1350769288,), (1350769291,), (1350769293,), (1350769297,), (1350769347,), (1350769349,), (1350769389,), (1350769391,), (1350769393,), (1350769395,), (1350769398,), (1350769400,), (1350769437,), (1350769451,), (1350769453,), (1350769456,), (1350769510,), (1350769514,), (1350769519,), (1350769523,), (1350769527,), (1350769564,), (1350769568,), (1350769573,), (1350769578,), (1350769693,), (1350769672,), (1350769674,), (1350769676,), (1350769679,), (1350769684,), (1350769733,), (1350769737,), (1350769740,), (1350769744,), (1350769749,), (1350769789,), (1350770287,), (1350770445,), (1350770472,), (1350770500,), (1350770525,), (1350770552,), (1350770742,), (1350770754,), (1350770779,), (1350770804,), (1350770964,), (1350770966,), (1350770971,), (1350770974,), (1350770978,), (1350770981,), (1350771182,), (1350771185,), (1350771198,), (1350771513,), (1350772016,), (1350772046,), (1350772074,), (1350772627,), (1350772683,), (1350772735,), (1350772780,), (1350772811,), (1350772837,), (1350773229,), (1350773261,), (1350773298,), (1350773709,), (1350773740,), (1350773770,), (1350773799,), (1350773830,), (1350773861,), (1350774053,), (1350774037,), (1350774041,), (1350774047,), (1350774049,), (1350774094,), (1350774095,), (1350774098,), (1350774511,), (1350774564,), (1350774590,), (1350774636,), (1350774666,), (1350774736,), (1350775698,), (1350775722,), (1350775747,), (1350775773,), (1350776460,), (1350776488,), (1350776518,), (1350776548,), (1350776592,), (1350777456,), (1350777515,), (1350777560,), (1350777601,), (1350777660,), (1350778240,), (1350778292,), (1350778331,), (1350778366,), (1350778713,), (1350778764,), (1350778813,), (1350778894,), (1350778952,), (1350779005,), (1350779254,), (1350779261,), (1350779265,), (1350779267,), (1350779274,), (1350779508,), (1350779558,), (1350779600,), (1350780044,), (1350780054,), (1350780072,), (1350780073,), (1350780077,), (1350780081,), (1350780239,), (1350780302,), (1350780358,), (1350780411,), (1350780470,), (1350780991,), (1350781043,), (1350781095,), (1350783093,), (1350783171,), (1350783403,), (1350783483,), (1350783569,), (1350783630,), (1350783697,), (1350784428,), (1350784111,), (1350784181,), (1350784268,), (1350784351,), (1350784410,), (1350784968,), (1350785010,), (1350785221,), (1350785333,), (1350785419,), (1350786039,), (1350786089,), (1350786110,), (1350786139,), (1350786309,), (1350786315,), (1350786322,), (1350786332,), (1350786335,), (1350786370,), (1350786399,), (1350786428,), (1350786455,), (1350786482,), (1350786878,), (1350786941,), (1350786998,), (1350787037,), (1350787069,), (1350787364,), (1350787388,), (1350787427,), (1350787469,), (1350787493,), (1350787510,), (1350787779,), (1350787808,), (1350787811,), (1350788057,), (1350788075,), (1350788119,), (1350788171,), (1350788243,), (1350788306,), (1350788843,), (1350788879,), (1350788938,), (1350788996,), (1350789439,), (1350789445,), (1350789494,), (1350789500,), (1350789505,), (1350789511,), (1350789653,), (1350789681,), (1350789709,), (1350789737,), (1350789779,), (1350789810,), (1350790103,), (1350790152,), (1350790211,), (1350790498,), (1350790549,), (1350790601,), (1350790647,), (1350790716,), (1350790850,), (1350790971,), (1350790976,), (1350790984,), (1350791026,), (1350791084,), (1350791137,), (1350791771,), (1350791601,), (1350791663,), (1350791717,), (1350792695,), (1350792836,), (1350792883,), (1350792928,), (1350792979,), (1350793599,), (1350793633,), (1350793662,), (1350793760,), (1350793780,), (1350794068,), (1350794108,), (1350794133,), (1350794160,), (1350794412,), (1350794416,), (1350794421,), (1350794427,), (1350794456,), (1350794770,), (1350794806,), (1350794836,), (1350794855,), (1350794890,), (1350795303,), (1350795383,), (1350795388,), (1350795406,), (1350795437,), (1350795472,), (1350795476,), (1350795480,), (1350795484,), (1350795486,), (1350795491,), (1350795837,), (1350795898,), (1350795949,), (1350795982,), (1350796036,), (1350796311,), (1350796315,), (1350796319,), (1350796323,), (1350796514,), (1350796543,), (1350796578,), (1350796605,), (1350796645,), (1350796664,), (1350796790,), (1350796817,), (1350796848,), (1350796857,), (1350797239,), (1350797296,), (1350797339,), (1350797369,), (1350797404,), (1350797436,), (1350797729,), (1350797773,), (1350797830,), (1350797886,), (1350797956,), (1350798294,), (1350798327,), (1350798773,), (1350798754,), (1350799535,), (1350799564,), (1350799586,), (1350799991,), (1350800027,), (1350800056,), (1350800090,), (1350800130,), (1350800594,), (1350800624,), (1350800656,), (1350800690,), (1350800720,), (1350800749,), (1350800912,), (1350800916,), (1350800921,), (1350800923,), (1350801466,), (1350801518,), (1350801606,), (1350802199,), (1350802259,), (1350802343,), (1350802431,), (1350802500,), (1350802554,), (1350803152,), (1350803205,), (1350803271,), (1350803669,), (1350803672,), (1350803675,), (1350803684,), (1350803709,), (1350803738,), (1350803940,), (1350803947,), (1350804008,), (1350804046,), (1350804078,), (1350804105,), (1350804485,), (1350804537,), (1350804593,), (1350804646,), (1350804938,), (1350804955,), (1350804988,), (1350805056,), (1350805117,), (1350805176,), (1350805594,), (1350805609,), (1350805613,), (1350805619,), (1350805627,), (1350806075,), (1350806129,), (1350806184,), (1350806270,), (1350806353,), (1350806431,), (1350807226,), (1350806990,), (1350807049,), (1350807104,), (1350807152,), (1350807184,), (1350807378,), (1350807398,), (1350807426,), (1350807471,), (1350807977,), (1350808034,), (1350808112,), (1350808209,), (1350808288,), (1350808369,), (1350808951,), (1350809004,), (1350809075,), (1350809151,), (1350809609,), (1350809634,), (1350809680,), (1350809731,), (1350810129,), (1350810136,), (1350810165,), (1350810199,), (1350810227,), (1350810264,), (1350810575,), (1350810644,), (1350810720,), (1350810805,), (1350810886,), (1350810949,), (1350811908,), (1350812051,), (1350812263,), (1350813044,), (1350813074,), (1350813117,), (1350813144,), (1350813664,), (1350813834,), (1350814010,), (1350814089,), (1350814129,), (1350814567,), (1350814761,), (1350814837,), (1350815467,), (1350815501,), (1350815534,), (1350815559,), (1350815583,), (1350816586,), (1350816695,), (1350816752,), (1350816815,), (1350816872,), (1350818085,), (1350818150,), (1350818218,), (1350818257,), (1350818374,), (1350818406,), (1350818423,), (1350818427,), (1350818431,), (1350818666,), (1350818567,), (1350818586,), (1350818589,), (1350818627,), (1350819207,), (1350819265,), (1350819319,), (1350819414,), (1350820033,), (1350820084,), (1350820137,), (1350820188,), (1350820234,), (1350820292,), (1350820776,), (1350820805,), (1350820833,), (1350820864,), (1350820892,), (1350820925,), (1350821012,), (1350821014,), (1350821017,), (1350822406,), (1350822704,), (1350822777,), (1350822836,), (1350822889,), (1350822948,), (1350823744,), (1350823772,), (1350823799,), (1350823829,), (1350823878,), (1350823983,), (1350824534,), (1350824555,), (1350824577,), (1350824616,), (1350824623,), (1350824638,), (1350824667,), (1350824702,), (1350824758,), (1350825198,), (1350825242,), (1350825293,), (1350825324,), (1350825360,), (1350825547,), (1350825554,), (1350825597,), (1350825637,), (1350825653,), (1350825659,), (1350825752,), (1350825754,), (1350825760,), (1350825788,), (1350825816,), (1350825843,), (1350825896,), (1350825900,), (1350825904,), (1350826207,), (1350826233,), (1350826262,), (1350826287,), (1350826431,), (1350826457,), (1350826484,), (1350826517,), (1350826571,), (1350826889,), (1350826861,), (1350827329,), (1350827363,), (1350827369,), (1350827503,), (1350827511,), (1350827522,), (1350828132,), (1350828136,), (1350828141,), (1350828146,), (1350828159,), (1350828175,), (1350828479,), (1350828508,), (1350828578,), (1350828627,), (1350828630,), (1350828636,), (1350828844,), (1350828848,), (1350828852,), (1350829161,), (1350829191,), (1350829225,), (1350829249,), (1350829296,), (1350829300,), (1350829305,), (1350829311,), (1350829323,), (1350829369,), (1350829374,), (1350829375,), (1350829377,), (1350829441,), (1350829459,), (1350829468,), (1350829473,), (1350829484,), (1350829487,), (1350829590,), (1350829592,), (1350829594,), (1350829901,), (1350829904,), (1350829910,), (1350829915,), (1350829961,), (1350829965,), (1350829969,), (1350829974,), (1350829978,), (1350829984,), (1350830017,), (1350830020,), (1350830022,), (1350830026,), (1350830089,), (1350830098,), (1350830100,), (1350830103,), (1350830105,), (1350830185,), (1350830147,), (1350830155,), (1350830167,), (1350830180,), (1350830240,), (1350830242,), (1350830245,), (1350830248,), (1350830343,), (1350830378,), (1350830415,), (1350830444,), (1350830467,), (1350830847,), (1350830850,), (1350830870,), (1350830898,), (1350830962,), (1350831075,), (1350831242,), (1350831255,), (1350831260,), (1350831264,), (1350831306,), (1350831308,), (1350831319,), (1350831326,), (1350831331,), (1350831694,), (1350831726,), (1350831772,), (1350831820,), (1350832015,), (1350832017,), (1350832038,), (1350832418,), (1350832430,), (1350832435,), (1350832455,), (1350832476,), (1350832479,), (1350832530,), (1350832537,), (1350832539,), (1350832541,), (1350832543,), (1350832590,), (1350832593,), (1350832597,), (1350832648,), (1350832650,), (1350838590,), (1350838105,), (1350838817,), (1350838822,), (1350838924,), (1350839311,), (1350839362,), (1350839405,), (1350839764,), (1350839782,), (1350839793,), (1350839807,), (1350839812,), (1350839818,), (1350840088,), (1350840163,), (1350840255,), (1350840278,), (1350840296,), (1350840311,), (1350840322,), (1350840356,), (1350840359,), (1350840363,), (1350840369,), (1350840396,), (1350840432,), (1350840823,), (1350840854,), (1350840909,), (1350840966,), (1350841381,), (1350841411,), (1350841417,), (1350841426,), (1350841432,), (1350841438,), (1350841722,), (1350841736,), (1350841741,), (1350841746,), (1350841758,), (1350842313,), (1350842343,), (1350842393,), (1350842447,), (1350842507,), (1350842993,), (1350842907,), (1350842912,), (1350842986,), (1350842989,), (1350843546,), (1350843593,), (1350843649,), (1350843690,), (1350843734,), (1350844426,), (1350844473,), (1350844527,), (1350844574,), (1350844615,), (1350844655,), (1350844966,), (1350844969,), (1350844973,), (1350844976,), (1350845122,), (1350845196,), (1350845209,), (1350845232,), (1350845260,), (1350845294,), (1350845520,), (1350845551,), (1350845606,), (1350845633,), (1350845677,), (1350846021,), (1350846050,), (1350846079,), (1350846247,), (1350846273,), (1350846303,), (1350846332,), (1350846366,), (1350846375,), (1350846452,), (1350846457,), (1350846461,), (1350846466,), (1350846891,), (1350846968,), (1350847047,), (1350847118,), (1350847179,), (1350847231,), (1350847560,), (1350847589,), (1350847653,), (1350847688,), (1350847725,), (1350847898,), (1350847902,), (1350847906,), (1350847910,), (1350847957,), (1350848061,), (1350848092,), (1350848131,), (1350848162,), (1350848408,), (1350848413,), (1350848416,), (1350848421,), (1350848427,), (1350848573,), (1350848582,), (1350848589,), (1350848594,), (1350848964,), (1350848905,), (1350848960,), (1350849055,), (1350849060,), (1350849067,), (1350849072,), (1350849079,), (1350849125,), (1350849132,), (1350849138,), (1350849141,), (1350849146,), (1350849150,), (1350849182,), (1350849194,), (1350849198,), (1350849211,), (1350849218,), (1350849292,), (1350849298,), (1350849311,), (1350849326,), (1350849330,), (1350849335,), (1350849594,), (1350849624,), (1350849641,), (1350849645,), (1350849649,), (1350849653,), (1350849664,), (1350849670,), (1350849677,), (1350849703,), (1350849709,), (1350849715,), (1350849718,), (1350849722,), (1350849726,), (1350849769,), (1350849773,), (1350849776,), (1350849779,), (1350849831,), (1350849833,), (1350849836,), (1350849837,), (1350849845,), (1350849938,), (1350849949,), (1350849954,), (1350849959,), (1350849963,), (1350849975,), (1350850172,), (1350850175,), (1350850195,), (1350850380,), (1350850438,), (1350850445,), (1350850448,), (1350850450,), (1350850454,), (1350850590,), (1350850592,), (1350850595,), (1350850598,), (1350850641,), (1350850643,), (1350850654,), (1350850665,), (1350850667,), (1350850840,), (1350850806,), (1350850833,), (1350850836,), (1350850838,), (1350850979,), (1350850990,), (1350850994,), (1350850999,), (1350851003,), (1350851136,), (1350851139,), (1350851153,), (1350851174,), (1350851179,), (1350851350,), (1350851388,), (1350851402,), (1350851426,), (1350851433,), (1350851441,), (1350851588,), (1350851592,), (1350851595,), (1350851598,), (1350851599,), (1350851614,), (1350851752,), (1350851758,), (1350851762,), (1350851766,), (1350851770,), (1350851828,), (1350851840,), (1350851844,), (1350851849,), (1350851853,), (1350851891,), (1350851894,), (1350851898,), (1350851902,), (1350851904,), (1350851909,), (1350851968,), (1350851971,), (1350851978,), (1350851986,), (1350852027,), (1350852029,), (1350852031,), (1350852033,), (1350852035,), (1350852037,), (1350852072,), (1350852075,), (1350852078,), (1350852081,), (1350852084,), (1350852088,), (1350852128,), (1350852133,), (1350852136,), (1350852180,), (1350852190,), (1350852193,), (1350852208,), (1350852227,), (1350852241,), (1350853007,), (1350853066,), (1350853127,), (1350853190,), (1350853250,), (1350853329,), (1350853521,), (1350853567,), (1350853620,), (1350853678,), (1350854180,), (1350853991,), (1350854036,), (1350854074,), (1350854102,), (1350854130,), (1350854645,), (1350854701,), (1350854791,), (1350854877,), (1350854957,), (1350855426,), (1350855446,), (1350855450,), (1350855454,), (1350855460,), (1350855466,), (1350856135,), (1350856187,), (1350856241,), (1350856291,), (1350856711,), (1350857121,), (1350857155,), (1350857186,), (1350857260,), (1350857425,), (1350857452,), (1350857480,), (1350857509,), (1350857520,), (1350857523,), (1350857549,), (1350857552,), (1350857555,), (1350857558,), (1350857559,), (1350857875,), (1350857902,), (1350857930,), (1350857960,), (1350857993,), (1350858311,), (1350858337,), (1350858363,), (1350858389,), (1350858863,), (1350858931,), (1350858985,), (1350859039,), (1350859092,), (1350859419,), (1350859444,), (1350859471,), (1350859495,), (1350859523,), (1350859551,), (1350860190,), (1350860269,), (1350860350,), (1350860422,), (1350861235,), (1350861300,), (1350861366,), (1350861424,), (1350861471,), (1350861522,), (1350861861,), (1350861910,), (1350861939,), (1350861968,), (1350861996,), (1350863156,), (1350863344,), (1350863373,), (1350863400,), (1350863425,), (1350864120,), (1350864128,), (1350864133,), (1350864139,), (1350864145,), (1350864168,), (1350864508,), (1350864525,), (1350864562,), (1350864638,), (1350864640,), (1350864643,), (1350864694,), (1350864699,), (1350864702,), (1350864706,), (1350864712,), (1350864905,), (1350864936,), (1350864965,), (1350864989,), (1350865019,), (1350865125,), (1350865160,), (1350865188,), (1350865222,), (1350865355,), (1350865358,), (1350865361,), (1350865364,), (1350865367,), (1350865387,), (1350865450,), (1350865452,), (1350865455,), (1350865490,), (1350865501,), (1350865557,), (1350865560,), (1350865564,), (1350865568,), (1350865572,), (1350865600,), (1350865604,), (1350865608,), (1350865613,), (1350865615,), (1350865619,), (1350865857,), (1350865888,), (1350865913,), (1350866095,), (1350866097,), (1350866113,), (1350866136,), (1350866164,), (1350866189,), (1350866507,), (1350866383,), (1350866424,), (1350866465,), (1350866854,), (1350866873,), (1350866876,), (1350867423,), (1350867451,), (1350867478,), (1350867966,), (1350867999,), (1350868044,), (1350868070,), (1350868286,), (1350868307,), (1350868333,), (1350868708,), (1350868712,), (1350868715,), (1350868718,), (1350868719,), (1350868846,), (1350868873,), (1350868902,), (1350868914,), (1350869060,), (1350869063,), (1350869066,), (1350869071,), (1350869077,), (1350869081,), (1350869126,), (1350869130,), (1350869135,), (1350869139,), (1350869186,), (1350869190,), (1350869197,), (1350869201,), (1350869205,), (1350869245,), (1350869255,), (1350869266,), (1350869273,), (1350869278,), (1350869504,), (1350869559,), (1350869591,), (1350869607,), (1350870057,), (1350870108,), (1350870166,), (1350870220,), (1350871135,), (1350872970,), (1350872980,), (1350872983,), (1350873073,), (1350873077,), (1350873080,), (1350873083,), (1350873129,), (1350873133,), (1350873176,), (1350873199,), (1350873246,), (1350873297,), (1350873351,), (1350874069,), (1350874138,), (1350875484,), (1350875730,), (1350875742,), (1350875774,), (1350875802,), (1350875833,), (1350876322,), (1350876356,), (1350876372,), (1350876379,), (1350876471,), (1350876484,), (1350876514,), (1350876521,), (1350876545,), (1350876557,), (1350876977,), (1350876796,), (1350876827,), (1350876873,), (1350876916,), (1350876948,), (1350877655,), (1350877725,), (1350877812,), (1350877877,), (1350878641,), (1350878722,), (1350878798,), (1350878915,), (1350879024,), (1350879113,), (1350879773,), (1350879847,), (1350879931,), (1350880004,), (1350880082,), (1350880143,), (1350880661,), (1350880688,), (1350880718,), (1350880744,), (1350881486,), (1350881571,), (1350881638,), (1350881670,), (1350881722,), (1350881736,), (1350881918,), (1350881920,), (1350881922,), (1350881938,), (1350881967,), (1350882273,), (1350882287,), (1350882318,), (1350882346,), (1350883037,), (1350883109,), (1350883143,), (1350883170,), (1350883224,), (1350884315,), (1350884341,), (1350884346,), (1350884369,), (1350884398,), (1350884703,), (1350884706,), (1350884719,), (1350884758,), (1350884850,), (1350884901,), (1350884950,), (1350885003,), (1350885045,), (1350885079,), (1350885342,), (1350885368,), (1350885378,), (1350885380,), (1350885395,), (1350885464,), (1350885468,), (1350885478,), (1350885727,), (1350885730,), (1350885757,), (1350885767,), (1350885770,), (1350885775,), (1350886071,), (1350885947,), (1350886067,), (1350886226,), (1350886256,), (1350886284,), (1350886313,), (1350886346,), (1350886374,), (1350886634,), (1350886658,), (1350886689,), (1350886717,), (1350886733,), (1350887381,), (1350887383,), (1350887389,), (1350887400,), (1350887405,), (1350887409,), (1350887715,), (1350887717,), (1350887748,), (1350887750,), (1350887783,), (1350887834,), (1350887837,), (1350887840,), (1350887843,), (1350887844,), (1350887846,), (1350887888,), (1350887896,), (1350887904,), (1350887951,), (1350887956,), (1350887961,), (1350887965,), (1350887969,), (1350887974,), (1350888133,), (1350888236,), (1350888333,), (1350888435,), (1350888982,), (1350889008,), (1350889034,), (1350889046,), (1350889553,), (1350889558,), (1350889563,), (1350889589,), (1350889636,), (1350890032,), (1350890079,), (1350890133,), (1350890814,), (1350890867,), (1350890917,), (1350890978,), (1350891039,), (1350891093,), (1350891679,), (1350891749,), (1350891781,), (1350891955,), (1350892031,), (1350892107,), (1350892602,), (1350892652,), (1350892699,), (1350892754,), (1350893180,), (1350893030,), (1350893053,), (1350893083,), (1350893115,), (1350893143,), (1350893848,), (1350893926,), (1350894011,), (1350894045,), (1350894258,), (1350894261,), (1350894265,), (1350894289,), (1350894340,), (1350894401,), (1350895169,), (1350895238,), (1350895319,), (1350895391,), (1350895441,), (1350895488,), (1350896603,), (1350896745,), (1350896979,), (1350898890,), (1350898968,), (1350899001,), (1350899083,), (1350899157,), (1350899234,), (1350899534,), (1350899622,), (1350899812,), (1350901015,), (1350901070,), (1350901134,), (1350901203,), (1350901262,), (1350901313,), (1350902030,), (1350902104,), (1350902191,), (1350902269,), (1350903017,), (1350903076,), (1350903143,), (1350903215,), (1350903262,), (1350903318,), (1350904080,), (1350904146,), (1350904198,), (1350904249,), (1350904802,), (1350904827,), (1350904853,), (1350904880,), (1350904910,), (1350905211,), (1350905237,), (1350905265,), (1350905299,), (1350905350,), (1350905893,), (1350905947,), (1350905997,), (1350906632,), (1350906707,), (1350906771,), (1350906853,), (1350906882,), (1350907382,), (1350907272,), (1350907299,), (1350907326,), (1350907354,), (1350907569,), (1350907597,), (1350907603,), (1350907623,), (1350907687,), (1350907691,), (1350907695,), (1350907699,), (1350907704,), (1350907709,), (1350907755,), (1350907758,), (1350907761,), (1350907764,), (1350907905,), (1350907909,), (1350907917,), (1350907957,), (1350907961,), (1350907964,), (1350907966,), (1350907971,), (1350907977,), (1350908057,), (1350908184,), (1350908225,), (1350908261,), (1350908429,), (1350908450,), (1350908476,), (1350908619,), (1350908621,), (1350908624,), (1350908626,), (1350908628,), (1350908659,), (1350908662,), (1350908664,), (1350908666,), (1350908668,), (1350908671,), (1350908947,), (1350908976,), (1350909006,), (1350910326,), (1350910406,), (1350910474,), (1350910540,), (1350910623,), (1350910687,), (1350910698,), (1350910699,), (1350910704,), (1350910719,), (1350910943,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'17042025': {'nb_upload': 47, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22153496]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] map_info['map_portfolio_photo'] : {22153496: [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105]} final : True mtd_id 4302 list_pids : [1350842993, 1350842507, 1350842447, 1350842393, 1350842343, 1350842313, 1350841758, 1350841746, 1350841741, 1350841736, 1350841722, 1350841438, 1350841432, 1350841426, 1350841417, 1350841411, 1350841381, 1350840966, 1350840909, 1350840854, 1350840823, 1350840432, 1350840396, 1350840369, 1350840363, 1350840359, 1350840356, 1350840322, 1350840311, 1350840296, 1350840278, 1350840255, 1350840163, 1350840088, 1350839818, 1350839812, 1350839807, 1350839793, 1350839782, 1350839764, 1350839405, 1350839362, 1350839311, 1350838924, 1350838822, 1350838817, 1350838105] Looping around the photos to save general results len do output : 1 /22153496Didn'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, '2734179') ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179') ('4302', None, None, None, None, None, None, None, '2734179') ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 48 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, '22153496', 'None', None, None, None, None, '2734179'), ('4302', '22153496', '1350842993', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842507', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842447', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842393', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842343', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350842313', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841758', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841746', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841741', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841736', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841722', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841438', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841426', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841417', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841411', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350841381', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840966', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840909', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840854', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840823', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840432', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840396', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840369', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840363', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840359', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840356', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840322', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840296', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840278', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840255', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840163', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350840088', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839818', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839812', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839807', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839793', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839782', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839764', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839405', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839362', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350839311', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838924', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838822', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838817', None, None, None, None, None, '2734179'), ('4302', '22153496', '1350838105', None, None, None, None, None, '2734179')] time used for this insertion : 0.02120208740234375 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.52367639541626 time spend to save output : 0.021570444107055664 total time spend for step 5 : 4.545246839523315 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 (2734179) 3.50user 2.34system 0:21.14elapsed 27%CPU (0avgtext+0avgdata 162636maxresident)k 744inputs+37448outputs (0major+88056minor)pagefaults 0swaps