python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 413835 load datou : 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 ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3670164) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3670164) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26578990 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3670164'] with mtr_portfolio_ids : ['26578990'] and first list_photo_ids : [] new path : /proc/413835/ Name: python3 Umask: 0002 State: R (running) Tgid: 413835 Ngid: 0 Pid: 413835 PPid: 413834 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 413835 NSpid: 413835 NSpgid: 412462 NSsid: 412462 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99488 kB VmRSS: 99464 kB RssAnon: 60164 kB RssFile: 39300 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 50 nonvoluntary_ctxt_switches: 93 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '413835', 'Ngid': '0', 'Pid': '413835', 'PPid': '413834', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '413835', 'NSpid': '413835', 'NSpgid': '412462', 'NSsid': '412462', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99488 kB', 'VmRSS': '99464 kB', 'RssAnon': '60164 kB', 'RssFile': '39300 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '50', 'nonvoluntary_ctxt_switches': '93'} ('datou_batch_current', '413835', '1107252', '0', '1107252', '866004', '99464', b'', 'marlene', '3670164') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou 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 List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26578990) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (3670164 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (26578990) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1381754033, 'portfolio_id': 26578990}, {'photo_id': 1381754032, 'portfolio_id': 26578990}, {'photo_id': 1381754031, 'portfolio_id': 26578990}, {'photo_id': 1381754030, 'portfolio_id': 26578990}, {'photo_id': 1381754029, 'portfolio_id': 26578990}, {'photo_id': 1381754028, 'portfolio_id': 26578990}, {'photo_id': 1381753969, 'portfolio_id': 26578990}, {'photo_id': 1381753968, 'portfolio_id': 26578990}, {'photo_id': 1381753967, 'portfolio_id': 26578990}, {'photo_id': 1381753966, 'portfolio_id': 26578990}, {'photo_id': 1381753694, 'portfolio_id': 26578990}, {'photo_id': 1381753692, 'portfolio_id': 26578990}, {'photo_id': 1381753690, 'portfolio_id': 26578990}, {'photo_id': 1381753688, 'portfolio_id': 26578990}, {'photo_id': 1381753686, 'portfolio_id': 26578990}, {'photo_id': 1381753684, 'portfolio_id': 26578990}, {'photo_id': 1381753285, 'portfolio_id': 26578990}, {'photo_id': 1381753283, 'portfolio_id': 26578990}, {'photo_id': 1381753281, 'portfolio_id': 26578990}, {'photo_id': 1381753279, 'portfolio_id': 26578990}, {'photo_id': 1381753277, 'portfolio_id': 26578990}, {'photo_id': 1381752878, 'portfolio_id': 26578990}, {'photo_id': 1381752876, 'portfolio_id': 26578990}, {'photo_id': 1381752874, 'portfolio_id': 26578990}, {'photo_id': 1381752872, 'portfolio_id': 26578990}, {'photo_id': 1381752870, 'portfolio_id': 26578990}, {'photo_id': 1381752709, 'portfolio_id': 26578990}, {'photo_id': 1381752708, 'portfolio_id': 26578990}, {'photo_id': 1381752707, 'portfolio_id': 26578990}, {'photo_id': 1381752706, 'portfolio_id': 26578990}, {'photo_id': 1381752705, 'portfolio_id': 26578990}, {'photo_id': 1381752630, 'portfolio_id': 26578990}, {'photo_id': 1381752628, 'portfolio_id': 26578990}, {'photo_id': 1381752627, 'portfolio_id': 26578990}, {'photo_id': 1381752626, 'portfolio_id': 26578990}, {'photo_id': 1381752625, 'portfolio_id': 26578990}, {'photo_id': 1381752624, 'portfolio_id': 26578990}, {'photo_id': 1381752570, 'portfolio_id': 26578990}, {'photo_id': 1381752569, 'portfolio_id': 26578990}, {'photo_id': 1381752568, 'portfolio_id': 26578990}, {'photo_id': 1381752567, 'portfolio_id': 26578990}, {'photo_id': 1381752472, 'portfolio_id': 26578990}, {'photo_id': 1381752471, 'portfolio_id': 26578990}, {'photo_id': 1381752470, 'portfolio_id': 26578990}, {'photo_id': 1381752469, 'portfolio_id': 26578990}, {'photo_id': 1381752294, 'portfolio_id': 26578990}, {'photo_id': 1381752292, 'portfolio_id': 26578990}, {'photo_id': 1381752290, 'portfolio_id': 26578990}, {'photo_id': 1381752288, 'portfolio_id': 26578990}, {'photo_id': 1381752286, 'portfolio_id': 26578990}, {'photo_id': 1381751811, 'portfolio_id': 26578990}, {'photo_id': 1381751810, 'portfolio_id': 26578990}, {'photo_id': 1381751809, 'portfolio_id': 26578990}, {'photo_id': 1381751808, 'portfolio_id': 26578990}, {'photo_id': 1381751613, 'portfolio_id': 26578990}, {'photo_id': 1381751611, 'portfolio_id': 26578990}, {'photo_id': 1381751609, 'portfolio_id': 26578990}, {'photo_id': 1381751607, 'portfolio_id': 26578990}, {'photo_id': 1381751605, 'portfolio_id': 26578990}, {'photo_id': 1381751603, 'portfolio_id': 26578990}, {'photo_id': 1381751364, 'portfolio_id': 26578990}, {'photo_id': 1381751363, 'portfolio_id': 26578990}, {'photo_id': 1381751362, 'portfolio_id': 26578990}] map_portfolio_id_photo_id: {26578990: [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705, 1381752630, 1381752628, 1381752627, 1381752626, 1381752625, 1381752624, 1381752570, 1381752569, 1381752568, 1381752567, 1381752472, 1381752471, 1381752470, 1381752469, 1381752294, 1381752292, 1381752290, 1381752288, 1381752286, 1381751811, 1381751810, 1381751809, 1381751808, 1381751613, 1381751611, 1381751609, 1381751607, 1381751605, 1381751603, 1381751364, 1381751363, 1381751362]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.015503644943237305 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Sep 5 14:28:58 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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26578990) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 26578990 get user id for portfolio 26578990 get sub ptf for main ptf 26578990, type 3726 and hashtags ['metal', 'mal_croppe', 'cartonnette', 'Carton_gris', 'environnement', 'kraft', 'flou', 'Carton_brun', 'papier', 'plastique', 'autre_refus', 'Teint_Dans_La_Masse'] 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`=26578990 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','cartonnette','Carton_gris','environnement','kraft','flou','Carton_brun','papier','plastique','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26578990 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','cartonnette','Carton_gris','environnement','kraft','flou','Carton_brun','papier','plastique','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 26578990, 'sub_port_id': 26578997, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903857, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'autre_refus': {'main_port_id': 26578990, 'sub_port_id': 26578998, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903858, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'metal': {'main_port_id': 26578990, 'sub_port_id': 26578999, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903859, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'flou': {'main_port_id': 26578990, 'sub_port_id': 26579000, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903860, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'cartonnette': {'main_port_id': 26578990, 'sub_port_id': 26579001, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903861, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'environnement': {'main_port_id': 26578990, 'sub_port_id': 26579002, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903862, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'plastique': {'main_port_id': 26578990, 'sub_port_id': 26579003, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903863, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 26578990, 'sub_port_id': 26579004, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903864, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'Carton_gris': {'main_port_id': 26578990, 'sub_port_id': 26579005, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903865, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'papier': {'main_port_id': 26578990, 'sub_port_id': 26579006, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903866, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'kraft': {'main_port_id': 26578990, 'sub_port_id': 26579007, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903867, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}, 'Carton_brun': {'main_port_id': 26578990, 'sub_port_id': 26579008, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903868, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26578997 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578997) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26578998 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578998) result : ((1381752598,), (1381752599,), (1381752743,), (1381752744,), (1381753991,), (1381753992,), (1381753993,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26578999 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578999) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579000 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579000) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579001 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579001) result : ((1381751790,), (1381751791,), (1381752530,), (1381752601,), (1381752804,), (1381752809,), (1381753446,), (1381753995,), (1381754015,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579002 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579002) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579003 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579003) result : ((1381753453,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579004 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579004) result : ((1381751788,), (1381751789,), (1381752525,), (1381752526,), (1381752527,), (1381752592,), (1381752593,), (1381752594,), (1381752595,), (1381752596,), (1381752597,), (1381752611,), (1381752733,), (1381752734,), (1381752735,), (1381752736,), (1381752737,), (1381752738,), (1381752739,), (1381752740,), (1381752741,), (1381752766,), (1381752767,), (1381752769,), (1381752771,), (1381752773,), (1381752775,), (1381752777,), (1381752779,), (1381752781,), (1381753433,), (1381753435,), (1381753437,), (1381753987,), (1381753989,), (1381754011,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579005 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579005) result : ((1381752529,), (1381752600,), (1381752746,), (1381754013,), (1381754014,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579006 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579007 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579007) result : ((1381754000,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26579008 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=26578990 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26579008) result : ((1381751794,), (1381751795,), (1381752603,), (1381752604,), (1381752747,), (1381752827,), (1381753997,), (1381754016,), (1381754017,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26578990) result : ((1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26578990 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','cartonnette','Carton_gris','environnement','kraft','flou','Carton_brun','papier','plastique','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26578990 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('metal','mal_croppe','cartonnette','Carton_gris','environnement','kraft','flou','Carton_brun','papier','plastique','autre_refus','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 26578990, 'sub_port_id': 26579009, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903869, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'autre_refus': {'main_port_id': 26578990, 'sub_port_id': 26579010, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903870, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'metal': {'main_port_id': 26578990, 'sub_port_id': 26579011, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903871, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'flou': {'main_port_id': 26578990, 'sub_port_id': 26579012, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903872, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'cartonnette': {'main_port_id': 26578990, 'sub_port_id': 26579013, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903873, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'environnement': {'main_port_id': 26578990, 'sub_port_id': 26579014, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903874, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'plastique': {'main_port_id': 26578990, 'sub_port_id': 26579015, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903875, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 26578990, 'sub_port_id': 26579016, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903876, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'Carton_gris': {'main_port_id': 26578990, 'sub_port_id': 26579017, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903877, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'papier': {'main_port_id': 26578990, 'sub_port_id': 26579018, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903878, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'kraft': {'main_port_id': 26578990, 'sub_port_id': 26579019, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903879, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 17, 31), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}, 'Carton_brun': {'main_port_id': 26578990, 'sub_port_id': 26579020, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17903880, 'last_updated_at': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_desc': datetime.datetime(2025, 9, 5, 14, 23), 'last_updated_at_asc': datetime.datetime(2025, 9, 5, 14, 17, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579009,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26578997 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579010,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26578998 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579011,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26578999 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579012,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579000 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579013,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26579020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26579008 lien utilise dans velours : https://marlene.fotonower.com/velours/26579009,26579010,26579011,26579012,26579013,26579014,26579015,26579016,26579017,26579018,26579019,26579020?tags=mal_croppe,autre_refus,metal,flou,cartonnette,environnement,plastique,Teint_Dans_La_Masse,Carton_gris,papier,kraft,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26578990]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] map_info['map_portfolio_photo'] : {26578990: [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705, 1381752630, 1381752628, 1381752627, 1381752626, 1381752625, 1381752624, 1381752570, 1381752569, 1381752568, 1381752567, 1381752472, 1381752471, 1381752470, 1381752469, 1381752294, 1381752292, 1381752290, 1381752288, 1381752286, 1381751811, 1381751810, 1381751809, 1381751808, 1381751613, 1381751611, 1381751609, 1381751607, 1381751605, 1381751603, 1381751364, 1381751363, 1381751362]} final : False mtd_id 4302 list_pids : [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] Looping around the photos to save general results len do output : 1 /26578990. 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, '3670164') ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26578990', "{'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008}", None, None, None, None, '3670164'), ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164')] time used for this insertion : 0.017324447631835938 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6579437255859375 time spend to save output : 0.01793503761291504 total time spend for step 1 : 1.6758787631988525 step2:final Fri Sep 5 14:29:00 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 (26578990) 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 26578990 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1381751364,1381751363,1381751362,1381751613,1381751611,1381751609,1381751607,1381751605,1381751603,1381751811,1381751810,1381751809,1381751808,1381752294,1381752292,1381752290,1381752288,1381752286,1381752472,1381752471,1381752470,1381752469,1381752570,1381752569,1381752568,1381752567,1381752630,1381752628,1381752627,1381752626,1381752625,1381752624,1381752709,1381752708,1381752707,1381752706,1381752705,1381752878,1381752876,1381752874,1381752872,1381752870,1381753285,1381753283,1381753281,1381753279,1381753277,1381753694,1381753692,1381753690,1381753688,1381753686,1381753684,1381753969,1381753968,1381753967,1381753966,1381754033,1381754032,1381754031,1381754030,1381754029,1381754028); 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([26578990]) Inside saveOutput : final : False verbose : True original output for save of step final : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} new output for save of step final : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] map_info['map_portfolio_photo'] : {26578990: [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705, 1381752630, 1381752628, 1381752627, 1381752626, 1381752625, 1381752624, 1381752570, 1381752569, 1381752568, 1381752567, 1381752472, 1381752471, 1381752470, 1381752469, 1381752294, 1381752292, 1381752290, 1381752288, 1381752286, 1381751811, 1381751810, 1381751809, 1381751808, 1381751613, 1381751611, 1381751609, 1381751607, 1381751605, 1381751603, 1381751364, 1381751363, 1381751362]} final : False mtd_id 4302 list_pids : [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] Looping around the photos to save general results len do output : 31 /1381754033.Didn't retrieve data . /1381754032.Didn't retrieve data . /1381754031.Didn't retrieve data . /1381754030.Didn't retrieve data . /1381754029.Didn't retrieve data . /1381754028.Didn't retrieve data . /1381753969.Didn't retrieve data . /1381753968.Didn't retrieve data . /1381753967.Didn't retrieve data . /1381753966.Didn't retrieve data . /1381753694.Didn't retrieve data . /1381753692.Didn't retrieve data . /1381753690.Didn't retrieve data . /1381753688.Didn't retrieve data . /1381753686.Didn't retrieve data . /1381753684.Didn't retrieve data . /1381753285.Didn't retrieve data . /1381753283.Didn't retrieve data . /1381753281.Didn't retrieve data . /1381753279.Didn't retrieve data . /1381753277.Didn't retrieve data . /1381752878.Didn't retrieve data . /1381752876.Didn't retrieve data . /1381752874.Didn't retrieve data . /1381752872.Didn't retrieve data . /1381752870.Didn't retrieve data . /1381752709.Didn't retrieve data . /1381752708.Didn't retrieve data . /1381752707.Didn't retrieve data . /1381752706.Didn't retrieve data . /1381752705.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, '3670164') ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 93 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26578990', '1381754033', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381754032', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381754031', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381754030', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381754029', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381754028', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753969', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753968', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753967', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753966', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753694', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753692', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753690', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753688', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753686', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753684', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753285', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753283', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753281', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753279', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381753277', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752878', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752876', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752874', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752872', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752870', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752709', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752708', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752707', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752706', '0.059684936443812356', None, None, None, None, '3670164'), ('4302', '26578990', '1381752705', '0.059684936443812356', None, None, None, None, '3670164')] time used for this insertion : 0.02242565155029297 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06780862808227539 time spend to save output : 0.023839473724365234 total time spend for step 2 : 0.09164810180664062 step3:velours_tree Fri Sep 5 14:29:00 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 : {26578990: [{'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008}]} input_args_next_step : {26578990: ()} output_args : {26578990: [{'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008}]} args : 26578990 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 : ({'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26578990) 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([26578990]) 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.35433506965637207 time spend to save output : 4.792213439941406e-05 total time spend for step 3 : 0.3543829917907715 step4:send_mail_cod Fri Sep 5 14:29:01 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 : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} input_args_next_step : {1381754033: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754033 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754032 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754031 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754030 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754029 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381754028 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753969 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753968 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753967 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753966 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753694 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753692 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753690 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753688 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753686 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753684 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753285 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753283 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753281 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753279 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381753277 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752878 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752876 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752874 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752872 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752870 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752709 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752708 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752707 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752706 depend.output_id : 0 input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ()} output_args : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',)} args : 1381752705 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 : {26578990: [{'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008}]} input_args_next_step : {1381754033: ('0.059684936443812356',), 1381754032: ('0.059684936443812356',), 1381754031: ('0.059684936443812356',), 1381754030: ('0.059684936443812356',), 1381754029: ('0.059684936443812356',), 1381754028: ('0.059684936443812356',), 1381753969: ('0.059684936443812356',), 1381753968: ('0.059684936443812356',), 1381753967: ('0.059684936443812356',), 1381753966: ('0.059684936443812356',), 1381753694: ('0.059684936443812356',), 1381753692: ('0.059684936443812356',), 1381753690: ('0.059684936443812356',), 1381753688: ('0.059684936443812356',), 1381753686: ('0.059684936443812356',), 1381753684: ('0.059684936443812356',), 1381753285: ('0.059684936443812356',), 1381753283: ('0.059684936443812356',), 1381753281: ('0.059684936443812356',), 1381753279: ('0.059684936443812356',), 1381753277: ('0.059684936443812356',), 1381752878: ('0.059684936443812356',), 1381752876: ('0.059684936443812356',), 1381752874: ('0.059684936443812356',), 1381752872: ('0.059684936443812356',), 1381752870: ('0.059684936443812356',), 1381752709: ('0.059684936443812356',), 1381752708: ('0.059684936443812356',), 1381752707: ('0.059684936443812356',), 1381752706: ('0.059684936443812356',), 1381752705: ('0.059684936443812356',), 26578990: ()} output_args : {26578990: [{'mal_croppe': 26578997, 'autre_refus': 26578998, 'metal': 26578999, 'flou': 26579000, 'cartonnette': 26579001, 'environnement': 26579002, 'plastique': 26579003, 'Teint_Dans_La_Masse': 26579004, 'Carton_gris': 26579005, 'papier': 26579006, 'kraft': 26579007, 'Carton_brun': 26579008}]} args : 26578990 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :32, first value : ('0.059684936443812356',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26578990) 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 (1381754033,1381754032,1381754031,1381754030,1381754029,1381754028,1381753969,1381753968,1381753967,1381753966,1381753694,1381753692,1381753690,1381753688,1381753686,1381753684,1381753285,1381753283,1381753281,1381753279,1381753277,1381752878,1381752876,1381752874,1381752872,1381752870,1381752709,1381752708,1381752707,1381752706,1381752705) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1381752705 begin to download photo : 1381752874 begin to download photo : 1381753285 begin to download photo : 1381753966 begin to download photo : 1381754031 download finish for photo 1381753285 begin to download photo : 1381753684 download finish for photo 1381753966 begin to download photo : 1381753967 download finish for photo 1381752705 begin to download photo : 1381752706 download finish for photo 1381752874 begin to download photo : 1381752876 download finish for photo 1381754031 begin to download photo : 1381754032 download finish for photo 1381753967 begin to download photo : 1381753968 download finish for photo 1381752706 begin to download photo : 1381752707 download finish for photo 1381753684 begin to download photo : 1381753686 download finish for photo 1381752876 begin to download photo : 1381752878 download finish for photo 1381754032 begin to download photo : 1381754033 download finish for photo 1381752707 begin to download photo : 1381752708 download finish for photo 1381753968 begin to download photo : 1381753969 download finish for photo 1381753686 begin to download photo : 1381753688 download finish for photo 1381752878 begin to download photo : 1381753277 download finish for photo 1381754033 download finish for photo 1381753969 begin to download photo : 1381754028 download finish for photo 1381752708 begin to download photo : 1381752709 download finish for photo 1381753688 begin to download photo : 1381753690 download finish for photo 1381753277 begin to download photo : 1381753279 download finish for photo 1381754028 begin to download photo : 1381754029 download finish for photo 1381753690 begin to download photo : 1381753692 download finish for photo 1381753279 begin to download photo : 1381753281 download finish for photo 1381754029 begin to download photo : 1381754030 download finish for photo 1381752709 begin to download photo : 1381752870 download finish for photo 1381753692 begin to download photo : 1381753694 download finish for photo 1381753281 begin to download photo : 1381753283 download finish for photo 1381754030 download finish for photo 1381753283 download finish for photo 1381752870 begin to download photo : 1381752872 download finish for photo 1381753694 download finish for photo 1381752872 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette265789971757075341/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P26578990_05-09-2025_14_29_01.pdf 26578997 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=26578997 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265789971757075341 26578998 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=26578998 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381752598: '1757074865_2697651_1381751611_30731403736407f025bdab7ac6826d13_52329122_rle_crop_3946180595_0.png', 1381752599: '1757074865_2697651_1381751605_ba6582b4592b7e623f4b40b935807beb_1028250_rle_crop_3946180637_0.png', 1381752743: '1757074986_2703411_1381752292_cf688d789a6027b50bc004637570044e_55754655_rle_crop_3946181872_0.png', 1381752744: '1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181904_0.png', 1381753991: '1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186074_0.png', 1381753992: '1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186078_0.png', 1381753993: '1757075226_2712878_1381752874_bab95677503c322a21c4979fb5922516_9036087_rle_crop_3946186099_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/d410a55a17a2919db00674d2e13837a9_93692518.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/c72dc6f293be682d3bd5e5aa849a897d_43535001.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/9f1eafcad8222f0f0d6b5c9aacbfef4d_45970459.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/91de0cf7fee2c41b30f59f34976ad107_77533743.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/617260433a54a38f2241611ccd8d002a_43375611.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/19b3148854f830d3e5d92365bfac6066_19635427.png change filename to text .imagette265789981757075342/ imagette265789981757075342/1757074865_2697651_1381751611_30731403736407f025bdab7ac6826d13_52329122_rle_crop_3946180595_0.png.png imagette265789981757075342/1757075226_2712878_1381752874_bab95677503c322a21c4979fb5922516_9036087_rle_crop_3946186099_0.png.png imagette265789981757075342/1757074986_2703411_1381752292_cf688d789a6027b50bc004637570044e_55754655_rle_crop_3946181872_0.png.png imagette265789981757075342/1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181904_0.png.png imagette265789981757075342/1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186074_0.png.png imagette265789981757075342/1757074865_2697651_1381751605_ba6582b4592b7e623f4b40b935807beb_1028250_rle_crop_3946180637_0.png.png imagette265789981757075342/1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186078_0.png.png imagette265789991757075342/ imagette265790001757075342/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/ec4b1c4925be6c484330f2f2748c1df6_30144581.png imagette265789981757075342 26578999 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=26578999 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265789991757075342 26579000 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=26579000 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette265790001757075342 26579001 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=26579001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381751790: '1757074645_2685259_1381751363_e5e21eadceef559e14af327a7893ff86_71304069_rle_crop_3946165586_0.png', 1381751791: '1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165596_0.png', 1381752530: '1757074766_2692339_1381751810_9766df0e5841f60658b3fdbe2e02f59b_29427082_rle_crop_3946178923_0.png', 1381752601: '1757074865_2697651_1381751603_efa1bdc9637d3652bcbd0ed670bb0dde_6470094_rle_crop_3946180714_0.png', 1381752804: '1757075007_2703965_1381752627_7d7432dccfd72b6cbd030a5a5c03be5e_10862758_rle_crop_3946182057_0.png', 1381752809: '1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182061_0.png', 1381753446: '1757075106_2709035_1381752569_39de746147583ed6be026b23d1f36a72_17686737_rle_crop_3946183711_0.png', 1381753995: '1757075226_2712878_1381752870_7ae470bc517e6e6b4361e19274629ebe_58961099_rle_crop_3946186121_0.png', 1381754015: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186339_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/ec18fc0688871ef1cdccd0f649897800_8503906.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/f8843633ae0b9a7d29f313b922b6dac9_88637992.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/154f92f02939348aeb7803c2971eebc6_24818557.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/37458517b567b58e479ccf5d82f2bb7d_82980673.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/259930605ed54b017e146302e8448bf2_90125420.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/d41a1eb2ed9d065ed247e32705139bc4_74839614.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/4b24044907f7248e18854601c7338abd_75271276.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/c6e695722402ca4ba3ae22ea467bd7f1_25941661.png change filename to text .imagette265790011757075342/ imagette265790011757075342/1757075007_2703965_1381752627_7d7432dccfd72b6cbd030a5a5c03be5e_10862758_rle_crop_3946182057_0.png.png imagette265790011757075342/1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165596_0.png.png imagette265790011757075342/1757075226_2712878_1381752870_7ae470bc517e6e6b4361e19274629ebe_58961099_rle_crop_3946186121_0.png.png imagette265790011757075342/1757074766_2692339_1381751810_9766df0e5841f60658b3fdbe2e02f59b_29427082_rle_crop_3946178923_0.png.png imagette265790011757075342/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186339_0.png.png imagette265790011757075342/1757075106_2709035_1381752569_39de746147583ed6be026b23d1f36a72_17686737_rle_crop_3946183711_0.png.png imagette265790011757075342/1757074645_2685259_1381751363_e5e21eadceef559e14af327a7893ff86_71304069_rle_crop_3946165586_0.png.png imagette265790011757075342/1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182061_0.png.png imagette265790011757075342/1757074865_2697651_1381751603_efa1bdc9637d3652bcbd0ed670bb0dde_6470094_rle_crop_3946180714_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/7c18dc752dde67e01fa61f2f62ff7a76_9872445.png imagette265790011757075342 26579003 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=26579003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381753453: '1757075106_2709035_1381752567_48673090fde297492c280592dbc47e10_68724942_rle_crop_3946183739_0.png'} change filename to text .imagette265790031757075343/ imagette265790031757075343/1757075106_2709035_1381752567_48673090fde297492c280592dbc47e10_68724942_rle_crop_3946183739_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/ed10a640d956cdffb0acec6d1705754a_39737274.png imagette265790031757075343 26579007 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=26579007 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381754000: '1757075226_2712878_1381752876_ff79453b3091c49a318324ff6cc1e687_76873732_rle_crop_3946186094_0.png'} change filename to text .imagette265790071757075343/ imagette265790071757075343/1757075226_2712878_1381752876_ff79453b3091c49a318324ff6cc1e687_76873732_rle_crop_3946186094_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/673cd5706b983cd9e9c79cd0786ba27d_46804474.png imagette265790071757075343 26579004 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=26579004 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381752777: '1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182132_0.png', 1381752740: '1757074986_2703411_1381752286_d54b9d5b1caeec6a6137af055f82cd81_31019512_rle_crop_3946181924_0.png', 1381752741: '1757074986_2703411_1381752286_d54b9d5b1caeec6a6137af055f82cd81_31019512_rle_crop_3946181920_0.png', 1381752766: '1757075007_2703965_1381752628_6c195db7b2c90f65b21933b3f06d2938_40449370_rle_crop_3946182051_0.png', 1381752767: '1757075007_2703965_1381752627_7d7432dccfd72b6cbd030a5a5c03be5e_10862758_rle_crop_3946182058_0.png', 1381752769: '1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182074_0.png', 1381752771: '1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182068_0.png', 1381752773: '1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182063_0.png', 1381752775: '1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182126_0.png', 1381752739: '1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181906_0.png', 1381752779: '1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182131_0.png', 1381752781: '1757075007_2703965_1381752624_2f8671eb140598ac6273408349359d84_82275998_rle_crop_3946182150_0.png', 1381753433: '1757075106_2709035_1381752569_39de746147583ed6be026b23d1f36a72_17686737_rle_crop_3946183712_0.png', 1381753435: '1757075106_2709035_1381752568_854a4db186bbdbbbb268cb1e47ea65ab_2051328_rle_crop_3946183723_0.png', 1381753437: '1757075106_2709035_1381752568_854a4db186bbdbbbb268cb1e47ea65ab_2051328_rle_crop_3946183724_0.png', 1381753987: '1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186076_0.png', 1381753989: '1757075226_2712878_1381752876_ff79453b3091c49a318324ff6cc1e687_76873732_rle_crop_3946186090_0.png', 1381754011: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186341_0.png', 1381752596: '1757074865_2697651_1381751605_ba6582b4592b7e623f4b40b935807beb_1028250_rle_crop_3946180642_0.png', 1381751789: '1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165594_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/b148255b90bf3d27ba28013b40a706bb_63396438.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/3b371ae689f152c88f6fed54b3900da5_55914012.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/24ca9e970bedf6ac0478759a891c29f1_6552343.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/0af499e3028b092acdba31ece65d81eb_69243839.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/64b439bf2ecd2e1a82fd03a08bed0660_77367502.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/1913e8f40ea19cab34e95739c45108ad_57004380.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/fe190e5fb5c219f18917171439b76c93_65424033.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/4a3115d66b0e3deb0487da803c80a428_65127991.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/7b218489835acb6d3ad8f9f2c6794950_69334649.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/136ee31708ee50ccd860a51cca88175e_70286686.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/9ec96229717945257859dea3b5800fc9_82641426.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/8c93490e69d349f1b144decb84abe56b_40423390.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/c57eb984e53dbdfd23ef742d58d907e3_53962840.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/fcd3bdcd4206d2dae37e95847ad178da_47516318.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/a6cb70bbe4d72dade087332bd0e558c1_49541657.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/63015f167c05611b6066197fa63a2850_64108171.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/305c7f89cf361261873a7c102c09f425_48575744.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/6c3196c71fea5e8fcb49c8c0ac6de65f_96209805.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/2baf2b6d793a490b7de0ba31e61e3a87_63145735.png change filename to text .imagette265790041757075343/ imagette265790041757075343/1757075007_2703965_1381752624_2f8671eb140598ac6273408349359d84_82275998_rle_crop_3946182150_0.png.png imagette265790041757075343/1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182126_0.png.png imagette265790041757075343/1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182068_0.png.png imagette265790041757075343/1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182131_0.png.png imagette265790041757075343/1757074986_2703411_1381752286_d54b9d5b1caeec6a6137af055f82cd81_31019512_rle_crop_3946181924_0.png.png imagette265790041757075343/1757075106_2709035_1381752569_39de746147583ed6be026b23d1f36a72_17686737_rle_crop_3946183712_0.png.png imagette265790041757075343/1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165594_0.png.png imagette265790041757075343/1757075226_2712878_1381752876_ff79453b3091c49a318324ff6cc1e687_76873732_rle_crop_3946186090_0.png.png imagette265790041757075343/1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182074_0.png.png imagette265790041757075343/1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181906_0.png.png imagette265790041757075343/1757074865_2697651_1381751605_ba6582b4592b7e623f4b40b935807beb_1028250_rle_crop_3946180642_0.png.png imagette265790041757075343/1757075007_2703965_1381752627_7d7432dccfd72b6cbd030a5a5c03be5e_10862758_rle_crop_3946182058_0.png.png imagette265790041757075343/1757075226_2712878_1381753285_f432d6c79532472326f76da614491d24_41325743_rle_crop_3946186076_0.png.png imagette265790041757075343/1757075007_2703965_1381752626_1725839b319f9046656b6b0f47b9e67e_83319358_rle_crop_3946182063_0.png.png imagette265790041757075343/1757074986_2703411_1381752286_d54b9d5b1caeec6a6137af055f82cd81_31019512_rle_crop_3946181920_0.png.png imagette265790041757075343/1757075007_2703965_1381752628_6c195db7b2c90f65b21933b3f06d2938_40449370_rle_crop_3946182051_0.png.png imagette265790041757075343/1757075007_2703965_1381752625_4b3abbf8211f6d56dc602eee8c39fab7_57824061_rle_crop_3946182132_0.png.png imagette265790041757075343/1757075106_2709035_1381752568_854a4db186bbdbbbb268cb1e47ea65ab_2051328_rle_crop_3946183723_0.png.png imagette265790041757075343/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186341_0.png.png imagette265790041757075343/1757075106_2709035_1381752568_854a4db186bbdbbbb268cb1e47ea65ab_2051328_rle_crop_3946183724_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/39871b96d5b9d508816ab5721f5c4cbc_75555979.png imagette265790041757075343 26579005 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=26579005 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381752529: '1757074766_2692339_1381751809_413dec084464c39c76cce02d4dc24752_12837736_rle_crop_3946178936_0.png', 1381752600: '1757074865_2697651_1381751811_d956711fd6053a709917cf7000480238_89304037_rle_crop_3946180580_0.png', 1381752746: '1757074986_2703411_1381752290_c97e850b720d9098ab54560ca30d748d_76273849_rle_crop_3946181883_0.png', 1381754013: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186338_0.png', 1381754014: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186344_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/90bb6c0d4c415508a9d2defd7aab4884_22831614.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/d0a5b34e6f643e2d76d7f758cb558602_73026495.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/aafe822b7865f1c9461ccf309a83e25b_31851464.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/c0951c29e12b7d0b3463848be6d98571_11354898.png change filename to text .imagette265790051757075344/ imagette265790051757075344/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186338_0.png.png imagette265790051757075344/1757074865_2697651_1381751811_d956711fd6053a709917cf7000480238_89304037_rle_crop_3946180580_0.png.png imagette265790051757075344/1757074986_2703411_1381752290_c97e850b720d9098ab54560ca30d748d_76273849_rle_crop_3946181883_0.png.png imagette265790051757075344/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186344_0.png.png imagette265790051757075344/1757074766_2692339_1381751809_413dec084464c39c76cce02d4dc24752_12837736_rle_crop_3946178936_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/82a5a25ebac61fe2b7d0befbc9f98407_29598037.png imagette265790051757075344 26579008 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=26579008 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1381751794: '1757074645_2685259_1381751363_e5e21eadceef559e14af327a7893ff86_71304069_rle_crop_3946165583_0.png', 1381751795: '1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165593_0.png', 1381752603: '1757074865_2697651_1381751611_30731403736407f025bdab7ac6826d13_52329122_rle_crop_3946180593_0.png', 1381752604: '1757074865_2697651_1381751603_efa1bdc9637d3652bcbd0ed670bb0dde_6470094_rle_crop_3946180717_0.png', 1381752747: '1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181908_0.png', 1381752827: '1757075007_2703965_1381752624_2f8671eb140598ac6273408349359d84_82275998_rle_crop_3946182144_0.png', 1381753997: '1757075226_2712878_1381752870_7ae470bc517e6e6b4361e19274629ebe_58961099_rle_crop_3946186129_0.png', 1381754016: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186345_0.png', 1381754017: '1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186346_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/331483d9ba99bca9905dae526117a274_56235083.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/1d17fd63af2384e74c81edda8cfa2b6f_22076444.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/cf5978bee20ca52a2bb033175fbed5e9_61403661.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/1242d74226c1442e6bd4144e1f1d3a1d_52678678.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/625d4cd0ff5bd8a75d02e9e5d450194e_40826124.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/be8a14416b5cd22cacda2379b845f94a_63483528.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/9af67d9fb50c74afdde8589cce238200_47401396.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/a22db6c0902336f922b1912ad682b848_85985133.png change filename to text .imagette265790081757075344/ imagette265790081757075344/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186346_0.png.png imagette265790081757075344/1757074865_2697651_1381751603_efa1bdc9637d3652bcbd0ed670bb0dde_6470094_rle_crop_3946180717_0.png.png imagette265790081757075344/1757075245_2714569_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709_rle_crop_3946186345_0.png.png imagette265790081757075344/1757074986_2703411_1381752288_80c9779d7c629b0bb265aec2da8d770d_61363858_rle_crop_3946181908_0.png.png imagette265790081757075344/1757074865_2697651_1381751611_30731403736407f025bdab7ac6826d13_52329122_rle_crop_3946180593_0.png.png imagette265790081757075344/1757075226_2712878_1381752870_7ae470bc517e6e6b4361e19274629ebe_58961099_rle_crop_3946186129_0.png.png imagette265790081757075344/1757075007_2703965_1381752624_2f8671eb140598ac6273408349359d84_82275998_rle_crop_3946182144_0.png.png imagette265790081757075344/1757074645_2685259_1381751363_e5e21eadceef559e14af327a7893ff86_71304069_rle_crop_3946165583_0.png.png imagette265790081757075344/1757074645_2685259_1381751362_771179dff2bde26ad9fdf9c396567a8b_3924326_rle_crop_3946165593_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/2e353aae1bc0daf809965b5f0a40ec03_43157699.png imagette265790081757075344 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26578990 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26579009,26579010,26579011,26579012,26579013,26579014,26579015,26579016,26579017,26579018,26579019,26579020?tags=mal_croppe,autre_refus,metal,flou,cartonnette,environnement,plastique,Teint_Dans_La_Masse,Carton_gris,papier,kraft,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1381754033] : ('0.059684936443812356',) no score found for photo 1381754033 We are sending mail with results at report@fotonower.com args[1381754032] : ('0.059684936443812356',) no score found for photo 1381754032 We are sending mail with results at report@fotonower.com args[1381754031] : ('0.059684936443812356',) no score found for photo 1381754031 We are sending mail with results at report@fotonower.com args[1381754030] : ('0.059684936443812356',) no score found for photo 1381754030 We are sending mail with results at report@fotonower.com args[1381754029] : ('0.059684936443812356',) no score found for photo 1381754029 We are sending mail with results at report@fotonower.com args[1381754028] : ('0.059684936443812356',) no score found for photo 1381754028 We are sending mail with results at report@fotonower.com args[1381753969] : ('0.059684936443812356',) no score found for photo 1381753969 We are sending mail with results at report@fotonower.com args[1381753968] : ('0.059684936443812356',) no score found for photo 1381753968 We are sending mail with results at report@fotonower.com args[1381753967] : ('0.059684936443812356',) no score found for photo 1381753967 We are sending mail with results at report@fotonower.com args[1381753966] : ('0.059684936443812356',) no score found for photo 1381753966 We are sending mail with results at report@fotonower.com args[1381753694] : ('0.059684936443812356',) no score found for photo 1381753694 We are sending mail with results at report@fotonower.com args[1381753692] : ('0.059684936443812356',) no score found for photo 1381753692 We are sending mail with results at report@fotonower.com args[1381753690] : ('0.059684936443812356',) no score found for photo 1381753690 We are sending mail with results at report@fotonower.com args[1381753688] : ('0.059684936443812356',) no score found for photo 1381753688 We are sending mail with results at report@fotonower.com args[1381753686] : ('0.059684936443812356',) no score found for photo 1381753686 We are sending mail with results at report@fotonower.com args[1381753684] : ('0.059684936443812356',) no score found for photo 1381753684 We are sending mail with results at report@fotonower.com args[1381753285] : ('0.059684936443812356',) no score found for photo 1381753285 We are sending mail with results at report@fotonower.com args[1381753283] : ('0.059684936443812356',) no score found for photo 1381753283 We are sending mail with results at report@fotonower.com args[1381753281] : ('0.059684936443812356',) no score found for photo 1381753281 We are sending mail with results at report@fotonower.com args[1381753279] : ('0.059684936443812356',) no score found for photo 1381753279 We are sending mail with results at report@fotonower.com args[1381753277] : ('0.059684936443812356',) no score found for photo 1381753277 We are sending mail with results at report@fotonower.com args[1381752878] : ('0.059684936443812356',) no score found for photo 1381752878 We are sending mail with results at report@fotonower.com args[1381752876] : ('0.059684936443812356',) no score found for photo 1381752876 We are sending mail with results at report@fotonower.com args[1381752874] : ('0.059684936443812356',) no score found for photo 1381752874 We are sending mail with results at report@fotonower.com args[1381752872] : ('0.059684936443812356',) no score found for photo 1381752872 We are sending mail with results at report@fotonower.com args[1381752870] : ('0.059684936443812356',) no score found for photo 1381752870 We are sending mail with results at report@fotonower.com args[1381752709] : ('0.059684936443812356',) no score found for photo 1381752709 We are sending mail with results at report@fotonower.com args[1381752708] : ('0.059684936443812356',) no score found for photo 1381752708 We are sending mail with results at report@fotonower.com args[1381752707] : ('0.059684936443812356',) no score found for photo 1381752707 We are sending mail with results at report@fotonower.com args[1381752706] : ('0.059684936443812356',) no score found for photo 1381752706 We are sending mail with results at report@fotonower.com args[1381752705] : ('0.059684936443812356',) no score found for photo 1381752705 We are sending mail with results at report@fotonower.com refus_total : 0.059684936443812356 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=26578990 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_P26578990_05-09-2025_14_29_01.pdf results_Auto_P26578990_05-09-2025_14_29_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_29_01.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','26578990','results_Auto_P26578990_05-09-2025_14_29_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_29_01.pdf','pdf','','0.39','0.059684936443812356') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26578990]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] map_info['map_portfolio_photo'] : {26578990: [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705, 1381752630, 1381752628, 1381752627, 1381752626, 1381752625, 1381752624, 1381752570, 1381752569, 1381752568, 1381752567, 1381752472, 1381752471, 1381752470, 1381752469, 1381752294, 1381752292, 1381752290, 1381752288, 1381752286, 1381751811, 1381751810, 1381751809, 1381751808, 1381751613, 1381751611, 1381751609, 1381751607, 1381751605, 1381751603, 1381751364, 1381751363, 1381751362]} final : False mtd_id 4302 list_pids : [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] 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, '3670164') ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 31 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26578990', '1381754033', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164')] time used for this insertion : 0.022574663162231445 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.149777412414551 time spend to save output : 0.022969961166381836 total time spend for step 4 : 6.172747373580933 step5:split_time_score Fri Sep 5 14:29:07 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 : ['26578990'] 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 : [('26578990',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26578990) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1381754031: {'path': 'temp/1757075341_413835_1381754031_21d73c0c56ef3a4968c0f5b650152c76_59036718.jpg', 'extension': 'jpg'}, 1381754032: {'path': 'temp/1757075341_413835_1381754032_c4268e1498dd4873205ba1a4094d1bad_81250870.jpg', 'extension': 'jpg'}, 1381754033: {'path': 'temp/1757075341_413835_1381754033_bd76d678d2a917d24c3659aa4ca945bf_10729930.jpg', 'extension': 'jpg'}, 1381753966: {'path': 'temp/1757075341_413835_1381753966_aa18e4169f151455c5dc4e3bbbb1b124_26930052.jpg', 'extension': 'jpg'}, 1381753967: {'path': 'temp/1757075341_413835_1381753967_af9df14a680ef47a730c23a718819525_96847664.jpg', 'extension': 'jpg'}, 1381753968: {'path': 'temp/1757075341_413835_1381753968_a11341375533d244b248f1e104cbc391_96362612.jpg', 'extension': 'jpg'}, 1381753969: {'path': 'temp/1757075341_413835_1381753969_652689b3b18a0815c1adfaf1e46a8a46_35348434.jpg', 'extension': 'jpg'}, 1381754028: {'path': 'temp/1757075341_413835_1381754028_d34a7d0d5876f098cebfed5aeb29b96d_94062366.jpg', 'extension': 'jpg'}, 1381754029: {'path': 'temp/1757075341_413835_1381754029_df5141c2f06ca90b02d784f9f1bf1d3d_75383569.jpg', 'extension': 'jpg'}, 1381754030: {'path': 'temp/1757075341_413835_1381754030_6b03f915d052a31120aff0500a56371a_25699898.jpg', 'extension': 'jpg'}, 1381752874: {'path': 'temp/1757075341_413835_1381752874_bab95677503c322a21c4979fb5922516_9036087.jpg', 'extension': 'jpg'}, 1381752876: {'path': 'temp/1757075341_413835_1381752876_ff79453b3091c49a318324ff6cc1e687_76873732.jpg', 'extension': 'jpg'}, 1381752878: {'path': 'temp/1757075341_413835_1381752878_23c1945e3f0bb8bbbfb9bf5b7377da46_45395896.jpg', 'extension': 'jpg'}, 1381753277: {'path': 'temp/1757075341_413835_1381753277_1559ebde095a0728c083d8bc132cae2e_49333709.jpg', 'extension': 'jpg'}, 1381753279: {'path': 'temp/1757075341_413835_1381753279_f9a19b2262f077292407f3ba44bd26ea_78708043.jpg', 'extension': 'jpg'}, 1381753281: {'path': 'temp/1757075341_413835_1381753281_8365b8da14e2abb4f97e3443afb41ac0_47861420.jpg', 'extension': 'jpg'}, 1381753283: {'path': 'temp/1757075341_413835_1381753283_c48dbe420809b888acd02f1a46c9018f_60386200.jpg', 'extension': 'jpg'}, 1381753285: {'path': 'temp/1757075341_413835_1381753285_f432d6c79532472326f76da614491d24_41325743.jpg', 'extension': 'jpg'}, 1381753684: {'path': 'temp/1757075341_413835_1381753684_e39132e5d541e69a3f7012a9f853edb3_82621710.jpg', 'extension': 'jpg'}, 1381753686: {'path': 'temp/1757075341_413835_1381753686_7fb0319c3b15fa5653e1fe9093391ee3_44072902.jpg', 'extension': 'jpg'}, 1381753688: {'path': 'temp/1757075341_413835_1381753688_bd20777fc9698c4b0d6de4282fd330d5_4593282.jpg', 'extension': 'jpg'}, 1381753690: {'path': 'temp/1757075341_413835_1381753690_9c43286d1639839b3a85d04ecce88bdb_17957664.jpg', 'extension': 'jpg'}, 1381753692: {'path': 'temp/1757075341_413835_1381753692_d25c172e4b6a248f29bd91cc4f5fa7c6_57286219.jpg', 'extension': 'jpg'}, 1381753694: {'path': 'temp/1757075341_413835_1381753694_b041e0a3e81f3235ddba4b1f67bc70b8_59407876.jpg', 'extension': 'jpg'}, 1381752705: {'path': 'temp/1757075341_413835_1381752705_28d8b2327ca78ab44fc662a2be3dda61_48162981.jpg', 'extension': 'jpg'}, 1381752706: {'path': 'temp/1757075341_413835_1381752706_594c4bc89006325b50e53296050b6593_90742738.jpg', 'extension': 'jpg'}, 1381752707: {'path': 'temp/1757075341_413835_1381752707_3b9827d592398a77a1ec1b921237a7c5_5077502.jpg', 'extension': 'jpg'}, 1381752708: {'path': 'temp/1757075341_413835_1381752708_a94e82632708d1c0849c1720d9a82e5d_84967251.jpg', 'extension': 'jpg'}, 1381752709: {'path': 'temp/1757075341_413835_1381752709_9f1c5db154c7dd72cd1e6aa4da17dca2_95481583.jpg', 'extension': 'jpg'}, 1381752870: {'path': 'temp/1757075341_413835_1381752870_7ae470bc517e6e6b4361e19274629ebe_58961099.jpg', 'extension': 'jpg'}, 1381752872: {'path': 'temp/1757075341_413835_1381752872_86a388b439766fb5669bd7e468236f6e_87961873.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 = 26578990; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26578990 group by h (('14', 63),) 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=26578990 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 (26578990) 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 (26578990) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05092025 26578990 Nombre de photos uploadées : 63 / 23040 (0%) 05092025 26578990 Nombre de photos taguées (types de déchets): 0 / 63 (0%) 05092025 26578990 Nombre de photos taguées (volume) : 0 / 63 (0%) [{'photo_id': 1381751364, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/c705a89a648c2c0dade82904287476f6_91976324.jpg', 'username': None, 'uploaded_at': 1757074572, 'text': 'image_05092025_14_15_24_10139.jpg'}, {'photo_id': 1381751363, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/e5e21eadceef559e14af327a7893ff86_71304069.jpg', 'username': None, 'uploaded_at': 1757074572, 'text': 'image_05092025_14_15_34_10143.jpg'}, {'photo_id': 1381751362, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/771179dff2bde26ad9fdf9c396567a8b_3924326.jpg', 'username': None, 'uploaded_at': 1757074572, 'text': 'image_05092025_14_15_44_10135.jpg'}, {'photo_id': 1381751613, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/5/ee9af73545b2fa5728c929ad8cfb65ed_67876642.jpg', 'username': None, 'uploaded_at': 1757074633, 'text': 'image_05092025_14_15_54_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 4.291534423828125e-06 ??????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0020966529846191406 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26578990, '2025-09-05' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-05' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2234129,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21322298049926758 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= 2234129 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26552286, 'dashboard_result_id': 14806115, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552286_05-09-2025_06_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26552308, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26552950, 'dashboard_result_id': 14806116, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552950_05-09-2025_06_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26552954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552965, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26553483, 'dashboard_result_id': 14806117, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553483_05-09-2025_06_20_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553501, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26553954, 'dashboard_result_id': 14806118, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553954_05-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553974, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26555558, 'dashboard_result_id': 14806119, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555558_05-09-2025_06_21_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26555617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555628, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26555560, 'dashboard_result_id': 14806120, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555560_05-09-2025_06_22_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26555568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555575, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26556761, 'dashboard_result_id': 14806121, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556761_05-09-2025_06_22_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26556766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556777, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26556619, 'dashboard_result_id': 14806122, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556619_05-09-2025_06_23_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26556649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556660, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26556621, 'dashboard_result_id': 14806123, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556621_05-09-2025_06_24_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556636, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26557110, 'dashboard_result_id': 14806124, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557110_05-09-2025_06_24_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557129, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26557601, 'dashboard_result_id': 14806125, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557601_05-09-2025_06_25_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557615, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26557985, 'dashboard_result_id': 14806126, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557985_05-09-2025_06_25_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558000, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26558350, 'dashboard_result_id': 14806127, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558350_05-09-2025_06_26_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558368, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26558751, 'dashboard_result_id': 14806128, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558751_05-09-2025_06_26_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558771, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26559193, 'dashboard_result_id': 14806129, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26559193_05-09-2025_06_27_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26559218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26559219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26559220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26559221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26559222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26559223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26559224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26559225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26559226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26559228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26559229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26559230, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26561250, 'dashboard_result_id': 14806130, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561250_05-09-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561265, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26561102, 'dashboard_result_id': 14806131, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561102_05-09-2025_05_47_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561141, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26561104, 'dashboard_result_id': 14806132, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561104_05-09-2025_05_48_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561189, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26561105, 'dashboard_result_id': 14806133, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561105_05-09-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561117, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26561584, 'dashboard_result_id': 14806134, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561584_05-09-2025_06_17_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26561596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561607, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26562090, 'dashboard_result_id': 14806135, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562090_05-09-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562142, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26562602, 'dashboard_result_id': 14806136, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562602_05-09-2025_06_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562624, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26562998, 'dashboard_result_id': 14806137, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562998_05-09-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563034, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26563505, 'dashboard_result_id': 14806138, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26563505_05-09-2025_07_17_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563546, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26564166, 'dashboard_result_id': 14806139, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26564166_05-09-2025_07_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26564191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26564192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26564193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26564194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26564195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26564196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26564197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26564198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26564199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26564200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26564201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26564202, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26565028, 'dashboard_result_id': 14806140, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565028_05-09-2025_07_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565049, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26565501, 'dashboard_result_id': 14806141, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565501_05-09-2025_09_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565527, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26568769, 'dashboard_result_id': 14806142, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568769_05-09-2025_09_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569053, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26568911, 'dashboard_result_id': 14806143, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568911_05-09-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568929, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26568775, 'dashboard_result_id': 14806144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568775_05-09-2025_09_01_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568826, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26568779, 'dashboard_result_id': 14806145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568779_05-09-2025_09_31_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568796, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26569896, 'dashboard_result_id': 14806146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26569896_05-09-2025_10_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569952, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26570443, 'dashboard_result_id': 14806147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26570443_05-09-2025_10_19_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26570497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26570498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26570499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26570500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26570501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26570502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26570503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26570504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26570505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26570506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26570507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26570508, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26571192, 'dashboard_result_id': 14806148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571192_05-09-2025_10_33_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571207, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26571940, 'dashboard_result_id': 14806149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571940_05-09-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571984, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26572507, 'dashboard_result_id': 14806150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26572507_05-09-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26572517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26572518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26572519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26572520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26572521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26572522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26572523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26572524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26572525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26572526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26572527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26572528, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26573166, 'dashboard_result_id': 14806151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573166_05-09-2025_11_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26573191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26573192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26573193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26573194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26573195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26573196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26573197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26573198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26573199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26573200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26573201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26573202, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26573687, 'dashboard_result_id': 14806152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573687_05-09-2025_11_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26573704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26573705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26573706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26573707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26573709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26573710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26573711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26573712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26573713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26573714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26573715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26573716, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26573993, 'dashboard_result_id': 14806153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573993_05-09-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26574001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26574002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26574003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26574004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26574005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26574006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26574007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26574008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26574009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26574010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26574011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26574012, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26574368, 'dashboard_result_id': 14806154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574368_05-09-2025_12_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26574386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26574387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26574388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26574389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26574390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26574391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26574392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26574393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26574394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26574395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26574396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26574397, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26577767, 'dashboard_result_id': 14806155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577767_05-09-2025_13_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577779, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26577916, 'dashboard_result_id': 14806156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577916_05-09-2025_14_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577930, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26578342, 'dashboard_result_id': 14806157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578342_05-09-2025_14_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26578358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26578359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26578362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26578363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26578365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26578366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26578367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26578368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26578369, 'pht': 3726}}"}, {'dashboat_entry_day': 2234129, 'dashboard_run_id': 2245747, 'mtr_portfolio_id': 26578990, 'dashboard_result_id': 14806158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_23_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26579000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26579001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26579002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26579003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26579004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26579005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26579006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26579007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26579008, '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 = 26552286 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': 3667752, 'mtr_portfolio_id': 26552286, 'created_at': datetime.datetime(2025, 9, 5, 6, 19, 28), 'result': '0.04964269241984014', 'result_long': None, 'result_double': None}] Qualite : 0.04964269241984014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26552286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552286_05-09-2025_06_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552286_05-09-2025_06_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26552308, 'pht': 3726}}" where mtr_portfolio_id = 26552286 and dashboard_run_id = 2245747 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`=26552286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806115, 0.04964269241984014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552286_05-09-2025_06_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552297, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552299, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552301, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552302, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552306, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26552308, '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 = 26552950 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': 3667753, 'mtr_portfolio_id': 26552950, 'created_at': datetime.datetime(2025, 9, 5, 6, 19, 58), 'result': '0.052087121895723426', 'result_long': None, 'result_double': None}] Qualite : 0.052087121895723426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26552950 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552950_05-09-2025_06_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26552950 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552950_05-09-2025_06_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26552954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552965, 'pht': 3726}}" where mtr_portfolio_id = 26552950 and dashboard_run_id = 2245747 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`=26552950 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806116, 0.052087121895723426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26552950_05-09-2025_06_20_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26552954, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26552955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26552956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26552957, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26552958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26552959, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26552960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26552961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26552962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26552963, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26552964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26552965, '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 = 26553483 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': 3667754, 'mtr_portfolio_id': 26553483, 'created_at': datetime.datetime(2025, 9, 5, 6, 20, 30), 'result': '0.04427018202150872', 'result_long': None, 'result_double': None}] Qualite : 0.04427018202150872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26553483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553483_05-09-2025_06_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26553483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553483_05-09-2025_06_20_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553501, 'pht': 3726}}" where mtr_portfolio_id = 26553483 and dashboard_run_id = 2245747 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`=26553483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806117, 0.04427018202150872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553483_05-09-2025_06_20_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553490, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553491, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553493, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553494, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553498, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553501, '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 = 26553954 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': 3667755, 'mtr_portfolio_id': 26553954, 'created_at': datetime.datetime(2025, 9, 5, 6, 20, 38), 'result': '0.038686864708222954', 'result_long': None, 'result_double': None}] Qualite : 0.038686864708222954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26553954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553954_05-09-2025_06_20_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26553954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553954_05-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553974, 'pht': 3726}}" where mtr_portfolio_id = 26553954 and dashboard_run_id = 2245747 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`=26553954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806118, 0.038686864708222954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26553954_05-09-2025_06_20_40.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26553963, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26553964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26553965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26553966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26553967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26553968, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26553969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26553970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26553971, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26553972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26553973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26553974, '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 = 26555558 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': 3667756, 'mtr_portfolio_id': 26555558, 'created_at': datetime.datetime(2025, 9, 5, 6, 21, 30), 'result': '0.05693800466618908', 'result_long': None, 'result_double': None}] Qualite : 0.05693800466618908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26555558 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555558_05-09-2025_06_21_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26555558 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555558_05-09-2025_06_21_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26555617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555628, 'pht': 3726}}" where mtr_portfolio_id = 26555558 and dashboard_run_id = 2245747 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`=26555558 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806119, 0.05693800466618908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555558_05-09-2025_06_21_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26555617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555619, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555623, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555627, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555628, '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 = 26555560 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': 3667757, 'mtr_portfolio_id': 26555560, 'created_at': datetime.datetime(2025, 9, 5, 6, 21, 59), 'result': '0.043526961330972676', 'result_long': None, 'result_double': None}] Qualite : 0.043526961330972676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26555560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555560_05-09-2025_06_22_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26555560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555560_05-09-2025_06_22_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26555568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555575, 'pht': 3726}}" where mtr_portfolio_id = 26555560 and dashboard_run_id = 2245747 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`=26555560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806120, 0.043526961330972676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26555560_05-09-2025_06_22_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26555564, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26555565, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26555566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26555567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26555568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26555569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26555570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26555571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26555572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26555573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26555574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26555575, '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 = 26556761 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': 3667758, 'mtr_portfolio_id': 26556761, 'created_at': datetime.datetime(2025, 9, 5, 6, 22, 30), 'result': '0.050995299214166845', 'result_long': None, 'result_double': None}] Qualite : 0.050995299214166845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26556761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556761_05-09-2025_06_22_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26556761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556761_05-09-2025_06_22_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26556766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556777, 'pht': 3726}}" where mtr_portfolio_id = 26556761 and dashboard_run_id = 2245747 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`=26556761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806121, 0.050995299214166845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556761_05-09-2025_06_22_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26556766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556767, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556769, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556772, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556777, '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 = 26556619 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': 3667759, 'mtr_portfolio_id': 26556619, 'created_at': datetime.datetime(2025, 9, 5, 6, 23, 30), 'result': '0.08033527269443783', 'result_long': None, 'result_double': None}] Qualite : 0.08033527269443783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26556619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556619_05-09-2025_06_23_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26556619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556619_05-09-2025_06_23_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26556649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556660, 'pht': 3726}}" where mtr_portfolio_id = 26556619 and dashboard_run_id = 2245747 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`=26556619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806122, 0.08033527269443783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556619_05-09-2025_06_23_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26556649, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556650, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556652, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556656, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556658, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556659, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556660, '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 = 26556621 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': 3667760, 'mtr_portfolio_id': 26556621, 'created_at': datetime.datetime(2025, 9, 5, 6, 24), 'result': '0.060162488673695266', 'result_long': None, 'result_double': None}] Qualite : 0.060162488673695266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26556621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556621_05-09-2025_06_24_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26556621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556621_05-09-2025_06_24_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556636, 'pht': 3726}}" where mtr_portfolio_id = 26556621 and dashboard_run_id = 2245747 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`=26556621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806123, 0.060162488673695266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26556621_05-09-2025_06_24_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26556625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26556626, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26556627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26556628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26556629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26556630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26556631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26556632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26556633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26556634, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26556635, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26556636, '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 = 26557110 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': 3667761, 'mtr_portfolio_id': 26557110, 'created_at': datetime.datetime(2025, 9, 5, 6, 24, 28), 'result': '0.052274481522901775', 'result_long': None, 'result_double': None}] Qualite : 0.052274481522901775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26557110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557110_05-09-2025_06_24_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26557110 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557110_05-09-2025_06_24_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557129, 'pht': 3726}}" where mtr_portfolio_id = 26557110 and dashboard_run_id = 2245747 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`=26557110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806124, 0.052274481522901775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557110_05-09-2025_06_24_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557118, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557120, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557122, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557129, '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 = 26557601 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': 3667762, 'mtr_portfolio_id': 26557601, 'created_at': datetime.datetime(2025, 9, 5, 6, 25, 29), 'result': '0.07206430920955262', 'result_long': None, 'result_double': None}] Qualite : 0.07206430920955262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26557601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557601_05-09-2025_06_25_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26557601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557601_05-09-2025_06_25_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557615, 'pht': 3726}}" where mtr_portfolio_id = 26557601 and dashboard_run_id = 2245747 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`=26557601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806125, 0.07206430920955262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557601_05-09-2025_06_25_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557605, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557606, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557608, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26557609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557611, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557613, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557614, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557615, '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 = 26557985 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': 3667763, 'mtr_portfolio_id': 26557985, 'created_at': datetime.datetime(2025, 9, 5, 6, 25, 37), 'result': '0.06697049275494514', 'result_long': None, 'result_double': None}] Qualite : 0.06697049275494514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26557985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557985_05-09-2025_06_25_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26557985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557985_05-09-2025_06_25_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558000, 'pht': 3726}}" where mtr_portfolio_id = 26557985 and dashboard_run_id = 2245747 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`=26557985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806126, 0.06697049275494514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26557985_05-09-2025_06_25_41.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26557989, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26557990, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26557991, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26557992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26557993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26557994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26557995, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26557996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26557997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26557998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26557999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558000, '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 = 26558350 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': 3667764, 'mtr_portfolio_id': 26558350, 'created_at': datetime.datetime(2025, 9, 5, 6, 25, 57), 'result': '0.05476973286801831', 'result_long': None, 'result_double': None}] Qualite : 0.05476973286801831 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26558350 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558350_05-09-2025_06_26_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26558350 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558350_05-09-2025_06_26_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558368, 'pht': 3726}}" where mtr_portfolio_id = 26558350 and dashboard_run_id = 2245747 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`=26558350 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806127, 0.05476973286801831, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558350_05-09-2025_06_26_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558363, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558364, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558368, '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 = 26558751 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': 3667765, 'mtr_portfolio_id': 26558751, 'created_at': datetime.datetime(2025, 9, 5, 6, 26, 31), 'result': '0.067377216022561', 'result_long': None, 'result_double': None}] Qualite : 0.067377216022561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26558751 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558751_05-09-2025_06_26_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26558751 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558751_05-09-2025_06_26_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558771, 'pht': 3726}}" where mtr_portfolio_id = 26558751 and dashboard_run_id = 2245747 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`=26558751 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806128, 0.067377216022561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26558751_05-09-2025_06_26_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26558760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26558761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26558762, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26558763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26558764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26558765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26558766, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26558767, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26558768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26558769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26558770, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26558771, '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 = 26559193 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': 3667766, 'mtr_portfolio_id': 26559193, 'created_at': datetime.datetime(2025, 9, 5, 6, 27, 30), 'result': '0.03707141247912107', 'result_long': None, 'result_double': None}] Qualite : 0.03707141247912107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26559193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26559193_05-09-2025_06_27_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26559193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26559193_05-09-2025_06_27_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26559218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26559219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26559220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26559221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26559222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26559223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26559224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26559225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26559226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26559228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26559229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26559230, 'pht': 3726}}" where mtr_portfolio_id = 26559193 and dashboard_run_id = 2245747 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`=26559193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806129, 0.03707141247912107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26559193_05-09-2025_06_27_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26559218, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26559219, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26559220, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26559221, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26559222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26559223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26559224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26559225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26559226, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26559228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26559229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26559230, '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 = 26561250 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': 3667844, 'mtr_portfolio_id': 26561250, 'created_at': datetime.datetime(2025, 9, 5, 5, 49, 29), 'result': '0.07289219547998828', 'result_long': None, 'result_double': None}] Qualite : 0.07289219547998828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26561250 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561250_05-09-2025_05_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26561250 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561250_05-09-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561265, 'pht': 3726}}" where mtr_portfolio_id = 26561250 and dashboard_run_id = 2245747 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`=26561250 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806130, 0.07289219547998828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561250_05-09-2025_05_49_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561263, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561265, '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 = 26561102 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': 3667836, 'mtr_portfolio_id': 26561102, 'created_at': datetime.datetime(2025, 9, 5, 5, 47, 29), 'result': '0.057297069317970954', 'result_long': None, 'result_double': None}] Qualite : 0.057297069317970954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26561102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561102_05-09-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26561102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561102_05-09-2025_05_47_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561141, 'pht': 3726}}" where mtr_portfolio_id = 26561102 and dashboard_run_id = 2245747 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`=26561102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806131, 0.057297069317970954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561102_05-09-2025_05_47_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561133, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561138, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561141, '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 = 26561104 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': 3667837, 'mtr_portfolio_id': 26561104, 'created_at': datetime.datetime(2025, 9, 5, 5, 47, 59), 'result': '0.06210840669781008', 'result_long': None, 'result_double': None}] Qualite : 0.06210840669781008 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26561104 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561104_05-09-2025_05_48_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26561104 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561104_05-09-2025_05_48_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561189, 'pht': 3726}}" where mtr_portfolio_id = 26561104 and dashboard_run_id = 2245747 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`=26561104 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806132, 0.06210840669781008, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561104_05-09-2025_05_48_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561178, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561179, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561184, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561187, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561189, '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 = 26561105 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': 3667838, 'mtr_portfolio_id': 26561105, 'created_at': datetime.datetime(2025, 9, 5, 6, 3, 30), 'result': '0.056753583017804365', 'result_long': None, 'result_double': None}] Qualite : 0.056753583017804365 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26561105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561105_05-09-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26561105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561105_05-09-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561117, 'pht': 3726}}" where mtr_portfolio_id = 26561105 and dashboard_run_id = 2245747 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`=26561105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806133, 0.056753583017804365, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561105_05-09-2025_06_03_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561109, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561110, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26561112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561116, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561117, '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 = 26561584 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': 3667902, 'mtr_portfolio_id': 26561584, 'created_at': datetime.datetime(2025, 9, 5, 6, 17, 31), 'result': '0.039514970057971374', 'result_long': None, 'result_double': None}] Qualite : 0.039514970057971374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26561584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561584_05-09-2025_06_17_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26561584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561584_05-09-2025_06_17_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26561596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561607, 'pht': 3726}}" where mtr_portfolio_id = 26561584 and dashboard_run_id = 2245747 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`=26561584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806134, 0.039514970057971374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26561584_05-09-2025_06_17_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26561596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26561597, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26561598, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26561599, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26561600, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26561601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26561602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26561603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26561604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26561605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26561606, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26561607, '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 = 26562090 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': 3667972, 'mtr_portfolio_id': 26562090, 'created_at': datetime.datetime(2025, 9, 5, 6, 32, 58), 'result': '0.057623620304677416', 'result_long': None, 'result_double': None}] Qualite : 0.057623620304677416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26562090 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562090_05-09-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26562090 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562090_05-09-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562142, 'pht': 3726}}" where mtr_portfolio_id = 26562090 and dashboard_run_id = 2245747 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`=26562090 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806135, 0.057623620304677416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562090_05-09-2025_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562131, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562132, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562134, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562136, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562138, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562139, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562142, '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 = 26562602 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': 3668061, 'mtr_portfolio_id': 26562602, 'created_at': datetime.datetime(2025, 9, 5, 6, 46, 59), 'result': '0.05466398608855699', 'result_long': None, 'result_double': None}] Qualite : 0.05466398608855699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26562602 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562602_05-09-2025_06_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26562602 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562602_05-09-2025_06_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562624, 'pht': 3726}}" where mtr_portfolio_id = 26562602 and dashboard_run_id = 2245747 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`=26562602 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806136, 0.05466398608855699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562602_05-09-2025_06_47_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26562613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26562614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26562615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26562616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26562617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26562618, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26562619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26562620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26562621, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26562622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26562623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26562624, '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 = 26562998 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': 3668137, 'mtr_portfolio_id': 26562998, 'created_at': datetime.datetime(2025, 9, 5, 7, 3), 'result': '0.029307208754667403', 'result_long': None, 'result_double': None}] Qualite : 0.029307208754667403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26562998 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562998_05-09-2025_07_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26562998 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562998_05-09-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563034, 'pht': 3726}}" where mtr_portfolio_id = 26562998 and dashboard_run_id = 2245747 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`=26562998 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806137, 0.029307208754667403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26562998_05-09-2025_07_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563026, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563028, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563029, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563030, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563034, '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 = 26563505 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': 3668232, 'mtr_portfolio_id': 26563505, 'created_at': datetime.datetime(2025, 9, 5, 7, 17, 1), 'result': '0.06240638810892612', 'result_long': None, 'result_double': None}] Qualite : 0.06240638810892612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26563505 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26563505_05-09-2025_07_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26563505 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26563505_05-09-2025_07_17_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563546, 'pht': 3726}}" where mtr_portfolio_id = 26563505 and dashboard_run_id = 2245747 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`=26563505 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806138, 0.06240638810892612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26563505_05-09-2025_07_17_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26563534, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26563535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26563536, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26563537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26563538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26563539, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26563540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26563541, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26563542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26563544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26563545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26563546, '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 = 26564166 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': 3668351, 'mtr_portfolio_id': 26564166, 'created_at': datetime.datetime(2025, 9, 5, 7, 33), 'result': '0.04618207289236178', 'result_long': None, 'result_double': None}] Qualite : 0.04618207289236178 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26564166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26564166_05-09-2025_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26564166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26564166_05-09-2025_07_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26564191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26564192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26564193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26564194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26564195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26564196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26564197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26564198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26564199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26564200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26564201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26564202, 'pht': 3726}}" where mtr_portfolio_id = 26564166 and dashboard_run_id = 2245747 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`=26564166 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806139, 0.04618207289236178, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26564166_05-09-2025_07_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26564191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26564192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26564193, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26564194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26564195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26564196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26564197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26564198, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26564199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26564200, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26564201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26564202, '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 = 26565028 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': 3668448, 'mtr_portfolio_id': 26565028, 'created_at': datetime.datetime(2025, 9, 5, 7, 47, 1), 'result': '0.05743677664050799', 'result_long': None, 'result_double': None}] Qualite : 0.05743677664050799 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26565028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565028_05-09-2025_07_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26565028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565028_05-09-2025_07_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565049, 'pht': 3726}}" where mtr_portfolio_id = 26565028 and dashboard_run_id = 2245747 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`=26565028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806140, 0.05743677664050799, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565028_05-09-2025_07_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565038, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565040, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565048, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565049, '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 = 26565501 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': 3668518, 'mtr_portfolio_id': 26565501, 'created_at': datetime.datetime(2025, 9, 5, 9, 3, 27), 'result': '0.04533627730020251', 'result_long': None, 'result_double': None}] Qualite : 0.04533627730020251 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26565501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565501_05-09-2025_09_03_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26565501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565501_05-09-2025_09_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565527, 'pht': 3726}}" where mtr_portfolio_id = 26565501 and dashboard_run_id = 2245747 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`=26565501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806141, 0.04533627730020251, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26565501_05-09-2025_09_03_28.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26565515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26565516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26565517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26565518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26565520, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26565521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26565522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26565523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26565524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26565525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26565526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26565527, '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 = 26568769 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': 3668939, 'mtr_portfolio_id': 26568769, 'created_at': datetime.datetime(2025, 9, 5, 9, 3, 59), 'result': '0.08084658930274236', 'result_long': None, 'result_double': None}] Qualite : 0.08084658930274236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26568769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568769_05-09-2025_09_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26568769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568769_05-09-2025_09_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569053, 'pht': 3726}}" where mtr_portfolio_id = 26568769 and dashboard_run_id = 2245747 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`=26568769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806142, 0.08084658930274236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568769_05-09-2025_09_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569041, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569044, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569047, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569049, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569050, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569053, '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 = 26568911 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': 3668948, 'mtr_portfolio_id': 26568911, 'created_at': datetime.datetime(2025, 9, 5, 9, 3), 'result': '0.05313406132009744', 'result_long': None, 'result_double': None}] Qualite : 0.05313406132009744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26568911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568911_05-09-2025_09_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26568911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568911_05-09-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568929, 'pht': 3726}}" where mtr_portfolio_id = 26568911 and dashboard_run_id = 2245747 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`=26568911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806143, 0.05313406132009744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568911_05-09-2025_09_03_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568919, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568920, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568921, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568924, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568929, '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 = 26568775 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': 3668942, 'mtr_portfolio_id': 26568775, 'created_at': datetime.datetime(2025, 9, 5, 9, 1, 56), 'result': '0.05438887865763479', 'result_long': None, 'result_double': None}] Qualite : 0.05438887865763479 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26568775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568775_05-09-2025_09_01_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26568775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568775_05-09-2025_09_01_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568826, 'pht': 3726}}" where mtr_portfolio_id = 26568775 and dashboard_run_id = 2245747 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`=26568775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806144, 0.05438887865763479, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568775_05-09-2025_09_01_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568820, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568823, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568824, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568826, '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 = 26568779 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': 3668944, 'mtr_portfolio_id': 26568779, 'created_at': datetime.datetime(2025, 9, 5, 9, 31, 1), 'result': '0.0335856496795856', 'result_long': None, 'result_double': None}] Qualite : 0.0335856496795856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26568779 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568779_05-09-2025_09_31_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26568779 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568779_05-09-2025_09_31_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568796, 'pht': 3726}}" where mtr_portfolio_id = 26568779 and dashboard_run_id = 2245747 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`=26568779 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806145, 0.0335856496795856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26568779_05-09-2025_09_31_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26568785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26568786, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26568787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26568788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26568789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26568790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26568791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26568792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26568793, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26568794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26568795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26568796, '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 = 26569896 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': 3669051, 'mtr_portfolio_id': 26569896, 'created_at': datetime.datetime(2025, 9, 5, 10, 2, 59), 'result': '0.05036727296153984', 'result_long': None, 'result_double': None}] Qualite : 0.05036727296153984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26569896 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26569896_05-09-2025_10_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26569896 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26569896_05-09-2025_10_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569952, 'pht': 3726}}" where mtr_portfolio_id = 26569896 and dashboard_run_id = 2245747 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`=26569896 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806146, 0.05036727296153984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26569896_05-09-2025_10_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26569941, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26569942, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26569943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26569944, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26569945, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26569946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26569947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26569948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26569949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26569950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26569951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26569952, '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 = 26570443 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': 3669121, 'mtr_portfolio_id': 26570443, 'created_at': datetime.datetime(2025, 9, 5, 10, 19, 29), 'result': '0.06794735722814266', 'result_long': None, 'result_double': None}] Qualite : 0.06794735722814266 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26570443 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26570443_05-09-2025_10_19_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26570443 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26570443_05-09-2025_10_19_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26570497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26570498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26570499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26570500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26570501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26570502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26570503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26570504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26570505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26570506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26570507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26570508, 'pht': 3726}}" where mtr_portfolio_id = 26570443 and dashboard_run_id = 2245747 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`=26570443 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806147, 0.06794735722814266, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26570443_05-09-2025_10_19_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26570497, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26570498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26570499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26570500, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26570501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26570502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26570503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26570504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26570505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26570506, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26570507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26570508, '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 = 26571192 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': 3669206, 'mtr_portfolio_id': 26571192, 'created_at': datetime.datetime(2025, 9, 5, 10, 33, 29), 'result': '0.05117919557706017', 'result_long': None, 'result_double': None}] Qualite : 0.05117919557706017 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26571192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571192_05-09-2025_10_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26571192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571192_05-09-2025_10_33_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571207, 'pht': 3726}}" where mtr_portfolio_id = 26571192 and dashboard_run_id = 2245747 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`=26571192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806148, 0.05117919557706017, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571192_05-09-2025_10_33_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571196, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571198, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571199, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571200, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571201, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571202, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571203, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571205, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571207, '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 = 26571940 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': 3669265, 'mtr_portfolio_id': 26571940, 'created_at': datetime.datetime(2025, 9, 5, 10, 47), 'result': '0.06204151959759107', 'result_long': None, 'result_double': None}] Qualite : 0.06204151959759107 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26571940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571940_05-09-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26571940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571940_05-09-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571984, 'pht': 3726}}" where mtr_portfolio_id = 26571940 and dashboard_run_id = 2245747 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`=26571940 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806149, 0.06204151959759107, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26571940_05-09-2025_10_47_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26571973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26571974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26571975, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26571976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26571977, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26571978, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26571979, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26571980, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26571981, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26571982, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26571983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26571984, '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 = 26572507 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': 3669481, 'mtr_portfolio_id': 26572507, 'created_at': datetime.datetime(2025, 9, 5, 11, 3), 'result': '0.04922533676166119', 'result_long': None, 'result_double': None}] Qualite : 0.04922533676166119 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26572507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26572507_05-09-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26572507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26572507_05-09-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26572517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26572518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26572519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26572520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26572521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26572522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26572523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26572524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26572525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26572526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26572527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26572528, 'pht': 3726}}" where mtr_portfolio_id = 26572507 and dashboard_run_id = 2245747 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`=26572507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806150, 0.04922533676166119, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26572507_05-09-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26572517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26572518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26572519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26572520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26572521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26572522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26572523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26572524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26572525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26572526, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26572527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26572528, '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 = 26573166 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 = 26573166 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 = 26573166 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26573166 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 = 26573166 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 = 26573166 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573166_05-09-2025_11_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26573166 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573166_05-09-2025_11_16_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26573191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26573192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26573193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26573194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26573195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26573196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26573197, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26573198, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26573199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26573200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26573201, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26573202, 'pht': 3726}}" where mtr_portfolio_id = 26573166 and dashboard_run_id = 2245747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26573687 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 = 26573687 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 = 26573687 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26573687 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 = 26573687 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 = 26573687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573687_05-09-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26573687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573687_05-09-2025_11_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26573704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26573705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26573706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26573707, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26573709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26573710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26573711, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26573712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26573713, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26573714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26573715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26573716, 'pht': 3726}}" where mtr_portfolio_id = 26573687 and dashboard_run_id = 2245747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26573993 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 = 26573993 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 = 26573993 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26573993 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 = 26573993 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 = 26573993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573993_05-09-2025_11_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26573993 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26573993_05-09-2025_11_46_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26574001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26574002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26574003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26574004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26574005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26574006, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26574007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26574008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26574009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26574010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26574011, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26574012, 'pht': 3726}}" where mtr_portfolio_id = 26573993 and dashboard_run_id = 2245747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26574368 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 = 26574368 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 = 26574368 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26574368 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 = 26574368 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 = 26574368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574368_05-09-2025_12_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26574368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26574368_05-09-2025_12_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26574386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26574387, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26574388, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26574389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26574390, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26574391, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26574392, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26574393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26574394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26574395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26574396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26574397, 'pht': 3726}}" where mtr_portfolio_id = 26574368 and dashboard_run_id = 2245747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26577767 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': 3670048, 'mtr_portfolio_id': 26577767, 'created_at': datetime.datetime(2025, 9, 5, 13, 46, 58), 'result': '0.017310328078041233', 'result_long': None, 'result_double': None}] Qualite : 0.017310328078041233 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26577767 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577767_05-09-2025_13_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26577767 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577767_05-09-2025_13_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577779, 'pht': 3726}}" where mtr_portfolio_id = 26577767 and dashboard_run_id = 2245747 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`=26577767 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806155, 0.017310328078041233, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577767_05-09-2025_13_46_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577769, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577772, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577775, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577777, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577779, '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 = 26577916 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': 3670061, 'mtr_portfolio_id': 26577916, 'created_at': datetime.datetime(2025, 9, 5, 14, 2, 58), 'result': '0.040377773947672085', 'result_long': None, 'result_double': None}] Qualite : 0.040377773947672085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26577916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577916_05-09-2025_14_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26577916 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577916_05-09-2025_14_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577930, 'pht': 3726}}" where mtr_portfolio_id = 26577916 and dashboard_run_id = 2245747 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`=26577916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806156, 0.040377773947672085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26577916_05-09-2025_14_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26577919, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26577920, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26577921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26577922, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26577923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26577924, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26577925, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26577926, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26577927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26577928, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26577929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26577930, '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 = 26578342 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': 3670109, 'mtr_portfolio_id': 26578342, 'created_at': datetime.datetime(2025, 9, 5, 14, 16, 59), 'result': '0.05723086307378313', 'result_long': None, 'result_double': None}] Qualite : 0.05723086307378313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26578342 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578342_05-09-2025_14_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26578342 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578342_05-09-2025_14_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26578358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26578359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26578362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26578363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26578365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26578366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26578367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26578368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26578369, 'pht': 3726}}" where mtr_portfolio_id = 26578342 and dashboard_run_id = 2245747 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`=26578342 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806157, 0.05723086307378313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578342_05-09-2025_14_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26578358, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26578359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578361, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26578362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26578363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26578365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26578366, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26578367, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26578368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26578369, '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 = 26578990 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': 3670164, 'mtr_portfolio_id': 26578990, 'created_at': datetime.datetime(2025, 9, 5, 14, 29), 'result': '0.059684936443812356', 'result_long': None, 'result_double': None}] Qualite : 0.059684936443812356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26578990 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26578990 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_29_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26579000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26579001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26579002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26579003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26579004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26579005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26579006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26579007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26579008, 'pht': 3726}}" where mtr_portfolio_id = 26578990 and dashboard_run_id = 2245747 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`=26578990 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14806158, 0.059684936443812356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26578990_05-09-2025_14_29_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26578997, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26578998, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26578999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26579000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26579001, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26579002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26579003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26579004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26579005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26579006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26579007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26579008, '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 (26552286,26552950,26553483,26553954,26555558,26555560,26556761,26556619,26556621,26557110,26557601,26557985,26558350,26558751,26559193,26561250,26561102,26561104,26561105,26561584,26562090,26562602,26562998,26563505,26564166,26565028,26565501,26568769,26568911,26568775,26568779,26569896,26570443,26571192,26571940,26572507,26573166,26573687,26573993,26574368,26577767,26577916,26578342,26578990) result : ((1381585163,), (1381585166,), (1381585170,), (1381585665,), (1381585668,), (1381585671,), (1381585674,), (1381585677,), (1381585680,), (1381586198,), (1381586202,), (1381586206,), (1381586210,), (1381586214,), (1381586704,), (1381586707,), (1381586710,), (1381586992,), (1381586994,), (1381586997,), (1381587000,), (1381587003,), (1381587006,), (1381587312,), (1381587313,), (1381587314,), (1381587315,), (1381587316,), (1381587317,), (1381587397,), (1381587398,), (1381587400,), (1381587401,), (1381587402,), (1381587480,), (1381587483,), (1381587484,), (1381587485,), (1381587536,), (1381587537,), (1381587539,), (1381587540,), (1381587541,), (1381587542,), (1381587601,), (1381587602,), (1381587603,), (1381587604,), (1381587605,), (1381587655,), (1381587657,), (1381587659,), (1381587816,), (1381587817,), (1381587818,), (1381587820,), (1381587821,), (1381587823,), (1381587981,), (1381587982,), (1381587983,), (1381587985,), (1381588048,), (1381588049,), (1381588050,), (1381588051,), (1381588053,), (1381588055,), (1381588093,), (1381588095,), (1381588097,), (1381588099,), (1381588102,), (1381588104,), (1381588400,), (1381588393,), (1381588395,), (1381588397,), (1381588567,), (1381588569,), (1381588571,), (1381588573,), (1381588575,), (1381588743,), (1381588744,), (1381588745,), (1381588746,), (1381588747,), (1381588749,), (1381588979,), (1381588981,), (1381588984,), (1381588986,), (1381589178,), (1381589180,), (1381589182,), (1381589184,), (1381589187,), (1381589189,), (1381589294,), (1381589295,), (1381589296,), (1381589297,), (1381589298,), (1381589300,), (1381589350,), (1381589351,), (1381589352,), (1381589353,), (1381589392,), (1381589394,), (1381589395,), (1381589397,), (1381589398,), (1381589435,), (1381589443,), (1381589444,), (1381589446,), (1381589447,), (1381589489,), (1381589490,), (1381589491,), (1381589492,), (1381589540,), (1381589541,), (1381589542,), (1381589543,), (1381589545,), (1381589546,), (1381589611,), (1381589613,), (1381589616,), (1381589620,), (1381589623,), (1381589726,), (1381589727,), (1381589728,), (1381589729,), (1381589730,), (1381589765,), (1381589766,), (1381589821,), (1381589822,), (1381589823,), (1381589824,), (1381589865,), (1381589860,), (1381589861,), (1381589862,), (1381589863,), (1381589970,), (1381589971,), (1381589973,), (1381589974,), (1381590017,), (1381590018,), (1381590019,), (1381590020,), (1381590021,), (1381590022,), (1381590076,), (1381590078,), (1381590079,), (1381590080,), (1381590082,), (1381590157,), (1381590159,), (1381590160,), (1381590161,), (1381590196,), (1381590197,), (1381590198,), (1381590199,), (1381590234,), (1381590235,), (1381590236,), (1381590237,), (1381590239,), (1381590316,), (1381590317,), (1381590318,), (1381590319,), (1381590321,), (1381590351,), (1381590352,), (1381590353,), (1381590354,), (1381590355,), (1381590356,), (1381590404,), (1381590405,), (1381590407,), (1381590408,), (1381590409,), (1381590410,), (1381590454,), (1381590456,), (1381590457,), (1381590458,), (1381590504,), (1381590505,), (1381590506,), (1381590507,), (1381590508,), (1381590509,), (1381590543,), (1381590544,), (1381590545,), (1381590546,), (1381590548,), (1381590617,), (1381590618,), (1381590619,), (1381590661,), (1381590663,), (1381590664,), (1381590665,), (1381590666,), (1381590667,), (1381590717,), (1381590712,), (1381590713,), (1381590714,), (1381590715,), (1381590716,), (1381590753,), (1381590754,), (1381590828,), (1381590830,), (1381590832,), (1381590835,), (1381590837,), (1381590877,), (1381590878,), (1381590879,), (1381590880,), (1381590881,), (1381590927,), (1381590928,), (1381590929,), (1381590930,), (1381590964,), (1381590965,), (1381590966,), (1381590967,), (1381591124,), (1381591169,), (1381591170,), (1381591171,), (1381591172,), (1381591173,), (1381591217,), (1381591218,), (1381591220,), (1381591224,), (1381591227,), (1381591229,), (1381591243,), (1381591244,), (1381591245,), (1381591246,), (1381591248,), (1381591413,), (1381591415,), (1381591417,), (1381591419,), (1381591421,), (1381595847,), (1381595882,), (1381595883,), (1381595884,), (1381595886,), (1381595887,), (1381595947,), (1381595948,), (1381595949,), (1381596040,), (1381596041,), (1381596042,), (1381596099,), (1381596100,), (1381596101,), (1381596102,), (1381596147,), (1381596148,), (1381596149,), (1381596150,), (1381596151,), (1381596152,), (1381596199,), (1381596200,), (1381596202,), (1381596203,), (1381596205,), (1381596237,), (1381596238,), (1381596239,), (1381596296,), (1381596297,), (1381596298,), (1381596299,), (1381596300,), (1381596349,), (1381596350,), (1381596352,), (1381596354,), (1381596355,), (1381596389,), (1381596391,), (1381596392,), (1381596393,), (1381596449,), (1381596450,), (1381596488,), (1381596489,), (1381596535,), (1381596536,), (1381596537,), (1381596539,), (1381596541,), (1381596577,), (1381596579,), (1381596580,), (1381596582,), (1381596628,), (1381596625,), (1381596626,), (1381596627,), (1381596664,), (1381596665,), (1381596666,), (1381596667,), (1381596710,), (1381596711,), (1381596712,), (1381596801,), (1381596802,), (1381596803,), (1381596845,), (1381596846,), (1381596847,), (1381596848,), (1381596849,), (1381596892,), (1381596893,), (1381596894,), (1381596895,), (1381596896,), (1381596897,), (1381596948,), (1381596950,), (1381596951,), (1381596952,), (1381596954,), (1381597020,), (1381597021,), (1381597022,), (1381597023,), (1381597064,), (1381597065,), (1381597066,), (1381597068,), (1381597069,), (1381597097,), (1381597099,), (1381597100,), (1381597101,), (1381597102,), (1381597103,), (1381597151,), (1381597152,), (1381597153,), (1381597154,), (1381597155,), (1381597197,), (1381597198,), (1381597199,), (1381597200,), (1381597201,), (1381597203,), (1381597207,), (1381597209,), (1381597210,), (1381597211,), (1381597212,), (1381597287,), (1381597288,), (1381597289,), (1381597290,), (1381597327,), (1381597329,), (1381597332,), (1381597334,), (1381597336,), (1381597339,), (1381597640,), (1381602249,), (1381604849,), (1381604850,), (1381604851,), (1381604852,), (1381604854,), (1381604855,), (1381604894,), (1381604896,), (1381604942,), (1381604943,), (1381604944,), (1381604972,), (1381604973,), (1381605075,), (1381605077,), (1381605080,), (1381605083,), (1381605086,), (1381605087,), (1381605161,), (1381605163,), (1381605165,), (1381605219,), (1381605216,), (1381605217,), (1381605218,), (1381605265,), (1381605266,), (1381605267,), (1381605268,), (1381605269,), (1381605271,), (1381605323,), (1381605324,), (1381605325,), (1381605326,), (1381605327,), (1381605414,), (1381605415,), (1381605416,), (1381605417,), (1381605418,), (1381605419,), (1381605453,), (1381605454,), (1381605455,), (1381605456,), (1381605457,), (1381605508,), (1381605509,), (1381605510,), (1381605511,), (1381605568,), (1381605569,), (1381605570,), (1381605571,), (1381605608,), (1381605609,), (1381605610,), (1381605611,), (1381605613,), (1381605672,), (1381605673,), (1381605674,), (1381605716,), (1381605717,), (1381605718,), (1381605719,), (1381605720,), (1381605766,), (1381605767,), (1381605768,), (1381605769,), (1381605770,), (1381605771,), (1381605810,), (1381605812,), (1381605814,), (1381605815,), (1381605905,), (1381605906,), (1381605907,), (1381605908,), (1381605909,), (1381605910,), (1381605954,), (1381605955,), (1381605957,), (1381605958,), (1381605959,), (1381605961,), (1381605994,), (1381605995,), (1381605996,), (1381605997,), (1381605998,), (1381605999,), (1381606049,), (1381597636,), (1381597638,), (1381597846,), (1381597847,), (1381597848,), (1381597849,), (1381597850,), (1381598044,), (1381598046,), (1381598048,), (1381598050,), (1381598052,), (1381598054,), (1381598238,), (1381598239,), (1381598240,), (1381598241,), (1381598266,), (1381598275,), (1381598276,), (1381598278,), (1381598280,), (1381598281,), (1381598328,), (1381598329,), (1381598330,), (1381598332,), (1381598333,), (1381601466,), (1381601468,), (1381601877,), (1381601880,), (1381601883,), (1381601886,), (1381601889,), (1381602252,), (1381602255,), (1381602258,), (1381602261,), (1381602264,), (1381602337,), (1381606047,), (1381606048,), (1381606093,), (1381606094,), (1381606095,), (1381606096,), (1381606097,), (1381606161,), (1381606162,), (1381606163,), (1381606164,), (1381606165,), (1381606198,), (1381606199,), (1381606200,), (1381606201,), (1381606252,), (1381606253,), (1381606254,), (1381606255,), (1381606256,), (1381606294,), (1381606295,), (1381606297,), (1381606298,), (1381606299,), (1381606300,), (1381606345,), (1381606346,), (1381606347,), (1381606411,), (1381606412,), (1381606414,), (1381606415,), (1381606416,), (1381606417,), (1381606463,), (1381606464,), (1381606465,), (1381606466,), (1381606498,), (1381606499,), (1381606500,), (1381606501,), (1381606594,), (1381606644,), (1381607065,), (1381607067,), (1381609098,), (1381609096,), (1381609167,), (1381610003,), (1381610005,), (1381610325,), (1381610326,), (1381610327,), (1381610328,), (1381610330,), (1381610549,), (1381610550,), (1381610551,), (1381610552,), (1381610656,), (1381610657,), (1381610658,), (1381610659,), (1381610660,), (1381610732,), (1381610733,), (1381610734,), (1381610735,), (1381610736,), (1381610737,), (1381610774,), (1381610775,), (1381610776,), (1381610777,), (1381610835,), (1381610836,), (1381610837,), (1381610838,), (1381610839,), (1381610872,), (1381610873,), (1381610874,), (1381610875,), (1381610877,), (1381610919,), (1381610917,), (1381610918,), (1381611027,), (1381611036,), (1381611037,), (1381611039,), (1381611071,), (1381611072,), (1381611073,), (1381611074,), (1381611075,), (1381611076,), (1381611119,), (1381611120,), (1381611121,), (1381611122,), (1381611123,), (1381611169,), (1381611170,), (1381611171,), (1381611173,), (1381611174,), (1381611175,), (1381611225,), (1381611226,), (1381611227,), (1381611228,), (1381611229,), (1381611239,), (1381611240,), (1381611241,), (1381611242,), (1381611243,), (1381611244,), (1381611280,), (1381611281,), (1381611282,), (1381611283,), (1381611313,), (1381611314,), (1381611315,), (1381611316,), (1381611338,), (1381611339,), (1381611340,), (1381611360,), (1381611361,), (1381611363,), (1381611364,), (1381611365,), (1381611366,), (1381611439,), (1381611440,), (1381611441,), (1381611442,), (1381611443,), (1381611444,), (1381611483,), (1381611484,), (1381611485,), (1381611486,), (1381611528,), (1381611529,), (1381611530,), (1381611531,), (1381611532,), (1381611534,), (1381611578,), (1381611574,), (1381611575,), (1381611576,), (1381611577,), (1381611626,), (1381611627,), (1381611628,), (1381611629,), (1381611630,), (1381611631,), (1381611698,), (1381611699,), (1381611701,), (1381611702,), (1381611703,), (1381611757,), (1381611758,), (1381611759,), (1381611760,), (1381611761,), (1381611800,), (1381611801,), (1381611802,), (1381611803,), (1381611804,), (1381611805,), (1381611848,), (1381611849,), (1381611850,), (1381611851,), (1381611887,), (1381611888,), (1381611889,), (1381611890,), (1381611891,), (1381611892,), (1381611964,), (1381611965,), (1381611966,), (1381611967,), (1381612075,), (1381612076,), (1381612077,), (1381612078,), (1381612079,), (1381612080,), (1381612135,), (1381612136,), (1381612137,), (1381612138,), (1381612180,), (1381612181,), (1381612183,), (1381612184,), (1381612185,), (1381612186,), (1381612233,), (1381612234,), (1381612235,), (1381612236,), (1381612292,), (1381612293,), (1381612295,), (1381612296,), (1381612297,), (1381612298,), (1381612347,), (1381612349,), (1381612350,), (1381612351,), (1381612390,), (1381612392,), (1381612393,), (1381612394,), (1381612395,), (1381612396,), (1381612459,), (1381612456,), (1381612457,), (1381612458,), (1381612488,), (1381612489,), (1381612490,), (1381612560,), (1381612561,), (1381612562,), (1381612563,), (1381612564,), (1381612597,), (1381612598,), (1381612600,), (1381612601,), (1381612602,), (1381612603,), (1381612660,), (1381612661,), (1381612662,), (1381612663,), (1381612664,), (1381612708,), (1381612709,), (1381612710,), (1381612711,), (1381612712,), (1381612713,), (1381612760,), (1381612761,), (1381612762,), (1381612763,), (1381612831,), (1381612832,), (1381612833,), (1381612834,), (1381612873,), (1381612874,), (1381612875,), (1381612876,), (1381612877,), (1381612878,), (1381612915,), (1381612916,), (1381612917,), (1381612918,), (1381612952,), (1381612953,), (1381612954,), (1381612955,), (1381612993,), (1381612995,), (1381612998,), (1381612999,), (1381613045,), (1381613046,), (1381613047,), (1381613049,), (1381613050,), (1381613431,), (1381613433,), (1381613435,), (1381613437,), (1381613502,), (1381613504,), (1381613506,), (1381613508,), (1381613854,), (1381613846,), (1381613848,), (1381613850,), (1381613852,), (1381614041,), (1381614042,), (1381614377,), (1381614379,), (1381614382,), (1381614385,), (1381614890,), (1381614892,), (1381614894,), (1381614895,), (1381614897,), (1381615278,), (1381615281,), (1381615283,), (1381615285,), (1381615287,), (1381615548,), (1381615549,), (1381615550,), (1381615551,), (1381615552,), (1381615772,), (1381615773,), (1381615774,), (1381615775,), (1381615776,), (1381615777,), (1381616157,), (1381616159,), (1381617539,), (1381622250,), (1381624479,), (1381624480,), (1381624481,), (1381624482,), (1381624525,), (1381624526,), (1381624527,), (1381624528,), (1381624576,), (1381624577,), (1381624578,), (1381624579,), (1381624580,), (1381624624,), (1381624625,), (1381624627,), (1381624628,), (1381624690,), (1381624691,), (1381624692,), (1381624693,), (1381624694,), (1381624768,), (1381624769,), (1381624770,), (1381624771,), (1381624851,), (1381624852,), (1381624853,), (1381624854,), (1381624855,), (1381624900,), (1381624901,), (1381624902,), (1381624903,), (1381624953,), (1381624954,), (1381624955,), (1381624956,), (1381624957,), (1381624958,), (1381625033,), (1381625034,), (1381625035,), (1381625037,), (1381625038,), (1381625113,), (1381625114,), (1381625115,), (1381625116,), (1381625117,), (1381625118,), (1381625154,), (1381625155,), (1381625156,), (1381625157,), (1381625212,), (1381625213,), (1381625214,), (1381625215,), (1381625216,), (1381625271,), (1381625266,), (1381625267,), (1381625268,), (1381625269,), (1381625270,), (1381625322,), (1381625323,), (1381625324,), (1381625325,), (1381625405,), (1381625406,), (1381625407,), (1381625408,), (1381625409,), (1381625410,), (1381625450,), (1381625451,), (1381625452,), (1381625454,), (1381625487,), (1381625499,), (1381625500,), (1381625502,), (1381625503,), (1381625504,), (1381625553,), (1381625555,), (1381625556,), (1381625557,), (1381625603,), (1381625604,), (1381625605,), (1381625606,), (1381625685,), (1381625686,), (1381625687,), (1381625688,), (1381625689,), (1381625690,), (1381625725,), (1381625726,), (1381625727,), (1381625728,), (1381625795,), (1381625796,), (1381625797,), (1381625835,), (1381625836,), (1381625838,), (1381625840,), (1381625841,), (1381625904,), (1381625906,), (1381625907,), (1381625947,), (1381625948,), (1381625949,), (1381625950,), (1381625951,), (1381625985,), (1381625997,), (1381625998,), (1381625999,), (1381626039,), (1381626040,), (1381626041,), (1381626042,), (1381626043,), (1381626044,), (1381626100,), (1381626095,), (1381626096,), (1381626097,), (1381626098,), (1381626099,), (1381626136,), (1381626137,), (1381626138,), (1381626139,), (1381626228,), (1381626229,), (1381626230,), (1381626231,), (1381626232,), (1381626233,), (1381626275,), (1381626276,), (1381626277,), (1381626278,), (1381626279,), (1381626333,), (1381626335,), (1381626336,), (1381626337,), (1381626338,), (1381626339,), (1381626375,), (1381626376,), (1381626377,), (1381626378,), (1381626433,), (1381626435,), (1381626436,), (1381626437,), (1381626438,), (1381626439,), (1381626510,), (1381626512,), (1381626514,), (1381626515,), (1381626516,), (1381626569,), (1381626570,), (1381626571,), (1381626572,), (1381626573,), (1381626575,), (1381626612,), (1381626614,), (1381626615,), (1381626646,), (1381626647,), (1381626648,), (1381626649,), (1381626686,), (1381626687,), (1381626688,), (1381626689,), (1381626690,), (1381626691,), (1381626775,), (1381626776,), (1381626777,), (1381626778,), (1381626836,), (1381626837,), (1381626838,), (1381626840,), (1381626855,), (1381626856,), (1381626857,), (1381626859,), (1381626906,), (1381623513,), (1381623514,), (1381623515,), (1381623752,), (1381623753,), (1381623754,), (1381623755,), (1381623857,), (1381623858,), (1381623859,), (1381623860,), (1381623962,), (1381623963,), (1381623964,), (1381623965,), (1381624483,), (1381626903,), (1381626904,), (1381626905,), (1381627263,), (1381627265,), (1381627267,), (1381627269,), (1381627271,), (1381627273,), (1381628004,), (1381628007,), (1381628011,), (1381628015,), (1381628793,), (1381628796,), (1381628799,), (1381628802,), (1381628806,), (1381629063,), (1381629065,), (1381629067,), (1381629686,), (1381629689,), (1381629692,), (1381629695,), (1381630124,), (1381630126,), (1381630128,), (1381630130,), (1381630133,), (1381630527,), (1381630529,), (1381630531,), (1381630533,), (1381630535,), (1381630537,), (1381630635,), (1381630636,), (1381630637,), (1381630638,), (1381630639,), (1381630640,), (1381630917,), (1381630919,), (1381630921,), (1381630923,), (1381630925,), (1381630927,), (1381630979,), (1381630981,), (1381630983,), (1381630985,), (1381631153,), (1381631155,), (1381631157,), (1381631159,), (1381631161,), (1381631233,), (1381631234,), (1381631236,), (1381631237,), (1381631238,), (1381631276,), (1381631277,), (1381631278,), (1381631279,), (1381631280,), (1381631281,), (1381631321,), (1381631323,), (1381631325,), (1381631327,), (1381631375,), (1381631376,), (1381631377,), (1381631378,), (1381631379,), (1381631380,), (1381631429,), (1381631425,), (1381631426,), (1381631427,), (1381631428,), (1381631468,), (1381631469,), (1381631470,), (1381631471,), (1381631518,), (1381631519,), (1381631520,), (1381631521,), (1381631558,), (1381631559,), (1381631561,), (1381631563,), (1381631564,), (1381631615,), (1381631616,), (1381631617,), (1381631619,), (1381631651,), (1381631652,), (1381631653,), (1381631654,), (1381631655,), (1381631656,), (1381631699,), (1381631700,), (1381631701,), (1381631738,), (1381631740,), (1381631741,), (1381631783,), (1381631784,), (1381631785,), (1381631786,), (1381631787,), (1381631822,), (1381631823,), (1381631824,), (1381631825,), (1381631826,), (1381631877,), (1381631878,), (1381631879,), (1381631881,), (1381631882,), (1381631916,), (1381631917,), (1381631918,), (1381631919,), (1381631920,), (1381631960,), (1381631961,), (1381631963,), (1381631964,), (1381631965,), (1381632004,), (1381632005,), (1381632006,), (1381632007,), (1381632008,), (1381632009,), (1381632049,), (1381632050,), (1381632051,), (1381632052,), (1381632053,), (1381632096,), (1381632091,), (1381632092,), (1381632093,), (1381632094,), (1381632095,), (1381632151,), (1381632152,), (1381632153,), (1381632154,), (1381632155,), (1381632156,), (1381632229,), (1381632230,), (1381632231,), (1381632232,), (1381632233,), (1381632290,), (1381632291,), (1381632292,), (1381632293,), (1381632294,), (1381632295,), (1381632333,), (1381632334,), (1381632335,), (1381632336,), (1381632391,), (1381632392,), (1381632394,), (1381632396,), (1381632398,), (1381632400,), (1381632451,), (1381632452,), (1381632453,), (1381632454,), (1381632455,), (1381632456,), (1381632565,), (1381632566,), (1381632567,), (1381632568,), (1381632614,), (1381632615,), (1381632616,), (1381632617,), (1381632618,), (1381632666,), (1381632667,), (1381632668,), (1381632669,), (1381632670,), (1381632702,), (1381632703,), (1381632704,), (1381632705,), (1381632752,), (1381632753,), (1381632754,), (1381632755,), (1381632756,), (1381632818,), (1381632819,), (1381632820,), (1381632821,), (1381632822,), (1381632824,), (1381632872,), (1381632873,), (1381632874,), (1381632875,), (1381632876,), (1381632910,), (1381632911,), (1381632912,), (1381632972,), (1381632968,), (1381632969,), (1381632970,), (1381633008,), (1381633009,), (1381633010,), (1381633011,), (1381633012,), (1381633085,), (1381633095,), (1381633096,), (1381633097,), (1381633128,), (1381633129,), (1381633130,), (1381633131,), (1381633177,), (1381633215,), (1381633217,), (1381633265,), (1381633266,), (1381633267,), (1381633268,), (1381633306,), (1381633307,), (1381633308,), (1381633309,), (1381633350,), (1381633351,), (1381633352,), (1381633353,), (1381633354,), (1381633387,), (1381633388,), (1381633389,), (1381633390,), (1381633427,), (1381633428,), (1381633429,), (1381633430,), (1381633464,), (1381633471,), (1381633472,), (1381633473,), (1381633474,), (1381633552,), (1381633553,), (1381633554,), (1381633555,), (1381634077,), (1381634081,), (1381634084,), (1381634087,), (1381634090,), (1381634840,), (1381634828,), (1381634831,), (1381634834,), (1381634837,), (1381635354,), (1381635356,), (1381635358,), (1381635360,), (1381635869,), (1381635872,), (1381635875,), (1381635878,), (1381635881,), (1381635884,), (1381636509,), (1381636512,), (1381636515,), (1381636973,), (1381636975,), (1381636977,), (1381636979,), (1381636981,), (1381637202,), (1381637204,), (1381637206,), (1381637208,), (1381637210,), (1381637361,), (1381637362,), (1381637363,), (1381637435,), (1381637436,), (1381637437,), (1381637438,), (1381637439,), (1381637440,), (1381637716,), (1381637720,), (1381637723,), (1381637726,), (1381637729,), (1381637910,), (1381637911,), (1381637912,), (1381637913,), (1381638029,), (1381638031,), (1381638033,), (1381638035,), (1381638038,), (1381638295,), (1381638296,), (1381638297,), (1381638299,), (1381638448,), (1381638449,), (1381638450,), (1381638495,), (1381638496,), (1381638497,), (1381638498,), (1381638499,), (1381638535,), (1381638536,), (1381638537,), (1381638538,), (1381638539,), (1381638598,), (1381638596,), (1381638597,), (1381638842,), (1381638845,), (1381638848,), (1381638851,), (1381638854,), (1381638857,), (1381639224,), (1381639225,), (1381639226,), (1381639227,), (1381639502,), (1381639504,), (1381639505,), (1381639506,), (1381639507,), (1381639571,), (1381639572,), (1381639573,), (1381639574,), (1381639575,), (1381639576,), (1381639808,), (1381639810,), (1381639812,), (1381639814,), (1381639816,), (1381640103,), (1381640104,), (1381640105,), (1381640106,), (1381640107,), (1381640108,), (1381640208,), (1381640209,), (1381640210,), (1381640259,), (1381640263,), (1381640265,), (1381640267,), (1381641167,), (1381641209,), (1381641210,), (1381641211,), (1381641212,), (1381641257,), (1381641270,), (1381641271,), (1381641272,), (1381641307,), (1381641308,), (1381641356,), (1381641357,), (1381641358,), (1381641359,), (1381641360,), (1381641400,), (1381641401,), (1381641402,), (1381641403,), (1381641450,), (1381641451,), (1381641452,), (1381641453,), (1381641493,), (1381641494,), (1381641495,), (1381641496,), (1381641497,), (1381641498,), (1381641645,), (1381641646,), (1381641647,), (1381641648,), (1381641649,), (1381641683,), (1381641684,), (1381641685,), (1381641733,), (1381641734,), (1381641735,), (1381641736,), (1381641737,), (1381641777,), (1381641778,), (1381641779,), (1381641780,), (1381641781,), (1381641782,), (1381641824,), (1381641825,), (1381641826,), (1381641827,), (1381641828,), (1381641871,), (1381641872,), (1381641873,), (1381641923,), (1381641919,), (1381641920,), (1381641921,), (1381641922,), (1381641961,), (1381641962,), (1381641963,), (1381641964,), (1381641965,), (1381641998,), (1381641999,), (1381642000,), (1381642040,), (1381642041,), (1381642042,), (1381642043,), (1381642095,), (1381642096,), (1381642097,), (1381642098,), (1381642267,), (1381642268,), (1381642269,), (1381642270,), (1381642271,), (1381642392,), (1381642393,), (1381642395,), (1381642397,), (1381642399,), (1381642401,), (1381642407,), (1381642408,), (1381642410,), (1381642440,), (1381642442,), (1381642487,), (1381642488,), (1381642489,), (1381642490,), (1381642491,), (1381642613,), (1381642615,), (1381642616,), (1381642617,), (1381642618,), (1381642665,), (1381642666,), (1381642667,), (1381642704,), (1381642705,), (1381642706,), (1381642707,), (1381642708,), (1381642744,), (1381642745,), (1381642746,), (1381642747,), (1381642748,), (1381642749,), (1381643030,), (1381643032,), (1381643034,), (1381643036,), (1381643038,), (1381643680,), (1381643668,), (1381643671,), (1381643674,), (1381643677,), (1381644349,), (1381644501,), (1381644504,), (1381644507,), (1381645106,), (1381645109,), (1381645112,), (1381645115,), (1381645118,), (1381645121,), (1381645833,), (1381645835,), (1381645837,), (1381645839,), (1381645841,), (1381645843,), (1381646507,), (1381646511,), (1381647197,), (1381647574,), (1381647716,), (1381647717,), (1381647718,), (1381647719,), (1381647801,), (1381647802,), (1381647803,), (1381647804,), (1381647805,), (1381647806,), (1381647847,), (1381647848,), (1381647849,), (1381647850,), (1381647851,), (1381647852,), (1381647977,), (1381647978,), (1381647979,), (1381647980,), (1381648043,), (1381648044,), (1381648045,), (1381648046,), (1381648146,), (1381648147,), (1381648148,), (1381648149,), (1381648150,), (1381648151,), (1381648204,), (1381648205,), (1381648206,), (1381648207,), (1381648376,), (1381650546,), (1381650547,), (1381650548,), (1381650549,), (1381650550,), (1381650594,), (1381650595,), (1381650596,), (1381650597,), (1381650598,), (1381650851,), (1381650852,), (1381650853,), (1381650854,), (1381650855,), (1381650856,), (1381651059,), (1381651060,), (1381651061,), (1381651062,), (1381651211,), (1381651214,), (1381651216,), (1381651218,), (1381651220,), (1381651684,), (1381651686,), (1381651688,), (1381651690,), (1381651692,), (1381651694,), (1381651925,), (1381651926,), (1381651927,), (1381651928,), (1381652119,), (1381652120,), (1381652121,), (1381652122,), (1381652123,), (1381652124,), (1381652388,), (1381652392,), (1381652396,), (1381652400,), (1381652404,), (1381652466,), (1381652467,), (1381652468,), (1381652469,), (1381652470,), (1381652471,), (1381652786,), (1381652789,), (1381652790,), (1381653283,), (1381653288,), (1381653293,), (1381653297,), (1381653299,), (1381653301,), (1381653689,), (1381653692,), (1381653695,), (1381653698,), (1381653700,), (1381654245,), (1381654246,), (1381654247,), (1381654248,), (1381654250,), (1381654432,), (1381654435,), (1381654438,), (1381654441,), (1381654444,), (1381654447,), (1381654841,), (1381654838,), (1381654839,), (1381654840,), (1381655026,), (1381655033,), (1381655034,), (1381655035,), (1381655036,), (1381655173,), (1381656296,), (1381656297,), (1381656501,), (1381656502,), (1381656503,), (1381656504,), (1381656505,), (1381656543,), (1381656544,), (1381656545,), (1381664392,), (1381648372,), (1381648373,), (1381648374,), (1381648375,), (1381648714,), (1381648716,), (1381648952,), (1381648953,), (1381648954,), (1381648987,), (1381648988,), (1381648989,), (1381648990,), (1381648991,), (1381649202,), (1381649288,), (1381649295,), (1381649301,), (1381649306,), (1381649506,), (1381649507,), (1381649508,), (1381649509,), (1381649554,), (1381649555,), (1381649556,), (1381649557,), (1381649619,), (1381649620,), (1381649621,), (1381649682,), (1381649683,), (1381649755,), (1381649756,), (1381649757,), (1381649758,), (1381649885,), (1381649886,), (1381649968,), (1381649969,), (1381649970,), (1381649971,), (1381649972,), (1381650236,), (1381650238,), (1381650240,), (1381650242,), (1381650244,), (1381650246,), (1381650395,), (1381650454,), (1381650455,), (1381650456,), (1381650492,), (1381650493,), (1381650494,), (1381650495,), (1381650496,), (1381650551,), (1381666765,), (1381666766,), (1381666767,), (1381666768,), (1381666805,), (1381666806,), (1381666807,), (1381666893,), (1381666895,), (1381667092,), (1381667093,), (1381667094,), (1381667095,), (1381667096,), (1381667151,), (1381667152,), (1381667196,), (1381667206,), (1381667207,), (1381667208,), (1381667271,), (1381667272,), (1381667273,), (1381667274,), (1381667275,), (1381667326,), (1381667327,), (1381667328,), (1381667329,), (1381667331,), (1381667332,), (1381667337,), (1381667338,), (1381667370,), (1381667371,), (1381667372,), (1381667373,), (1381667374,), (1381667375,), (1381667412,), (1381667413,), (1381667414,), (1381667415,), (1381667416,), (1381667417,), (1381667482,), (1381667483,), (1381667484,), (1381667485,), (1381667486,), (1381667695,), (1381667698,), (1381667700,), (1381667702,), (1381667704,), (1381667706,), (1381668105,), (1381668107,), (1381668109,), (1381668111,), (1381669152,), (1381669154,), (1381669156,), (1381669158,), (1381669160,), (1381669162,), (1381669879,), (1381669867,), (1381669870,), (1381669873,), (1381669876,), (1381670639,), (1381670642,), (1381670645,), (1381670648,), (1381670651,), (1381671222,), (1381671223,), (1381671224,), (1381671225,), (1381671226,), (1381671227,), (1381671259,), (1381671261,), (1381671263,), (1381671266,), (1381671823,), (1381671826,), (1381671829,), (1381671832,), (1381671835,), (1381671838,), (1381672620,), (1381672624,), (1381673631,), (1381674064,), (1381674065,), (1381674066,), (1381674067,), (1381674333,), (1381674335,), (1381674336,), (1381674338,), (1381674340,), (1381674342,), (1381674424,), (1381674425,), (1381674426,), (1381674599,), (1381674670,), (1381674671,), (1381674673,), (1381674675,), (1381674947,), (1381674948,), (1381674949,), (1381675685,), (1381675687,), (1381675689,), (1381675692,), (1381676401,), (1381676404,), (1381676407,), (1381676711,), (1381676714,), (1381676717,), (1381676720,), (1381676723,), (1381676726,), (1381677161,), (1381677603,), (1381677600,), (1381677601,), (1381677602,), (1381677866,), (1381677868,), (1381677870,), (1381677872,), (1381677874,), (1381677876,), (1381678330,), (1381678332,), (1381678334,), (1381678336,), (1381678338,), (1381678340,), (1381678725,), (1381678728,), (1381678731,), (1381678734,), (1381679081,), (1381679083,), (1381679085,), (1381679087,), (1381679089,), (1381679091,), (1381679798,), (1381679799,), (1381679800,), (1381679801,), (1381679802,), (1381679803,), (1381679997,), (1381679999,), (1381680001,), (1381680003,), (1381680175,), (1381680176,), (1381680177,), (1381680179,), (1381680181,), (1381680183,), (1381680217,), (1381680218,), (1381680219,), (1381680220,), (1381680221,), (1381680277,), (1381680278,), (1381680279,), (1381680280,), (1381680324,), (1381680325,), (1381680326,), (1381680327,), (1381680328,), (1381680411,), (1381680448,), (1381680449,), (1381680450,), (1381680452,), (1381680453,), (1381680618,), (1381680619,), (1381680620,), (1381680732,), (1381680733,), (1381680734,), (1381680735,), (1381680830,), (1381680826,), (1381680827,), (1381680828,), (1381680829,), (1381680948,), (1381680949,), (1381680950,), (1381680951,), (1381680952,), (1381680953,), (1381681286,), (1381681287,), (1381681288,), (1381681465,), (1381681466,), (1381681467,), (1381681468,), (1381681469,), (1381681470,), (1381681569,), (1381681571,), (1381681573,), (1381681575,), (1381681619,), (1381681679,), (1381681680,), (1381682031,), (1381682032,), (1381682033,), (1381682034,), (1381682035,), (1381682305,), (1381682307,), (1381682309,), (1381682311,), (1381682313,), (1381682861,), (1381682864,), (1381682867,), (1381682870,), (1381683522,), (1381683524,), (1381683526,), (1381683527,), (1381683529,), (1381683881,), (1381683882,), (1381683883,), (1381684170,), (1381684172,), (1381684174,), (1381684176,), (1381684178,), (1381684181,), (1381685167,), (1381685170,), (1381685173,), (1381685176,), (1381685925,), (1381685851,), (1381685921,), (1381685923,), (1381686253,), (1381686255,), (1381686257,), (1381686259,), (1381686261,), (1381686263,), (1381687155,), (1381687159,), (1381687163,), (1381687168,), (1381687611,), (1381687613,), (1381688047,), (1381688048,), (1381688049,), (1381688050,), (1381688100,), (1381688101,), (1381688103,), (1381688104,), (1381688105,), (1381688106,), (1381688195,), (1381688196,), (1381688197,), (1381688198,), (1381688519,), (1381688523,), (1381688526,), (1381688529,), (1381689398,), (1381689400,), (1381689735,), (1381689737,), (1381689739,), (1381690535,), (1381690537,), (1381690539,), (1381690541,), (1381690611,), (1381690613,), (1381690615,), (1381691098,), (1381691094,), (1381691096,), (1381691940,), (1381691944,), (1381691949,), (1381691953,), (1381693206,), (1381693209,), (1381693212,), (1381693215,), (1381693218,), (1381693221,), (1381694024,), (1381694026,), (1381694028,), (1381694489,), (1381694931,), (1381694934,), (1381694937,), (1381695484,), (1381695486,), (1381695488,), (1381695490,), (1381695859,), (1381695861,), (1381696170,), (1381696171,), (1381696172,), (1381696173,), (1381696174,), (1381696255,), (1381696257,), (1381696258,), (1381696468,), (1381696470,), (1381696472,), (1381696475,), (1381696477,), (1381696479,), (1381696989,), (1381696990,), (1381696991,), (1381696992,), (1381697277,), (1381697279,), (1381697281,), (1381697283,), (1381698077,), (1381698079,), (1381698081,), (1381698727,), (1381698729,), (1381698731,), (1381698733,), (1381698734,), (1381698735,), (1381698957,), (1381698951,), (1381698953,), (1381698955,), (1381699426,), (1381699427,), (1381699428,), (1381699669,), (1381699672,), (1381699675,), (1381699994,), (1381699999,), (1381700004,), (1381700754,), (1381700757,), (1381700761,), (1381700764,), (1381700767,), (1381701861,), (1381701940,), (1381701942,), (1381702812,), (1381702813,), (1381702814,), (1381702815,), (1381702921,), (1381702922,), (1381702926,), (1381703000,), (1381703100,), (1381703203,), (1381703199,), (1381703200,), (1381703201,), (1381703202,), (1381703401,), (1381703402,), (1381703403,), (1381703404,), (1381703405,), (1381703406,), (1381703782,), (1381703784,), (1381703786,), (1381703788,), (1381704069,), (1381704071,), (1381704073,), (1381704075,), (1381704077,), (1381704079,), (1381704595,), (1381704597,), (1381704599,), (1381704601,), (1381704851,), (1381704852,), (1381704853,), (1381704855,), (1381704856,), (1381704857,), (1381704926,), (1381704927,), (1381704928,), (1381704929,), (1381704971,), (1381704972,), (1381704973,), (1381704974,), (1381705033,), (1381705034,), (1381705035,), (1381705036,), (1381705037,), (1381705038,), (1381705074,), (1381705075,), (1381705076,), (1381705208,), (1381705211,), (1381705214,), (1381705217,), (1381705220,), (1381705223,), (1381705465,), (1381705466,), (1381705467,), (1381705468,), (1381705469,), (1381705470,), (1381705537,), (1381705538,), (1381705539,), (1381705540,), (1381705609,), (1381705610,), (1381705612,), (1381705614,), (1381705616,), (1381705864,), (1381705866,), (1381705868,), (1381705869,), (1381706135,), (1381706131,), (1381706132,), (1381706133,), (1381706134,), (1381706300,), (1381706302,), (1381706304,), (1381706491,), (1381706493,), (1381706495,), (1381706497,), (1381706499,), (1381706830,), (1381706832,), (1381706833,), (1381706834,), (1381707111,), (1381707183,), (1381707185,), (1381707187,), (1381707363,), (1381707364,), (1381707365,), (1381707366,), (1381707436,), (1381707437,), (1381707438,), (1381707439,), (1381707440,), (1381707441,), (1381707787,), (1381707789,), (1381707792,), (1381707794,), (1381707960,), (1381707961,), (1381707962,), (1381707963,), (1381708018,), (1381708019,), (1381708020,), (1381708021,), (1381708022,), (1381708076,), (1381708077,), (1381708078,), (1381708345,), (1381708347,), (1381708349,), (1381708351,), (1381708353,), (1381708504,), (1381708505,), (1381708506,), (1381708508,), (1381708509,), (1381708510,), (1381709750,), (1381709753,), (1381709756,), (1381709759,), (1381709763,), (1381709875,), (1381709879,), (1381709883,), (1381709887,), (1381710871,), (1381741764,), (1381741815,), (1381741816,), (1381741907,), (1381741909,), (1381741911,), (1381741913,), (1381741915,), (1381742222,), (1381742300,), (1381742301,), (1381742302,), (1381742303,), (1381742304,), (1381742346,), (1381742428,), (1381742429,), (1381742430,), (1381742431,), (1381742432,), (1381742611,), (1381742615,), (1381742619,), (1381742622,), (1381742841,), (1381742842,), (1381742843,), (1381742844,), (1381742845,), (1381742893,), (1381742894,), (1381742895,), (1381742896,), (1381742948,), (1381742949,), (1381742950,), (1381742953,), (1381743061,), (1381743062,), (1381743063,), (1381743064,), (1381743186,), (1381743187,), (1381743188,), (1381743189,), (1381743249,), (1381743250,), (1381743251,), (1381743252,), (1381743308,), (1381743309,), (1381743421,), (1381743457,), (1381743458,), (1381743459,), (1381743460,), (1381743533,), (1381743534,), (1381743535,), (1381743536,), (1381743537,), (1381743538,), (1381744115,), (1381744118,), (1381744122,), (1381744125,), (1381744128,), (1381744238,), (1381744241,), (1381744244,), (1381744982,), (1381744970,), (1381744973,), (1381744976,), (1381744979,), (1381745504,), (1381745508,), (1381745511,), (1381745514,), (1381745816,), (1381745819,), (1381745822,), (1381745825,), (1381745828,), (1381746484,), (1381746486,), (1381746488,), (1381746490,), (1381746492,), (1381746927,), (1381746930,), (1381746933,), (1381746936,), (1381746938,), (1381746940,), (1381747504,), (1381747506,), (1381747508,), (1381747510,), (1381747512,), (1381748014,), (1381748156,), (1381748159,), (1381748162,), (1381748736,), (1381748738,), (1381748740,), (1381748742,), (1381748744,), (1381748746,), (1381749102,), (1381749105,), (1381749108,), (1381749111,), (1381749113,), (1381749584,), (1381749586,), (1381749588,), (1381749590,), (1381750167,), (1381750169,), (1381750171,), (1381750173,), (1381750175,), (1381750567,), (1381750569,), (1381750571,), (1381750573,), (1381750575,), (1381751008,), (1381751011,), (1381751014,), (1381751166,), (1381751167,), (1381751168,), (1381751169,), (1381751170,), (1381751249,), (1381751250,), (1381751251,), (1381751252,), (1381751253,), (1381751365,), (1381751362,), (1381751363,), (1381751364,), (1381751603,), (1381751605,), (1381751607,), (1381751609,), (1381751611,), (1381751613,), (1381751808,), (1381751809,), (1381751810,), (1381751811,), (1381752286,), (1381752288,), (1381752290,), (1381752292,), (1381752294,), (1381752469,), (1381752470,), (1381752471,), (1381752472,), (1381752567,), (1381752568,), (1381752569,), (1381752570,), (1381752624,), (1381752625,), (1381752626,), (1381752627,), (1381752628,), (1381752630,), (1381752705,), (1381752706,), (1381752707,), (1381752708,), (1381752709,), (1381752870,), (1381752872,), (1381752874,), (1381752876,), (1381752878,), (1381753277,), (1381753279,), (1381753281,), (1381753283,), (1381753285,), (1381753684,), (1381753686,), (1381753688,), (1381753690,), (1381753692,), (1381753694,), (1381753966,), (1381753967,), (1381753968,), (1381753969,), (1381754028,), (1381754029,), (1381754030,), (1381754031,), (1381754032,), (1381754033,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05092025': {'nb_upload': 63, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26578990]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] map_info['map_portfolio_photo'] : {26578990: [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705, 1381752630, 1381752628, 1381752627, 1381752626, 1381752625, 1381752624, 1381752570, 1381752569, 1381752568, 1381752567, 1381752472, 1381752471, 1381752470, 1381752469, 1381752294, 1381752292, 1381752290, 1381752288, 1381752286, 1381751811, 1381751810, 1381751809, 1381751808, 1381751613, 1381751611, 1381751609, 1381751607, 1381751605, 1381751603, 1381751364, 1381751363, 1381751362]} final : True mtd_id 4302 list_pids : [1381754033, 1381754032, 1381754031, 1381754030, 1381754029, 1381754028, 1381753969, 1381753968, 1381753967, 1381753966, 1381753694, 1381753692, 1381753690, 1381753688, 1381753686, 1381753684, 1381753285, 1381753283, 1381753281, 1381753279, 1381753277, 1381752878, 1381752876, 1381752874, 1381752872, 1381752870, 1381752709, 1381752708, 1381752707, 1381752706, 1381752705] Looping around the photos to save general results len do output : 1 /26578990Didn'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, '3670164') ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164') ('4302', None, None, None, None, None, None, None, '3670164') ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 32 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '26578990', 'None', None, None, None, None, '3670164'), ('4302', '26578990', '1381754033', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754032', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754031', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754030', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754029', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381754028', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753969', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753968', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753967', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753966', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753694', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753692', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753690', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753688', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753686', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753684', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753285', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753283', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753281', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753279', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381753277', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752878', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752876', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752874', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752872', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752870', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752709', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752708', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752707', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752706', None, None, None, None, None, '3670164'), ('4302', '26578990', '1381752705', None, None, None, None, None, '3670164')] time used for this insertion : 0.017801761627197266 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.721137046813965 time spend to save output : 0.01813030242919922 total time spend for step 5 : 2.739267349243164 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 (3670164) 2.89user 2.63system 0:15.23elapsed 36%CPU (0avgtext+0avgdata 163152maxresident)k 37912inputs+23920outputs (157major+77265minor)pagefaults 0swaps