list_values : [('4302', None, '23356220', "{'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274}", None, None, None, None, '2961750'), ('4302', '23356220', '1361151741', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750')] time used for this insertion : 0.2093040943145752 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.512084722518921 time spend to save output : 0.20982027053833008 total time spend for step 1 : 1.721904993057251 step2:final Tue May 27 06:06:31 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 (23356220) 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 23356220 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1361146404,1361146325,1361146271,1361146269,1361146266,1361146609,1361146604,1361146598,1361146593,1361146588,1361146868,1361146863,1361146916,1361146913,1361146911,1361146909,1361146951,1361146947,1361146944,1361146992,1361146989,1361146987,1361146984,1361147036,1361147030,1361147025,1361147021,1361147076,1361147074,1361147072,1361147120,1361147115,1361147111,1361147165,1361147163,1361151741); 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([23356220]) Inside saveOutput : final : False verbose : True original output for save of step final : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} new output for save of step final : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] map_info['map_portfolio_photo'] : {23356220: [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266]} final : False mtd_id 4302 list_pids : [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] Looping around the photos to save general results len do output : 36 /1361151741.Didn't retrieve data . /1361147165.Didn't retrieve data . /1361147163.Didn't retrieve data . /1361147120.Didn't retrieve data . /1361147115.Didn't retrieve data . /1361147111.Didn't retrieve data . /1361147076.Didn't retrieve data . /1361147074.Didn't retrieve data . /1361147072.Didn't retrieve data . /1361147036.Didn't retrieve data . /1361147030.Didn't retrieve data . /1361147025.Didn't retrieve data . /1361147021.Didn't retrieve data . /1361146992.Didn't retrieve data . /1361146989.Didn't retrieve data . /1361146987.Didn't retrieve data . /1361146984.Didn't retrieve data . /1361146951.Didn't retrieve data . /1361146947.Didn't retrieve data . /1361146944.Didn't retrieve data . /1361146916.Didn't retrieve data . /1361146913.Didn't retrieve data . /1361146911.Didn't retrieve data . /1361146909.Didn't retrieve data . /1361146868.Didn't retrieve data . /1361146863.Didn't retrieve data . /1361146609.Didn't retrieve data . /1361146604.Didn't retrieve data . /1361146598.Didn't retrieve data . /1361146593.Didn't retrieve data . /1361146588.Didn't retrieve data . /1361146404.Didn't retrieve data . /1361146325.Didn't retrieve data . /1361146271.Didn't retrieve data . /1361146269.Didn't retrieve data . /1361146266.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, '2961750') ('4302', '23356220', '1361151741', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 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', '23356220', '1361151741', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147165', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147163', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147120', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147115', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147111', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147076', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147074', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147072', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147036', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147030', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147025', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361147021', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146992', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146989', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146987', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146984', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146951', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146947', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146944', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146916', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146913', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146911', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146909', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146868', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146863', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146609', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146604', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146598', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146593', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146588', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146404', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146325', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146271', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146269', '0.050965836002409975', None, None, None, None, '2961750'), ('4302', '23356220', '1361146266', '0.050965836002409975', None, None, None, None, '2961750')] time used for this insertion : 0.17053580284118652 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.13300442695617676 time spend to save output : 0.17207717895507812 total time spend for step 2 : 0.3050816059112549 step3:velours_tree Tue May 27 06:06:31 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 : {23356220: [{'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274}]} input_args_next_step : {23356220: ()} output_args : {23356220: [{'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274}]} args : 23356220 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23356220) 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([23356220]) 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.3335692882537842 time spend to save output : 8.726119995117188e-05 total time spend for step 3 : 0.33365654945373535 step4:send_mail_cod Tue May 27 06:06:32 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 : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} input_args_next_step : {1361151741: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361151741 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147165 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147163 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147120 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147115 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147111 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147076 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147074 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147072 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147036 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147030 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147025 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361147021 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146992 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146989 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146987 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146984 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146951 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146947 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146944 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146916 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146913 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146911 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146909 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146868 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146863 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146609 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146604 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146598 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146593 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146588 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146404 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146325 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146271 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146269 depend.output_id : 0 input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ()} output_args : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',)} args : 1361146266 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 : {23356220: [{'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274}]} input_args_next_step : {1361151741: ('0.050965836002409975',), 1361147165: ('0.050965836002409975',), 1361147163: ('0.050965836002409975',), 1361147120: ('0.050965836002409975',), 1361147115: ('0.050965836002409975',), 1361147111: ('0.050965836002409975',), 1361147076: ('0.050965836002409975',), 1361147074: ('0.050965836002409975',), 1361147072: ('0.050965836002409975',), 1361147036: ('0.050965836002409975',), 1361147030: ('0.050965836002409975',), 1361147025: ('0.050965836002409975',), 1361147021: ('0.050965836002409975',), 1361146992: ('0.050965836002409975',), 1361146989: ('0.050965836002409975',), 1361146987: ('0.050965836002409975',), 1361146984: ('0.050965836002409975',), 1361146951: ('0.050965836002409975',), 1361146947: ('0.050965836002409975',), 1361146944: ('0.050965836002409975',), 1361146916: ('0.050965836002409975',), 1361146913: ('0.050965836002409975',), 1361146911: ('0.050965836002409975',), 1361146909: ('0.050965836002409975',), 1361146868: ('0.050965836002409975',), 1361146863: ('0.050965836002409975',), 1361146609: ('0.050965836002409975',), 1361146604: ('0.050965836002409975',), 1361146598: ('0.050965836002409975',), 1361146593: ('0.050965836002409975',), 1361146588: ('0.050965836002409975',), 1361146404: ('0.050965836002409975',), 1361146325: ('0.050965836002409975',), 1361146271: ('0.050965836002409975',), 1361146269: ('0.050965836002409975',), 1361146266: ('0.050965836002409975',), 23356220: ()} output_args : {23356220: [{'Carton_brun': 23356263, 'plastique': 23356264, 'kraft': 23356265, 'metal': 23356266, 'papier': 23356267, 'Teint_Dans_La_Masse': 23356268, 'autre_refus': 23356269, 'environnement': 23356270, 'Carton_gris': 23356271, 'mal_croppe': 23356272, 'cartonnette': 23356273, 'flou': 23356274}]} args : 23356220 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 :37, first value : ('0.050965836002409975',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23356220) 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 (1361151741,1361147165,1361147163,1361147120,1361147115,1361147111,1361147076,1361147074,1361147072,1361147036,1361147030,1361147025,1361147021,1361146992,1361146989,1361146987,1361146984,1361146951,1361146947,1361146944,1361146916,1361146913,1361146911,1361146909,1361146868,1361146863,1361146609,1361146604,1361146598,1361146593,1361146588,1361146404,1361146325,1361146271,1361146269,1361146266) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1361146266 begin to download photo : 1361146604 begin to download photo : 1361146944 begin to download photo : 1361147025 begin to download photo : 1361147120 download finish for photo 1361147120 download finish for photo 1361146944 begin to download photo : 1361147163 begin to download photo : 1361146947 download finish for photo 1361147025 begin to download photo : 1361147030 download finish for photo 1361146266 begin to download photo : 1361146269 download finish for photo 1361146604 begin to download photo : 1361146609 download finish for photo 1361147163 begin to download photo : 1361147165 download finish for photo 1361146269 begin to download photo : 1361146271 download finish for photo 1361147030 begin to download photo : 1361147036 download finish for photo 1361146947 begin to download photo : 1361146951 download finish for photo 1361147165 begin to download photo : 1361151741 download finish for photo 1361146609 begin to download photo : 1361146863 download finish for photo 1361146271 begin to download photo : 1361146325 download finish for photo 1361147036 begin to download photo : 1361147072 download finish for photo 1361146951 begin to download photo : 1361146984 download finish for photo 1361146863 begin to download photo : 1361146868 download finish for photo 1361146325 begin to download photo : 1361146404 download finish for photo 1361147072 begin to download photo : 1361147074 download finish for photo 1361151741 download finish for photo 1361146984 begin to download photo : 1361146987 download finish for photo 1361146868 begin to download photo : 1361146909 download finish for photo 1361146404 begin to download photo : 1361146588 download finish for photo 1361147074 begin to download photo : 1361147076 download finish for photo 1361146987 begin to download photo : 1361146989 download finish for photo 1361146909 begin to download photo : 1361146911 download finish for photo 1361146588 begin to download photo : 1361146593 download finish for photo 1361147076 begin to download photo : 1361147111 download finish for photo 1361146989 begin to download photo : 1361146992 download finish for photo 1361146911 begin to download photo : 1361146913 download finish for photo 1361147111 begin to download photo : 1361147115 download finish for photo 1361146593 begin to download photo : 1361146598 download finish for photo 1361146913 begin to download photo : 1361146916 download finish for photo 1361146992 begin to download photo : 1361147021 download finish for photo 1361147115 download finish for photo 1361146916 download finish for photo 1361147021 download finish for photo 1361146598 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 : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P23356220_27-05-2025_06_06_33.pdf 23356264 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=23356264 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361151800: '1748286205_2104987_1361146913_fa035abae343502023315087585ec7d1_rle_crop_3813438446_0.png', 1361152030: '1748286326_2108013_1361151741_e8125e831529e9cec82a76cda3549a96_rle_crop_3813441103_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/5c0a4a950becc43b148147b22282c166_45274240.png change filename to text .imagette233562641748318793/ imagette233562641748318793/1748286326_2108013_1361151741_e8125e831529e9cec82a76cda3549a96_rle_crop_3813441103_0.png.png imagette233562641748318793/1748286205_2104987_1361146913_fa035abae343502023315087585ec7d1_rle_crop_3813438446_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/2f257954af4131dbb2a395c5ff91c476_86951536.png imagette233562641748318793 23356265 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=23356265 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361148505: '1748285006_2073552_1361147165_91c5a2814ed2bb51273b2d437330ecda_rle_crop_3813427590_0.png', 1361152032: '1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441111_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/3b3e273a06c9d16e277972fcc2e53a8c_34008836.png change filename to text .imagette233562651748318794/ imagette233562651748318794/1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441111_0.png.png imagette233562651748318794/1748285006_2073552_1361147165_91c5a2814ed2bb51273b2d437330ecda_rle_crop_3813427590_0.png.png imagette233562661748318794/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/7238fc1cae5ecb37e2a96da2df991778_92152427.png imagette233562651748318794 23356266 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=23356266 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233562661748318794 23356269 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=23356269 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361149578: '1748285126_2076429_1361147021_351172fb12e556fd00180435ccddd457_rle_crop_3813428014_0.png', 1361152685: '1748286686_2116208_1361146598_819b8d44b436d36db1bd0642473d1eda_rle_crop_3813442939_0.png', 1361152686: '1748286686_2116208_1361146588_92ad3ad30a2173b705f7e0dd60271815_rle_crop_3813442957_0.png', 1361152771: '1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443133_0.png', 1361152772: '1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443148_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/860895302d933acdffbab138234b6ca6_6423935.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/57d09aa2a9a296304d0442da7d85bcee_26327890.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/a72e81e1114d06ae0b7cba5f83aab8ec_99035612.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/61ae484396b13ad386c3951349d28dbd_9698438.png change filename to text .imagette233562691748318794/ imagette233562691748318794/1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443148_0.png.png imagette233562691748318794/1748286686_2116208_1361146598_819b8d44b436d36db1bd0642473d1eda_rle_crop_3813442939_0.png.png imagette233562691748318794/1748285126_2076429_1361147021_351172fb12e556fd00180435ccddd457_rle_crop_3813428014_0.png.png imagette233562691748318794/1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443133_0.png.png imagette233562691748318794/1748286686_2116208_1361146588_92ad3ad30a2173b705f7e0dd60271815_rle_crop_3813442957_0.png.png imagette233562721748318795/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/15739ce2933fc3740e0870bf2d575523_6701068.png imagette233562691748318794 23356272 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=23356272 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233562721748318795 23356273 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=23356273 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361151798: '1748286205_2104987_1361146913_fa035abae343502023315087585ec7d1_rle_crop_3813438443_0.png', 1361152028: '1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441109_0.png', 1361152029: '1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441112_0.png', 1361152773: '1748286805_2119732_1361146271_e57e3efc305d4b8068020ee4f63ea37d_rle_crop_3813443180_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/d4f46234d2c6aec6bf9a16b308f0107c_73033053.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/3fc306608776c693d48c3c3df2a73e75_33332336.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/cab6f3261b31b6978f1c6d773742061d_30646521.png change filename to text .imagette233562731748318795/ imagette233562731748318795/1748286805_2119732_1361146271_e57e3efc305d4b8068020ee4f63ea37d_rle_crop_3813443180_0.png.png imagette233562731748318795/1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441109_0.png.png imagette233562731748318795/1748286326_2108013_1361147163_bd37846518d2717548f921dc2964a081_rle_crop_3813441112_0.png.png imagette233562731748318795/1748286205_2104987_1361146913_fa035abae343502023315087585ec7d1_rle_crop_3813438443_0.png.png imagette233562741748318795/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/9a77965520cf42166342e001025aac56_47125866.png imagette233562731748318795 23356274 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=23356274 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette233562741748318795 23356263 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=23356263 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361148503: '1748285006_2073552_1361147111_50a18a55076e3d2c03f3f46be42021e7_rle_crop_3813427856_0.png', 1361152775: '1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443158_0.png', 1361152776: '1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443196_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/da5da44815446ad2dcb12f8b9862f1d2_9559570.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/7c1a4293a80e84784639ecaccea96774_66964734.png change filename to text .imagette233562631748318795/ imagette233562631748318795/1748285006_2073552_1361147111_50a18a55076e3d2c03f3f46be42021e7_rle_crop_3813427856_0.png.png imagette233562631748318795/1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443196_0.png.png imagette233562631748318795/1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443158_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/32043962ae3ee6bcdb748c5261e42bbc_56344584.png imagette233562631748318795 23356268 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=23356268 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361147918: '1748284886_2069913_1361147074_a86f89ef4a531137c2b85fbb7ae1512a_rle_crop_3813423570_0.png', 1361149575: '1748285126_2076429_1361147076_edc05bcec86d9dd0c28bb28e4ceae400_rle_crop_3813427982_0.png', 1361149576: '1748285126_2076429_1361147076_edc05bcec86d9dd0c28bb28e4ceae400_rle_crop_3813427979_0.png', 1361150012: '1748285367_2084694_1361146992_f6f087bf1cd3f573bbd76f7e9fa13160_rle_crop_3813430785_0.png', 1361151795: '1748286205_2104987_1361146909_e32dd4adbc1a152885f48c1c08b1f92b_rle_crop_3813438464_0.png', 1361152762: '1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443142_0.png', 1361152763: '1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443139_0.png', 1361152764: '1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443154_0.png', 1361152765: '1748286805_2119732_1361146325_17d0cb48acf2feb2124973a236d32c79_rle_crop_3813443166_0.png', 1361152766: '1748286805_2119732_1361146271_e57e3efc305d4b8068020ee4f63ea37d_rle_crop_3813443185_0.png', 1361152767: '1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443200_0.png', 1361152768: '1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443197_0.png', 1361152769: '1748286805_2119732_1361146266_af892e82581ec8cf40185081e554a840_rle_crop_3813443213_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/2de9ebc8ef962ff13b6af5882f7306a6_62832926.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/af6faa91ca646ef690b5e2bfa489a04a_14259959.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/631f0984f1b9b3859ff9499c9082a0a5_82694510.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/690298820c5c37e783232a81619cf168_88692141.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/019880c37c6445770f2594b94103232e_25564951.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/314b02b750f37d339aa25b47c87d8690_7090822.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/ec0f8aea56045bc486defedf511e3d8e_64634627.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/f7b891e8f906983bade816ca701ce421_8076264.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/3781a3087ae9ffe5e635999de76b0ed1_10440268.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/8263b06d5fd9ee1a93f333f20b370d08_82193359.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/81fb20c0569996984cee9b23bf83ab47_99576410.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/a3f68e4e35b5bc8abc060af1c1ff8583_55073970.png change filename to text .imagette233562681748318796/ imagette233562681748318796/1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443139_0.png.png imagette233562681748318796/1748286805_2119732_1361146266_af892e82581ec8cf40185081e554a840_rle_crop_3813443213_0.png.png imagette233562681748318796/1748286205_2104987_1361146909_e32dd4adbc1a152885f48c1c08b1f92b_rle_crop_3813438464_0.png.png imagette233562681748318796/1748286805_2119732_1361146609_2f268d91d10a329eb1d0f09cf6a983dd_rle_crop_3813443142_0.png.png imagette233562681748318796/1748285367_2084694_1361146992_f6f087bf1cd3f573bbd76f7e9fa13160_rle_crop_3813430785_0.png.png imagette233562681748318796/1748286805_2119732_1361146404_b5a783aa77b5df7893c38422a51640e9_rle_crop_3813443154_0.png.png imagette233562681748318796/1748285126_2076429_1361147076_edc05bcec86d9dd0c28bb28e4ceae400_rle_crop_3813427982_0.png.png imagette233562681748318796/1748286805_2119732_1361146325_17d0cb48acf2feb2124973a236d32c79_rle_crop_3813443166_0.png.png imagette233562681748318796/1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443197_0.png.png imagette233562681748318796/1748284886_2069913_1361147074_a86f89ef4a531137c2b85fbb7ae1512a_rle_crop_3813423570_0.png.png imagette233562681748318796/1748286805_2119732_1361146269_8ae9a661878bda205da6461f34fbf3cf_rle_crop_3813443200_0.png.png imagette233562681748318796/1748285126_2076429_1361147076_edc05bcec86d9dd0c28bb28e4ceae400_rle_crop_3813427979_0.png.png imagette233562681748318796/1748286805_2119732_1361146271_e57e3efc305d4b8068020ee4f63ea37d_rle_crop_3813443185_0.png.png wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/3821f6c4b567fecb7d2787515442a212_75705427.png imagette233562681748318796 23356271 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=23356271 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361150013: '1748285367_2084694_1361146947_dec2713fe25d60f1e1e3af5e7abff8ac_rle_crop_3813430792_0.png', 1361151797: '1748286205_2104987_1361146911_83eb5308e1cffd94cc9792ff48247cc1_rle_crop_3813438453_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/b2e42f9782387d4b8d7a8ace42dc7783_46804448.png change filename to text .imagette233562711748318797/ imagette233562711748318797/1748285367_2084694_1361146947_dec2713fe25d60f1e1e3af5e7abff8ac_rle_crop_3813430792_0.png.png imagette233562711748318797/1748286205_2104987_1361146911_83eb5308e1cffd94cc9792ff48247cc1_rle_crop_3813438453_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/f095d67d4e54485beaa4710ff0729b94_68895616.png imagette233562711748318797 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23356220 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23356276,23356277,23356278,23356279,23356280,23356281,23356282,23356283,23356284,23356285,23356286,23356287?tags=Carton_brun,plastique,kraft,metal,papier,Teint_Dans_La_Masse,autre_refus,environnement,Carton_gris,mal_croppe,cartonnette,flou your option no_mail is active, we will not send the real mail to your client args[1361151741] : ('0.050965836002409975',) no score found for photo 1361151741 We are sending mail with results at report@fotonower.com args[1361147165] : ('0.050965836002409975',) no score found for photo 1361147165 We are sending mail with results at report@fotonower.com args[1361147163] : ('0.050965836002409975',) no score found for photo 1361147163 We are sending mail with results at report@fotonower.com args[1361147120] : ('0.050965836002409975',) no score found for photo 1361147120 We are sending mail with results at report@fotonower.com args[1361147115] : ('0.050965836002409975',) no score found for photo 1361147115 We are sending mail with results at report@fotonower.com args[1361147111] : ('0.050965836002409975',) no score found for photo 1361147111 We are sending mail with results at report@fotonower.com args[1361147076] : ('0.050965836002409975',) no score found for photo 1361147076 We are sending mail with results at report@fotonower.com args[1361147074] : ('0.050965836002409975',) no score found for photo 1361147074 We are sending mail with results at report@fotonower.com args[1361147072] : ('0.050965836002409975',) no score found for photo 1361147072 We are sending mail with results at report@fotonower.com args[1361147036] : ('0.050965836002409975',) no score found for photo 1361147036 We are sending mail with results at report@fotonower.com args[1361147030] : ('0.050965836002409975',) no score found for photo 1361147030 We are sending mail with results at report@fotonower.com args[1361147025] : ('0.050965836002409975',) no score found for photo 1361147025 We are sending mail with results at report@fotonower.com args[1361147021] : ('0.050965836002409975',) no score found for photo 1361147021 We are sending mail with results at report@fotonower.com args[1361146992] : ('0.050965836002409975',) no score found for photo 1361146992 We are sending mail with results at report@fotonower.com args[1361146989] : ('0.050965836002409975',) no score found for photo 1361146989 We are sending mail with results at report@fotonower.com args[1361146987] : ('0.050965836002409975',) no score found for photo 1361146987 We are sending mail with results at report@fotonower.com args[1361146984] : ('0.050965836002409975',) no score found for photo 1361146984 We are sending mail with results at report@fotonower.com args[1361146951] : ('0.050965836002409975',) no score found for photo 1361146951 We are sending mail with results at report@fotonower.com args[1361146947] : ('0.050965836002409975',) no score found for photo 1361146947 We are sending mail with results at report@fotonower.com args[1361146944] : ('0.050965836002409975',) no score found for photo 1361146944 We are sending mail with results at report@fotonower.com args[1361146916] : ('0.050965836002409975',) no score found for photo 1361146916 We are sending mail with results at report@fotonower.com args[1361146913] : ('0.050965836002409975',) no score found for photo 1361146913 We are sending mail with results at report@fotonower.com args[1361146911] : ('0.050965836002409975',) no score found for photo 1361146911 We are sending mail with results at report@fotonower.com args[1361146909] : ('0.050965836002409975',) no score found for photo 1361146909 We are sending mail with results at report@fotonower.com args[1361146868] : ('0.050965836002409975',) no score found for photo 1361146868 We are sending mail with results at report@fotonower.com args[1361146863] : ('0.050965836002409975',) no score found for photo 1361146863 We are sending mail with results at report@fotonower.com args[1361146609] : ('0.050965836002409975',) no score found for photo 1361146609 We are sending mail with results at report@fotonower.com args[1361146604] : ('0.050965836002409975',) no score found for photo 1361146604 We are sending mail with results at report@fotonower.com args[1361146598] : ('0.050965836002409975',) no score found for photo 1361146598 We are sending mail with results at report@fotonower.com args[1361146593] : ('0.050965836002409975',) no score found for photo 1361146593 We are sending mail with results at report@fotonower.com args[1361146588] : ('0.050965836002409975',) no score found for photo 1361146588 We are sending mail with results at report@fotonower.com args[1361146404] : ('0.050965836002409975',) no score found for photo 1361146404 We are sending mail with results at report@fotonower.com args[1361146325] : ('0.050965836002409975',) no score found for photo 1361146325 We are sending mail with results at report@fotonower.com args[1361146271] : ('0.050965836002409975',) no score found for photo 1361146271 We are sending mail with results at report@fotonower.com args[1361146269] : ('0.050965836002409975',) no score found for photo 1361146269 We are sending mail with results at report@fotonower.com args[1361146266] : ('0.050965836002409975',) no score found for photo 1361146266 We are sending mail with results at report@fotonower.com refus_total : 0.050965836002409975 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=23356220 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_P23356220_27-05-2025_06_06_33.pdf results_Auto_P23356220_27-05-2025_06_06_33.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23356220_27-05-2025_06_06_33.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','23356220','results_Auto_P23356220_27-05-2025_06_06_33.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23356220_27-05-2025_06_06_33.pdf','pdf','','0.38','0.050965836002409975') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23356220]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] map_info['map_portfolio_photo'] : {23356220: [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266]} final : False mtd_id 4302 list_pids : [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] 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, '2961750') ('4302', '23356220', '1361151741', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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', '23356220', '1361151741', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750')] time used for this insertion : 0.09131884574890137 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.238596677780151 time spend to save output : 0.09177136421203613 total time spend for step 4 : 8.330368041992188 step5:split_time_score Tue May 27 06:06:40 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 : ['23356220'] 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 : [('23356220',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23356220) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1361147120: {'path': 'temp/1748318792_3116324_1361147120_3c7866874e1672aa0a9be53f1cfec37b.jpg', 'extension': 'jpg'}, 1361147163: {'path': 'temp/1748318792_3116324_1361147163_bd37846518d2717548f921dc2964a081.jpg', 'extension': 'jpg'}, 1361147165: {'path': 'temp/1748318792_3116324_1361147165_91c5a2814ed2bb51273b2d437330ecda.jpg', 'extension': 'jpg'}, 1361151741: {'path': 'temp/1748318792_3116324_1361151741_e8125e831529e9cec82a76cda3549a96.jpg', 'extension': 'jpg'}, 1361147025: {'path': 'temp/1748318792_3116324_1361147025_96133b3e0ad65bc3420ecaa6bec62ea7.jpg', 'extension': 'jpg'}, 1361147030: {'path': 'temp/1748318792_3116324_1361147030_03681432370b0f203b43b1490b77e0f5.jpg', 'extension': 'jpg'}, 1361147036: {'path': 'temp/1748318792_3116324_1361147036_f79c322bbd1697de8224937b118910b5.jpg', 'extension': 'jpg'}, 1361147072: {'path': 'temp/1748318792_3116324_1361147072_c3015e648a1f7d8f61b7dd8c0d8e9f5e.jpg', 'extension': 'jpg'}, 1361147074: {'path': 'temp/1748318792_3116324_1361147074_a86f89ef4a531137c2b85fbb7ae1512a.jpg', 'extension': 'jpg'}, 1361147076: {'path': 'temp/1748318792_3116324_1361147076_edc05bcec86d9dd0c28bb28e4ceae400.jpg', 'extension': 'jpg'}, 1361147111: {'path': 'temp/1748318792_3116324_1361147111_50a18a55076e3d2c03f3f46be42021e7.jpg', 'extension': 'jpg'}, 1361147115: {'path': 'temp/1748318792_3116324_1361147115_9df96143e3a0f4f8c9f4d42a92e58f40.jpg', 'extension': 'jpg'}, 1361146604: {'path': 'temp/1748318792_3116324_1361146604_9777b1d71e8bcab73b77192d21751e68.jpg', 'extension': 'jpg'}, 1361146609: {'path': 'temp/1748318792_3116324_1361146609_2f268d91d10a329eb1d0f09cf6a983dd.jpg', 'extension': 'jpg'}, 1361146863: {'path': 'temp/1748318792_3116324_1361146863_5de28f5da4d815d4fdc3917884fe6fbf.jpg', 'extension': 'jpg'}, 1361146868: {'path': 'temp/1748318792_3116324_1361146868_472a1a871827c392939e50d9f044428b.jpg', 'extension': 'jpg'}, 1361146909: {'path': 'temp/1748318792_3116324_1361146909_e32dd4adbc1a152885f48c1c08b1f92b.jpg', 'extension': 'jpg'}, 1361146911: {'path': 'temp/1748318792_3116324_1361146911_83eb5308e1cffd94cc9792ff48247cc1.jpg', 'extension': 'jpg'}, 1361146913: {'path': 'temp/1748318792_3116324_1361146913_fa035abae343502023315087585ec7d1.jpg', 'extension': 'jpg'}, 1361146916: {'path': 'temp/1748318792_3116324_1361146916_4fb428316127228824d3963a9c92ba40.jpg', 'extension': 'jpg'}, 1361146944: {'path': 'temp/1748318792_3116324_1361146944_8bca6e8857cb6a63d581f7c20b428cec.jpg', 'extension': 'jpg'}, 1361146947: {'path': 'temp/1748318792_3116324_1361146947_dec2713fe25d60f1e1e3af5e7abff8ac.jpg', 'extension': 'jpg'}, 1361146951: {'path': 'temp/1748318792_3116324_1361146951_576bb111a58a4c7e77b4c65545de0c75.jpg', 'extension': 'jpg'}, 1361146984: {'path': 'temp/1748318792_3116324_1361146984_8b95ff7cb292157d79cee7870e1c6a7c.jpg', 'extension': 'jpg'}, 1361146987: {'path': 'temp/1748318792_3116324_1361146987_f4d85b6cd9f11d74849d286f589d0135.jpg', 'extension': 'jpg'}, 1361146989: {'path': 'temp/1748318792_3116324_1361146989_8899f4a6343422e4025785ec1745904e.jpg', 'extension': 'jpg'}, 1361146992: {'path': 'temp/1748318792_3116324_1361146992_f6f087bf1cd3f573bbd76f7e9fa13160.jpg', 'extension': 'jpg'}, 1361147021: {'path': 'temp/1748318792_3116324_1361147021_351172fb12e556fd00180435ccddd457.jpg', 'extension': 'jpg'}, 1361146266: {'path': 'temp/1748318792_3116324_1361146266_af892e82581ec8cf40185081e554a840.jpg', 'extension': 'jpg'}, 1361146269: {'path': 'temp/1748318792_3116324_1361146269_8ae9a661878bda205da6461f34fbf3cf.jpg', 'extension': 'jpg'}, 1361146271: {'path': 'temp/1748318792_3116324_1361146271_e57e3efc305d4b8068020ee4f63ea37d.jpg', 'extension': 'jpg'}, 1361146325: {'path': 'temp/1748318792_3116324_1361146325_17d0cb48acf2feb2124973a236d32c79.jpg', 'extension': 'jpg'}, 1361146404: {'path': 'temp/1748318792_3116324_1361146404_b5a783aa77b5df7893c38422a51640e9.jpg', 'extension': 'jpg'}, 1361146588: {'path': 'temp/1748318792_3116324_1361146588_92ad3ad30a2173b705f7e0dd60271815.jpg', 'extension': 'jpg'}, 1361146593: {'path': 'temp/1748318792_3116324_1361146593_976501045c8d98130edd35896e317d68.jpg', 'extension': 'jpg'}, 1361146598: {'path': 'temp/1748318792_3116324_1361146598_819b8d44b436d36db1bd0642473d1eda.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 = 23356220; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) 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 = 23356220 group by h (('20', 36),) 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=23356220 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 (23356220) 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 (23356220) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26052025 23356220 Nombre de photos uploadées : 36 / 23040 (0%) 26052025 23356220 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 26052025 23356220 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1361146404, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/b5a783aa77b5df7893c38422a51640e9.jpg', 'username': None, 'uploaded_at': 1748284268, 'text': 'image_26052025_20_30_04_010150m0.jpg 1e-05 for time 1, id_amount 1 this amount prod time diff : 1e-05'}, {'photo_id': 1361146325, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/17d0cb48acf2feb2124973a236d32c79.jpg', 'username': None, 'uploaded_at': 1748284268, 'text': 'image_26052025_20_30_13_009126m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1361146271, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/e57e3efc305d4b8068020ee4f63ea37d.jpg', 'username': None, 'uploaded_at': 1748284268, 'text': 'image_26052025_20_30_23_010133m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361146269, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/26/8ae9a661878bda205da6461f34fbf3cf.jpg', 'username': None, 'uploaded_at': 1748284268, 'text': 'image_26052025_20_30_33_010133m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.5762786865234375e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018303394317626953 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23356220, '2025-05-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1834524,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02423238754272461 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= 1834524 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23319692, 'dashboard_result_id': 10931598, '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_P23319692_27-05-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319704, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23319847, 'dashboard_result_id': 10931599, '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_P23319847_27-05-2025_05_35_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319859, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23320077, 'dashboard_result_id': 10931600, '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_P23320077_27-05-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23320084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320089, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325134, 'dashboard_result_id': 10931601, '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_P23325134_27-05-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325387, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23320531, 'dashboard_result_id': 10931602, '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_P23320531_27-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23320532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320543, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23321016, 'dashboard_result_id': 10931603, '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_P23321016_27-05-2025_05_37_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321028, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325136, 'dashboard_result_id': 10931604, '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_P23325136_27-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325351, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23321495, 'dashboard_result_id': 10931605, '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_P23321495_27-05-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321507, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23321641, 'dashboard_result_id': 10931606, '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_P23321641_27-05-2025_05_38_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321653, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325138, 'dashboard_result_id': 10931607, '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_P23325138_27-05-2025_05_39_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325314, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23322061, 'dashboard_result_id': 10931608, '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_P23322061_27-05-2025_05_40_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23322065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322073, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325141, 'dashboard_result_id': 10931609, '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_P23325141_27-05-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325277, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23322562, 'dashboard_result_id': 10931610, '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_P23322562_27-05-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23322571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322583, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23323551, 'dashboard_result_id': 10931611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323564, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323551_27-05-2025_05_41_33.pdf'}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23323111, 'dashboard_result_id': 10931612, '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_P23323111_27-05-2025_05_42_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323124, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23323520, 'dashboard_result_id': 10931613, '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_P23323520_27-05-2025_05_42_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323534, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23323923, 'dashboard_result_id': 10931614, '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_P23323923_27-05-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23323924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323935, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23324068, 'dashboard_result_id': 10931615, '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_P23324068_27-05-2025_05_44_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23324069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324080, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23324122, 'dashboard_result_id': 10931616, '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_P23324122_27-05-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324135, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23324402, 'dashboard_result_id': 10931617, '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_P23324402_27-05-2025_05_45_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324415, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23324563, 'dashboard_result_id': 10931618, '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_P23324563_27-05-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324576, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325143, 'dashboard_result_id': 10931619, '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_P23325143_27-05-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325162, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325201, 'dashboard_result_id': 10931620, '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_P23325201_27-05-2025_05_46_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325214, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23325821, 'dashboard_result_id': 10931621, '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_P23325821_27-05-2025_05_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325855, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23326708, 'dashboard_result_id': 10931622, '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_P23326708_27-05-2025_05_47_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23326719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23326720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23326721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23326722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23326723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23326724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23326725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23326726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23326727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23326728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23326729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23326730, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23327651, 'dashboard_result_id': 10931623, '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_P23327651_27-05-2025_05_47_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327676, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23328708, 'dashboard_result_id': 10931624, '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_P23328708_27-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23328751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23328752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23328753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23328754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23328755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23328756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23328757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23328758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23328759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23328760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23328761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23328762, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23335603, 'dashboard_result_id': 10931625, '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_P23335603_27-05-2025_05_48_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23335608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23335609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23335611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23335612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23335613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23335615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23335616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23335617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23335619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23335620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23335621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23335623, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23336428, 'dashboard_result_id': 10931626, '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_P23336428_27-05-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336452, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23336675, 'dashboard_result_id': 10931627, '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_P23336675_27-05-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336694, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23337140, 'dashboard_result_id': 10931628, '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_P23337140_27-05-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337162, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23337584, 'dashboard_result_id': 10931629, '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_P23337584_27-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337683, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23338342, 'dashboard_result_id': 10931630, '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_P23338342_27-05-2025_05_53_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338427, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23338959, 'dashboard_result_id': 10931631, '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_P23338959_27-05-2025_05_53_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338997, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23339784, 'dashboard_result_id': 10931632, '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_P23339784_27-05-2025_05_54_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23339797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23339798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23339799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23339800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23339801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23339802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23339803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23339804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23339805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23339806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23339807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23339808, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23340603, 'dashboard_result_id': 10931633, '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_P23340603_27-05-2025_05_54_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23340654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23340655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23340656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23340657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23340658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23340659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23340660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23340661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23340662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23340663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23340664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23340665, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23341849, 'dashboard_result_id': 10931634, '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_P23341849_27-05-2025_05_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23341874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23341875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23341876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23341877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23341878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23341879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23341880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23341881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23341882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23341883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23341884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23341885, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23342696, 'dashboard_result_id': 10931635, '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_P23342696_27-05-2025_05_55_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23342715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23342716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23342717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23342718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23342719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23342720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23342721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23342722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23342723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23342724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23342725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23342726, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23343720, 'dashboard_result_id': 10931636, '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_P23343720_27-05-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23343733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23343734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23343735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23343736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23343737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23343738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23343739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23343740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23343741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23343742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23343743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23343744, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23344558, 'dashboard_result_id': 10931637, '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_P23344558_27-05-2025_05_56_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23344613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23344614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23344615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23344616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23344617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23344618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23344619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23344623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23344627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23344633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23344636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23344637, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23345875, 'dashboard_result_id': 10931638, '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_P23345875_27-05-2025_05_57_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345899, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23346652, 'dashboard_result_id': 10931639, '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_P23346652_27-05-2025_05_57_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346703, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23347831, 'dashboard_result_id': 10931640, '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_P23347831_27-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347871, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23350690, 'dashboard_result_id': 10931641, '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_P23350690_27-05-2025_05_58_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350708, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23351118, 'dashboard_result_id': 10931642, '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_P23351118_27-05-2025_06_00_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351148, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23351478, 'dashboard_result_id': 10931643, '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_P23351478_27-05-2025_06_00_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351496, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23351996, 'dashboard_result_id': 10931644, '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_P23351996_27-05-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23352034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352044, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23352825, 'dashboard_result_id': 10931645, '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_P23352825_27-05-2025_06_02_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23352835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352847, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23353351, 'dashboard_result_id': 10931646, '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_P23353351_27-05-2025_06_02_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23353400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23353401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23353402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23353403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23353404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23353405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23353406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23353407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23353408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23353409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23353410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23353411, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23354063, 'dashboard_result_id': 10931647, '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_P23354063_27-05-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354114, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23354683, 'dashboard_result_id': 10931648, '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_P23354683_27-05-2025_06_04_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354720, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23355151, 'dashboard_result_id': 10931649, '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_P23355151_27-05-2025_06_05_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355209, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23355669, 'dashboard_result_id': 10931650, '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_P23355669_27-05-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355715, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23356220, 'dashboard_result_id': 10931651, '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_P23356220_26-05-2025_21_03_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23356263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23356264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23356265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23356266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23356267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23356268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23356269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23356270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23356271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23356272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23356273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23356274, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23357496, 'dashboard_result_id': 10931652, '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_P23357496_26-05-2025_21_16_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23357503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23357504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23357505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23357506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23357507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23357508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23357509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23357510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23357511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23357512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23357513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23357514, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23357818, 'dashboard_result_id': 10931653, '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_P23357818_26-05-2025_21_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23357825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23357826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23357827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23357828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23357829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23357830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23357831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23357832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23357833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23357834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23357835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23357836, 'pht': 3726}}"}, {'dashboat_entry_day': 1834524, 'dashboard_run_id': 1845699, 'mtr_portfolio_id': 23358222, 'dashboard_result_id': 10931654, '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_P23358222_26-05-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23358240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23358241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23358242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23358243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23358244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23358245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23358246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23358247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23358248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23358249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23358250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23358251, '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 = 23319692 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': 2961697, 'mtr_portfolio_id': 23319692, 'created_at': datetime.datetime(2025, 5, 27, 5, 34, 30), 'result': '0.02519662063444177', 'result_long': None, 'result_double': None}] Qualite : 0.02519662063444177 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23319692 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23319692_27-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23319692 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_P23319692_27-05-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319704, 'pht': 3726}}" where mtr_portfolio_id = 23319692 and dashboard_run_id = 1845699 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`=23319692 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931598, 0.02519662063444177, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23319692_27-05-2025_05_34_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319693, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319697, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319699, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319703, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319704, '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 = 23319847 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': 2961698, 'mtr_portfolio_id': 23319847, 'created_at': datetime.datetime(2025, 5, 27, 5, 35, 31), 'result': '0.045264825385962895', 'result_long': None, 'result_double': None}] Qualite : 0.045264825385962895 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23319847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23319847_27-05-2025_05_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23319847 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_P23319847_27-05-2025_05_35_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319859, 'pht': 3726}}" where mtr_portfolio_id = 23319847 and dashboard_run_id = 1845699 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`=23319847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931599, 0.045264825385962895, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23319847_27-05-2025_05_35_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23319848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23319849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23319850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23319851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23319852, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23319853, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23319854, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23319855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23319856, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23319857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23319858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23319859, '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 = 23320077 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': 2961699, 'mtr_portfolio_id': 23320077, 'created_at': datetime.datetime(2025, 5, 27, 5, 35, 29), 'result': '0.03387753435924145', 'result_long': None, 'result_double': None}] Qualite : 0.03387753435924145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23320077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23320077_27-05-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23320077 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_P23320077_27-05-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23320084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320089, 'pht': 3726}}" where mtr_portfolio_id = 23320077 and dashboard_run_id = 1845699 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`=23320077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931600, 0.03387753435924145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23320077_27-05-2025_05_35_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320083, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23320084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320087, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320089, '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 = 23325134 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': 2961700, 'mtr_portfolio_id': 23325134, 'created_at': datetime.datetime(2025, 5, 27, 5, 36), 'result': '0.04692466993136173', 'result_long': None, 'result_double': None}] Qualite : 0.04692466993136173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325134_27-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325134 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_P23325134_27-05-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325387, 'pht': 3726}}" where mtr_portfolio_id = 23325134 and dashboard_run_id = 1845699 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`=23325134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931601, 0.04692466993136173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325134_27-05-2025_05_36_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325376, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325379, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325380, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325381, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325382, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325383, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325386, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325387, '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 = 23320531 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': 2961701, 'mtr_portfolio_id': 23320531, 'created_at': datetime.datetime(2025, 5, 27, 5, 36, 28), 'result': '0.05544331765388143', 'result_long': None, 'result_double': None}] Qualite : 0.05544331765388143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23320531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23320531_27-05-2025_05_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23320531 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_P23320531_27-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23320532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320543, 'pht': 3726}}" where mtr_portfolio_id = 23320531 and dashboard_run_id = 1845699 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`=23320531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931602, 0.05544331765388143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23320531_27-05-2025_05_36_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23320532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23320533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23320534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23320535, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23320536, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23320537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23320538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23320539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23320540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23320541, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23320542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23320543, '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 = 23321016 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': 2961702, 'mtr_portfolio_id': 23321016, 'created_at': datetime.datetime(2025, 5, 27, 5, 37, 33), 'result': '0.0894193868825305', 'result_long': None, 'result_double': None}] Qualite : 0.0894193868825305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23321016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23321016_27-05-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23321016 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_P23321016_27-05-2025_05_37_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321028, 'pht': 3726}}" where mtr_portfolio_id = 23321016 and dashboard_run_id = 1845699 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`=23321016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931603, 0.0894193868825305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23321016_27-05-2025_05_37_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321018, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321021, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321022, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321028, '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 = 23325136 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': 2961703, 'mtr_portfolio_id': 23325136, 'created_at': datetime.datetime(2025, 5, 27, 5, 37, 29), 'result': '0.022613860282363396', 'result_long': None, 'result_double': None}] Qualite : 0.022613860282363396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325136_27-05-2025_05_37_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325136 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_P23325136_27-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325351, 'pht': 3726}}" where mtr_portfolio_id = 23325136 and dashboard_run_id = 1845699 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`=23325136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931604, 0.022613860282363396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325136_27-05-2025_05_37_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325339, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325345, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325349, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325350, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325351, '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 = 23321495 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23321495 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23321495 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23321495 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23321495 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23321495 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23321495_27-05-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23321495 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_P23321495_27-05-2025_05_38_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321496, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321504, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321507, 'pht': 3726}}" where mtr_portfolio_id = 23321495 and dashboard_run_id = 1845699 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 = 23321641 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': 2961705, 'mtr_portfolio_id': 23321641, 'created_at': datetime.datetime(2025, 5, 27, 5, 38, 28), 'result': '0.02985346412270691', 'result_long': None, 'result_double': None}] Qualite : 0.02985346412270691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23321641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23321641_27-05-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23321641 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_P23321641_27-05-2025_05_38_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321653, 'pht': 3726}}" where mtr_portfolio_id = 23321641 and dashboard_run_id = 1845699 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`=23321641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931606, 0.02985346412270691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23321641_27-05-2025_05_38_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23321642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23321643, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23321644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23321645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23321646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23321647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23321648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23321649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23321650, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23321651, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23321652, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23321653, '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 = 23325138 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': 2961706, 'mtr_portfolio_id': 23325138, 'created_at': datetime.datetime(2025, 5, 27, 5, 39, 27), 'result': '0.036139356830812215', 'result_long': None, 'result_double': None}] Qualite : 0.036139356830812215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325138_27-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325138 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_P23325138_27-05-2025_05_39_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325314, 'pht': 3726}}" where mtr_portfolio_id = 23325138 and dashboard_run_id = 1845699 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`=23325138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931607, 0.036139356830812215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325138_27-05-2025_05_39_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325304, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325306, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325309, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325311, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325312, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325313, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325314, '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 = 23322061 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': 2961707, 'mtr_portfolio_id': 23322061, 'created_at': datetime.datetime(2025, 5, 27, 5, 39, 58), 'result': '0.02602303439189305', 'result_long': None, 'result_double': None}] Qualite : 0.02602303439189305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23322061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23322061_27-05-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23322061 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_P23322061_27-05-2025_05_40_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23322065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322073, 'pht': 3726}}" where mtr_portfolio_id = 23322061 and dashboard_run_id = 1845699 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`=23322061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931608, 0.02602303439189305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23322061_27-05-2025_05_40_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322064, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23322065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322072, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322073, '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 = 23325141 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': 2961708, 'mtr_portfolio_id': 23325141, 'created_at': datetime.datetime(2025, 5, 27, 5, 41), 'result': '0.0429633289857965', 'result_long': None, 'result_double': None}] Qualite : 0.0429633289857965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325141 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325141_27-05-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325141 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_P23325141_27-05-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325277, 'pht': 3726}}" where mtr_portfolio_id = 23325141 and dashboard_run_id = 1845699 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`=23325141 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931609, 0.0429633289857965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325141_27-05-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325265, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325267, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325269, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325274, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325275, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325277, '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 = 23322562 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': 2961709, 'mtr_portfolio_id': 23322562, 'created_at': datetime.datetime(2025, 5, 27, 5, 41, 31), 'result': '0.02768663961105856', 'result_long': None, 'result_double': None}] Qualite : 0.02768663961105856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23322562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23322562_27-05-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23322562 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_P23322562_27-05-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23322571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322583, 'pht': 3726}}" where mtr_portfolio_id = 23322562 and dashboard_run_id = 1845699 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`=23322562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931610, 0.02768663961105856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23322562_27-05-2025_05_41_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23322571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23322572, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23322573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23322574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23322575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23322576, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23322577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23322578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23322579, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23322580, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23322581, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23322583, '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 = 23323551 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': 2961710, 'mtr_portfolio_id': 23323551, 'created_at': datetime.datetime(2025, 5, 27, 5, 41, 29), 'result': '0.04185348961256268', 'result_long': None, 'result_double': None}] Qualite : 0.04185348961256268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23323551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323551_27-05-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23323551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323564, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323551_27-05-2025_05_41_33.pdf'}" where mtr_portfolio_id = 23323551 and dashboard_run_id = 1845699 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`=23323551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931611, 0.04185348961256268, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323556, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323560, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323561, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323562, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323564, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323551_27-05-2025_05_41_33.pdf'}") 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 = 23323111 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': 2961711, 'mtr_portfolio_id': 23323111, 'created_at': datetime.datetime(2025, 5, 27, 5, 41, 58), 'result': '0.05436677666639777', 'result_long': None, 'result_double': None}] Qualite : 0.05436677666639777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23323111 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323111_27-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23323111 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_P23323111_27-05-2025_05_42_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323124, 'pht': 3726}}" where mtr_portfolio_id = 23323111 and dashboard_run_id = 1845699 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`=23323111 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931612, 0.05436677666639777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323111_27-05-2025_05_42_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323115, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323120, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323123, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323124, '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 = 23323520 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': 2961712, 'mtr_portfolio_id': 23323520, 'created_at': datetime.datetime(2025, 5, 27, 5, 42, 29), 'result': '0.04495203398346949', 'result_long': None, 'result_double': None}] Qualite : 0.04495203398346949 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23323520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323520_27-05-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23323520 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_P23323520_27-05-2025_05_42_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323534, 'pht': 3726}}" where mtr_portfolio_id = 23323520 and dashboard_run_id = 1845699 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`=23323520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931613, 0.04495203398346949, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323520_27-05-2025_05_42_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23323526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323528, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323534, '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 = 23323923 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': 2961713, 'mtr_portfolio_id': 23323923, 'created_at': datetime.datetime(2025, 5, 27, 5, 43, 28), 'result': '0.02269183291199363', 'result_long': None, 'result_double': None}] Qualite : 0.02269183291199363 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23323923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323923_27-05-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23323923 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_P23323923_27-05-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23323924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323935, 'pht': 3726}}" where mtr_portfolio_id = 23323923 and dashboard_run_id = 1845699 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`=23323923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931614, 0.02269183291199363, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23323923_27-05-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23323924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23323925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23323926, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23323927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23323928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23323929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23323930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23323931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23323932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23323933, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23323934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23323935, '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 = 23324068 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': 2961714, 'mtr_portfolio_id': 23324068, 'created_at': datetime.datetime(2025, 5, 27, 5, 43, 57), 'result': '0.0338376396467845', 'result_long': None, 'result_double': None}] Qualite : 0.0338376396467845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23324068 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324068_27-05-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23324068 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_P23324068_27-05-2025_05_44_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23324069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324080, 'pht': 3726}}" where mtr_portfolio_id = 23324068 and dashboard_run_id = 1845699 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`=23324068 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931615, 0.0338376396467845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324068_27-05-2025_05_44_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23324069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324071, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324072, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324074, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324076, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324079, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324080, '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 = 23324122 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': 2961715, 'mtr_portfolio_id': 23324122, 'created_at': datetime.datetime(2025, 5, 27, 5, 44, 29), 'result': '0.019603365584841985', 'result_long': None, 'result_double': None}] Qualite : 0.019603365584841985 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23324122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324122_27-05-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23324122 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_P23324122_27-05-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324135, 'pht': 3726}}" where mtr_portfolio_id = 23324122 and dashboard_run_id = 1845699 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`=23324122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931616, 0.019603365584841985, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324122_27-05-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324125, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324127, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324129, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324131, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324134, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324135, '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 = 23324402 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': 2961716, 'mtr_portfolio_id': 23324402, 'created_at': datetime.datetime(2025, 5, 27, 5, 44, 59), 'result': '0.017948956951831813', 'result_long': None, 'result_double': None}] Qualite : 0.017948956951831813 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23324402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324402_27-05-2025_05_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23324402 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_P23324402_27-05-2025_05_45_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324415, 'pht': 3726}}" where mtr_portfolio_id = 23324402 and dashboard_run_id = 1845699 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`=23324402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931617, 0.017948956951831813, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324402_27-05-2025_05_45_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324408, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324412, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324415, '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 = 23324563 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': 2961717, 'mtr_portfolio_id': 23324563, 'created_at': datetime.datetime(2025, 5, 27, 5, 45, 29), 'result': '0.022636560191894025', 'result_long': None, 'result_double': None}] Qualite : 0.022636560191894025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23324563 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324563_27-05-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23324563 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_P23324563_27-05-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324576, 'pht': 3726}}" where mtr_portfolio_id = 23324563 and dashboard_run_id = 1845699 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`=23324563 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931618, 0.022636560191894025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23324563_27-05-2025_05_45_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23324565, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23324566, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23324567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23324568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23324569, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23324570, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23324571, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23324572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23324573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23324574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23324575, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23324576, '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 = 23325143 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': 2961718, 'mtr_portfolio_id': 23325143, 'created_at': datetime.datetime(2025, 5, 27, 5, 46), 'result': '0.04434919068363792', 'result_long': None, 'result_double': None}] Qualite : 0.04434919068363792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325143 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325143_27-05-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325143 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_P23325143_27-05-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325162, 'pht': 3726}}" where mtr_portfolio_id = 23325143 and dashboard_run_id = 1845699 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`=23325143 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931619, 0.04434919068363792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325143_27-05-2025_05_46_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325153, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325155, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325158, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325160, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325161, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325162, '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 = 23325201 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': 2961719, 'mtr_portfolio_id': 23325201, 'created_at': datetime.datetime(2025, 5, 27, 5, 46, 29), 'result': '0.04217466097789432', 'result_long': None, 'result_double': None}] Qualite : 0.04217466097789432 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325201 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325201_27-05-2025_05_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325201 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_P23325201_27-05-2025_05_46_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325214, 'pht': 3726}}" where mtr_portfolio_id = 23325201 and dashboard_run_id = 1845699 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`=23325201 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931620, 0.04217466097789432, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325201_27-05-2025_05_46_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325204, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325205, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325207, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325210, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325211, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325214, '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 = 23325821 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': 2961720, 'mtr_portfolio_id': 23325821, 'created_at': datetime.datetime(2025, 5, 27, 5, 46, 59), 'result': '0.03938282058193468', 'result_long': None, 'result_double': None}] Qualite : 0.03938282058193468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23325821 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325821_27-05-2025_05_47_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23325821 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_P23325821_27-05-2025_05_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325855, 'pht': 3726}}" where mtr_portfolio_id = 23325821 and dashboard_run_id = 1845699 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`=23325821 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931621, 0.03938282058193468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23325821_27-05-2025_05_47_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23325843, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23325844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23325845, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23325846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23325847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23325848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23325849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23325850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23325851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23325852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23325853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23325855, '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 = 23326708 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': 2961721, 'mtr_portfolio_id': 23326708, 'created_at': datetime.datetime(2025, 5, 27, 5, 47, 32), 'result': '0.0415640419022764', 'result_long': None, 'result_double': None}] Qualite : 0.0415640419022764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23326708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23326708_27-05-2025_05_47_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23326708 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_P23326708_27-05-2025_05_47_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23326719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23326720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23326721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23326722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23326723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23326724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23326725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23326726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23326727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23326728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23326729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23326730, 'pht': 3726}}" where mtr_portfolio_id = 23326708 and dashboard_run_id = 1845699 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`=23326708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931622, 0.0415640419022764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23326708_27-05-2025_05_47_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23326719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23326720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23326721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23326722, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23326723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23326724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23326725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23326726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23326727, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23326728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23326729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23326730, '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 = 23327651 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': 2961722, 'mtr_portfolio_id': 23327651, 'created_at': datetime.datetime(2025, 5, 27, 5, 47, 30), 'result': '0.05282164935344284', 'result_long': None, 'result_double': None}] Qualite : 0.05282164935344284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23327651 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23327651_27-05-2025_05_47_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23327651 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_P23327651_27-05-2025_05_47_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327676, 'pht': 3726}}" where mtr_portfolio_id = 23327651 and dashboard_run_id = 1845699 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`=23327651 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931623, 0.05282164935344284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23327651_27-05-2025_05_47_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327665, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327668, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327670, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327671, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327676, '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 = 23328708 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': 2961723, 'mtr_portfolio_id': 23328708, 'created_at': datetime.datetime(2025, 5, 27, 5, 48, 1), 'result': '0.05322573463366244', 'result_long': None, 'result_double': None}] Qualite : 0.05322573463366244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23328708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23328708_27-05-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23328708 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_P23328708_27-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23328751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23328752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23328753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23328754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23328755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23328756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23328757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23328758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23328759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23328760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23328761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23328762, 'pht': 3726}}" where mtr_portfolio_id = 23328708 and dashboard_run_id = 1845699 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`=23328708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931624, 0.05322573463366244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23328708_27-05-2025_05_48_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23328751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23328752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23328753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23328754, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23328755, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23328756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23328757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23328758, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23328759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23328760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23328761, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23328762, '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 = 23335603 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': 2961724, 'mtr_portfolio_id': 23335603, 'created_at': datetime.datetime(2025, 5, 27, 5, 48, 31), 'result': '0.04992283243862639', 'result_long': None, 'result_double': None}] Qualite : 0.04992283243862639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23335603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23335603_27-05-2025_05_48_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23335603 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_P23335603_27-05-2025_05_48_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23335608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23335609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23335611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23335612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23335613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23335615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23335616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23335617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23335619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23335620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23335621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23335623, 'pht': 3726}}" where mtr_portfolio_id = 23335603 and dashboard_run_id = 1845699 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`=23335603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931625, 0.04992283243862639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23335603_27-05-2025_05_48_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23335608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23335609, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23335611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23335612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23335613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23335615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23335616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23335617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23335619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23335620, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23335621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23335623, '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 = 23336428 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': 2961725, 'mtr_portfolio_id': 23336428, 'created_at': datetime.datetime(2025, 5, 27, 5, 50, 1), 'result': '0.04256996924212635', 'result_long': None, 'result_double': None}] Qualite : 0.04256996924212635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23336428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23336428_27-05-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23336428 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_P23336428_27-05-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336452, 'pht': 3726}}" where mtr_portfolio_id = 23336428 and dashboard_run_id = 1845699 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`=23336428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931626, 0.04256996924212635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23336428_27-05-2025_05_50_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336446, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336450, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336452, '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 = 23336675 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': 2961726, 'mtr_portfolio_id': 23336675, 'created_at': datetime.datetime(2025, 5, 27, 5, 50, 30), 'result': '0.041741177781412495', 'result_long': None, 'result_double': None}] Qualite : 0.041741177781412495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23336675 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23336675_27-05-2025_05_50_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23336675 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_P23336675_27-05-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336694, 'pht': 3726}}" where mtr_portfolio_id = 23336675 and dashboard_run_id = 1845699 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`=23336675 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931627, 0.041741177781412495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23336675_27-05-2025_05_50_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23336682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23336683, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23336684, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23336685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23336686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23336687, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23336689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23336690, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23336691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23336692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23336693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23336694, '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 = 23337140 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': 2961727, 'mtr_portfolio_id': 23337140, 'created_at': datetime.datetime(2025, 5, 27, 5, 51, 30), 'result': '0.04633735628681806', 'result_long': None, 'result_double': None}] Qualite : 0.04633735628681806 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23337140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23337140_27-05-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23337140 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_P23337140_27-05-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337162, 'pht': 3726}}" where mtr_portfolio_id = 23337140 and dashboard_run_id = 1845699 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`=23337140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931628, 0.04633735628681806, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23337140_27-05-2025_05_51_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337151, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337152, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337155, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337159, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337161, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337162, '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 = 23337584 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': 2961728, 'mtr_portfolio_id': 23337584, 'created_at': datetime.datetime(2025, 5, 27, 5, 51, 59), 'result': '0.04130513973776693', 'result_long': None, 'result_double': None}] Qualite : 0.04130513973776693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23337584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23337584_27-05-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23337584 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_P23337584_27-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337683, 'pht': 3726}}" where mtr_portfolio_id = 23337584 and dashboard_run_id = 1845699 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`=23337584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931629, 0.04130513973776693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23337584_27-05-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23337672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23337673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23337674, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23337675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23337676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23337677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23337678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23337679, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23337680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23337681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23337682, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23337683, '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 = 23338342 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': 2961729, 'mtr_portfolio_id': 23338342, 'created_at': datetime.datetime(2025, 5, 27, 5, 52, 59), 'result': '0.03345100708427871', 'result_long': None, 'result_double': None}] Qualite : 0.03345100708427871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23338342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23338342_27-05-2025_05_53_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23338342 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_P23338342_27-05-2025_05_53_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338427, 'pht': 3726}}" where mtr_portfolio_id = 23338342 and dashboard_run_id = 1845699 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`=23338342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931630, 0.03345100708427871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23338342_27-05-2025_05_53_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338416, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338417, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338419, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338420, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338422, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338424, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338426, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338427, '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 = 23338959 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': 2961730, 'mtr_portfolio_id': 23338959, 'created_at': datetime.datetime(2025, 5, 27, 5, 53, 29), 'result': '0.03919426818522424', 'result_long': None, 'result_double': None}] Qualite : 0.03919426818522424 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23338959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23338959_27-05-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23338959 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_P23338959_27-05-2025_05_53_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338997, 'pht': 3726}}" where mtr_portfolio_id = 23338959 and dashboard_run_id = 1845699 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`=23338959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931631, 0.03919426818522424, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23338959_27-05-2025_05_53_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23338986, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23338987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23338988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23338989, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23338990, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23338991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23338992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23338993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23338994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23338995, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23338996, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23338997, '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 = 23339784 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': 2961731, 'mtr_portfolio_id': 23339784, 'created_at': datetime.datetime(2025, 5, 27, 5, 53, 59), 'result': '0.051795037298787434', 'result_long': None, 'result_double': None}] Qualite : 0.051795037298787434 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23339784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339784_27-05-2025_05_54_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23339784 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_P23339784_27-05-2025_05_54_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23339797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23339798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23339799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23339800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23339801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23339802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23339803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23339804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23339805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23339806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23339807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23339808, 'pht': 3726}}" where mtr_portfolio_id = 23339784 and dashboard_run_id = 1845699 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`=23339784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931632, 0.051795037298787434, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23339784_27-05-2025_05_54_06.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23339797, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23339798, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23339799, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23339800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23339801, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23339802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23339803, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23339804, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23339805, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23339806, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23339807, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23339808, '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 = 23340603 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': 2961732, 'mtr_portfolio_id': 23340603, 'created_at': datetime.datetime(2025, 5, 27, 5, 54, 29), 'result': '0.06113376169757301', 'result_long': None, 'result_double': None}] Qualite : 0.06113376169757301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23340603 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23340603_27-05-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23340603 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_P23340603_27-05-2025_05_54_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23340654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23340655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23340656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23340657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23340658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23340659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23340660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23340661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23340662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23340663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23340664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23340665, 'pht': 3726}}" where mtr_portfolio_id = 23340603 and dashboard_run_id = 1845699 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`=23340603 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931633, 0.06113376169757301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23340603_27-05-2025_05_54_34.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23340654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23340655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23340656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23340657, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23340658, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23340659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23340660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23340661, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23340662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23340663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23340664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23340665, '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 = 23341849 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': 2961733, 'mtr_portfolio_id': 23341849, 'created_at': datetime.datetime(2025, 5, 27, 5, 54, 59), 'result': '0.03426594815821075', 'result_long': None, 'result_double': None}] Qualite : 0.03426594815821075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23341849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23341849_27-05-2025_05_55_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23341849 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_P23341849_27-05-2025_05_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23341874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23341875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23341876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23341877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23341878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23341879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23341880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23341881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23341882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23341883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23341884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23341885, 'pht': 3726}}" where mtr_portfolio_id = 23341849 and dashboard_run_id = 1845699 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`=23341849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931634, 0.03426594815821075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23341849_27-05-2025_05_55_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23341874, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23341875, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23341876, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23341877, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23341878, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23341879, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23341880, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23341881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23341882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23341883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23341884, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23341885, '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 = 23342696 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': 2961734, 'mtr_portfolio_id': 23342696, 'created_at': datetime.datetime(2025, 5, 27, 5, 55, 31), 'result': '0.05771313045993049', 'result_long': None, 'result_double': None}] Qualite : 0.05771313045993049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23342696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23342696_27-05-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23342696 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_P23342696_27-05-2025_05_55_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23342715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23342716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23342717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23342718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23342719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23342720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23342721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23342722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23342723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23342724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23342725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23342726, 'pht': 3726}}" where mtr_portfolio_id = 23342696 and dashboard_run_id = 1845699 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`=23342696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931635, 0.05771313045993049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23342696_27-05-2025_05_55_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23342715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23342716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23342717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23342718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23342719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23342720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23342721, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23342722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23342723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23342724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23342725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23342726, '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 = 23343720 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': 2961735, 'mtr_portfolio_id': 23343720, 'created_at': datetime.datetime(2025, 5, 27, 5, 55, 59), 'result': '0.05434212974643195', 'result_long': None, 'result_double': None}] Qualite : 0.05434212974643195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23343720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23343720_27-05-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23343720 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_P23343720_27-05-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23343733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23343734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23343735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23343736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23343737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23343738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23343739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23343740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23343741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23343742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23343743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23343744, 'pht': 3726}}" where mtr_portfolio_id = 23343720 and dashboard_run_id = 1845699 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`=23343720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931636, 0.05434212974643195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23343720_27-05-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23343733, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23343734, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23343735, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23343736, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23343737, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23343738, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23343739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23343740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23343741, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23343742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23343743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23343744, '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 = 23344558 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': 2961736, 'mtr_portfolio_id': 23344558, 'created_at': datetime.datetime(2025, 5, 27, 5, 56, 28), 'result': '0.03432497329669663', 'result_long': None, 'result_double': None}] Qualite : 0.03432497329669663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23344558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23344558_27-05-2025_05_56_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23344558 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_P23344558_27-05-2025_05_56_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23344613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23344614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23344615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23344616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23344617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23344618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23344619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23344623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23344627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23344633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23344636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23344637, 'pht': 3726}}" where mtr_portfolio_id = 23344558 and dashboard_run_id = 1845699 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`=23344558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931637, 0.03432497329669663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23344558_27-05-2025_05_56_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23344613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23344614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23344615, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23344616, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23344617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23344618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23344619, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23344623, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23344627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23344633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23344636, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23344637, '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 = 23345875 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': 2961737, 'mtr_portfolio_id': 23345875, 'created_at': datetime.datetime(2025, 5, 27, 5, 56, 59), 'result': '0.04424926196013104', 'result_long': None, 'result_double': None}] Qualite : 0.04424926196013104 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23345875 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23345875_27-05-2025_05_57_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23345875 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_P23345875_27-05-2025_05_57_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345899, 'pht': 3726}}" where mtr_portfolio_id = 23345875 and dashboard_run_id = 1845699 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`=23345875 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931638, 0.04424926196013104, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23345875_27-05-2025_05_57_05.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23345888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23345889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23345890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23345891, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23345892, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23345893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23345894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23345895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23345896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23345897, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23345898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23345899, '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 = 23346652 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': 2961738, 'mtr_portfolio_id': 23346652, 'created_at': datetime.datetime(2025, 5, 27, 5, 57, 28), 'result': '0.056037059531073324', 'result_long': None, 'result_double': None}] Qualite : 0.056037059531073324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23346652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23346652_27-05-2025_05_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23346652 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_P23346652_27-05-2025_05_57_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346703, 'pht': 3726}}" where mtr_portfolio_id = 23346652 and dashboard_run_id = 1845699 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`=23346652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931639, 0.056037059531073324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23346652_27-05-2025_05_57_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23346691, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23346692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23346694, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23346695, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23346696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23346697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23346698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23346699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23346700, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23346701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23346702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23346703, '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 = 23347831 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': 2961739, 'mtr_portfolio_id': 23347831, 'created_at': datetime.datetime(2025, 5, 27, 5, 57, 59), 'result': '0.05389539809232587', 'result_long': None, 'result_double': None}] Qualite : 0.05389539809232587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23347831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23347831_27-05-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23347831 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_P23347831_27-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347871, 'pht': 3726}}" where mtr_portfolio_id = 23347831 and dashboard_run_id = 1845699 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`=23347831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931640, 0.05389539809232587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23347831_27-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23347860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23347861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23347862, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23347863, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23347864, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23347865, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23347866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23347867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23347868, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23347869, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23347870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23347871, '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 = 23350690 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': 2961740, 'mtr_portfolio_id': 23350690, 'created_at': datetime.datetime(2025, 5, 27, 5, 58, 29), 'result': '0.11938935077472908', 'result_long': None, 'result_double': None}] Qualite : 0.11938935077472908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23350690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23350690_27-05-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23350690 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_P23350690_27-05-2025_05_58_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350708, 'pht': 3726}}" where mtr_portfolio_id = 23350690 and dashboard_run_id = 1845699 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`=23350690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931641, 0.11938935077472908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23350690_27-05-2025_05_58_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23350697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23350698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23350699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23350700, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23350701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23350702, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23350703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23350704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23350705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23350706, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23350707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23350708, '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 = 23351118 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': 2961741, 'mtr_portfolio_id': 23351118, 'created_at': datetime.datetime(2025, 5, 27, 5, 59, 58), 'result': '0.039448242571078096', 'result_long': None, 'result_double': None}] Qualite : 0.039448242571078096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23351118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351118_27-05-2025_06_00_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23351118 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_P23351118_27-05-2025_06_00_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351148, 'pht': 3726}}" where mtr_portfolio_id = 23351118 and dashboard_run_id = 1845699 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`=23351118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931642, 0.039448242571078096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351118_27-05-2025_06_00_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351137, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351138, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351146, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351148, '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 = 23351478 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': 2961742, 'mtr_portfolio_id': 23351478, 'created_at': datetime.datetime(2025, 5, 27, 6, 0, 31), 'result': '0.04462167758419809', 'result_long': None, 'result_double': None}] Qualite : 0.04462167758419809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23351478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351478_27-05-2025_06_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23351478 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_P23351478_27-05-2025_06_00_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351496, 'pht': 3726}}" where mtr_portfolio_id = 23351478 and dashboard_run_id = 1845699 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`=23351478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931643, 0.04462167758419809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351478_27-05-2025_06_00_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23351485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23351486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23351487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23351488, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23351489, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23351490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23351491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23351492, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23351493, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23351494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23351495, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23351496, '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 = 23351996 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': 2961743, 'mtr_portfolio_id': 23351996, 'created_at': datetime.datetime(2025, 5, 27, 6, 1, 30), 'result': '0.08766860246396198', 'result_long': None, 'result_double': None}] Qualite : 0.08766860246396198 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23351996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351996_27-05-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23351996 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_P23351996_27-05-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23352034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352044, 'pht': 3726}}" where mtr_portfolio_id = 23351996 and dashboard_run_id = 1845699 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`=23351996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931644, 0.08766860246396198, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23351996_27-05-2025_06_01_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23352034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352037, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352038, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352039, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352044, '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 = 23352825 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': 2961744, 'mtr_portfolio_id': 23352825, 'created_at': datetime.datetime(2025, 5, 27, 6, 1, 59), 'result': '0.07238981392207065', 'result_long': None, 'result_double': None}] Qualite : 0.07238981392207065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23352825 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23352825_27-05-2025_06_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23352825 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_P23352825_27-05-2025_06_02_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23352835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352847, 'pht': 3726}}" where mtr_portfolio_id = 23352825 and dashboard_run_id = 1845699 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`=23352825 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931645, 0.07238981392207065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23352825_27-05-2025_06_02_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23352835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23352836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23352837, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23352838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23352839, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23352840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23352842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23352843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23352844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23352845, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23352846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23352847, '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 = 23353351 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': 2961745, 'mtr_portfolio_id': 23353351, 'created_at': datetime.datetime(2025, 5, 27, 6, 2, 27), 'result': '0.0718931080440255', 'result_long': None, 'result_double': None}] Qualite : 0.0718931080440255 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23353351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23353351_27-05-2025_06_02_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23353351 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_P23353351_27-05-2025_06_02_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23353400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23353401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23353402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23353403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23353404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23353405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23353406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23353407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23353408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23353409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23353410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23353411, 'pht': 3726}}" where mtr_portfolio_id = 23353351 and dashboard_run_id = 1845699 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`=23353351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931646, 0.0718931080440255, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23353351_27-05-2025_06_02_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23353400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23353401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23353402, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23353403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23353404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23353405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23353406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23353407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23353408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23353409, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23353410, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23353411, '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 = 23354063 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': 2961746, 'mtr_portfolio_id': 23354063, 'created_at': datetime.datetime(2025, 5, 27, 6, 4, 1), 'result': '0.03810441935881747', 'result_long': None, 'result_double': None}] Qualite : 0.03810441935881747 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23354063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23354063_27-05-2025_06_04_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23354063 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_P23354063_27-05-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354114, 'pht': 3726}}" where mtr_portfolio_id = 23354063 and dashboard_run_id = 1845699 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`=23354063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931647, 0.03810441935881747, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23354063_27-05-2025_06_04_05.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354103, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354111, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354113, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354114, '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 = 23354683 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': 2961747, 'mtr_portfolio_id': 23354683, 'created_at': datetime.datetime(2025, 5, 27, 6, 4, 28), 'result': '0.035548033243903265', 'result_long': None, 'result_double': None}] Qualite : 0.035548033243903265 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23354683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23354683_27-05-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23354683 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_P23354683_27-05-2025_06_04_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354720, 'pht': 3726}}" where mtr_portfolio_id = 23354683 and dashboard_run_id = 1845699 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`=23354683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931648, 0.035548033243903265, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23354683_27-05-2025_06_04_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23354709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23354710, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23354711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23354712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23354713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23354714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23354715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23354716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23354717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23354718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23354719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23354720, '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 = 23355151 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': 2961748, 'mtr_portfolio_id': 23355151, 'created_at': datetime.datetime(2025, 5, 27, 6, 5, 29), 'result': '0.035405739583360185', 'result_long': None, 'result_double': None}] Qualite : 0.035405739583360185 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23355151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23355151_27-05-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23355151 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_P23355151_27-05-2025_06_05_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355209, 'pht': 3726}}" where mtr_portfolio_id = 23355151 and dashboard_run_id = 1845699 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`=23355151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931649, 0.035405739583360185, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23355151_27-05-2025_06_05_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355203, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355207, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355208, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355209, '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 = 23355669 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': 2961749, 'mtr_portfolio_id': 23355669, 'created_at': datetime.datetime(2025, 5, 27, 6, 5, 59), 'result': '0.061664404060234324', 'result_long': None, 'result_double': None}] Qualite : 0.061664404060234324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23355669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23355669_27-05-2025_06_06_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23355669 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_P23355669_27-05-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355715, 'pht': 3726}}" where mtr_portfolio_id = 23355669 and dashboard_run_id = 1845699 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`=23355669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931650, 0.061664404060234324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23355669_27-05-2025_06_06_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23355704, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23355705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23355706, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23355707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23355708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23355709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23355710, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23355711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23355712, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23355713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23355714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23355715, '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 = 23356220 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': 2961750, 'mtr_portfolio_id': 23356220, 'created_at': datetime.datetime(2025, 5, 27, 6, 6, 31), 'result': '0.050965836002409975', 'result_long': None, 'result_double': None}] Qualite : 0.050965836002409975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23356220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23356220_27-05-2025_06_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23356220 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_P23356220_27-05-2025_06_06_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23356263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23356264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23356265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23356266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23356267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23356268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23356269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23356270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23356271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23356272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23356273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23356274, 'pht': 3726}}" where mtr_portfolio_id = 23356220 and dashboard_run_id = 1845699 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`=23356220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931651, 0.050965836002409975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23356220_27-05-2025_06_06_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23356263, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23356264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23356265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23356266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23356267, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23356268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23356269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23356270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23356271, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23356272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23356273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23356274, '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 = 23357496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23357496 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23357496 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23357496 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23357496 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23357496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23357496_26-05-2025_21_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23357496 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_P23357496_26-05-2025_21_16_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23357503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23357504, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23357505, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23357506, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23357507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23357508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23357509, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23357510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23357511, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23357512, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23357513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23357514, 'pht': 3726}}" where mtr_portfolio_id = 23357496 and dashboard_run_id = 1845699 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 = 23357818 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': 2960356, 'mtr_portfolio_id': 23357818, 'created_at': datetime.datetime(2025, 5, 26, 21, 35, 1), 'result': '0.015217079858647032', 'result_long': None, 'result_double': None}] Qualite : 0.015217079858647032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23357818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23357818_26-05-2025_21_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23357818 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_P23357818_26-05-2025_21_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23357825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23357826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23357827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23357828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23357829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23357830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23357831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23357832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23357833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23357834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23357835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23357836, 'pht': 3726}}" where mtr_portfolio_id = 23357818 and dashboard_run_id = 1845699 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`=23357818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931653, 0.015217079858647032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23357818_26-05-2025_21_35_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23357825, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23357826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23357827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23357828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23357829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23357830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23357831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23357832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23357833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23357834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23357835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23357836, '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 = 23358222 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': 2960479, 'mtr_portfolio_id': 23358222, 'created_at': datetime.datetime(2025, 5, 26, 21, 49), 'result': '0.0968460278361746', 'result_long': None, 'result_double': None}] Qualite : 0.0968460278361746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23358222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23358222_26-05-2025_21_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23358222 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_P23358222_26-05-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23358240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23358241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23358242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23358243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23358244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23358245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23358246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23358247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23358248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23358249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23358250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23358251, 'pht': 3726}}" where mtr_portfolio_id = 23358222 and dashboard_run_id = 1845699 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`=23358222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10931654, 0.0968460278361746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23358222_26-05-2025_21_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23358240, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23358241, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23358242, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23358243, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23358244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23358245, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23358246, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23358247, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23358248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23358249, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23358250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23358251, '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 (23319692,23319847,23320077,23325134,23320531,23321016,23325136,23321495,23321641,23325138,23322061,23325141,23322562,23323551,23323111,23323520,23323923,23324068,23324122,23324402,23324563,23325143,23325201,23325821,23326708,23327651,23328708,23335603,23336428,23336675,23337140,23337584,23338342,23338959,23339784,23340603,23341849,23342696,23343720,23344558,23345875,23346652,23347831,23350690,23351118,23351478,23351996,23352825,23353351,23354063,23354683,23355151,23355669,23356220,23357496,23357818,23358222) result : ((1361037641,), (1361037643,), (1361037662,), (1361037664,), (1361037666,), (1361037694,), (1361037721,), (1361037723,), (1361037725,), (1361037727,), (1361037747,), (1361037749,), (1361037751,), (1361037753,), (1361037776,), (1361037778,), (1361037780,), (1361037795,), (1361037797,), (1361037799,), (1361037801,), (1361037803,), (1361037804,), (1361037813,), (1361037816,), (1361037818,), (1361037821,), (1361037824,), (1361037827,), (1361037836,), (1361037838,), (1361037840,), (1361037842,), (1361037858,), (1361037859,), (1361037860,), (1361037861,), (1361037862,), (1361037863,), (1361037876,), (1361037878,), (1361037880,), (1361037882,), (1361037884,), (1361037895,), (1361037897,), (1361037899,), (1361037901,), (1361037903,), (1361037915,), (1361037918,), (1361037920,), (1361037922,), (1361037925,), (1361037955,), (1361037947,), (1361037948,), (1361037949,), (1361037951,), (1361037953,), (1361037970,), (1361037972,), (1361037974,), (1361037986,), (1361037988,), (1361037990,), (1361037992,), (1361037994,), (1361038010,), (1361038013,), (1361038015,), (1361038036,), (1361038038,), (1361038040,), (1361038042,), (1361038044,), (1361038046,), (1361038055,), (1361038057,), (1361038059,), (1361038061,), (1361038092,), (1361038094,), (1361038096,), (1361038108,), (1361038110,), (1361038112,), (1361038114,), (1361038116,), (1361038118,), (1361038127,), (1361038129,), (1361038131,), (1361038150,), (1361038152,), (1361038154,), (1361038156,), (1361038159,), (1361038176,), (1361038178,), (1361038179,), (1361038181,), (1361038183,), (1361038193,), (1361038195,), (1361038197,), (1361038208,), (1361038210,), (1361038212,), (1361038214,), (1361038217,), (1361038218,), (1361038232,), (1361038234,), (1361038237,), (1361038272,), (1361038258,), (1361038260,), (1361038263,), (1361038266,), (1361038269,), (1361038294,), (1361038296,), (1361038298,), (1361038300,), (1361038302,), (1361038304,), (1361038313,), (1361038315,), (1361038317,), (1361038319,), (1361038321,), (1361038332,), (1361038334,), (1361038336,), (1361038338,), (1361038340,), (1361038342,), (1361038352,), (1361038354,), (1361038356,), (1361038358,), (1361038371,), (1361038373,), (1361038375,), (1361038377,), (1361038379,), (1361038395,), (1361038398,), (1361038401,), (1361038403,), (1361038416,), (1361038419,), (1361038422,), (1361038425,), (1361038428,), (1361038429,), (1361038441,), (1361038443,), (1361038445,), (1361038447,), (1361038449,), (1361038451,), (1361038464,), (1361038467,), (1361038469,), (1361038472,), (1361038489,), (1361038491,), (1361038493,), (1361038495,), (1361038497,), (1361038499,), (1361038509,), (1361038511,), (1361038513,), (1361038515,), (1361038517,), (1361038527,), (1361038528,), (1361038529,), (1361038530,), (1361038531,), (1361038532,), (1361038544,), (1361038546,), (1361038548,), (1361038564,), (1361038566,), (1361038569,), (1361038571,), (1361038574,), (1361038576,), (1361038601,), (1361038918,), (1361038919,), (1361038920,), (1361038941,), (1361038943,), (1361038945,), (1361038965,), (1361038967,), (1361038969,), (1361038971,), (1361038990,), (1361039024,), (1361039025,), (1361039057,), (1361039059,), (1361039061,), (1361039063,), (1361039065,), (1361039067,), (1361039084,), (1361039086,), (1361039089,), (1361039102,), (1361039104,), (1361039106,), (1361039126,), (1361039129,), (1361039132,), (1361039135,), (1361039138,), (1361039140,), (1361039158,), (1361039161,), (1361039164,), (1361039188,), (1361039192,), (1361039195,), (1361039198,), (1361039203,), (1361039206,), (1361039222,), (1361039225,), (1361039229,), (1361039232,), (1361039236,), (1361039239,), (1361039258,), (1361039260,), (1361039262,), (1361039264,), (1361039288,), (1361039291,), (1361039294,), (1361039297,), (1361039300,), (1361039304,), (1361039325,), (1361039332,), (1361039334,), (1361039338,), (1361039381,), (1361039365,), (1361039368,), (1361039371,), (1361039374,), (1361039378,), (1361039406,), (1361039409,), (1361039412,), (1361039415,), (1361039442,), (1361039446,), (1361039449,), (1361039453,), (1361039457,), (1361039474,), (1361039476,), (1361039478,), (1361039480,), (1361039483,), (1361039507,), (1361039509,), (1361039511,), (1361039513,), (1361039515,), (1361039533,), (1361039535,), (1361039537,), (1361039539,), (1361039541,), (1361039543,), (1361039558,), (1361039561,), (1361039564,), (1361039592,), (1361039595,), (1361039598,), (1361039601,), (1361039604,), (1361039608,), (1361039630,), (1361039631,), (1361039632,), (1361039633,), (1361039635,), (1361039639,), (1361039658,), (1361039661,), (1361039664,), (1361039697,), (1361039699,), (1361039701,), (1361039704,), (1361039709,), (1361039714,), (1361039744,), (1361039748,), (1361039750,), (1361039776,), (1361039779,), (1361039781,), (1361039783,), (1361039787,), (1361039790,), (1361039815,), (1361039818,), (1361039821,), (1361039824,), (1361039827,), (1361039853,), (1361039855,), (1361039858,), (1361039860,), (1361039863,), (1361039867,), (1361039895,), (1361040417,), (1361040420,), (1361040423,), (1361040427,), (1361040431,), (1361040450,), (1361040451,), (1361040453,), (1361040456,), (1361040459,), (1361040481,), (1361040484,), (1361040487,), (1361040491,), (1361040495,), (1361040520,), (1361040522,), (1361040524,), (1361040526,), (1361040528,), (1361040531,), (1361040555,), (1361040557,), (1361040560,), (1361040564,), (1361040590,), (1361040593,), (1361040596,), (1361040600,), (1361040605,), (1361040611,), (1361040633,), (1361040635,), (1361040637,), (1361040640,), (1361040643,), (1361040666,), (1361040669,), (1361040672,), (1361040676,), (1361040680,), (1361040706,), (1361040708,), (1361040710,), (1361040713,), (1361040716,), (1361040741,), (1361040744,), (1361040747,), (1361040751,), (1361040756,), (1361040779,), (1361040781,), (1361040783,), (1361040786,), (1361040788,), (1361040810,), (1361040813,), (1361040816,), (1361040820,), (1361040824,), (1361040847,), (1361040849,), (1361040851,), (1361040854,), (1361040881,), (1361040885,), (1361040889,), (1361040892,), (1361040894,), (1361040897,), (1361040936,), (1361040924,), (1361040926,), (1361040928,), (1361040931,), (1361040954,), (1361040956,), (1361040959,), (1361040963,), (1361040967,), (1361040972,), (1361041002,), (1361041006,), (1361041009,), (1361041012,), (1361041040,), (1361041045,), (1361041054,), (1361041063,), (1361041074,), (1361041077,), (1361041096,), (1361041098,), (1361041101,), (1361041105,), (1361041136,), (1361041139,), (1361041143,), (1361041146,), (1361041149,), (1361041153,), (1361041173,), (1361041177,), (1361041181,), (1361041205,), (1361041207,), (1361041210,), (1361041214,), (1361041221,), (1361041225,), (1361041241,), (1361041243,), (1361041246,), (1361041250,), (1361041273,), (1361041275,), (1361041278,), (1361041282,), (1361041286,), (1361041291,), (1361041317,), (1361041321,), (1361041325,), (1361041328,), (1361041332,), (1361041336,), (1361041363,), (1361041365,), (1361041368,), (1361041372,), (1361041399,), (1361041402,), (1361041406,), (1361041410,), (1361041414,), (1361041417,), (1361041432,), (1361041434,), (1361041437,), (1361041441,), (1361041461,), (1361041465,), (1361041470,), (1361041517,), (1361042075,), (1361042078,), (1361042082,), (1361042115,), (1361042117,), (1361042120,), (1361042124,), (1361042128,), (1361042132,), (1361042147,), (1361042149,), (1361042152,), (1361042178,), (1361042180,), (1361042183,), (1361042187,), (1361042190,), (1361042195,), (1361042215,), (1361042217,), (1361042220,), (1361042224,), (1361042229,), (1361042247,), (1361042249,), (1361042252,), (1361042256,), (1361042260,), (1361042265,), (1361042279,), (1361042282,), (1361042285,), (1361042289,), (1361042308,), (1361042313,), (1361042317,), (1361042320,), (1361042325,), (1361042329,), (1361042345,), (1361042347,), (1361042350,), (1361042354,), (1361042374,), (1361042375,), (1361042377,), (1361042380,), (1361042383,), (1361042386,), (1361042402,), (1361042404,), (1361042407,), (1361042411,), (1361042433,), (1361042435,), (1361042438,), (1361042442,), (1361042460,), (1361042464,), (1361042468,), (1361042472,), (1361042478,), (1361042483,), (1361042500,), (1361042503,), (1361042507,), (1361042510,), (1361042536,), (1361042539,), (1361042543,), (1361042546,), (1361042552,), (1361042557,), (1361042585,), (1361043222,), (1361043228,), (1361043233,), (1361043271,), (1361043275,), (1361043280,), (1361043283,), (1361043286,), (1361043308,), (1361043310,), (1361043313,), (1361043317,), (1361043320,), (1361043324,), (1361043348,), (1361043350,), (1361043353,), (1361043357,), (1361043361,), (1361043386,), (1361043390,), (1361043392,), (1361043395,), (1361043399,), (1361043425,), (1361043427,), (1361043430,), (1361043434,), (1361043439,), (1361043480,), (1361043483,), (1361043487,), (1361043492,), (1361043495,), (1361043528,), (1361043532,), (1361043535,), (1361043538,), (1361043543,), (1361043568,), (1361043572,), (1361043576,), (1361043581,), (1361043585,), (1361043614,), (1361043616,), (1361043619,), (1361043622,), (1361043679,), (1361043681,), (1361043684,), (1361043688,), (1361043695,), (1361043698,), (1361043711,), (1361043713,), (1361043716,), (1361043751,), (1361043754,), (1361043758,), (1361043763,), (1361043767,), (1361043773,), (1361043813,), (1361043815,), (1361043818,), (1361043822,), (1361043847,), (1361043850,), (1361043854,), (1361043857,), (1361043861,), (1361043865,), (1361043892,), (1361044591,), (1361044593,), (1361044596,), (1361044599,), (1361044634,), (1361044637,), (1361044641,), (1361044645,), (1361044649,), (1361044653,), (1361044676,), (1361044678,), (1361044681,), (1361044685,), (1361044723,), (1361044725,), (1361044728,), (1361044732,), (1361044738,), (1361044742,), (1361044766,), (1361044768,), (1361044770,), (1361044774,), (1361044800,), (1361044803,), (1361044806,), (1361044811,), (1361044815,), (1361044820,), (1361044841,), (1361044843,), (1361044846,), (1361044850,), (1361044883,), (1361044887,), (1361044892,), (1361044895,), (1361044900,), (1361044906,), (1361044929,), (1361044932,), (1361044935,), (1361044939,), (1361044965,), (1361044970,), (1361044975,), (1361044981,), (1361044987,), (1361044996,), (1361045058,), (1361045061,), (1361045064,), (1361045067,), (1361045110,), (1361045112,), (1361045115,), (1361045118,), (1361045121,), (1361045145,), (1361045147,), (1361045150,), (1361045154,), (1361045158,), (1361045178,), (1361045180,), (1361045183,), (1361045187,), (1361045213,), (1361045216,), (1361045219,), (1361045222,), (1361045225,), (1361045267,), (1361045251,), (1361045253,), (1361045256,), (1361045260,), (1361045263,), (1361045288,), (1361045291,), (1361045293,), (1361045297,), (1361045324,), (1361045325,), (1361045326,), (1361045328,), (1361045331,), (1361045335,), (1361045359,), (1361045363,), (1361045367,), (1361045371,), (1361045401,), (1361045405,), (1361045410,), (1361045415,), (1361045420,), (1361045488,), (1361045498,), (1361045501,), (1361045503,), (1361045533,), (1361045537,), (1361045541,), (1361045545,), (1361045549,), (1361045577,), (1361045580,), (1361045583,), (1361045586,), (1361045589,), (1361045595,), (1361045636,), (1361045640,), (1361045643,), (1361045692,), (1361045697,), (1361045702,), (1361045707,), (1361045713,), (1361045718,), (1361045742,), (1361045745,), (1361045748,), (1361045787,), (1361045790,), (1361045793,), (1361045799,), (1361045805,), (1361045808,), (1361045827,), (1361045830,), (1361045833,), (1361045874,), (1361045879,), (1361045883,), (1361045889,), (1361045893,), (1361045900,), (1361045948,), (1361043882,), (1361043885,), (1361043888,), (1361043918,), (1361043920,), (1361043923,), (1361043927,), (1361043932,), (1361043937,), (1361043959,), (1361043962,), (1361043966,), (1361043970,), (1361043999,), (1361044002,), (1361044005,), (1361044009,), (1361044013,), (1361044020,), (1361044058,), (1361044064,), (1361044070,), (1361044073,), (1361044151,), (1361044155,), (1361044158,), (1361044162,), (1361044166,), (1361044171,), (1361044188,), (1361044191,), (1361044194,), (1361044198,), (1361044231,), (1361044233,), (1361044235,), (1361044238,), (1361044242,), (1361044269,), (1361044271,), (1361044274,), (1361044278,), (1361044281,), (1361044304,), (1361044308,), (1361044310,), (1361044313,), (1361044316,), (1361044344,), (1361044348,), (1361044354,), (1361044361,), (1361044365,), (1361044371,), (1361044398,), (1361044400,), (1361044403,), (1361044407,), (1361044439,), (1361044442,), (1361044446,), (1361044451,), (1361044456,), (1361044460,), (1361044482,), (1361044484,), (1361044487,), (1361044491,), (1361044531,), (1361044535,), (1361044602,), (1361047251,), (1361047255,), (1361047260,), (1361047302,), (1361047304,), (1361047307,), (1361047310,), (1361047350,), (1361047353,), (1361047357,), (1361047360,), (1361047364,), (1361047367,), (1361047396,), (1361047399,), (1361047402,), (1361047427,), (1361047431,), (1361047435,), (1361047439,), (1361047442,), (1361047472,), (1361047473,), (1361047475,), (1361047478,), (1361047482,), (1361047516,), (1361047519,), (1361047527,), (1361047531,), (1361047534,), (1361047537,), (1361047557,), (1361047559,), (1361047560,), (1361047564,), (1361047567,), (1361047593,), (1361047600,), (1361047605,), (1361047610,), (1361047616,), (1361047621,), (1361047651,), (1361047655,), (1361047657,), (1361047663,), (1361047704,), (1361047707,), (1361047710,), (1361047714,), (1361047717,), (1361047725,), (1361047753,), (1361047756,), (1361047759,), (1361047764,), (1361047789,), (1361047791,), (1361047795,), (1361047799,), (1361047802,), (1361047807,), (1361047830,), (1361047832,), (1361047835,), (1361047839,), (1361047874,), (1361047856,), (1361047862,), (1361047865,), (1361047868,), (1361047871,), (1361047890,), (1361047893,), (1361047897,), (1361047900,), (1361047903,), (1361047920,), (1361047980,), (1361048029,), (1361048063,), (1361048066,), (1361048068,), (1361048071,), (1361048098,), (1361048100,), (1361048103,), (1361048107,), (1361048114,), (1361048116,), (1361048131,), (1361048132,), (1361048135,), (1361048139,), (1361048173,), (1361048175,), (1361048177,), (1361048182,), (1361048186,), (1361048190,), (1361048208,), (1361048210,), (1361048212,), (1361048215,), (1361048222,), (1361048223,), (1361048233,), (1361048237,), (1361048239,), (1361048242,), (1361048261,), (1361048264,), (1361048268,), (1361048271,), (1361048275,), (1361048279,), (1361048305,), (1361048311,), (1361048316,), (1361048321,), (1361048334,), (1361048337,), (1361048339,), (1361048341,), (1361048346,), (1361048399,), (1361048381,), (1361048386,), (1361048389,), (1361048392,), (1361048396,), (1361048435,), (1361048437,), (1361048438,), (1361048440,), (1361048473,), (1361048476,), (1361048479,), (1361048484,), (1361048489,), (1361048524,), (1361048527,), (1361048530,), (1361048533,), (1361048538,), (1361048543,), (1361048578,), (1361048581,), (1361048585,), (1361048593,), (1361048635,), (1361048638,), (1361048641,), (1361048644,), (1361048647,), (1361048652,), (1361048685,), (1361048688,), (1361048692,), (1361048696,), (1361048701,), (1361048720,), (1361048723,), (1361048726,), (1361048728,), (1361048732,), (1361048735,), (1361048757,), (1361048760,), (1361048764,), (1361048768,), (1361048796,), (1361048800,), (1361048804,), (1361048807,), (1361048810,), (1361048813,), (1361048842,), (1361048846,), (1361048849,), (1361048851,), (1361048853,), (1361048881,), (1361048884,), (1361048886,), (1361048893,), (1361048898,), (1361048902,), (1361048920,), (1361048927,), (1361048932,), (1361048938,), (1361048943,), (1361048972,), (1361048975,), (1361048979,), (1361048983,), (1361048989,), (1361048994,), (1361049014,), (1361049018,), (1361049024,), (1361049028,), (1361049035,), (1361049088,), (1361049069,), (1361049072,), (1361049079,), (1361049083,), (1361049117,), (1361049119,), (1361049123,), (1361049127,), (1361049132,), (1361049164,), (1361049168,), (1361049170,), (1361049172,), (1361049175,), (1361049198,), (1361049201,), (1361049204,), (1361049209,), (1361049213,), (1361049229,), (1361049235,), (1361049239,), (1361049248,), (1361049253,), (1361049257,), (1361049281,), (1361049284,), (1361049287,), (1361049328,), (1361049331,), (1361049335,), (1361049340,), (1361049344,), (1361049347,), (1361049365,), (1361049376,), (1361049379,), (1361049383,), (1361049387,), (1361049405,), (1361049408,), (1361049414,), (1361049420,), (1361049425,), (1361049427,), (1361049444,), (1361049447,), (1361049452,), (1361049458,), (1361049500,), (1361049504,), (1361049508,), (1361049509,), (1361049517,), (1361049522,), (1361049552,), (1361049555,), (1361049560,), (1361049565,), (1361049571,), (1361049595,), (1361049596,), (1361049601,), (1361049606,), (1361049611,), (1361049617,), (1361049638,), (1361049641,), (1361049646,), (1361049651,), (1361049675,), (1361049685,), (1361049690,), (1361049697,), (1361049703,), (1361049705,), (1361049747,), (1361049737,), (1361049744,), (1361049780,), (1361049788,), (1361049791,), (1361049797,), (1361049802,), (1361049807,), (1361049834,), (1361049836,), (1361049839,), (1361049881,), (1361049884,), (1361049887,), (1361049890,), (1361049892,), (1361049898,), (1361049926,), (1361049929,), (1361049935,), (1361049984,), (1361049986,), (1361049989,), (1361049993,), (1361049996,), (1361050001,), (1361050019,), (1361050022,), (1361050026,), (1361050065,), (1361050069,), (1361050072,), (1361050077,), (1361050080,), (1361050084,), (1361050112,), (1361050115,), (1361050119,), (1361050124,), (1361050129,), (1361050166,), (1361050169,), (1361050172,), (1361050181,), (1361050187,), (1361050263,), (1361050268,), (1361050272,), (1361050277,), (1361050283,), (1361050287,), (1361050315,), (1361050317,), (1361050320,), (1361050371,), (1361050374,), (1361050378,), (1361050383,), (1361050385,), (1361050391,), (1361050427,), (1361050430,), (1361050432,), (1361050436,), (1361050440,), (1361050472,), (1361050476,), (1361050481,), (1361050486,), (1361050491,), (1361050497,), (1361050529,), (1361038597,), (1361038599,), (1361038616,), (1361038618,), (1361038620,), (1361038622,), (1361038624,), (1361038641,), (1361038643,), (1361038645,), (1361038647,), (1361038649,), (1361038651,), (1361038667,), (1361038670,), (1361038672,), (1361038674,), (1361038690,), (1361038692,), (1361038694,), (1361038696,), (1361038698,), (1361038700,), (1361038711,), (1361038713,), (1361038715,), (1361038717,), (1361038730,), (1361038732,), (1361038734,), (1361038736,), (1361038738,), (1361038740,), (1361038754,), (1361038756,), (1361038758,), (1361038783,), (1361038785,), (1361038787,), (1361038789,), (1361038792,), (1361038795,), (1361038809,), (1361038811,), (1361038813,), (1361038815,), (1361038827,), (1361038829,), (1361038831,), (1361038833,), (1361038835,), (1361038837,), (1361038843,), (1361038851,), (1361038854,), (1361038855,), (1361038863,), (1361038865,), (1361038867,), (1361038869,), (1361038871,), (1361038884,), (1361038887,), (1361038890,), (1361038893,), (1361038898,), (1361038899,), (1361038900,), (1361038902,), (1361038907,), (1361038921,), (1361039881,), (1361039884,), (1361039887,), (1361039891,), (1361039918,), (1361039920,), (1361039922,), (1361039924,), (1361039925,), (1361039950,), (1361039953,), (1361039956,), (1361039960,), (1361039963,), (1361039995,), (1361039997,), (1361039999,), (1361040030,), (1361040032,), (1361040035,), (1361040038,), (1361040042,), (1361040046,), (1361040067,), (1361040070,), (1361040073,), (1361040108,), (1361040112,), (1361040115,), (1361040119,), (1361040125,), (1361040130,), (1361040153,), (1361040156,), (1361040159,), (1361040192,), (1361040194,), (1361040196,), (1361040199,), (1361040203,), (1361040222,), (1361040225,), (1361040228,), (1361040232,), (1361040236,), (1361040264,), (1361040266,), (1361040268,), (1361040271,), (1361040293,), (1361040296,), (1361040299,), (1361040303,), (1361040307,), (1361040310,), (1361040329,), (1361040331,), (1361040333,), (1361040337,), (1361040356,), (1361040359,), (1361040362,), (1361040366,), (1361040370,), (1361040374,), (1361040392,), (1361040395,), (1361040397,), (1361040399,), (1361040401,), (1361040433,), (1361041498,), (1361041501,), (1361041505,), (1361041508,), (1361041514,), (1361041529,), (1361041530,), (1361041533,), (1361041537,), (1361041579,), (1361041581,), (1361041584,), (1361041588,), (1361041591,), (1361041597,), (1361041622,), (1361041624,), (1361041627,), (1361041631,), (1361041668,), (1361041670,), (1361041673,), (1361041677,), (1361041680,), (1361041684,), (1361041728,), (1361041732,), (1361041736,), (1361041742,), (1361041747,), (1361041768,), (1361041771,), (1361041777,), (1361041782,), (1361041785,), (1361041795,), (1361041797,), (1361041800,), (1361041804,), (1361041806,), (1361041830,), (1361041836,), (1361041842,), (1361041848,), (1361041865,), (1361041867,), (1361041870,), (1361041874,), (1361041877,), (1361041882,), (1361041900,), (1361041902,), (1361041905,), (1361041909,), (1361041912,), (1361041917,), (1361041935,), (1361041937,), (1361041940,), (1361041944,), (1361041968,), (1361041971,), (1361041974,), (1361041977,), (1361041981,), (1361041997,), (1361042000,), (1361042003,), (1361042007,), (1361042030,), (1361042034,), (1361042038,), (1361042043,), (1361042047,), (1361042053,), (1361042086,), (1361042576,), (1361042579,), (1361042582,), (1361042612,), (1361042616,), (1361042620,), (1361042625,), (1361042630,), (1361042633,), (1361042657,), (1361042660,), (1361042664,), (1361042669,), (1361042692,), (1361042695,), (1361042698,), (1361042701,), (1361042704,), (1361042727,), (1361042729,), (1361042733,), (1361042762,), (1361042764,), (1361042767,), (1361042769,), (1361042805,), (1361042808,), (1361042852,), (1361042855,), (1361042858,), (1361042862,), (1361042865,), (1361042871,), (1361042899,), (1361042901,), (1361042905,), (1361042910,), (1361042914,), (1361042918,), (1361042945,), (1361042948,), (1361042952,), (1361042957,), (1361042986,), (1361042999,), (1361043003,), (1361043010,), (1361043015,), (1361043019,), (1361043037,), (1361043040,), (1361043044,), (1361043049,), (1361043055,), (1361043077,), (1361043081,), (1361043085,), (1361043089,), (1361043095,), (1361043152,), (1361043158,), (1361043167,), (1361043174,), (1361043180,), (1361043238,), (1361050520,), (1361050522,), (1361050525,), (1361050562,), (1361050565,), (1361050569,), (1361050574,), (1361050580,), (1361050586,), (1361050613,), (1361050616,), (1361050619,), (1361050624,), (1361050664,), (1361050668,), (1361050673,), (1361050677,), (1361050682,), (1361050691,), (1361050725,), (1361050730,), (1361050736,), (1361050742,), (1361050750,), (1361050808,), (1361050811,), (1361050815,), (1361050820,), (1361050825,), (1361050855,), (1361050858,), (1361050861,), (1361050863,), (1361050867,), (1361050870,), (1361050894,), (1361050896,), (1361050898,), (1361050901,), (1361050906,), (1361050933,), (1361050936,), (1361050940,), (1361050945,), (1361050950,), (1361050955,), (1361050978,), (1361050979,), (1361050981,), (1361050984,), (1361051007,), (1361051010,), (1361051015,), (1361051021,), (1361051024,), (1361051031,), (1361051055,), (1361051058,), (1361051061,), (1361051064,), (1361051094,), (1361051096,), (1361051101,), (1361051106,), (1361051111,), (1361051116,), (1361051161,), (1361051166,), (1361051174,), (1361051182,), (1361051190,), (1361051196,), (1361051267,), (1361051251,), (1361051256,), (1361051259,), (1361051263,), (1361051710,), (1361051750,), (1361051754,), (1361051759,), (1361051763,), (1361051820,), (1361051823,), (1361051826,), (1361051830,), (1361051833,), (1361051837,), (1361051867,), (1361051870,), (1361051908,), (1361051911,), (1361051914,), (1361051918,), (1361051921,), (1361051963,), (1361051965,), (1361051969,), (1361051974,), (1361051980,), (1361052226,), (1361052229,), (1361052234,), (1361052322,), (1361052300,), (1361052303,), (1361052307,), (1361052312,), (1361052318,), (1361052345,), (1361052347,), (1361052349,), (1361052353,), (1361052384,), (1361052393,), (1361052399,), (1361052405,), (1361052410,), (1361052415,), (1361052434,), (1361052436,), (1361052439,), (1361052443,), (1361052448,), (1361052452,), (1361052474,), (1361052478,), (1361052483,), (1361052489,), (1361052598,), (1361052622,), (1361052626,), (1361052632,), (1361052637,), (1361052669,), (1361052671,), (1361052674,), (1361052678,), (1361052703,), (1361052706,), (1361052709,), (1361052713,), (1361052718,), (1361052723,), (1361052752,), (1361052755,), (1361052757,), (1361052760,), (1361052763,), (1361052788,), (1361052792,), (1361052797,), (1361052802,), (1361052808,), (1361052813,), (1361053161,), (1361053164,), (1361053168,), (1361053173,), (1361053272,), (1361053290,), (1361053298,), (1361053308,), (1361053314,), (1361053317,), (1361053353,), (1361053356,), (1361053360,), (1361053561,), (1361053578,), (1361053592,), (1361053600,), (1361053608,), (1361053612,), (1361053639,), (1361053642,), (1361053646,), (1361053650,), (1361053698,), (1361053688,), (1361053692,), (1361053696,), (1361053737,), (1361053745,), (1361053751,), (1361053756,), (1361053759,), (1361053806,), (1361053810,), (1361053814,), (1361053818,), (1361053823,), (1361053849,), (1361053852,), (1361053856,), (1361053860,), (1361053893,), (1361053895,), (1361053898,), (1361053902,), (1361053907,), (1361053912,), (1361054218,), (1361054233,), (1361054238,), (1361054243,), (1361054354,), (1361054363,), (1361054367,), (1361054502,), (1361054506,), (1361054511,), (1361054555,), (1361054558,), (1361054562,), (1361054565,), (1361054568,), (1361054574,), (1361054612,), (1361054615,), (1361054618,), (1361054622,), (1361054624,), (1361054641,), (1361054680,), (1361054683,), (1361054725,), (1361054728,), (1361054731,), (1361054734,), (1361054737,), (1361054772,), (1361054779,), (1361054782,), (1361054787,), (1361054792,), (1361054797,), (1361054822,), (1361054815,), (1361054819,), (1361054851,), (1361054854,), (1361054858,), (1361054863,), (1361054867,), (1361054900,), (1361054904,), (1361054907,), (1361054910,), (1361054914,), (1361054918,), (1361054946,), (1361054951,), (1361054956,), (1361054960,), (1361054996,), (1361054999,), (1361055002,), (1361055005,), (1361055009,), (1361055016,), (1361055048,), (1361055051,), (1361055054,), (1361055059,), (1361055091,), (1361055094,), (1361055097,), (1361055099,), (1361055103,), (1361055107,), (1361055136,), (1361055143,), (1361055146,), (1361055149,), (1361055190,), (1361055193,), (1361055197,), (1361055202,), (1361055207,), (1361055211,), (1361055230,), (1361055233,), (1361055236,), (1361055277,), (1361055280,), (1361055283,), (1361055291,), (1361055297,), (1361055301,), (1361055323,), (1361055328,), (1361055332,), (1361055339,), (1361055345,), (1361055349,), (1361055369,), (1361055372,), (1361055375,), (1361055439,), (1361055446,), (1361055450,), (1361055457,), (1361055463,), (1361055469,), (1361055529,), (1361055516,), (1361055520,), (1361055523,), (1361055525,), (1361055614,), (1361055644,), (1361055646,), (1361055649,), (1361055678,), (1361055783,), (1361055785,), (1361055787,), (1361055791,), (1361055795,), (1361055832,), (1361055834,), (1361055838,), (1361055842,), (1361055847,), (1361055958,), (1361055962,), (1361055993,), (1361056017,), (1361056035,), (1361056037,), (1361056099,), (1361056104,), (1361056107,), (1361056110,), (1361056114,), (1361056133,), (1361056136,), (1361056141,), (1361056146,), (1361056154,), (1361056162,), (1361056316,), (1361056319,), (1361056342,), (1361056350,), (1361056356,), (1361056409,), (1361056412,), (1361056415,), (1361056419,), (1361056452,), (1361056455,), (1361056461,), (1361056467,), (1361057273,), (1361073258,), (1361073170,), (1361073237,), (1361073587,), (1361073590,), (1361073593,), (1361073810,), (1361073812,), (1361074283,), (1361074394,), (1361074720,), (1361075052,), (1361075054,), (1361075057,), (1361075196,), (1361075217,), (1361075351,), (1361075365,), (1361075394,), (1361075424,), (1361075444,), (1361075447,), (1361075480,), (1361075484,), (1361075487,), (1361075518,), (1361075521,), (1361075526,), (1361075532,), (1361075538,), (1361075544,), (1361075562,), (1361075565,), (1361075569,), (1361075574,), (1361075580,), (1361075585,), (1361075694,), (1361075698,), (1361075882,), (1361075886,), (1361075890,), (1361075895,), (1361075940,), (1361075946,), (1361075949,), (1361075956,), (1361076014,), (1361076011,), (1361076122,), (1361076126,), (1361076129,), (1361076132,), (1361076135,), (1361076161,), (1361076172,), (1361076207,), (1361076210,), (1361076214,), (1361076219,), (1361076225,), (1361076250,), (1361076254,), (1361076258,), (1361076263,), (1361076314,), (1361076321,), (1361076324,), (1361076334,), (1361076340,), (1361076636,), (1361076664,), (1361076697,), (1361076730,), (1361076764,), (1361076796,), (1361077074,), (1361077103,), (1361077132,), (1361077409,), (1361077416,), (1361077420,), (1361077423,), (1361077434,), (1361077437,), (1361077458,), (1361077461,), (1361077467,), (1361077470,), (1361077500,), (1361077503,), (1361077539,), (1361077549,), (1361077554,), (1361077559,), (1361077563,), (1361077567,), (1361077590,), (1361077596,), (1361077600,), (1361077602,), (1361077638,), (1361077654,), (1361077674,), (1361077677,), (1361077680,), (1361077684,), (1361077727,), (1361077732,), (1361077771,), (1361077768,), (1361077808,), (1361077813,), (1361077816,), (1361077819,), (1361077823,), (1361077828,), (1361077851,), (1361077854,), (1361077857,), (1361077864,), (1361077911,), (1361077914,), (1361077919,), (1361077921,), (1361077972,), (1361077988,), (1361077993,), (1361078004,), (1361078013,), (1361078046,), (1361078056,), (1361078061,), (1361078064,), (1361078072,), (1361078074,), (1361078093,), (1361078096,), (1361078099,), (1361078103,), (1361078108,), (1361078248,), (1361078279,), (1361078286,), (1361078291,), (1361078296,), (1361078299,), (1361078319,), (1361078323,), (1361078328,), (1361078334,), (1361078370,), (1361078374,), (1361078379,), (1361078386,), (1361078393,), (1361078417,), (1361078429,), (1361078434,), (1361078442,), (1361078449,), (1361078461,), (1361078487,), (1361078489,), (1361078492,), (1361078498,), (1361078529,), (1361078535,), (1361078541,), (1361078548,), (1361078553,), (1361078587,), (1361078591,), (1361078598,), (1361078603,), (1361078606,), (1361078610,), (1361078637,), (1361078639,), (1361078643,), (1361078646,), (1361078649,), (1361078696,), (1361078685,), (1361078689,), (1361078692,), (1361078731,), (1361078735,), (1361078741,), (1361078747,), (1361078753,), (1361079615,), (1361079621,), (1361079625,), (1361079738,), (1361079742,), (1361079745,), (1361079748,), (1361079786,), (1361079790,), (1361079792,), (1361079840,), (1361079846,), (1361079850,), (1361079855,), (1361079861,), (1361080010,), (1361080059,), (1361080092,), (1361080444,), (1361080455,), (1361080459,), (1361080464,), (1361080507,), (1361080525,), (1361080722,), (1361080745,), (1361080749,), (1361080861,), (1361080864,), (1361080868,), (1361080873,), (1361080879,), (1361080912,), (1361080916,), (1361080920,), (1361080923,), (1361081127,), (1361081131,), (1361081134,), (1361081140,), (1361081314,), (1361081307,), (1361081310,), (1361081367,), (1361081371,), (1361081436,), (1361081794,), (1361081889,), (1361081919,), (1361081948,), (1361081977,), (1361082032,), (1361082139,), (1361082149,), (1361082152,), (1361082169,), (1361082189,), (1361082418,), (1361082422,), (1361082427,), (1361082432,), (1361082438,), (1361082462,), (1361082467,), (1361082469,), (1361082473,), (1361082477,), (1361082515,), (1361082523,), (1361082529,), (1361082561,), (1361082592,), (1361082623,), (1361082655,), (1361082768,), (1361082784,), (1361082805,), (1361082810,), (1361083328,), (1361083385,), (1361083447,), (1361083952,), (1361084033,), (1361084037,), (1361084042,), (1361084476,), (1361084481,), (1361084486,), (1361084491,), (1361085047,), (1361084902,), (1361084941,), (1361084973,), (1361085013,), (1361085143,), (1361085147,), (1361085151,), (1361085318,), (1361085323,), (1361085328,), (1361085345,), (1361085405,), (1361085407,), (1361085410,), (1361085420,), (1361085699,), (1361085905,), (1361085911,), (1361085914,), (1361085919,), (1361086063,), (1361086092,), (1361086143,), (1361086159,), (1361086208,), (1361086215,), (1361086226,), (1361086230,), (1361086237,), (1361086249,), (1361086279,), (1361086282,), (1361086286,), (1361086291,), (1361086297,), (1361086303,), (1361086453,), (1361086472,), (1361086477,), (1361086482,), (1361086639,), (1361086650,), (1361086661,), (1361086682,), (1361086687,), (1361086760,), (1361086765,), (1361086776,), (1361086786,), (1361086803,), (1361086920,), (1361086965,), (1361087024,), (1361087763,), (1361087805,), (1361087836,), (1361087872,), (1361087948,), (1361088397,), (1361088429,), (1361088473,), (1361088507,), (1361088544,), (1361088568,), (1361088753,), (1361088743,), (1361088746,), (1361088748,), (1361088865,), (1361088894,), (1361088937,), (1361089018,), (1361089095,), (1361089776,), (1361089833,), (1361089862,), (1361089924,), (1361089971,), (1361090059,), (1361090279,), (1361090337,), (1361090439,), (1361090713,), (1361090772,), (1361090834,), (1361090891,), (1361090930,), (1361090963,), (1361091181,), (1361091186,), (1361091191,), (1361091195,), (1361091200,), (1361091204,), (1361091245,), (1361091279,), (1361091299,), (1361091362,), (1361091364,), (1361091367,), (1361091371,), (1361091375,), (1361091553,), (1361091557,), (1361091560,), (1361091564,), (1361091570,), (1361091574,), (1361091673,), (1361091677,), (1361091700,), (1361091845,), (1361091847,), (1361091850,), (1361091857,), (1361091862,), (1361091867,), (1361092195,), (1361092250,), (1361092310,), (1361092366,), (1361092423,), (1361092482,), (1361092858,), (1361092935,), (1361092997,), (1361093059,), (1361093267,), (1361093284,), (1361093287,), (1361093306,), (1361093336,), (1361093372,), (1361093807,), (1361093815,), (1361093819,), (1361093845,), (1361093889,), (1361093930,), (1361094163,), (1361094072,), (1361094103,), (1361094131,), (1361094388,), (1361094418,), (1361094451,), (1361094457,), (1361094493,), (1361094512,), (1361094583,), (1361094585,), (1361094589,), (1361094594,), (1361094627,), (1361094630,), (1361094635,), (1361094645,), (1361094651,), (1361094709,), (1361094752,), (1361094782,), (1361094811,), (1361094842,), (1361094858,), (1361094974,), (1361095000,), (1361095094,), (1361095104,), (1361095117,), (1361095122,), (1361095128,), (1361095159,), (1361095299,), (1361095304,), (1361095324,), (1361095355,), (1361095481,), (1361095483,), (1361095486,), (1361095490,), (1361095493,), (1361095538,), (1361095543,), (1361095548,), (1361095554,), (1361095560,), (1361095567,), (1361095586,), (1361095590,), (1361095594,), (1361095599,), (1361095632,), (1361095636,), (1361095645,), (1361095650,), (1361095655,), (1361095680,), (1361095712,), (1361095716,), (1361095720,), (1361096054,), (1361096091,), (1361096124,), (1361096645,), (1361096670,), (1361096696,), (1361096730,), (1361096763,), (1361096773,), (1361097233,), (1361097153,), (1361097212,), (1361097803,), (1361097820,), (1361097838,), (1361097853,), (1361097868,), (1361097887,), (1361097900,), (1361097901,), (1361097902,), (1361099667,), (1361099709,), (1361099756,), (1361099800,), (1361099831,), (1361099867,), (1361099958,), (1361099992,), (1361100041,), (1361100140,), (1361100202,), (1361100268,), (1361100523,), (1361100528,), (1361100545,), (1361100550,), (1361100571,), (1361100605,), (1361100621,), (1361100641,), (1361101003,), (1361101170,), (1361101231,), (1361101263,), (1361101297,), (1361101329,), (1361101343,), (1361101435,), (1361101448,), (1361101458,), (1361101651,), (1361101685,), (1361101712,), (1361101780,), (1361101808,), (1361101828,), (1361101933,), (1361101937,), (1361101938,), (1361101942,), (1361101977,), (1361101983,), (1361101984,), (1361101997,), (1361102002,), (1361102005,), (1361102010,), (1361102015,), (1361102021,), (1361102049,), (1361102056,), (1361102068,), (1361102098,), (1361100424,), (1361100456,), (1361100489,), (1361100517,), (1361100730,), (1361100764,), (1361100794,), (1361100870,), (1361100934,), (1361101358,), (1361101385,), (1361101418,), (1361101471,), (1361101474,), (1361101476,), (1361101479,), (1361101496,), (1361101527,), (1361101885,), (1361101886,), (1361101896,), (1361101907,), (1361101921,), (1361101927,), (1361101928,), (1361101934,), (1361101960,), (1361101968,), (1361101971,), (1361102034,), (1361102037,), (1361102041,), (1361102044,), (1361102118,), (1361102124,), (1361102129,), (1361102134,), (1361102180,), (1361102212,), (1361102245,), (1361102344,), (1361102348,), (1361102351,), (1361102358,), (1361102362,), (1361102454,), (1361102490,), (1361102518,), (1361102550,), (1361102581,), (1361102613,), (1361102949,), (1361102981,), (1361103012,), (1361103043,), (1361103354,), (1361103425,), (1361103492,), (1361103553,), (1361103613,), (1361103664,), (1361103813,), (1361103843,), (1361103877,), (1361103908,), (1361103940,), (1361104225,), (1361104258,), (1361104317,), (1361104324,), (1361104812,), (1361104653,), (1361104682,), (1361104708,), (1361104742,), (1361104783,), (1361105149,), (1361105202,), (1361105261,), (1361105306,), (1361105590,), (1361105597,), (1361105599,), (1361105602,), (1361105609,), (1361106028,), (1361106082,), (1361106134,), (1361106191,), (1361106250,), (1361106594,), (1361106626,), (1361106667,), (1361107000,), (1361107029,), (1361107093,), (1361107151,), (1361107212,), (1361107567,), (1361107573,), (1361107586,), (1361107615,), (1361107645,), (1361107679,), (1361107735,), (1361107738,), (1361107742,), (1361107745,), (1361107925,), (1361107955,), (1361107986,), (1361108014,), (1361108044,), (1361108562,), (1361108589,), (1361108619,), (1361108652,), (1361108681,), (1361109060,), (1361109080,), (1361109089,), (1361109332,), (1361109362,), (1361109394,), (1361109424,), (1361109593,), (1361109595,), (1361109633,), (1361109667,), (1361109719,), (1361109781,), (1361110033,), (1361110064,), (1361110094,), (1361110651,), (1361110753,), (1361110866,), (1361110895,), (1361110923,), (1361111252,), (1361111116,), (1361111149,), (1361111182,), (1361111234,), (1361111269,), (1361111273,), (1361111277,), (1361111287,), (1361111292,), (1361111398,), (1361111428,), (1361111497,), (1361111918,), (1361111928,), (1361111942,), (1361111948,), (1361111952,), (1361111964,), (1361112123,), (1361112135,), (1361112140,), (1361112146,), (1361112167,), (1361112358,), (1361112406,), (1361112518,), (1361112641,), (1361112644,), (1361112646,), (1361112650,), (1361112651,), (1361112655,), (1361112728,), (1361112731,), (1361112734,), (1361112738,), (1361112745,), (1361112843,), (1361112856,), (1361112887,), (1361112917,), (1361112946,), (1361113084,), (1361113100,), (1361113105,), (1361113110,), (1361113130,), (1361113268,), (1361113287,), (1361113298,), (1361113303,), (1361113313,), (1361113350,), (1361113356,), (1361113361,), (1361113364,), (1361113368,), (1361113399,), (1361113405,), (1361113409,), (1361113413,), (1361113435,), (1361113824,), (1361113853,), (1361113872,), (1361113891,), (1361113909,), (1361113956,), (1361114011,), (1361114018,), (1361114029,), (1361114095,), (1361114078,), (1361114081,), (1361114085,), (1361114090,), (1361114133,), (1361114135,), (1361114138,), (1361114141,), (1361114146,), (1361114327,), (1361114367,), (1361114375,), (1361114381,), (1361114384,), (1361114408,), (1361114521,), (1361114523,), (1361114527,), (1361114578,), (1361114585,), (1361114590,), (1361114598,), (1361114604,), (1361114640,), (1361114641,), (1361114645,), (1361114650,), (1361114656,), (1361114661,), (1361114706,), (1361114713,), (1361114778,), (1361114852,), (1361114855,), (1361114859,), (1361115140,), (1361115171,), (1361115175,), (1361115230,), (1361115234,), (1361115239,), (1361115244,), (1361115298,), (1361115302,), (1361115307,), (1361115312,), (1361115358,), (1361115361,), (1361115364,), (1361115367,), (1361115370,), (1361115376,), (1361115468,), (1361115472,), (1361115478,), (1361115485,), (1361115491,), (1361115499,), (1361115518,), (1361115522,), (1361115549,), (1361115532,), (1361115536,), (1361115540,), (1361115544,), (1361115648,), (1361115651,), (1361115658,), (1361115663,), (1361115881,), (1361115934,), (1361115968,), (1361116387,), (1361116432,), (1361116465,), (1361116470,), (1361116506,), (1361116519,), (1361116581,), (1361116590,), (1361116596,), (1361116602,), (1361116652,), (1361116656,), (1361116660,), (1361116699,), (1361116710,), (1361116718,), (1361116722,), (1361116726,), (1361116739,), (1361116832,), (1361116863,), (1361116896,), (1361116912,), (1361116919,), (1361116923,), (1361116989,), (1361117023,), (1361117049,), (1361117149,), (1361117153,), (1361117164,), (1361117180,), (1361117210,), (1361117218,), (1361117226,), (1361117248,), (1361117259,), (1361117264,), (1361117309,), (1361117313,), (1361117316,), (1361117319,), (1361117382,), (1361117388,), (1361117391,), (1361117395,), (1361117398,), (1361117473,), (1361117509,), (1361117538,), (1361117934,), (1361117936,), (1361117973,), (1361118044,), (1361118030,), (1361118034,), (1361118036,), (1361118041,), (1361118070,), (1361118075,), (1361118079,), (1361118125,), (1361118130,), (1361118135,), (1361118169,), (1361118170,), (1361118174,), (1361118215,), (1361118219,), (1361118222,), (1361118275,), (1361118307,), (1361118375,), (1361118413,), (1361118428,), (1361118432,), (1361118440,), (1361118446,), (1361118522,), (1361118525,), (1361118528,), (1361118531,), (1361118535,), (1361118568,), (1361118570,), (1361118573,), (1361118608,), (1361118632,), (1361118638,), (1361118645,), (1361118651,), (1361118655,), (1361118673,), (1361118676,), (1361118681,), (1361118687,), (1361118690,), (1361118720,), (1361118723,), (1361118726,), (1361118730,), (1361118995,), (1361119024,), (1361119054,), (1361119097,), (1361119128,), (1361119415,), (1361119445,), (1361119501,), (1361119586,), (1361119650,), (1361119704,), (1361127488,), (1361127475,), (1361127479,), (1361127483,), (1361127568,), (1361127602,), (1361127635,), (1361127730,), (1361127733,), (1361127769,), (1361127775,), (1361127782,), (1361127790,), (1361127795,), (1361127891,), (1361127920,), (1361127932,), (1361127935,), (1361127971,), (1361127989,), (1361128040,), (1361128043,), (1361128048,), (1361128053,), (1361128059,), (1361128087,), (1361128092,), (1361128097,), (1361128489,), (1361128597,), (1361128680,), (1361128770,), (1361128796,), (1361128806,), (1361128865,), (1361128890,), (1361128951,), (1361129006,), (1361129113,), (1361129144,), (1361129189,), (1361129193,), (1361129202,), (1361129207,), (1361129241,), (1361129244,), (1361129264,), (1361129298,), (1361129330,), (1361129511,), (1361129514,), (1361129524,), (1361129653,), (1361129633,), (1361129637,), (1361129640,), (1361129643,), (1361129648,), (1361129762,), (1361129766,), (1361129771,), (1361129805,), (1361129818,), (1361129903,), (1361129907,), (1361129916,), (1361129921,), (1361129964,), (1361129967,), (1361129970,), (1361129974,), (1361129979,), (1361129984,), (1361130093,), (1361130109,), (1361130135,), (1361130153,), (1361130215,), (1361130218,), (1361130222,), (1361130226,), (1361130233,), (1361130237,), (1361130265,), (1361130269,), (1361130273,), (1361130316,), (1361130321,), (1361130327,), (1361130332,), (1361130361,), (1361130365,), (1361130404,), (1361130406,), (1361130441,), (1361130443,), (1361130447,), (1361130558,), (1361130695,), (1361130700,), (1361130704,), (1361130858,), (1361130862,), (1361130875,), (1361130891,), (1361130915,), (1361130924,), (1361130929,), (1361130934,), (1361130939,), (1361130965,), (1361130967,), (1361130970,), (1361130974,), (1361130980,), (1361130984,), (1361131614,), (1361131611,), (1361131682,), (1361131686,), (1361131689,), (1361131692,), (1361131699,), (1361131731,), (1361131735,), (1361131739,), (1361131744,), (1361131770,), (1361131772,), (1361131775,), (1361131876,), (1361131908,), (1361131936,), (1361131950,), (1361131955,), (1361132054,), (1361132057,), (1361132062,), (1361132067,), (1361132096,), (1361132101,), (1361132106,), (1361132146,), (1361132148,), (1361132151,), (1361132154,), (1361132186,), (1361132215,), (1361132338,), (1361132413,), (1361132499,), (1361132853,), (1361132857,), (1361132860,), (1361132863,), (1361133001,), (1361133031,), (1361133061,), (1361133094,), (1361133099,), (1361133128,), (1361133196,), (1361133200,), (1361133204,), (1361133208,), (1361133375,), (1361133379,), (1361133387,), (1361133404,), (1361133450,), (1361133772,), (1361133841,), (1361133876,), (1361133896,), (1361133943,), (1361134018,), (1361134173,), (1361134204,), (1361134275,), (1361134322,), (1361134668,), (1361134611,), (1361134651,), (1361134661,), (1361134766,), (1361134793,), (1361134819,), (1361134846,), (1361134893,), (1361135048,), (1361135053,), (1361135057,), (1361135063,), (1361135069,), (1361135106,), (1361135110,), (1361135118,), (1361135157,), (1361135160,), (1361135172,), (1361135427,), (1361135446,), (1361135450,), (1361135456,), (1361135488,), (1361135603,), (1361135606,), (1361135609,), (1361135613,), (1361135619,), (1361135731,), (1361135745,), (1361135774,), (1361135835,), (1361136047,), (1361136076,), (1361136079,), (1361136084,), (1361136116,), (1361136120,), (1361136124,), (1361136129,), (1361136226,), (1361136292,), (1361136323,), (1361136334,), (1361136348,), (1361136380,), (1361136382,), (1361136385,), (1361136389,), (1361136393,), (1361136412,), (1361136416,), (1361136420,), (1361136537,), (1361136543,), (1361136550,), (1361136557,), (1361136563,), (1361136602,), (1361136598,), (1361136646,), (1361136650,), (1361136655,), (1361136661,), (1361136668,), (1361136689,), (1361136696,), (1361136702,), (1361136856,), (1361136859,), (1361136864,), (1361136972,), (1361136975,), (1361136979,), (1361136984,), (1361137219,), (1361137237,), (1361137266,), (1361137433,), (1361137437,), (1361137441,), (1361137445,), (1361137449,), (1361137565,), (1361137573,), (1361137593,), (1361137602,), (1361137856,), (1361137859,), (1361137862,), (1361137866,), (1361138088,), (1361138092,), (1361138097,), (1361138244,), (1361138258,), (1361138268,), (1361138298,), (1361138384,), (1361138387,), (1361138449,), (1361138453,), (1361138461,), (1361138575,), (1361138579,), (1361138611,), (1361138863,), (1361138871,), (1361138883,), (1361138954,), (1361138944,), (1361138947,), (1361138951,), (1361139154,), (1361139184,), (1361139217,), (1361139247,), (1361139306,), (1361139338,), (1361139721,), (1361139780,), (1361139833,), (1361139890,), (1361140019,), (1361140450,), (1361140456,), (1361140459,), (1361140953,), (1361141011,), (1361141047,), (1361141084,), (1361141095,), (1361141372,), (1361141404,), (1361141437,), (1361141488,), (1361141553,), (1361141788,), (1361141824,), (1361142026,), (1361142041,), (1361142048,), (1361142079,), (1361142150,), (1361142155,), (1361142160,), (1361142166,), (1361142173,), (1361142179,), (1361142200,), (1361142203,), (1361142208,), (1361142213,), (1361142219,), (1361142225,), (1361142246,), (1361142249,), (1361142283,), (1361142286,), (1361142290,), (1361142295,), (1361142301,), (1361142352,), (1361142366,), (1361142377,), (1361142382,), (1361142387,), (1361142415,), (1361142420,), (1361142423,), (1361142428,), (1361142434,), (1361142458,), (1361142461,), (1361142465,), (1361142512,), (1361142497,), (1361142501,), (1361142507,), (1361142543,), (1361142548,), (1361142552,), (1361142556,), (1361142562,), (1361142580,), (1361142590,), (1361142593,), (1361142597,), (1361142601,), (1361142603,), (1361142622,), (1361142624,), (1361142628,), (1361142632,), (1361142662,), (1361142665,), (1361142669,), (1361142676,), (1361142684,), (1361142692,), (1361142713,), (1361142719,), (1361142723,), (1361142729,), (1361142733,), (1361142740,), (1361142756,), (1361142758,), (1361142761,), (1361142764,), (1361142768,), (1361142772,), (1361142818,), (1361142825,), (1361142914,), (1361142917,), (1361142957,), (1361143208,), (1361143217,), (1361143381,), (1361143386,), (1361143476,), (1361143479,), (1361143483,), (1361143725,), (1361143768,), (1361143771,), (1361143830,), (1361143808,), (1361143813,), (1361143818,), (1361143823,), (1361143873,), (1361143875,), (1361143878,), (1361143882,), (1361143928,), (1361143932,), (1361143936,), (1361143942,), (1361143949,), (1361143953,), (1361143980,), (1361143983,), (1361143985,), (1361143990,), (1361144024,), (1361144027,), (1361144030,), (1361144058,), (1361144061,), (1361144065,), (1361144070,), (1361144074,), (1361144098,), (1361144102,), (1361144105,), (1361144109,), (1361144115,), (1361144145,), (1361144148,), (1361144151,), (1361144154,), (1361144160,), (1361144409,), (1361144412,), (1361144434,), (1361144592,), (1361144597,), (1361144600,), (1361144608,), (1361144613,), (1361144641,), (1361144644,), (1361144649,), (1361144655,), (1361144693,), (1361144696,), (1361144700,), (1361144704,), (1361144710,), (1361144741,), (1361144745,), (1361144748,), (1361144786,), (1361144792,), (1361144798,), (1361144817,), (1361144821,), (1361144822,), (1361144825,), (1361144856,), (1361144847,), (1361144850,), (1361144853,), (1361144893,), (1361144897,), (1361144902,), (1361144908,), (1361144943,), (1361144947,), (1361144951,), (1361144955,), (1361144960,), (1361144966,), (1361144994,), (1361144997,), (1361145000,), (1361145040,), (1361145043,), (1361145047,), (1361145051,), (1361145090,), (1361145094,), (1361145099,), (1361145143,), (1361145146,), (1361145149,), (1361145153,), (1361145157,), (1361145179,), (1361145182,), (1361145185,), (1361145188,), (1361145232,), (1361145238,), (1361145243,), (1361145246,), (1361145249,), (1361145287,), (1361145293,), (1361145300,), (1361145306,), (1361145338,), (1361145344,), (1361145350,), (1361145403,), (1361145405,), (1361145409,), (1361145447,), (1361145451,), (1361145455,), (1361145459,), (1361145463,), (1361145504,), (1361145509,), (1361145513,), (1361145547,), (1361145553,), (1361145608,), (1361145591,), (1361145593,), (1361145597,), (1361145602,), (1361145638,), (1361145642,), (1361145646,), (1361145674,), (1361145678,), (1361145682,), (1361145712,), (1361145715,), (1361145718,), (1361145722,), (1361145824,), (1361145827,), (1361145883,), (1361145887,), (1361145920,), (1361145924,), (1361145929,), (1361145968,), (1361145971,), (1361146008,), (1361146010,), (1361146013,), (1361146017,), (1361146050,), (1361146053,), (1361146056,), (1361146061,), (1361146064,), (1361146095,), (1361146098,), (1361146130,), (1361146132,), (1361146134,), (1361146138,), (1361146142,), (1361146179,), (1361146182,), (1361146186,), (1361146221,), (1361146223,), (1361146226,), (1361146481,), (1361146266,), (1361146269,), (1361146271,), (1361146325,), (1361146404,), (1361146588,), (1361146593,), (1361146598,), (1361146604,), (1361146609,), (1361146863,), (1361146868,), (1361146909,), (1361146911,), (1361146913,), (1361146916,), (1361146944,), (1361146947,), (1361146951,), (1361146984,), (1361146987,), (1361146989,), (1361146992,), (1361147021,), (1361147025,), (1361147030,), (1361147036,), (1361147072,), (1361147074,), (1361147076,), (1361147111,), (1361147115,), (1361147120,), (1361147163,), (1361147165,), (1361151741,), (1361151737,), (1361151772,), (1361151775,), (1361151841,), (1361152079,), (1361152164,), (1361152168,), (1361152206,), (1361152251,), (1361152256,), (1361152611,), (1361152700,), (1361152730,), (1361152735,), (1361152780,), (1361152783,), (1361152786,), (1361152808,), (1361152812,), (1361152841,), (1361152872,), (1361152875,), (1361152879,), (1361152921,), (1361153052,), (1361153088,), (1361153126,), (1361153202,), (1361153206,), (1361153210,), (1361153396,), (1361153564,), (1361153495,), (1361154370,), (1361154386,), (1361154494,), (1361155085,), (1361155087,), (1361155353,), (1361155821,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26052025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23356220]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] map_info['map_portfolio_photo'] : {23356220: [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266]} final : True mtd_id 4302 list_pids : [1361151741, 1361147165, 1361147163, 1361147120, 1361147115, 1361147111, 1361147076, 1361147074, 1361147072, 1361147036, 1361147030, 1361147025, 1361147021, 1361146992, 1361146989, 1361146987, 1361146984, 1361146951, 1361146947, 1361146944, 1361146916, 1361146913, 1361146911, 1361146909, 1361146868, 1361146863, 1361146609, 1361146604, 1361146598, 1361146593, 1361146588, 1361146404, 1361146325, 1361146271, 1361146269, 1361146266] Looping around the photos to save general results len do output : 1 /23356220Didn'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, '2961750') ('4302', '23356220', '1361151741', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750') ('4302', None, None, None, None, None, None, None, '2961750') ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 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, '23356220', 'None', None, None, None, None, '2961750'), ('4302', '23356220', '1361151741', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147165', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147163', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147120', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147115', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147111', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147076', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147074', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147072', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147036', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147030', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147025', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361147021', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146992', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146989', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146987', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146984', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146951', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146947', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146944', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146916', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146913', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146911', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146909', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146868', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146863', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146609', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146604', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146598', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146593', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146588', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146404', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146325', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146271', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146269', None, None, None, None, None, '2961750'), ('4302', '23356220', '1361146266', None, None, None, None, None, '2961750')] time used for this insertion : 0.026070117950439453 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.769392013549805 time spend to save output : 0.026320457458496094 total time spend for step 5 : 7.795712471008301 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 (2961750) 3.17user 2.38system 0:22.12elapsed 25%CPU (0avgtext+0avgdata 162656maxresident)k 928inputs+24024outputs (14major+78167minor)pagefaults 0swaps