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 : 3132752 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 (2656769) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2656769) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244713 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2656769'] with mtr_portfolio_ids : ['21244713'] and first list_photo_ids : [] new path : /proc/3132752/ Name: python3 Umask: 0002 State: R (running) Tgid: 3132752 Ngid: 0 Pid: 3132752 PPid: 3132748 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3132752 NSpid: 3132752 NSpgid: 3130929 NSsid: 3130929 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98352 kB VmRSS: 98352 kB RssAnon: 59748 kB RssFile: 38604 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 556 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 59 nonvoluntary_ctxt_switches: 275 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3132752', 'Ngid': '0', 'Pid': '3132752', 'PPid': '3132748', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3132752', 'NSpid': '3132752', 'NSpgid': '3130929', 'NSsid': '3130929', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98352 kB', 'VmRSS': '98352 kB', 'RssAnon': '59748 kB', 'RssFile': '38604 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '556 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '59', 'nonvoluntary_ctxt_switches': '275'} ('datou_batch_current', '3132752', '1106844', '0', '1106844', '865592', '98352', b'', 'marlene', '2656769') 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 (21244713) 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 (2656769 ) ) 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 (21244713) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1342687110, 'portfolio_id': 21244713}, {'photo_id': 1342686534, 'portfolio_id': 21244713}, {'photo_id': 1342686439, 'portfolio_id': 21244713}, {'photo_id': 1342686207, 'portfolio_id': 21244713}, {'photo_id': 1342686186, 'portfolio_id': 21244713}, {'photo_id': 1342686133, 'portfolio_id': 21244713}, {'photo_id': 1342686079, 'portfolio_id': 21244713}, {'photo_id': 1342685993, 'portfolio_id': 21244713}, {'photo_id': 1342685614, 'portfolio_id': 21244713}, {'photo_id': 1342684834, 'portfolio_id': 21244713}, {'photo_id': 1342684830, 'portfolio_id': 21244713}, {'photo_id': 1342684756, 'portfolio_id': 21244713}, {'photo_id': 1342684749, 'portfolio_id': 21244713}, {'photo_id': 1342684555, 'portfolio_id': 21244713}, {'photo_id': 1342684483, 'portfolio_id': 21244713}, {'photo_id': 1342684100, 'portfolio_id': 21244713}, {'photo_id': 1342684075, 'portfolio_id': 21244713}, {'photo_id': 1342684070, 'portfolio_id': 21244713}, {'photo_id': 1342684023, 'portfolio_id': 21244713}, {'photo_id': 1342683767, 'portfolio_id': 21244713}, {'photo_id': 1342683764, 'portfolio_id': 21244713}, {'photo_id': 1342683758, 'portfolio_id': 21244713}, {'photo_id': 1342683666, 'portfolio_id': 21244713}, {'photo_id': 1342683610, 'portfolio_id': 21244713}, {'photo_id': 1342683606, 'portfolio_id': 21244713}, {'photo_id': 1342683462, 'portfolio_id': 21244713}, {'photo_id': 1342683459, 'portfolio_id': 21244713}, {'photo_id': 1342683384, 'portfolio_id': 21244713}, {'photo_id': 1342682919, 'portfolio_id': 21244713}, {'photo_id': 1342682912, 'portfolio_id': 21244713}, {'photo_id': 1342682903, 'portfolio_id': 21244713}] map_portfolio_id_photo_id: {21244713: [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903]} ##### 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.04909801483154297 #### 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 Tue Mar 11 05:50:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21244713) 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 : 21244713 get user id for portfolio 21244713 get sub ptf for main ptf 21244713, type 3726 and hashtags ['Carton_gris', 'cartonnette', 'kraft', 'environnement', 'plastique', 'mal_croppe', 'flou', 'autre_refus', 'Teint_Dans_La_Masse', 'metal', 'papier', 'Carton_brun'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21244713 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','kraft','environnement','plastique','mal_croppe','flou','autre_refus','Teint_Dans_La_Masse','metal','papier','Carton_brun')) 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`=21244713 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','kraft','environnement','plastique','mal_croppe','flou','autre_refus','Teint_Dans_La_Masse','metal','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21244713, 'sub_port_id': 21244826, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833799, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'mal_croppe': {'main_port_id': 21244713, 'sub_port_id': 21244828, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833800, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'papier': {'main_port_id': 21244713, 'sub_port_id': 21244830, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833801, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'flou': {'main_port_id': 21244713, 'sub_port_id': 21244832, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833802, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'metal': {'main_port_id': 21244713, 'sub_port_id': 21244834, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833803, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'Carton_brun': {'main_port_id': 21244713, 'sub_port_id': 21244836, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833804, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'Carton_gris': {'main_port_id': 21244713, 'sub_port_id': 21244838, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833805, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'kraft': {'main_port_id': 21244713, 'sub_port_id': 21244840, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833806, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'cartonnette': {'main_port_id': 21244713, 'sub_port_id': 21244842, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833807, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'plastique': {'main_port_id': 21244713, 'sub_port_id': 21244844, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833808, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'environnement': {'main_port_id': 21244713, 'sub_port_id': 21244846, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833809, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}, 'autre_refus': {'main_port_id': 21244713, 'sub_port_id': 21244849, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833810, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244826 , 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=21244713 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 (21244826) result : ((1342684188,), (1342684308,), (1342684311,), (1342684315,), (1342684591,), (1342684593,), (1342684905,), (1342684908,), (1342685838,), (1342686980,), (1342686982,), (1342687673,), (1342687674,), (1342687676,), (1342687679,), (1342687681,), (1342688522,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244828 , 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=21244713 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 (21244828) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244830 , 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=21244713 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 (21244830) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244832 , 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=21244713 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 (21244832) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244834 , 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=21244713 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 (21244834) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244836 , 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=21244713 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 (21244836) result : ((1342684201,), (1342684202,), (1342684203,), (1342684389,), (1342684393,), (1342684397,), (1342684946,), (1342684948,), (1342684950,), (1342685265,), (1342685266,), (1342685859,), (1342685861,), (1342685862,), (1342687072,), (1342687073,), (1342687074,), (1342687075,), (1342687076,), (1342687700,), (1342687701,), (1342687703,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244838 , 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=21244713 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 (21244838) result : ((1342684197,), (1342684198,), (1342684927,), (1342684929,), (1342685234,), (1342685235,), (1342685238,), (1342685239,), (1342685240,), (1342685241,), (1342685242,), (1342685257,), (1342685258,), (1342687002,), (1342687003,), (1342687004,), (1342688552,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244840 , 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=21244713 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 (21244840) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244842 , 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=21244713 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 (21244842) result : ((1342684363,), (1342684937,), (1342684939,), (1342685254,), (1342685267,), (1342687008,), (1342687009,), (1342687692,), (1342688570,), (1342688571,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244844 , 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=21244713 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 (21244844) result : ((1342684418,), (1342685289,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244846 , 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=21244713 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 (21244846) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21244849 , 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=21244713 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 (21244849) result : ((1342684192,), (1342684193,), (1342684194,), (1342684334,), (1342684336,), (1342684344,), (1342684614,), (1342684616,), (1342684916,), (1342684918,), (1342685183,), (1342685185,), (1342685187,), (1342685188,), (1342685681,), (1342685683,), (1342685848,), (1342685849,), (1342686992,), (1342687687,), (1342687688,), (1342687691,), (1342688541,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21244713) result : ((1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,)) 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 (1342684100) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21244713 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','kraft','environnement','plastique','mal_croppe','flou','autre_refus','Teint_Dans_La_Masse','metal','papier','Carton_brun')) 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`=21244713 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','cartonnette','kraft','environnement','plastique','mal_croppe','flou','autre_refus','Teint_Dans_La_Masse','metal','papier','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 21244713, 'sub_port_id': 21244850, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833811, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'mal_croppe': {'main_port_id': 21244713, 'sub_port_id': 21244851, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833812, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'papier': {'main_port_id': 21244713, 'sub_port_id': 21244852, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833813, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'flou': {'main_port_id': 21244713, 'sub_port_id': 21244853, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833814, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'metal': {'main_port_id': 21244713, 'sub_port_id': 21244854, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833815, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'Carton_brun': {'main_port_id': 21244713, 'sub_port_id': 21244855, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833816, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'Carton_gris': {'main_port_id': 21244713, 'sub_port_id': 21244856, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833817, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'kraft': {'main_port_id': 21244713, 'sub_port_id': 21244857, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833818, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'cartonnette': {'main_port_id': 21244713, 'sub_port_id': 21244858, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833819, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'plastique': {'main_port_id': 21244713, 'sub_port_id': 21244859, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833820, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'environnement': {'main_port_id': 21244713, 'sub_port_id': 21244860, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833821, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 23, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}, 'autre_refus': {'main_port_id': 21244713, 'sub_port_id': 21244861, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13833822, 'last_updated_at': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_desc': datetime.datetime(2025, 3, 10, 22, 33, 57), 'last_updated_at_asc': datetime.datetime(2025, 3, 10, 22, 23, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244850,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244826 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244851,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244828 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244852,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244830 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244853,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244832 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244854,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244834 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244855,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244836 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244856,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244838 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244857,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244840 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244858,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244842 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244859,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244844 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244860,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244846 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21244861,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21244849 lien utilise dans velours : https://www.fotonower.com/velours/21244850,21244851,21244852,21244853,21244854,21244855,21244856,21244857,21244858,21244859,21244860,21244861?tags=Teint_Dans_La_Masse,mal_croppe,papier,flou,metal,Carton_brun,Carton_gris,kraft,cartonnette,plastique,environnement,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21244713]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] map_info['map_portfolio_photo'] : {21244713: [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903]} final : False mtd_id 4302 list_pids : [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] Looping around the photos to save general results len do output : 1 /21244713. 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, '2656769') ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769') 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, '21244713', "{'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849}", None, None, None, None, '2656769'), ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769')] time used for this insertion : 0.016577959060668945 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.48928403854370117 time spend to save output : 0.017087221145629883 total time spend for step 1 : 0.506371259689331 step2:final Tue Mar 11 05:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21244713) 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 21244713 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1342682919,1342682912,1342682903,1342683462,1342683459,1342683384,1342683666,1342683610,1342683606,1342683767,1342683764,1342683758,1342684100,1342684075,1342684070,1342684023,1342684555,1342684483,1342684756,1342684749,1342684834,1342684830,1342685993,1342685614,1342686207,1342686186,1342686133,1342686079,1342686534,1342686439,1342687110); 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([21244713]) Inside saveOutput : final : False verbose : True original output for save of step final : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} new output for save of step final : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] map_info['map_portfolio_photo'] : {21244713: [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903]} final : False mtd_id 4302 list_pids : [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] Looping around the photos to save general results len do output : 31 /1342687110.Didn't retrieve data . /1342686534.Didn't retrieve data . /1342686439.Didn't retrieve data . /1342686207.Didn't retrieve data . /1342686186.Didn't retrieve data . /1342686133.Didn't retrieve data . /1342686079.Didn't retrieve data . /1342685993.Didn't retrieve data . /1342685614.Didn't retrieve data . /1342684834.Didn't retrieve data . /1342684830.Didn't retrieve data . /1342684756.Didn't retrieve data . /1342684749.Didn't retrieve data . /1342684555.Didn't retrieve data . /1342684483.Didn't retrieve data . /1342684100.Didn't retrieve data . /1342684075.Didn't retrieve data . /1342684070.Didn't retrieve data . /1342684023.Didn't retrieve data . /1342683767.Didn't retrieve data . /1342683764.Didn't retrieve data . /1342683758.Didn't retrieve data . /1342683666.Didn't retrieve data . /1342683610.Didn't retrieve data . /1342683606.Didn't retrieve data . /1342683462.Didn't retrieve data . /1342683459.Didn't retrieve data . /1342683384.Didn't retrieve data . /1342682919.Didn't retrieve data . /1342682912.Didn't retrieve data . /1342682903.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, '2656769') ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769') 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', '21244713', '1342687110', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686534', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686439', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686207', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686186', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686133', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342686079', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342685993', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342685614', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684834', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684830', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684756', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684749', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684555', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684483', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684100', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684075', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684070', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342684023', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683767', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683764', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683758', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683666', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683610', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683606', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683462', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683459', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342683384', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342682919', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342682912', '0.12359223454251024', None, None, None, None, '2656769'), ('4302', '21244713', '1342682903', '0.12359223454251024', None, None, None, None, '2656769')] time used for this insertion : 0.025812387466430664 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0739293098449707 time spend to save output : 0.026970624923706055 total time spend for step 2 : 0.10089993476867676 step3:velours_tree Tue Mar 11 05:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21244713: [{'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849}]} input_args_next_step : {21244713: ()} output_args : {21244713: [{'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849}]} args : 21244713 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21244713) 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([21244713]) 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.36389803886413574 time spend to save output : 6.175041198730469e-05 total time spend for step 3 : 0.36395978927612305 step4:send_mail_cod Tue Mar 11 05:50:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} input_args_next_step : {1342687110: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342687110 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686534 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686439 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686207 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686186 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686133 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342686079 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342685993 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342685614 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684834 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684830 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684756 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684749 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684555 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684483 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684100 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684075 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684070 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342684023 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683767 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683764 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683758 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683666 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683610 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683606 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683462 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683459 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342683384 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342682919 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342682912 depend.output_id : 0 input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ()} output_args : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',)} args : 1342682903 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 : {21244713: [{'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849}]} input_args_next_step : {1342687110: ('0.12359223454251024',), 1342686534: ('0.12359223454251024',), 1342686439: ('0.12359223454251024',), 1342686207: ('0.12359223454251024',), 1342686186: ('0.12359223454251024',), 1342686133: ('0.12359223454251024',), 1342686079: ('0.12359223454251024',), 1342685993: ('0.12359223454251024',), 1342685614: ('0.12359223454251024',), 1342684834: ('0.12359223454251024',), 1342684830: ('0.12359223454251024',), 1342684756: ('0.12359223454251024',), 1342684749: ('0.12359223454251024',), 1342684555: ('0.12359223454251024',), 1342684483: ('0.12359223454251024',), 1342684100: ('0.12359223454251024',), 1342684075: ('0.12359223454251024',), 1342684070: ('0.12359223454251024',), 1342684023: ('0.12359223454251024',), 1342683767: ('0.12359223454251024',), 1342683764: ('0.12359223454251024',), 1342683758: ('0.12359223454251024',), 1342683666: ('0.12359223454251024',), 1342683610: ('0.12359223454251024',), 1342683606: ('0.12359223454251024',), 1342683462: ('0.12359223454251024',), 1342683459: ('0.12359223454251024',), 1342683384: ('0.12359223454251024',), 1342682919: ('0.12359223454251024',), 1342682912: ('0.12359223454251024',), 1342682903: ('0.12359223454251024',), 21244713: ()} output_args : {21244713: [{'Teint_Dans_La_Masse': 21244826, 'mal_croppe': 21244828, 'papier': 21244830, 'flou': 21244832, 'metal': 21244834, 'Carton_brun': 21244836, 'Carton_gris': 21244838, 'kraft': 21244840, 'cartonnette': 21244842, 'plastique': 21244844, 'environnement': 21244846, 'autre_refus': 21244849}]} args : 21244713 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.12359223454251024',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21244713) 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 (1342687110,1342686534,1342686439,1342686207,1342686186,1342686133,1342686079,1342685993,1342685614,1342684834,1342684830,1342684756,1342684749,1342684555,1342684483,1342684100,1342684075,1342684070,1342684023,1342683767,1342683764,1342683758,1342683666,1342683610,1342683606,1342683462,1342683459,1342683384,1342682919,1342682912,1342682903) Found this number of photos: 31 ##### Call download_photos : nb_thread : 5 begin to download photo : 1342682903 begin to download photo : 1342683610 begin to download photo : 1342684075 begin to download photo : 1342684834 begin to download photo : 1342686439 download finish for photo 1342684834 begin to download photo : 1342685614 download finish for photo 1342682903 begin to download photo : 1342682912 download finish for photo 1342686439 begin to download photo : 1342686534 download finish for photo 1342683610 begin to download photo : 1342683666 download finish for photo 1342684075 begin to download photo : 1342684100 download finish for photo 1342686534 begin to download photo : 1342687110 download finish for photo 1342682912 begin to download photo : 1342682919 download finish for photo 1342683666 begin to download photo : 1342683758 download finish for photo 1342685614 begin to download photo : 1342685993 download finish for photo 1342684100 begin to download photo : 1342684483 download finish for photo 1342683758 begin to download photo : 1342683764 download finish for photo 1342687110 download finish for photo 1342685993 begin to download photo : 1342686079 download finish for photo 1342682919 begin to download photo : 1342683384 download finish for photo 1342684483 begin to download photo : 1342684555 download finish for photo 1342686079 begin to download photo : 1342686133 download finish for photo 1342683384 begin to download photo : 1342683459 download finish for photo 1342684555 begin to download photo : 1342684749 download finish for photo 1342683764 begin to download photo : 1342683767 download finish for photo 1342686133 begin to download photo : 1342686186 download finish for photo 1342683459 begin to download photo : 1342683462 download finish for photo 1342684749 begin to download photo : 1342684756 download finish for photo 1342683767 begin to download photo : 1342684023 download finish for photo 1342686186 begin to download photo : 1342686207 download finish for photo 1342684756 begin to download photo : 1342684830 download finish for photo 1342683462 begin to download photo : 1342683606 download finish for photo 1342684023 begin to download photo : 1342684070 download finish for photo 1342686207 download finish for photo 1342683606 download finish for photo 1342684830 download finish for photo 1342684070 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette212448281741668631/ imagette212448321741668631/ imagette212448341741668631/ imagette212448401741668631/ length of list_filenames : 31 ; length of list_pids : 31 ; length of list_args : 31 results_Auto_P21244713_11-03-2025_05_50_31.pdf 21244828 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=21244828 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212448281741668631 21244832 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=21244832 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212448321741668631 21244834 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=21244834 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212448341741668631 21244840 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=21244840 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette212448401741668631 21244842 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=21244842 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342684363: '1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591802_0.png', 1342684937: '1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594274_0.png', 1342684939: '1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594310_0.png', 1342685254: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595306_0.png', 1342685267: '1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595415_0.png', 1342687008: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601542_0.png', 1342687009: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602310_0.png', 1342687692: '1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606455_0.png', 1342688570: '1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612024_0.png', 1342688571: '1741642492_138598_1342686439_977afc091933c6f5e2880a3a805ee6ac_rle_crop_3703612046_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/828ed3482951f05f273013e18e4c5ec4_90473352.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e399cc5c6636c5c24e6392c0e5e7a12a_14660158.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/20c22103497ca9814e94bfe7a5640eb7_79237629.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e9ae235a879d95d9d8f6007c283daae2_34161758.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d249c7f3abf0ce00ce6f94f6fa2d221e_83994091.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/cd65ff870ebc5334be1f214b9b9004d0_40749141.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a4438e4e8c3da3983b20b2d2d73920ec_55353364.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/39f14ef9248074ad6fe76cdc9f31147a_39986380.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/813a6f1429a708af6d30829efc1a6536_40443571.png change filename to text .imagette212448421741668631/ imagette212448421741668631/1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606455_0.png.png imagette212448421741668631/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595306_0.png.png imagette212448421741668631/1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612024_0.png.png imagette212448421741668631/1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594310_0.png.png imagette212448421741668631/1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591802_0.png.png imagette212448421741668631/1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595415_0.png.png imagette212448421741668631/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601542_0.png.png imagette212448421741668631/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602310_0.png.png imagette212448421741668631/1741642492_138598_1342686439_977afc091933c6f5e2880a3a805ee6ac_rle_crop_3703612046_0.png.png imagette212448421741668631/1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594274_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/55f07f446970b674e7771ccbad6a6e57_14581325.png imagette212448421741668631 21244844 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=21244844 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342684418: '1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591811_0.png', 1342685289: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595305_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f88f3bad299a7a962b398a835554c080_23897849.png change filename to text .imagette212448441741668632/ imagette212448441741668632/1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591811_0.png.png imagette212448441741668632/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595305_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a7b34e6d22fa88a66c948b0ac33dc1cd_74389821.png imagette212448441741668632 21244849 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=21244849 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342685185: '1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594949_0.png', 1342688541: '1741642492_138598_1342686439_977afc091933c6f5e2880a3a805ee6ac_rle_crop_3703612044_0.png', 1342687691: '1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606459_0.png', 1342687688: '1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606457_0.png', 1342687687: '1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606431_0.png', 1342686992: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602313_0.png', 1342685849: '1741641974_127674_1342684749_672640f61b12679240804ce0a45eff58_rle_crop_3703596363_0.png', 1342685848: '1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596350_0.png', 1342685683: '1741641984_508509_1342684756_737af48bdda983c1bebcb231370b2ec5_rle_crop_3703596117_0.png', 1342685681: '1741641984_508509_1342684756_737af48bdda983c1bebcb231370b2ec5_rle_crop_3703596112_0.png', 1342685188: '1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595404_0.png', 1342685187: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595318_0.png', 1342684192: '1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591592_0.png', 1342685183: '1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594946_0.png', 1342684918: '1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594296_0.png', 1342684916: '1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594280_0.png', 1342684616: '1741641694_124441_1342682903_07509901651e543a8d039daf276329dd_rle_crop_3703591789_0.png', 1342684614: '1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591601_0.png', 1342684344: '1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591780_0.png', 1342684336: '1741641686_501055_1342683666_2d6b7805643989b093227b4bff131a2f_rle_crop_3703591735_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b7a80cca84a05898425208f3517c82df_42442514.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/be3824d16caf44e4ba4598573c4dd145_57730011.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8250df100d2c1fe9dd4b44dd87cc05d7_93180837.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/51f3b1e524d66ced3de2cc842e250f3e_27269474.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f895299677005d74a58b0f08072b725d_74562504.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/274f36007f89d19e0996bfea1cc7ab77_37272379.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9304f50fd9d9a777ce9bd25de78020cc_83766779.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/88c904e4b243cdcc92d208e9bde1f40a_86943718.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2f2e5deefaf995ff71fe8c756b145e52_76133509.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d6ea9029569a0e37b3e56a88f1f3a602_33199012.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1de96cdd2f904901a72e3efe742c1adf_69778055.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/014373fde1310f6ebbe4b86b434f4e82_8001253.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/bd5ecb7d8ab30f58c36ff083be11ff5c_77331305.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1b955802afa9a22df7ae1fca5a8d4f0c_25133826.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/989cbab2420c9652d3aa334b8cb4825c_24697561.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/28f4f6d15e74aa774824eee2adbdc25f_3149087.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/32f75b466d71f9fd6b50c39e2344697e_77235653.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/67d1ec3b4455e614717b845c27a04df1_61904971.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4820add5e6e22f30c0c0c3fe414aca20_11799931.png change filename to text .imagette212448491741668632/ imagette212448491741668632/1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606431_0.png.png imagette212448491741668632/1741642492_138598_1342686439_977afc091933c6f5e2880a3a805ee6ac_rle_crop_3703612044_0.png.png imagette212448491741668632/1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594280_0.png.png imagette212448491741668632/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602313_0.png.png imagette212448491741668632/1741641974_127674_1342684749_672640f61b12679240804ce0a45eff58_rle_crop_3703596363_0.png.png imagette212448491741668632/1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591601_0.png.png imagette212448491741668632/1741641686_501055_1342683666_2d6b7805643989b093227b4bff131a2f_rle_crop_3703591735_0.png.png imagette212448491741668632/1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594296_0.png.png imagette212448491741668632/1741641984_508509_1342684756_737af48bdda983c1bebcb231370b2ec5_rle_crop_3703596117_0.png.png imagette212448491741668632/1741641984_508509_1342684756_737af48bdda983c1bebcb231370b2ec5_rle_crop_3703596112_0.png.png imagette212448491741668632/1741641694_124441_1342682903_07509901651e543a8d039daf276329dd_rle_crop_3703591789_0.png.png imagette212448491741668632/1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591780_0.png.png imagette212448491741668632/1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594949_0.png.png imagette212448491741668632/1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591592_0.png.png imagette212448491741668632/1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595404_0.png.png imagette212448491741668632/1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594946_0.png.png imagette212448491741668632/1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596350_0.png.png imagette212448491741668632/1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606459_0.png.png imagette212448491741668632/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595318_0.png.png imagette212448491741668632/1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606457_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a5b64744a571bcf781217be768cdd71b_17461401.png imagette212448491741668632 21244826 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=21244826 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342685838: '1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596352_0.png', 1342688522: '1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612030_0.png', 1342687681: '1741642349_512680_1342686079_1f861e50237501428d1a8e8a62f88adb_rle_crop_3703606499_0.png', 1342687679: '1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606480_0.png', 1342687676: '1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606489_0.png', 1342687674: '1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606469_0.png', 1342687673: '1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606433_0.png', 1342686982: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602316_0.png', 1342686980: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601551_0.png', 1342684188: '1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591587_0.png', 1342684908: '1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594317_0.png', 1342684905: '1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594311_0.png', 1342684593: '1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591604_0.png', 1342684591: '1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591605_0.png', 1342684315: '1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591807_0.png', 1342684311: '1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591777_0.png', 1342684308: '1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591776_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/5d84579bc4c2bb0e7af88a79ad8ced2d_37822456.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6aa5975a575a2e96b642ec2253a46bd4_56491377.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b1311461cae9f151fdb43d5a1fddfb41_60423872.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a216d9a1828bda915798347ce1513d5a_68233413.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3062b6777037fbef2c3c7af116b9ecfa_43997957.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9cd61e310429069f61d3ec47c0d0f1a1_5979836.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f32b034d8d462902b449912cdfc1196a_86167495.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/fc1535535310083c603ee02c7ed0993b_28031924.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/4cb42b3223a458e595a5243ff29259b0_15003757.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/92ef1f415eec332c75cb97d50389ca9f_89067307.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b80b7616a7074e6ff7256ddb9f4344a8_44847977.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/1b23b898bd01d1d5513385642a208db6_80069680.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/181a2624cd8127766420ea9fc4878460_42977455.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ab47a2bed1e5070f0efdf17a06869ce5_17411137.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/72304c62ab427f88daf35adc180268ac_91941401.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ccd23481b18966648af370e5de09ae79_29868859.png change filename to text .imagette212448261741668634/ imagette212448261741668634/1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612030_0.png.png imagette212448261741668634/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601551_0.png.png imagette212448261741668634/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602316_0.png.png imagette212448261741668634/1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606489_0.png.png imagette212448261741668634/1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591807_0.png.png imagette212448261741668634/1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591604_0.png.png imagette212448261741668634/1741641694_124441_1342683462_6cae1bab32ea8fcbc14fe16f4df81205_rle_crop_3703591605_0.png.png imagette212448261741668634/1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594311_0.png.png imagette212448261741668634/1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591777_0.png.png imagette212448261741668634/1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606433_0.png.png imagette212448261741668634/1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591776_0.png.png imagette212448261741668634/1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596352_0.png.png imagette212448261741668634/1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606480_0.png.png imagette212448261741668634/1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594317_0.png.png imagette212448261741668634/1741642349_512680_1342686079_1f861e50237501428d1a8e8a62f88adb_rle_crop_3703606499_0.png.png imagette212448261741668634/1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591587_0.png.png imagette212448261741668634/1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606469_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/71205be25bc04277535be0684d6759fa_5433494.png imagette212448261741668634 21244836 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=21244836 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342685859: '1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596346_0.png', 1342687703: '1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606482_0.png', 1342687701: '1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606460_0.png', 1342687700: '1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606426_0.png', 1342687076: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602315_0.png', 1342687075: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602312_0.png', 1342687074: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601546_0.png', 1342687073: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601547_0.png', 1342687072: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601548_0.png', 1342685862: '1741641974_127674_1342684749_672640f61b12679240804ce0a45eff58_rle_crop_3703596365_0.png', 1342685861: '1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596349_0.png', 1342684201: '1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591585_0.png', 1342685266: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595317_0.png', 1342685265: '1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594945_0.png', 1342684950: '1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594312_0.png', 1342684948: '1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594292_0.png', 1342684946: '1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594277_0.png', 1342684397: '1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591810_0.png', 1342684393: '1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591808_0.png', 1342684389: '1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591779_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f8ed4914477c7cfdac379f73a81fbb11_25320282.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/42c8a35954961a09fbf7e486ee19dfcc_84328266.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/320903a16a324b77b1a2c951faa8cb23_25525783.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/138d307b52835f2317e1f1f383e40878_85538291.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/980fc7a1875a9e7bcadf2f2603e6930d_84181490.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/deddbc451b946a43f7a1a2d1a8016f7a_35047914.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d15419eac54589bc01f2401d9682ccbb_75776397.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c5bf277b66245da2db14216ed0df9e5c_10794485.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/90a1c388e7ce99c38ad60b8c9f03f218_68389119.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9ac018b0be31e8e4d8423a941a21a069_90764812.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c44abd12c928e7aa400eb186cd9e41da_92208778.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6dff46ba8ea609cdeb4247576915669a_81830112.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6efebe49daa395a0f5542e813339995e_77560216.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3937a010de185ead9e8cc84683b8d5c8_58902980.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/8011abf5da602ad761688073f9ddc555_63172518.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/7e218074df76cda50e59f0ee5253f341_35564582.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/b52cacb2d0ede06f0ef761c3489ac933_79448482.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d3bf53b6aaa8ac69592c5e6b87545207_93525779.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/425dcc2ec548e8a3edd3e4e2c42a78f3_35735174.png change filename to text .imagette212448361741668636/ imagette212448361741668636/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601546_0.png.png imagette212448361741668636/1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596346_0.png.png imagette212448361741668636/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601547_0.png.png imagette212448361741668636/1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591810_0.png.png imagette212448361741668636/1741642349_512680_1342686186_af2340d982edea00bdd9063498c00721_rle_crop_3703606460_0.png.png imagette212448361741668636/1741642349_512680_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7_rle_crop_3703606426_0.png.png imagette212448361741668636/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602312_0.png.png imagette212448361741668636/1741641866_505486_1342684023_8dd600fa23c89ba370fb7e5651237cec_rle_crop_3703594312_0.png.png imagette212448361741668636/1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594945_0.png.png imagette212448361741668636/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595317_0.png.png imagette212448361741668636/1741642349_512680_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8_rle_crop_3703606482_0.png.png imagette212448361741668636/1741641686_501055_1342683459_aef75c05c873c08f465da4a1df270d9a_rle_crop_3703591779_0.png.png imagette212448361741668636/1741641686_501055_1342683384_d6e64e40d13dbe5df0091e12ad7197d6_rle_crop_3703591808_0.png.png imagette212448361741668636/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602315_0.png.png imagette212448361741668636/1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594292_0.png.png imagette212448361741668636/1741641974_127674_1342684749_672640f61b12679240804ce0a45eff58_rle_crop_3703596365_0.png.png imagette212448361741668636/1741641974_127674_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2_rle_crop_3703596349_0.png.png imagette212448361741668636/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601548_0.png.png imagette212448361741668636/1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591585_0.png.png imagette212448361741668636/1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594277_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/ccc240544e95f146d4e879b97e90aec5_24866555.png imagette212448361741668636 21244838 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=21244838 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1342685240: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595308_0.png', 1342688552: '1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612032_0.png', 1342687004: '1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602309_0.png', 1342687003: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601537_0.png', 1342687002: '1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601539_0.png', 1342685258: '1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595416_0.png', 1342685257: '1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595423_0.png', 1342685242: '1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595408_0.png', 1342685241: '1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595396_0.png', 1342684197: '1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591589_0.png', 1342685239: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595313_0.png', 1342685238: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595311_0.png', 1342685235: '1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595310_0.png', 1342685234: '1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594948_0.png', 1342684929: '1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594291_0.png', 1342684927: '1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594273_0.png', 1342684198: '1741641674_124038_1342683606_6d6375a6e0a975e5e534976b3d8fa886_rle_crop_3703591680_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/750ef3148a3b3838a5d1778de4ee873e_96140150.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/0e8b81060c5d77397b0d9becc1965834_51876806.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/f90825d9338a2473967942078560c6f8_58649682.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/e142100f0fc9cbe4c92187874e31ca14_88617273.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/2e7fad981753c61f81d1f62ff758d773_23935059.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/d71f07c2c72beaeb3564e13895d96045_68062628.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/9cc5c9e73cff3b66090e47db7bfff8de_46175266.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/a9dc6b0b7da3bd87da00f24e7c809be7_43756165.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/286140d43503bcb7640ddfaff907e982_26164521.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/eb6b4f5c86318dfa2096710b2469ad3f_19832857.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/71784a172c0388b3da9e6a30f0698c69_83778423.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/377e455278f648c5cdd7729ec5771493_29124707.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/325e6b61d14a84c61b0c1cf7b81b892e_42001342.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/01892d84ab3d5e62d9438bb83679406a_62896997.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/3f5fa3e94c27e4354c52567cc69bed90_7525976.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/93e8a4dc84ca846e74bb54fa5081031b_2911560.png change filename to text .imagette212448381741668637/ imagette212448381741668637/1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595416_0.png.png imagette212448381741668637/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595310_0.png.png imagette212448381741668637/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595311_0.png.png imagette212448381741668637/1741641674_124038_1342683606_6d6375a6e0a975e5e534976b3d8fa886_rle_crop_3703591680_0.png.png imagette212448381741668637/1741641893_126618_1342683767_157eb24bf90416028d01a610a5a6554e_rle_crop_3703595423_0.png.png imagette212448381741668637/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595308_0.png.png imagette212448381741668637/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601537_0.png.png imagette212448381741668637/1741642216_129162_1342685993_395f448bb98df7da5f8a61048c72bec9_rle_crop_3703601539_0.png.png imagette212448381741668637/1741642492_138598_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32_rle_crop_3703612032_0.png.png imagette212448381741668637/1741641866_505486_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0_rle_crop_3703594273_0.png.png imagette212448381741668637/1741641871_126391_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0_rle_crop_3703594948_0.png.png imagette212448381741668637/1741641866_505486_1342684070_bcb432a321d66bbac729cfb99a5bdf1d_rle_crop_3703594291_0.png.png imagette212448381741668637/1741642216_129162_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8_rle_crop_3703602309_0.png.png imagette212448381741668637/1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595408_0.png.png imagette212448381741668637/1741641871_126391_1342683764_1559dbdc49adbc3243193b9669845a99_rle_crop_3703595313_0.png.png imagette212448381741668637/1741641871_126391_1342683758_531c288c41966777083b95ebd751475d_rle_crop_3703595396_0.png.png imagette212448381741668637/1741641674_124038_1342683610_d0a5597f0f39adc373a9e24db8a1794d_rle_crop_3703591589_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/59fcfdf97d356a43accf6e91d3f51bd0_61896847.png imagette212448381741668637 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21244713 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21244850,21244851,21244852,21244853,21244854,21244855,21244856,21244857,21244858,21244859,21244860,21244861?tags=Teint_Dans_La_Masse,mal_croppe,papier,flou,metal,Carton_brun,Carton_gris,kraft,cartonnette,plastique,environnement,autre_refus your option no_mail is active, we will not send the real mail to your client args[1342687110] : ('0.12359223454251024',) no score found for photo 1342687110 We are sending mail with results at report@fotonower.com args[1342686534] : ('0.12359223454251024',) no score found for photo 1342686534 We are sending mail with results at report@fotonower.com args[1342686439] : ('0.12359223454251024',) no score found for photo 1342686439 We are sending mail with results at report@fotonower.com args[1342686207] : ('0.12359223454251024',) no score found for photo 1342686207 We are sending mail with results at report@fotonower.com args[1342686186] : ('0.12359223454251024',) no score found for photo 1342686186 We are sending mail with results at report@fotonower.com args[1342686133] : ('0.12359223454251024',) no score found for photo 1342686133 We are sending mail with results at report@fotonower.com args[1342686079] : ('0.12359223454251024',) no score found for photo 1342686079 We are sending mail with results at report@fotonower.com args[1342685993] : ('0.12359223454251024',) no score found for photo 1342685993 We are sending mail with results at report@fotonower.com args[1342685614] : ('0.12359223454251024',) no score found for photo 1342685614 We are sending mail with results at report@fotonower.com args[1342684834] : ('0.12359223454251024',) no score found for photo 1342684834 We are sending mail with results at report@fotonower.com args[1342684830] : ('0.12359223454251024',) no score found for photo 1342684830 We are sending mail with results at report@fotonower.com args[1342684756] : ('0.12359223454251024',) no score found for photo 1342684756 We are sending mail with results at report@fotonower.com args[1342684749] : ('0.12359223454251024',) no score found for photo 1342684749 We are sending mail with results at report@fotonower.com args[1342684555] : ('0.12359223454251024',) no score found for photo 1342684555 We are sending mail with results at report@fotonower.com args[1342684483] : ('0.12359223454251024',) no score found for photo 1342684483 We are sending mail with results at report@fotonower.com args[1342684100] : ('0.12359223454251024',) no score found for photo 1342684100 We are sending mail with results at report@fotonower.com args[1342684075] : ('0.12359223454251024',) no score found for photo 1342684075 We are sending mail with results at report@fotonower.com args[1342684070] : ('0.12359223454251024',) no score found for photo 1342684070 We are sending mail with results at report@fotonower.com args[1342684023] : ('0.12359223454251024',) no score found for photo 1342684023 We are sending mail with results at report@fotonower.com args[1342683767] : ('0.12359223454251024',) no score found for photo 1342683767 We are sending mail with results at report@fotonower.com args[1342683764] : ('0.12359223454251024',) no score found for photo 1342683764 We are sending mail with results at report@fotonower.com args[1342683758] : ('0.12359223454251024',) no score found for photo 1342683758 We are sending mail with results at report@fotonower.com args[1342683666] : ('0.12359223454251024',) no score found for photo 1342683666 We are sending mail with results at report@fotonower.com args[1342683610] : ('0.12359223454251024',) no score found for photo 1342683610 We are sending mail with results at report@fotonower.com args[1342683606] : ('0.12359223454251024',) no score found for photo 1342683606 We are sending mail with results at report@fotonower.com args[1342683462] : ('0.12359223454251024',) no score found for photo 1342683462 We are sending mail with results at report@fotonower.com args[1342683459] : ('0.12359223454251024',) no score found for photo 1342683459 We are sending mail with results at report@fotonower.com args[1342683384] : ('0.12359223454251024',) no score found for photo 1342683384 We are sending mail with results at report@fotonower.com args[1342682919] : ('0.12359223454251024',) no score found for photo 1342682919 We are sending mail with results at report@fotonower.com args[1342682912] : ('0.12359223454251024',) no score found for photo 1342682912 We are sending mail with results at report@fotonower.com args[1342682903] : ('0.12359223454251024',) no score found for photo 1342682903 We are sending mail with results at report@fotonower.com refus_total : 0.12359223454251024 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=21244713 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_P21244713_11-03-2025_05_50_31.pdf results_Auto_P21244713_11-03-2025_05_50_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_11-03-2025_05_50_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21244713','results_Auto_P21244713_11-03-2025_05_50_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_11-03-2025_05_50_31.pdf','pdf','','0.5','0.12359223454251024') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21244713]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] map_info['map_portfolio_photo'] : {21244713: [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903]} final : False mtd_id 4302 list_pids : [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] 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, '2656769') ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769') 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', '21244713', '1342687110', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769')] time used for this insertion : 0.020467042922973633 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.088347673416138 time spend to save output : 0.02097487449645996 total time spend for step 4 : 12.109322547912598 step5:split_time_score Tue Mar 11 05:50:41 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 : ['21244713'] 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 : [('21244713',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21244713) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1342686439: {'path': 'temp/1741668629_3132752_1342686439_977afc091933c6f5e2880a3a805ee6ac.jpg', 'extension': 'jpg'}, 1342686534: {'path': 'temp/1741668629_3132752_1342686534_ea50564301d8f065d7f6dc4ac14cbbf7.jpg', 'extension': 'jpg'}, 1342687110: {'path': 'temp/1741668629_3132752_1342687110_08ecce3ebda0cb27db2ed8df49ef2b32.jpg', 'extension': 'jpg'}, 1342684834: {'path': 'temp/1741668629_3132752_1342684834_a12aa6162a3a36f6cb309b29bd46ffd2.jpg', 'extension': 'jpg'}, 1342685614: {'path': 'temp/1741668629_3132752_1342685614_7b851798513c6fc551d913652c929791.jpg', 'extension': 'jpg'}, 1342685993: {'path': 'temp/1741668629_3132752_1342685993_395f448bb98df7da5f8a61048c72bec9.jpg', 'extension': 'jpg'}, 1342686079: {'path': 'temp/1741668629_3132752_1342686079_1f861e50237501428d1a8e8a62f88adb.jpg', 'extension': 'jpg'}, 1342686133: {'path': 'temp/1741668629_3132752_1342686133_af15e5cf8e4d7e71420a985dff1f7ba8.jpg', 'extension': 'jpg'}, 1342686186: {'path': 'temp/1741668629_3132752_1342686186_af2340d982edea00bdd9063498c00721.jpg', 'extension': 'jpg'}, 1342686207: {'path': 'temp/1741668629_3132752_1342686207_e9c354473d3b293f3c6c5fddcb40d5bf.jpg', 'extension': 'jpg'}, 1342682903: {'path': 'temp/1741668629_3132752_1342682903_07509901651e543a8d039daf276329dd.jpg', 'extension': 'jpg'}, 1342682912: {'path': 'temp/1741668629_3132752_1342682912_cdfd357e0a93a2d4f807add23de5abfd.jpg', 'extension': 'jpg'}, 1342682919: {'path': 'temp/1741668629_3132752_1342682919_c4c909fefea908538aad621217bb1304.jpg', 'extension': 'jpg'}, 1342683384: {'path': 'temp/1741668629_3132752_1342683384_d6e64e40d13dbe5df0091e12ad7197d6.jpg', 'extension': 'jpg'}, 1342683459: {'path': 'temp/1741668629_3132752_1342683459_aef75c05c873c08f465da4a1df270d9a.jpg', 'extension': 'jpg'}, 1342683462: {'path': 'temp/1741668629_3132752_1342683462_6cae1bab32ea8fcbc14fe16f4df81205.jpg', 'extension': 'jpg'}, 1342683606: {'path': 'temp/1741668629_3132752_1342683606_6d6375a6e0a975e5e534976b3d8fa886.jpg', 'extension': 'jpg'}, 1342684075: {'path': 'temp/1741668629_3132752_1342684075_4a7bfd65b5ad052650ed4ca8f23fd7d0.jpg', 'extension': 'jpg'}, 1342684100: {'path': 'temp/1741668629_3132752_1342684100_b51a2afeb88f2ece5a0dca016e1b1cd0.jpg', 'extension': 'jpg'}, 1342684483: {'path': 'temp/1741668629_3132752_1342684483_6353f4d06ab760296ee600de4e3c1922.jpg', 'extension': 'jpg'}, 1342684555: {'path': 'temp/1741668629_3132752_1342684555_c2c232ebb85f87408b132fa39dfb8c32.jpg', 'extension': 'jpg'}, 1342684749: {'path': 'temp/1741668629_3132752_1342684749_672640f61b12679240804ce0a45eff58.jpg', 'extension': 'jpg'}, 1342684756: {'path': 'temp/1741668629_3132752_1342684756_737af48bdda983c1bebcb231370b2ec5.jpg', 'extension': 'jpg'}, 1342684830: {'path': 'temp/1741668629_3132752_1342684830_08c1272c599d8f2a7b1af2d5073c4ec8.jpg', 'extension': 'jpg'}, 1342683610: {'path': 'temp/1741668629_3132752_1342683610_d0a5597f0f39adc373a9e24db8a1794d.jpg', 'extension': 'jpg'}, 1342683666: {'path': 'temp/1741668629_3132752_1342683666_2d6b7805643989b093227b4bff131a2f.jpg', 'extension': 'jpg'}, 1342683758: {'path': 'temp/1741668629_3132752_1342683758_531c288c41966777083b95ebd751475d.jpg', 'extension': 'jpg'}, 1342683764: {'path': 'temp/1741668629_3132752_1342683764_1559dbdc49adbc3243193b9669845a99.jpg', 'extension': 'jpg'}, 1342683767: {'path': 'temp/1741668629_3132752_1342683767_157eb24bf90416028d01a610a5a6554e.jpg', 'extension': 'jpg'}, 1342684023: {'path': 'temp/1741668629_3132752_1342684023_8dd600fa23c89ba370fb7e5651237cec.jpg', 'extension': 'jpg'}, 1342684070: {'path': 'temp/1741668629_3132752_1342684070_bcb432a321d66bbac729cfb99a5bdf1d.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 = 21244713; (('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 = 21244713 group by h (('22', 31),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=21244713 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 (21244713) 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 (21244713) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 10032025 21244713 Nombre de photos uploadées : 31 / 23040 (0%) 10032025 21244713 Nombre de photos taguées (types de déchets): 0 / 31 (0%) 10032025 21244713 Nombre de photos taguées (volume) : 0 / 31 (0%) [{'photo_id': 1342682919, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/c4c909fefea908538aad621217bb1304.jpg', 'username': None, 'uploaded_at': 1741641457, 'text': 'image_10032025_22_15_04_10153.jpg'}, {'photo_id': 1342682912, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/cdfd357e0a93a2d4f807add23de5abfd.jpg', 'username': None, 'uploaded_at': 1741641457, 'text': 'image_10032025_22_16_04_010142m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342682903, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/07509901651e543a8d039daf276329dd.jpg', 'username': None, 'uploaded_at': 1741641457, 'text': 'image_10032025_22_16_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1342683462, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/10/6cae1bab32ea8fcbc14fe16f4df81205.jpg', 'username': None, 'uploaded_at': 1741641517, 'text': 'image_10032025_22_16_53_010139m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.76837158203125e-06 elapsed_time : order_list_meta_photo_and_scores 9.5367431640625e-06 ??????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0023834705352783203 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21244713, '2025-03-10' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1654691,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02744460105895996 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= 1654691 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21222729, 'dashboard_result_id': 9332419, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222729_11-03-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222812, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21222733, 'dashboard_result_id': 9332420, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222733_11-03-2025_05_34_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222747, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21223952, 'dashboard_result_id': 9332421, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21223952_11-03-2025_05_35_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21223978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21223979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21223980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21223981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21223982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21223983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21223984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21223985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21223986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21223987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21223988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21223989, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21224728, 'dashboard_result_id': 9332422, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21224728_11-03-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21224741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21224742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21224743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21224744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21224745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21224746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21224747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21224748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21224749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21224750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21224751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21224752, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21225304, 'dashboard_result_id': 9332423, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225304_11-03-2025_05_36_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21225323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21225324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21225330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21225346, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21225938, 'dashboard_result_id': 9332424, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225938_11-03-2025_05_37_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21225991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21226001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226002, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21226845, 'dashboard_result_id': 9332425, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21226845_11-03-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21226848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21226849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21226850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21226851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21226852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21226853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21226854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21226855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21226857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21226858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226859, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21227642, 'dashboard_result_id': 9332426, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_11-03-2025_05_38_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21228123, 'dashboard_result_id': 9332427, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_11-03-2025_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21229167, 'dashboard_result_id': 9332428, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_11-03-2025_05_39_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21229599, 'dashboard_result_id': 9332429, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_11-03-2025_05_40_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21231378, 'dashboard_result_id': 9332430, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21231378_11-03-2025_05_41_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21231437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21231438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21231439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21231440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21231441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21231442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21231443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21231444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21231445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21231446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21231447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21231448, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21232212, 'dashboard_result_id': 9332431, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232212_11-03-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21232305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232316, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21232960, 'dashboard_result_id': 9332432, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232960_11-03-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21232970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232972, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21233690, 'dashboard_result_id': 9332433, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21233690_11-03-2025_05_42_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21233725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21233726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21233727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21233728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21233729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21233731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21233733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21233735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21233738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21233740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21233742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21233744, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21234496, 'dashboard_result_id': 9332434, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21234496_11-03-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21234534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21234535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21234536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21234537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21234538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21234539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21234540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21234541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21234542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21234543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21234544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21234545, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21235532, 'dashboard_result_id': 9332435, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21235532_11-03-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21235581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21235582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21235583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21235584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21235585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21235586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21235587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21235588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21235589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21235590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21235591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21235592, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21236238, 'dashboard_result_id': 9332436, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21236238_11-03-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21236259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21236260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21236261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21236262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21236263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21236264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21236265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21236266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21236267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21236268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21236269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21236270, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21237290, 'dashboard_result_id': 9332437, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21237290_11-03-2025_05_45_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21237295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21237296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21237297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21237298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21237299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21237300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21237301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21237302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21237303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21237304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21237305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21237306, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21238235, 'dashboard_result_id': 9332438, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21238235_11-03-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21238322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21238323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21238324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21238325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21238326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21238327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21238328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21238329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21238330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21238331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21238332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21238333, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21239041, 'dashboard_result_id': 9332439, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239041_11-03-2025_05_46_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239129, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21239724, 'dashboard_result_id': 9332440, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239724_11-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239736, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21240953, 'dashboard_result_id': 9332441, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21240953_11-03-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241013, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21241634, 'dashboard_result_id': 9332442, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_11-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241648, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21242355, 'dashboard_result_id': 9332443, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21242355_11-03-2025_05_48_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21242358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21242359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21242360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21242361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21242362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21242363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21242364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21242365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21242366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21242367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21242368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21242369, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21243106, 'dashboard_result_id': 9332444, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21243106_11-03-2025_05_49_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21243120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21243121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21243122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21243123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21243124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21243125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21243126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21243127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21243128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21243129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21243130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21243131, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21244092, 'dashboard_result_id': 9332445, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244092_11-03-2025_05_50_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244104, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21244713, 'dashboard_result_id': 9332446, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_10-03-2025_22_33_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244849, 'pht': 3726}}"}, {'dashboat_entry_day': 1654691, 'dashboard_run_id': 1664875, 'mtr_portfolio_id': 21245285, 'dashboard_result_id': 9332447, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21245285_10-03-2025_22_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21245286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21245287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21245288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21245289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21245290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21245291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21245292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21245293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21245294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21245295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21245296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21245297, '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 = 21222729 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656742, 'mtr_portfolio_id': 21222729, 'created_at': datetime.datetime(2025, 3, 11, 5, 34, 29), 'result': '0.11602307733577545', 'result_long': None, 'result_double': None}] Qualite : 0.11602307733577545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21222729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222729_11-03-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21222729 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222729_11-03-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222812, 'pht': 3726}}" where mtr_portfolio_id = 21222729 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21222729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332419, 0.11602307733577545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222729_11-03-2025_05_34_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222789, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222792, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222795, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222797, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222801, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222808, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21222733 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656743, 'mtr_portfolio_id': 21222733, 'created_at': datetime.datetime(2025, 3, 11, 5, 34, 34), 'result': '0.0839456731650473', 'result_long': None, 'result_double': None}] Qualite : 0.0839456731650473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21222733 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222733_11-03-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21222733 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222733_11-03-2025_05_34_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222747, 'pht': 3726}}" where mtr_portfolio_id = 21222733 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21222733 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332420, 0.0839456731650473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21222733_11-03-2025_05_34_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21222736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21222737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21222738, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21222739, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21222740, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21222741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21222742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21222743, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21222744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21222745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21222746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21222747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21223952 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656744, 'mtr_portfolio_id': 21223952, 'created_at': datetime.datetime(2025, 3, 11, 5, 35), 'result': '0.061197813312520125', 'result_long': None, 'result_double': None}] Qualite : 0.061197813312520125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21223952 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21223952_11-03-2025_05_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21223952 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21223952_11-03-2025_05_35_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21223978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21223979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21223980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21223981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21223982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21223983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21223984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21223985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21223986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21223987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21223988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21223989, 'pht': 3726}}" where mtr_portfolio_id = 21223952 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21223952 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332421, 0.061197813312520125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21223952_11-03-2025_05_35_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21223978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21223979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21223980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21223981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21223982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21223983, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21223984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21223985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21223986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21223987, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21223988, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21223989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21224728 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656745, 'mtr_portfolio_id': 21224728, 'created_at': datetime.datetime(2025, 3, 11, 5, 35, 34), 'result': '0.06561237862325262', 'result_long': None, 'result_double': None}] Qualite : 0.06561237862325262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21224728 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21224728_11-03-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21224728 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21224728_11-03-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21224741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21224742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21224743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21224744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21224745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21224746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21224747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21224748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21224749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21224750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21224751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21224752, 'pht': 3726}}" where mtr_portfolio_id = 21224728 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21224728 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332422, 0.06561237862325262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21224728_11-03-2025_05_35_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21224741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21224742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21224743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21224744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21224745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21224746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21224747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21224748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21224749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21224750, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21224751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21224752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21225304 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656746, 'mtr_portfolio_id': 21225304, 'created_at': datetime.datetime(2025, 3, 11, 5, 36, 36), 'result': '0.07500372495602968', 'result_long': None, 'result_double': None}] Qualite : 0.07500372495602968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21225304 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225304_11-03-2025_05_36_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21225304 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225304_11-03-2025_05_36_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21225323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21225324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21225330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21225346, 'pht': 3726}}" where mtr_portfolio_id = 21225304 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21225304 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332423, 0.07500372495602968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225304_11-03-2025_05_36_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225318, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225319, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225321, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225322, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21225323, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21225324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21225330, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225345, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21225346, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21225938 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656747, 'mtr_portfolio_id': 21225938, 'created_at': datetime.datetime(2025, 3, 11, 5, 37, 1), 'result': '0.07875957735158436', 'result_long': None, 'result_double': None}] Qualite : 0.07875957735158436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21225938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225938_11-03-2025_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21225938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225938_11-03-2025_05_37_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21225991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21226001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226002, 'pht': 3726}}" where mtr_portfolio_id = 21225938 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21225938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332424, 0.07875957735158436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21225938_11-03-2025_05_37_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21225991, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21225992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21225993, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21225994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21225995, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21225996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21225997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21225998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21225999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21226001, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226002, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21226845 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656748, 'mtr_portfolio_id': 21226845, 'created_at': datetime.datetime(2025, 3, 11, 5, 37, 36), 'result': '0.07574263346445242', 'result_long': None, 'result_double': None}] Qualite : 0.07574263346445242 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21226845 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21226845_11-03-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21226845 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21226845_11-03-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21226848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21226849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21226850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21226851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21226852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21226853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21226854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21226855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21226857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21226858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226859, 'pht': 3726}}" where mtr_portfolio_id = 21226845 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21226845 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332425, 0.07574263346445242, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21226845_11-03-2025_05_37_38.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21226848, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21226849, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21226850, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21226851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21226852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21226853, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21226854, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21226855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21226856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21226857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21226858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21226859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21227642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656749, 'mtr_portfolio_id': 21227642, 'created_at': datetime.datetime(2025, 3, 11, 5, 38, 33), 'result': '0.07788827551111495', 'result_long': None, 'result_double': None}] Qualite : 0.07788827551111495 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21227642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_11-03-2025_05_38_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21227642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_11-03-2025_05_38_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, 'pht': 3726}}" where mtr_portfolio_id = 21227642 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21227642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332426, 0.07788827551111495, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21227642_11-03-2025_05_38_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21227679, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21227680, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21227686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21227694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21227696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21227708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21227709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21227710, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21227711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21227712, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21227713, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21227714, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21228123 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656750, 'mtr_portfolio_id': 21228123, 'created_at': datetime.datetime(2025, 3, 11, 5, 39, 1), 'result': '0.07306573342987199', 'result_long': None, 'result_double': None}] Qualite : 0.07306573342987199 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21228123 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_11-03-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21228123 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_11-03-2025_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, 'pht': 3726}}" where mtr_portfolio_id = 21228123 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21228123 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332427, 0.07306573342987199, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21228123_11-03-2025_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21228230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21228231, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21228232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21228233, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21228234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21228235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21228236, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21228237, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21228238, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21228239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21228240, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21228241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21229167 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656751, 'mtr_portfolio_id': 21229167, 'created_at': datetime.datetime(2025, 3, 11, 5, 39, 38), 'result': '0.07833691789643606', 'result_long': None, 'result_double': None}] Qualite : 0.07833691789643606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21229167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_11-03-2025_05_39_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21229167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_11-03-2025_05_39_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, 'pht': 3726}}" where mtr_portfolio_id = 21229167 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21229167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332428, 0.07833691789643606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229167_11-03-2025_05_39_40.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229185, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229189, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229192, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229193, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21229599 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656752, 'mtr_portfolio_id': 21229599, 'created_at': datetime.datetime(2025, 3, 11, 5, 40, 31), 'result': '0.08190514300443968', 'result_long': None, 'result_double': None}] Qualite : 0.08190514300443968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21229599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_11-03-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21229599 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_11-03-2025_05_40_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, 'pht': 3726}}" where mtr_portfolio_id = 21229599 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21229599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332429, 0.08190514300443968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21229599_11-03-2025_05_40_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21229624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21229625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21229626, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21229627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21229628, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21229629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21229630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21229631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21229632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21229633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21229634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21229635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21231378 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656753, 'mtr_portfolio_id': 21231378, 'created_at': datetime.datetime(2025, 3, 11, 5, 41, 5), 'result': '0.06296389466804614', 'result_long': None, 'result_double': None}] Qualite : 0.06296389466804614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21231378 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21231378_11-03-2025_05_41_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21231378 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21231378_11-03-2025_05_41_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21231437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21231438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21231439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21231440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21231441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21231442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21231443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21231444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21231445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21231446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21231447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21231448, 'pht': 3726}}" where mtr_portfolio_id = 21231378 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21231378 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332430, 0.06296389466804614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21231378_11-03-2025_05_41_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21231437, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21231438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21231439, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21231440, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21231441, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21231442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21231443, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21231444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21231445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21231446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21231447, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21231448, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21232212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656754, 'mtr_portfolio_id': 21232212, 'created_at': datetime.datetime(2025, 3, 11, 5, 41, 34), 'result': '0.06513729994768028', 'result_long': None, 'result_double': None}] Qualite : 0.06513729994768028 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21232212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232212_11-03-2025_05_41_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21232212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232212_11-03-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21232305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232316, 'pht': 3726}}" where mtr_portfolio_id = 21232212 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21232212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332431, 0.06513729994768028, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232212_11-03-2025_05_41_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21232305, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232306, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232307, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232308, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232314, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232315, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232316, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21232960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656755, 'mtr_portfolio_id': 21232960, 'created_at': datetime.datetime(2025, 3, 11, 5, 42, 30), 'result': '0.07726998823528783', 'result_long': None, 'result_double': None}] Qualite : 0.07726998823528783 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21232960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232960_11-03-2025_05_42_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21232960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232960_11-03-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21232970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232972, 'pht': 3726}}" where mtr_portfolio_id = 21232960 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21232960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332432, 0.07726998823528783, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21232960_11-03-2025_05_42_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21232961, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21232962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21232963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21232964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21232965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21232966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21232967, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21232968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21232969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21232970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21232971, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21232972, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21233690 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656756, 'mtr_portfolio_id': 21233690, 'created_at': datetime.datetime(2025, 3, 11, 5, 42, 35), 'result': '0.07652877694895004', 'result_long': None, 'result_double': None}] Qualite : 0.07652877694895004 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21233690 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21233690_11-03-2025_05_42_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21233690 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21233690_11-03-2025_05_42_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21233725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21233726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21233727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21233728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21233729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21233731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21233733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21233735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21233738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21233740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21233742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21233744, 'pht': 3726}}" where mtr_portfolio_id = 21233690 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21233690 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332433, 0.07652877694895004, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21233690_11-03-2025_05_42_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21233725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21233726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21233727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21233728, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21233729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21233731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21233733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21233735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21233738, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21233740, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21233742, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21233744, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21234496 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656757, 'mtr_portfolio_id': 21234496, 'created_at': datetime.datetime(2025, 3, 11, 5, 42, 58), 'result': '0.06234427145787569', 'result_long': None, 'result_double': None}] Qualite : 0.06234427145787569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21234496 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21234496_11-03-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21234496 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21234496_11-03-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21234534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21234535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21234536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21234537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21234538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21234539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21234540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21234541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21234542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21234543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21234544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21234545, 'pht': 3726}}" where mtr_portfolio_id = 21234496 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21234496 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332434, 0.06234427145787569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21234496_11-03-2025_05_43_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21234534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21234535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21234536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21234537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21234538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21234539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21234540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21234541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21234542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21234543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21234544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21234545, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21235532 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656758, 'mtr_portfolio_id': 21235532, 'created_at': datetime.datetime(2025, 3, 11, 5, 43, 31), 'result': '0.07812085754388173', 'result_long': None, 'result_double': None}] Qualite : 0.07812085754388173 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21235532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21235532_11-03-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21235532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21235532_11-03-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21235581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21235582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21235583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21235584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21235585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21235586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21235587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21235588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21235589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21235590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21235591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21235592, 'pht': 3726}}" where mtr_portfolio_id = 21235532 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21235532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332435, 0.07812085754388173, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21235532_11-03-2025_05_43_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21235581, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21235582, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21235583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21235584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21235585, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21235586, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21235587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21235588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21235589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21235590, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21235591, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21235592, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21236238 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656759, 'mtr_portfolio_id': 21236238, 'created_at': datetime.datetime(2025, 3, 11, 5, 44, 30), 'result': '0.07686103756433481', 'result_long': None, 'result_double': None}] Qualite : 0.07686103756433481 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21236238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21236238_11-03-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21236238 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21236238_11-03-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21236259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21236260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21236261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21236262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21236263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21236264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21236265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21236266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21236267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21236268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21236269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21236270, 'pht': 3726}}" where mtr_portfolio_id = 21236238 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21236238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332436, 0.07686103756433481, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21236238_11-03-2025_05_44_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21236259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21236260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21236261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21236262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21236263, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21236264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21236265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21236266, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21236267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21236268, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21236269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21236270, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21237290 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656760, 'mtr_portfolio_id': 21237290, 'created_at': datetime.datetime(2025, 3, 11, 5, 45, 4), 'result': '0.06516510044548252', 'result_long': None, 'result_double': None}] Qualite : 0.06516510044548252 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21237290 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21237290_11-03-2025_05_45_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21237290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21237290_11-03-2025_05_45_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21237295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21237296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21237297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21237298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21237299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21237300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21237301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21237302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21237303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21237304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21237305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21237306, 'pht': 3726}}" where mtr_portfolio_id = 21237290 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21237290 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332437, 0.06516510044548252, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21237290_11-03-2025_05_45_08.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21237295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21237296, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21237297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21237298, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21237299, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21237300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21237301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21237302, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21237303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21237304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21237305, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21237306, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21238235 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656761, 'mtr_portfolio_id': 21238235, 'created_at': datetime.datetime(2025, 3, 11, 5, 45, 31), 'result': '0.07129223740504845', 'result_long': None, 'result_double': None}] Qualite : 0.07129223740504845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21238235 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21238235_11-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21238235 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21238235_11-03-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21238322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21238323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21238324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21238325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21238326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21238327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21238328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21238329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21238330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21238331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21238332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21238333, 'pht': 3726}}" where mtr_portfolio_id = 21238235 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21238235 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332438, 0.07129223740504845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21238235_11-03-2025_05_45_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21238322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21238323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21238324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21238325, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21238326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21238327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21238328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21238329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21238330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21238331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21238332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21238333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21239041 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656762, 'mtr_portfolio_id': 21239041, 'created_at': datetime.datetime(2025, 3, 11, 5, 46, 5), 'result': '0.07614297631232707', 'result_long': None, 'result_double': None}] Qualite : 0.07614297631232707 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21239041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239041_11-03-2025_05_46_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21239041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239041_11-03-2025_05_46_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239129, 'pht': 3726}}" where mtr_portfolio_id = 21239041 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21239041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332439, 0.07614297631232707, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239041_11-03-2025_05_46_10.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239118, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239119, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239128, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239129, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21239724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656763, 'mtr_portfolio_id': 21239724, 'created_at': datetime.datetime(2025, 3, 11, 5, 46, 38), 'result': '0.0592010603636712', 'result_long': None, 'result_double': None}] Qualite : 0.0592010603636712 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21239724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239724_11-03-2025_05_46_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21239724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239724_11-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239736, 'pht': 3726}}" where mtr_portfolio_id = 21239724 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21239724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332440, 0.0592010603636712, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21239724_11-03-2025_05_46_40.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21239725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21239726, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21239727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21239728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21239729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21239730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21239731, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21239732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21239733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21239734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21239735, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21239736, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21240953 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656764, 'mtr_portfolio_id': 21240953, 'created_at': datetime.datetime(2025, 3, 11, 5, 47, 32), 'result': '0.08090037149444124', 'result_long': None, 'result_double': None}] Qualite : 0.08090037149444124 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21240953 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21240953_11-03-2025_05_47_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21240953 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21240953_11-03-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241013, 'pht': 3726}}" where mtr_portfolio_id = 21240953 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21240953 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332441, 0.08090037149444124, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21240953_11-03-2025_05_47_36.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241003, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241007, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241011, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241013, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21241634 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656765, 'mtr_portfolio_id': 21241634, 'created_at': datetime.datetime(2025, 3, 11, 5, 47, 58), 'result': '0.07403786216251658', 'result_long': None, 'result_double': None}] Qualite : 0.07403786216251658 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21241634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_11-03-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21241634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_11-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241648, 'pht': 3726}}" where mtr_portfolio_id = 21241634 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21241634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332442, 0.07403786216251658, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21241634_11-03-2025_05_48_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21241637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21241638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21241639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21241640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21241641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21241642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21241643, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21241644, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21241645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21241646, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21241647, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21241648, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21242355 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656766, 'mtr_portfolio_id': 21242355, 'created_at': datetime.datetime(2025, 3, 11, 5, 48, 36), 'result': '0.09079608215492964', 'result_long': None, 'result_double': None}] Qualite : 0.09079608215492964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21242355 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21242355_11-03-2025_05_48_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21242355 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21242355_11-03-2025_05_48_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21242358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21242359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21242360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21242361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21242362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21242363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21242364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21242365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21242366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21242367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21242368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21242369, 'pht': 3726}}" where mtr_portfolio_id = 21242355 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21242355 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332443, 0.09079608215492964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21242355_11-03-2025_05_48_39.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21242358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21242359, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21242360, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21242361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21242362, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21242363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21242364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21242365, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21242366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21242367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21242368, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21242369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21243106 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656767, 'mtr_portfolio_id': 21243106, 'created_at': datetime.datetime(2025, 3, 11, 5, 49, 1), 'result': '0.09693046403951629', 'result_long': None, 'result_double': None}] Qualite : 0.09693046403951629 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21243106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21243106_11-03-2025_05_49_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21243106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21243106_11-03-2025_05_49_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21243120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21243121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21243122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21243123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21243124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21243125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21243126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21243127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21243128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21243129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21243130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21243131, 'pht': 3726}}" where mtr_portfolio_id = 21243106 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21243106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332444, 0.09693046403951629, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21243106_11-03-2025_05_49_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21243120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21243121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21243122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21243123, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21243124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21243125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21243126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21243127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21243128, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21243129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21243130, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21243131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21244092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656768, 'mtr_portfolio_id': 21244092, 'created_at': datetime.datetime(2025, 3, 11, 5, 50, 2), 'result': '0.08723614292209346', 'result_long': None, 'result_double': None}] Qualite : 0.08723614292209346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21244092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244092_11-03-2025_05_50_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21244092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244092_11-03-2025_05_50_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244104, 'pht': 3726}}" where mtr_portfolio_id = 21244092 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21244092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332445, 0.08723614292209346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244092_11-03-2025_05_50_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244093, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244100, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244101, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244104, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21244713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2656769, 'mtr_portfolio_id': 21244713, 'created_at': datetime.datetime(2025, 3, 11, 5, 50, 29), 'result': '0.12359223454251024', 'result_long': None, 'result_double': None}] Qualite : 0.12359223454251024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21244713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_11-03-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21244713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_11-03-2025_05_50_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244849, 'pht': 3726}}" where mtr_portfolio_id = 21244713 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21244713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332446, 0.12359223454251024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21244713_11-03-2025_05_50_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21244826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21244828, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21244830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21244832, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21244834, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21244836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21244838, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21244840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21244842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21244844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21244846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21244849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21245285 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2655932, 'mtr_portfolio_id': 21245285, 'created_at': datetime.datetime(2025, 3, 10, 22, 51), 'result': '0.10313282792087475', 'result_long': None, 'result_double': None}] Qualite : 0.10313282792087475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21245285 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21245285_10-03-2025_22_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21245285 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21245285_10-03-2025_22_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21245286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21245287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21245288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21245289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21245290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21245291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21245292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21245293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21245294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21245295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21245296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21245297, 'pht': 3726}}" where mtr_portfolio_id = 21245285 and dashboard_run_id = 1664875 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21245285 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9332447, 0.10313282792087475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21245285_10-03-2025_22_51_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21245286, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21245287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21245288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21245289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21245290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21245291, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21245292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21245293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21245294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21245295, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21245296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21245297, '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 (21222729,21222733,21223952,21224728,21225304,21225938,21226845,21227642,21228123,21229167,21229599,21231378,21232212,21232960,21233690,21234496,21235532,21236238,21237290,21238235,21239041,21239724,21240953,21241634,21242355,21243106,21244092,21244713,21245285) result : ((1342543589,), (1342543596,), (1342543630,), (1342543643,), (1342543676,), (1342543681,), (1342543726,), (1342543730,), (1342543770,), (1342543774,), (1342543814,), (1342543817,), (1342544025,), (1342544079,), (1342544128,), (1342544185,), (1342544593,), (1342544689,), (1342544779,), (1342545186,), (1342545309,), (1342545429,), (1342545492,), (1342545581,), (1342545666,), (1342546677,), (1342546911,), (1342547309,), (1342547361,), (1342543910,), (1342543945,), (1342544402,), (1342544451,), (1342544498,), (1342545908,), (1342546037,), (1342546230,), (1342546465,), (1342547141,), (1342547206,), (1342547272,), (1342548517,), (1342548585,), (1342548689,), (1342548740,), (1342548777,), (1342548884,), (1342548888,), (1342548893,), (1342548901,), (1342548917,), (1342549841,), (1342549859,), (1342549903,), (1342549958,), (1342550218,), (1342550274,), (1342550316,), (1342550615,), (1342550650,), (1342550668,), (1342550704,), (1342550901,), (1342550922,), (1342550934,), (1342550955,), (1342550960,), (1342550995,), (1342551018,), (1342551035,), (1342551082,), (1342551195,), (1342551216,), (1342551227,), (1342551232,), (1342551508,), (1342551556,), (1342551818,), (1342551877,), (1342551976,), (1342552041,), (1342552474,), (1342552189,), (1342552279,), (1342552349,), (1342552396,), (1342552438,), (1342552590,), (1342552600,), (1342552813,), (1342552909,), (1342552912,), (1342552916,), (1342552948,), (1342552952,), (1342553001,), (1342553031,), (1342553064,), (1342553175,), (1342553178,), (1342553181,), (1342553264,), (1342553267,), (1342553353,), (1342553356,), (1342553358,), (1342553420,), (1342553431,), (1342553435,), (1342553496,), (1342553498,), (1342553501,), (1342553545,), (1342553548,), (1342553590,), (1342553594,), (1342553761,), (1342553799,), (1342554235,), (1342554240,), (1342554242,), (1342554618,), (1342554524,), (1342555038,), (1342555296,), (1342555300,), (1342555415,), (1342555420,), (1342555424,), (1342555521,), (1342555543,), (1342555576,), (1342555619,), (1342555623,), (1342555650,), (1342555703,), (1342555722,), (1342555728,), (1342556024,), (1342556045,), (1342556062,), (1342556287,), (1342556306,), (1342556340,), (1342556540,), (1342556559,), (1342556817,), (1342556871,), (1342556988,), (1342557353,), (1342557357,), (1342557504,), (1342557596,), (1342557620,), (1342557646,), (1342558012,), (1342558055,), (1342558107,), (1342558533,), (1342558541,), (1342558547,), (1342558552,), (1342558572,), (1342558732,), (1342558724,), (1342559080,), (1342559083,), (1342559111,), (1342559632,), (1342559659,), (1342559683,), (1342559719,), (1342559740,), (1342559866,), (1342559872,), (1342559877,), (1342559910,), (1342559914,), (1342559931,), (1342559941,), (1342559997,), (1342560001,), (1342560006,), (1342560033,), (1342560173,), (1342560337,), (1342560390,), (1342560682,), (1342560890,), (1342560894,), (1342561146,), (1342561151,), (1342561168,), (1342561171,), (1342561293,), (1342561308,), (1342561327,), (1342561539,), (1342561564,), (1342561596,), (1342562041,), (1342562082,), (1342562090,), (1342562470,), (1342562406,), (1342562442,), (1342563055,), (1342563201,), (1342563221,), (1342563261,), (1342563679,), (1342563725,), (1342563779,), (1342564324,), (1342564355,), (1342564359,), (1342564649,), (1342564666,), (1342564949,), (1342564968,), (1342565311,), (1342565331,), (1342565351,), (1342565494,), (1342565529,), (1342565698,), (1342565702,), (1342565907,), (1342565930,), (1342565939,), (1342565958,), (1342565992,), (1342566011,), (1342566024,), (1342566033,), (1342566036,), (1342566042,), (1342566104,), (1342566152,), (1342566210,), (1342566215,), (1342566219,), (1342566240,), (1342566284,), (1342566569,), (1342566574,), (1342566590,), (1342566595,), (1342566599,), (1342566734,), (1342566764,), (1342566999,), (1342566845,), (1342566850,), (1342566855,), (1342566860,), (1342566964,), (1342567102,), (1342567137,), (1342567176,), (1342567220,), (1342567436,), (1342567676,), (1342567970,), (1342568050,), (1342568200,), (1342568296,), (1342568433,), (1342568438,), (1342568464,), (1342568474,), (1342568480,), (1342568745,), (1342568933,), (1342569144,), (1342569176,), (1342569182,), (1342569227,), (1342569303,), (1342569442,), (1342569750,), (1342569756,), (1342569763,), (1342569768,), (1342569777,), (1342569894,), (1342569898,), (1342569902,), (1342569906,), (1342570033,), (1342570192,), (1342570291,), (1342570299,), (1342570306,), (1342570314,), (1342570362,), (1342570367,), (1342570371,), (1342570425,), (1342570434,), (1342570439,), (1342570444,), (1342570448,), (1342570459,), (1342570607,), (1342570623,), (1342570641,), (1342570719,), (1342570678,), (1342570682,), (1342570686,), (1342570713,), (1342570799,), (1342570813,), (1342570819,), (1342570824,), (1342570836,), (1342570848,), (1342570940,), (1342570946,), (1342570965,), (1342570971,), (1342571062,), (1342571082,), (1342571121,), (1342571136,), (1342571142,), (1342571143,), (1342571223,), (1342571232,), (1342571238,), (1342571244,), (1342571248,), (1342571250,), (1342571254,), (1342571259,), (1342571265,), (1342571271,), (1342571279,), (1342571400,), (1342571847,), (1342571851,), (1342571855,), (1342571865,), (1342571872,), (1342571911,), (1342571915,), (1342571920,), (1342572076,), (1342572089,), (1342572093,), (1342572186,), (1342572190,), (1342572370,), (1342572422,), (1342572499,), (1342572512,), (1342572623,), (1342572649,), (1342572679,), (1342572683,), (1342572804,), (1342572807,), (1342573159,), (1342573162,), (1342573166,), (1342573171,), (1342573173,), (1342573174,), (1342573200,), (1342573223,), (1342573230,), (1342573231,), (1342573238,), (1342573261,), (1342573263,), (1342573265,), (1342573273,), (1342573300,), (1342573304,), (1342573318,), (1342573376,), (1342573381,), (1342573432,), (1342573441,), (1342573451,), (1342573460,), (1342573516,), (1342573523,), (1342573527,), (1342573532,), (1342573536,), (1342573539,), (1342573552,), (1342573558,), (1342573560,), (1342573566,), (1342573571,), (1342573575,), (1342573862,), (1342573864,), (1342573940,), (1342573943,), (1342573946,), (1342573953,), (1342573959,), (1342573964,), (1342574023,), (1342574046,), (1342574110,), (1342574132,), (1342574144,), (1342574176,), (1342574185,), (1342574188,), (1342574266,), (1342574399,), (1342574616,), (1342574725,), (1342574778,), (1342573738,), (1342573739,), (1342573770,), (1342573771,), (1342573777,), (1342573797,), (1342573799,), (1342573802,), (1342573805,), (1342573806,), (1342573877,), (1342573881,), (1342573886,), (1342573890,), (1342573893,), (1342573907,), (1342573973,), (1342573975,), (1342573977,), (1342573993,), (1342574226,), (1342574232,), (1342574238,), (1342574245,), (1342574259,), (1342574279,), (1342574290,), (1342574306,), (1342574334,), (1342574359,), (1342574466,), (1342574487,), (1342574506,), (1342574557,), (1342574577,), (1342574852,), (1342574859,), (1342574993,), (1342574998,), (1342575003,), (1342575366,), (1342575886,), (1342576049,), (1342576061,), (1342576933,), (1342576987,), (1342577107,), (1342577146,), (1342577985,), (1342577887,), (1342577924,), (1342577940,), (1342577960,), (1342577963,), (1342578027,), (1342578031,), (1342578060,), (1342578110,), (1342578484,), (1342578527,), (1342578585,), (1342578629,), (1342578674,), (1342578719,), (1342578858,), (1342578872,), (1342578875,), (1342578879,), (1342578883,), (1342578894,), (1342578938,), (1342578945,), (1342579061,), (1342579070,), (1342579079,), (1342579087,), (1342579092,), (1342579096,), (1342579130,), (1342579144,), (1342579161,), (1342579338,), (1342579425,), (1342580053,), (1342580056,), (1342580061,), (1342580066,), (1342580071,), (1342580074,), (1342580116,), (1342580120,), (1342580137,), (1342580227,), (1342580301,), (1342580518,), (1342580562,), (1342580565,), (1342580578,), (1342580672,), (1342580692,), (1342580696,), (1342580716,), (1342580774,), (1342580819,), (1342580861,), (1342580869,), (1342580874,), (1342580879,), (1342580885,), (1342580888,), (1342580909,), (1342580917,), (1342580924,), (1342580930,), (1342580936,), (1342581144,), (1342580983,), (1342580987,), (1342580991,), (1342581057,), (1342581094,), (1342581251,), (1342581256,), (1342581263,), (1342581268,), (1342581272,), (1342581277,), (1342581388,), (1342581431,), (1342581455,), (1342581739,), (1342581750,), (1342581764,), (1342581801,), (1342581898,), (1342581952,), (1342581994,), (1342582259,), (1342582345,), (1342582404,), (1342582483,), (1342582527,), (1342582786,), (1342582870,), (1342582925,), (1342583259,), (1342583279,), (1342583291,), (1342583305,), (1342583588,), (1342583601,), (1342583626,), (1342583638,), (1342583697,), (1342583757,), (1342583812,), (1342583848,), (1342583881,), (1342583914,), (1342583948,), (1342584026,), (1342584044,), (1342584072,), (1342584349,), (1342584370,), (1342584409,), (1342584455,), (1342584503,), (1342584559,), (1342584830,), (1342584860,), (1342584893,), (1342584911,), (1342585024,), (1342585065,), (1342585096,), (1342585122,), (1342585144,), (1342585166,), (1342585307,), (1342585335,), (1342585371,), (1342585397,), (1342585434,), (1342585667,), (1342585762,), (1342585814,), (1342585895,), (1342585982,), (1342588366,), (1342599833,), (1342599873,), (1342599942,), (1342600537,), (1342600644,), (1342600737,), (1342600815,), (1342601445,), (1342601497,), (1342601524,), (1342601554,), (1342601633,), (1342602016,), (1342602031,), (1342602053,), (1342602063,), (1342602086,), (1342602349,), (1342602448,), (1342602481,), (1342602514,), (1342602556,), (1342602740,), (1342602801,), (1342602833,), (1342603128,), (1342603169,), (1342603202,), (1342603264,), (1342603306,), (1342603334,), (1342603580,), (1342603651,), (1342603734,), (1342603793,), (1342603839,), (1342604141,), (1342604191,), (1342604214,), (1342604245,), (1342604274,), (1342604671,), (1342604718,), (1342604764,), (1342604804,), (1342604856,), (1342604913,), (1342605141,), (1342605178,), (1342605263,), (1342605328,), (1342605723,), (1342605825,), (1342606046,), (1342606120,), (1342606174,), (1342606229,), (1342606658,), (1342606531,), (1342606545,), (1342606581,), (1342606846,), (1342606860,), (1342606864,), (1342606868,), (1342606872,), (1342606988,), (1342607005,), (1342607027,), (1342607041,), (1342607065,), (1342607202,), (1342607237,), (1342607255,), (1342607263,), (1342607280,), (1342607359,), (1342607536,), (1342607544,), (1342607565,), (1342607570,), (1342607759,), (1342607764,), (1342607774,), (1342607783,), (1342607794,), (1342607799,), (1342607878,), (1342607887,), (1342607894,), (1342607936,), (1342608117,), (1342608135,), (1342608160,), (1342608178,), (1342608200,), (1342608223,), (1342608449,), (1342608500,), (1342608524,), (1342608538,), (1342608773,), (1342608798,), (1342608830,), (1342608852,), (1342608866,), (1342608890,), (1342609148,), (1342609168,), (1342609195,), (1342609215,), (1342609421,), (1342609447,), (1342609478,), (1342609548,), (1342609600,), (1342609645,), (1342609843,), (1342609955,), (1342610000,), (1342610038,), (1342610063,), (1342610076,), (1342610191,), (1342610235,), (1342610289,), (1342610347,), (1342610561,), (1342610591,), (1342610617,), (1342610641,), (1342610682,), (1342610702,), (1342611036,), (1342610894,), (1342610936,), (1342610952,), (1342611009,), (1342611132,), (1342611138,), (1342611144,), (1342611148,), (1342611153,), (1342611157,), (1342611182,), (1342611202,), (1342611207,), (1342611212,), (1342611257,), (1342611261,), (1342611277,), (1342611300,), (1342611322,), (1342611335,), (1342611417,), (1342611449,), (1342611511,), (1342611515,), (1342611538,), (1342611564,), (1342611588,), (1342611620,), (1342611636,), (1342611815,), (1342611889,), (1342611902,), (1342611916,), (1342611976,), (1342612027,), (1342612291,), (1342612351,), (1342612434,), (1342612490,), (1342612733,), (1342612758,), (1342612787,), (1342612798,), (1342612804,), (1342612820,), (1342613008,), (1342613030,), (1342613078,), (1342613164,), (1342613475,), (1342613514,), (1342613544,), (1342613580,), (1342613655,), (1342613696,), (1342613845,), (1342613884,), (1342613923,), (1342613930,), (1342613935,), (1342613944,), (1342613991,), (1342613996,), (1342614002,), (1342614010,), (1342614069,), (1342614112,), (1342614150,), (1342614186,), (1342614225,), (1342614289,), (1342614683,), (1342614733,), (1342614772,), (1342614814,), (1342615062,), (1342614906,), (1342614915,), (1342614920,), (1342614928,), (1342614941,), (1342615271,), (1342615277,), (1342615284,), (1342615458,), (1342615462,), (1342615467,), (1342615473,), (1342615477,), (1342615478,), (1342615495,), (1342615499,), (1342615502,), (1342615506,), (1342615511,), (1342615692,), (1342615751,), (1342615789,), (1342615817,), (1342615852,), (1342615887,), (1342616012,), (1342616022,), (1342616026,), (1342616031,), (1342616035,), (1342616151,), (1342616169,), (1342616194,), (1342616236,), (1342616251,), (1342616265,), (1342616331,), (1342616334,), (1342616338,), (1342616341,), (1342616442,), (1342616448,), (1342616480,), (1342616490,), (1342616515,), (1342616556,), (1342616710,), (1342616804,), (1342616832,), (1342616865,), (1342616909,), (1342617002,), (1342617369,), (1342617410,), (1342617443,), (1342617474,), (1342617514,), (1342617834,), (1342617879,), (1342617957,), (1342617978,), (1342618057,), (1342618160,), (1342618201,), (1342618223,), (1342618268,), (1342618331,), (1342618367,), (1342618422,), (1342618658,), (1342618681,), (1342618718,), (1342619200,), (1342619621,), (1342619709,), (1342619755,), (1342619788,), (1342619829,), (1342619887,), (1342619994,), (1342620029,), (1342620081,), (1342620406,), (1342620211,), (1342620236,), (1342620284,), (1342620334,), (1342620374,), (1342620562,), (1342620585,), (1342620603,), (1342620980,), (1342621017,), (1342621050,), (1342621124,), (1342621195,), (1342621251,), (1342621812,), (1342621845,), (1342621869,), (1342621977,), (1342622260,), (1342622280,), (1342622285,), (1342622305,), (1342622458,), (1342622479,), (1342622506,), (1342622525,), (1342622728,), (1342622783,), (1342622807,), (1342623412,), (1342623447,), (1342623526,), (1342623601,), (1342623650,), (1342623705,), (1342624016,), (1342624081,), (1342624157,), (1342624217,), (1342624554,), (1342624596,), (1342624636,), (1342624677,), (1342624700,), (1342624740,), (1342624961,), (1342624995,), (1342625027,), (1342625058,), (1342625261,), (1342625294,), (1342625317,), (1342625372,), (1342625415,), (1342625474,), (1342625780,), (1342625872,), (1342625895,), (1342625919,), (1342625959,), (1342625980,), (1342626069,), (1342626089,), (1342626108,), (1342626529,), (1342626556,), (1342626569,), (1342626611,), (1342626651,), (1342626673,), (1342626942,), (1342626854,), (1342626888,), (1342626900,), (1342626935,), (1342626939,), (1342626997,), (1342627016,), (1342627021,), (1342627024,), (1342627087,), (1342627099,), (1342627109,), (1342627117,), (1342627119,), (1342627126,), (1342627184,), (1342627194,), (1342627202,), (1342627209,), (1342627383,), (1342627386,), (1342627405,), (1342627409,), (1342627418,), (1342627424,), (1342627587,), (1342627675,), (1342627742,), (1342627777,), (1342627819,), (1342628194,), (1342628278,), (1342628338,), (1342628397,), (1342628542,), (1342628592,), (1342628699,), (1342628763,), (1342628812,), (1342628851,), (1342629023,), (1342629066,), (1342629098,), (1342629127,), (1342629174,), (1342629218,), (1342629459,), (1342629520,), (1342629568,), (1342629606,), (1342629652,), (1342629814,), (1342629837,), (1342629865,), (1342629923,), (1342629958,), (1342630092,), (1342630125,), (1342630142,), (1342630161,), (1342630176,), (1342630238,), (1342630257,), (1342630280,), (1342630304,), (1342630319,), (1342630589,), (1342630619,), (1342630641,), (1342630649,), (1342630684,), (1342631074,), (1342631103,), (1342631143,), (1342631193,), (1342631227,), (1342631248,), (1342631495,), (1342631428,), (1342631450,), (1342631475,), (1342631788,), (1342631829,), (1342631901,), (1342631942,), (1342631984,), (1342632327,), (1342632379,), (1342632389,), (1342632419,), (1342632423,), (1342632549,), (1342632555,), (1342632564,), (1342632643,), (1342632928,), (1342632948,), (1342632970,), (1342633001,), (1342633042,), (1342633101,), (1342633402,), (1342633462,), (1342633542,), (1342633553,), (1342633599,), (1342633629,), (1342633655,), (1342633667,), (1342633695,), (1342633707,), (1342633900,), (1342633931,), (1342633972,), (1342634010,), (1342634350,), (1342634394,), (1342634432,), (1342634462,), (1342634484,), (1342634521,), (1342634782,), (1342634816,), (1342634841,), (1342634869,), (1342634923,), (1342634947,), (1342634974,), (1342635006,), (1342635031,), (1342635060,), (1342635363,), (1342635425,), (1342635490,), (1342635558,), (1342635620,), (1342635900,), (1342635978,), (1342636009,), (1342636044,), (1342636072,), (1342636090,), (1342636200,), (1342636240,), (1342636267,), (1342636279,), (1342636298,), (1342636531,), (1342636537,), (1342636546,), (1342636567,), (1342636593,), (1342636626,), (1342637107,), (1342636866,), (1342636930,), (1342636981,), (1342637017,), (1342637337,), (1342637342,), (1342637345,), (1342637348,), (1342637352,), (1342637372,), (1342637530,), (1342637565,), (1342637593,), (1342637619,), (1342637941,), (1342638035,), (1342638151,), (1342638193,), (1342638214,), (1342638249,), (1342638435,), (1342638572,), (1342638576,), (1342638580,), (1342638677,), (1342638720,), (1342638795,), (1342638876,), (1342638913,), (1342638920,), (1342638943,), (1342638947,), (1342638969,), (1342639010,), (1342639026,), (1342639042,), (1342639200,), (1342639221,), (1342639241,), (1342639421,), (1342639452,), (1342639474,), (1342639495,), (1342639524,), (1342639544,), (1342639653,), (1342639677,), (1342639700,), (1342639717,), (1342639806,), (1342639821,), (1342639841,), (1342639863,), (1342639883,), (1342639902,), (1342640133,), (1342640153,), (1342640159,), (1342640164,), (1342640238,), (1342640246,), (1342640253,), (1342640267,), (1342640282,), (1342640318,), (1342640714,), (1342640761,), (1342640791,), (1342640826,), (1342640836,), (1342641102,), (1342641024,), (1342641073,), (1342641616,), (1342641649,), (1342641706,), (1342641811,), (1342641833,), (1342641891,), (1342642121,), (1342642182,), (1342642246,), (1342642277,), (1342642315,), (1342642348,), (1342642506,), (1342642538,), (1342642601,), (1342642649,), (1342642805,), (1342642860,), (1342642917,), (1342643363,), (1342643386,), (1342643396,), (1342643415,), (1342643621,), (1342643637,), (1342643640,), (1342643663,), (1342643675,), (1342643678,), (1342643742,), (1342643746,), (1342643753,), (1342643756,), (1342643884,), (1342644281,), (1342644303,), (1342644362,), (1342644517,), (1342644531,), (1342644535,), (1342644548,), (1342644640,), (1342644665,), (1342644693,), (1342644703,), (1342644732,), (1342644742,), (1342644828,), (1342644854,), (1342644877,), (1342644902,), (1342645637,), (1342645286,), (1342645406,), (1342645452,), (1342645507,), (1342645558,), (1342645791,), (1342645849,), (1342645939,), (1342645987,), (1342646331,), (1342646373,), (1342646421,), (1342646464,), (1342646521,), (1342646555,), (1342646864,), (1342646922,), (1342646963,), (1342647010,), (1342647031,), (1342647231,), (1342647236,), (1342647269,), (1342647309,), (1342647315,), (1342647317,), (1342647443,), (1342647453,), (1342647461,), (1342647465,), (1342647468,), (1342647561,), (1342647596,), (1342647619,), (1342647631,), (1342647639,), (1342647645,), (1342647739,), (1342647746,), (1342647754,), (1342647776,), (1342647909,), (1342647914,), (1342647930,), (1342647954,), (1342647975,), (1342647992,), (1342648139,), (1342648160,), (1342648183,), (1342648211,), (1342648346,), (1342648353,), (1342648361,), (1342648375,), (1342648501,), (1342648519,), (1342648746,), (1342648783,), (1342648842,), (1342648896,), (1342649277,), (1342649313,), (1342649361,), (1342649393,), (1342649438,), (1342649464,), (1342649598,), (1342649618,), (1342649639,), (1342649663,), (1342649699,), (1342649884,), (1342649907,), (1342649931,), (1342649952,), (1342649976,), (1342650184,), (1342650148,), (1342650167,), (1342650171,), (1342650173,), (1342650178,), (1342650268,), (1342650277,), (1342650284,), (1342650294,), (1342650590,), (1342650656,), (1342650716,), (1342650734,), (1342650758,), (1342650784,), (1342651006,), (1342651043,), (1342651110,), (1342651138,), (1342651357,), (1342651494,), (1342651511,), (1342651653,), (1342651817,), (1342651975,), (1342651986,), (1342652086,), (1342652143,), (1342652147,), (1342652316,), (1342652349,), (1342652422,), (1342652576,), (1342652702,), (1342652927,), (1342652954,), (1342652984,), (1342653034,), (1342653098,), (1342653116,), (1342653349,), (1342653418,), (1342653496,), (1342653511,), (1342653945,), (1342653949,), (1342653953,), (1342653954,), (1342653958,), (1342653961,), (1342654175,), (1342654179,), (1342655446,), (1342662870,), (1342662693,), (1342662782,), (1342662808,), (1342662845,), (1342663001,), (1342663005,), (1342663010,), (1342663031,), (1342663051,), (1342663118,), (1342663152,), (1342663200,), (1342663814,), (1342663914,), (1342664024,), (1342664119,), (1342664522,), (1342664539,), (1342664542,), (1342664755,), (1342664781,), (1342664806,), (1342664828,), (1342665024,), (1342665030,), (1342665037,), (1342665045,), (1342665048,), (1342665115,), (1342665119,), (1342665123,), (1342665127,), (1342665129,), (1342665143,), (1342665180,), (1342665185,), (1342665207,), (1342665210,), (1342665215,), (1342665510,), (1342665562,), (1342665612,), (1342665694,), (1342665746,), (1342665940,), (1342665953,), (1342665959,), (1342666015,), (1342666091,), (1342666225,), (1342666230,), (1342666234,), (1342666237,), (1342666245,), (1342666366,), (1342666295,), (1342666300,), (1342666315,), (1342666343,), (1342666610,), (1342666637,), (1342666655,), (1342666659,), (1342666674,), (1342666749,), (1342666752,), (1342666766,), (1342666770,), (1342666778,), (1342667040,), (1342667142,), (1342667286,), (1342667290,), (1342667298,), (1342667528,), (1342667559,), (1342667579,), (1342667606,), (1342667626,), (1342667656,), (1342668021,), (1342668049,), (1342668077,), (1342668096,), (1342668122,), (1342668481,), (1342668486,), (1342668493,), (1342668811,), (1342668829,), (1342668843,), (1342668850,), (1342668854,), (1342669103,), (1342669132,), (1342669156,), (1342669174,), (1342669197,), (1342669275,), (1342669306,), (1342669344,), (1342669387,), (1342669425,), (1342669428,), (1342669433,), (1342669519,), (1342669548,), (1342669574,), (1342669581,), (1342669816,), (1342669842,), (1342669868,), (1342669889,), (1342670148,), (1342670208,), (1342670216,), (1342670220,), (1342670504,), (1342670519,), (1342670525,), (1342670544,), (1342670609,), (1342670589,), (1342670602,), (1342670605,), (1342670975,), (1342671013,), (1342671312,), (1342671391,), (1342671470,), (1342671839,), (1342671848,), (1342671940,), (1342671946,), (1342671954,), (1342672250,), (1342672279,), (1342672586,), (1342672610,), (1342673008,), (1342673070,), (1342673106,), (1342673130,), (1342673423,), (1342673492,), (1342673566,), (1342673656,), (1342673765,), (1342673780,), (1342673787,), (1342673791,), (1342673804,), (1342673835,), (1342673853,), (1342673881,), (1342673956,), (1342674021,), (1342674167,), (1342674173,), (1342674194,), (1342674393,), (1342674410,), (1342674415,), (1342674555,), (1342674582,), (1342674605,), (1342674631,), (1342674854,), (1342674872,), (1342674879,), (1342674891,), (1342675025,), (1342675019,), (1342675443,), (1342675449,), (1342675452,), (1342675457,), (1342675459,), (1342675712,), (1342675734,), (1342676063,), (1342676089,), (1342676108,), (1342676662,), (1342676682,), (1342676727,), (1342676834,), (1342676841,), (1342676844,), (1342676864,), (1342677027,), (1342677098,), (1342677162,), (1342677202,), (1342677258,), (1342677263,), (1342677267,), (1342677272,), (1342677275,), (1342677334,), (1342677338,), (1342677804,), (1342677830,), (1342677881,), (1342678072,), (1342678076,), (1342678079,), (1342678080,), (1342678156,), (1342678162,), (1342678168,), (1342678172,), (1342678329,), (1342678369,), (1342678380,), (1342678400,), (1342678723,), (1342678731,), (1342678771,), (1342679021,), (1342678879,), (1342678906,), (1342678981,), (1342679311,), (1342679740,), (1342679761,), (1342679777,), (1342680017,), (1342680021,), (1342680527,), (1342680530,), (1342680534,), (1342680537,), (1342680634,), (1342680639,), (1342680642,), (1342680681,), (1342680824,), (1342680843,), (1342680946,), (1342680949,), (1342680956,), (1342681281,), (1342681412,), (1342681416,), (1342681419,), (1342681515,), (1342681580,), (1342681607,), (1342681688,), (1342681768,), (1342682358,), (1342682416,), (1342682443,), (1342682456,), (1342682542,), (1342682547,), (1342682550,), (1342682657,), (1342682661,), (1342682728,), (1342682903,), (1342682912,), (1342682919,), (1342683384,), (1342683459,), (1342683462,), (1342683606,), (1342683610,), (1342683666,), (1342683758,), (1342683764,), (1342683767,), (1342684023,), (1342684070,), (1342684075,), (1342684100,), (1342684483,), (1342684555,), (1342684749,), (1342684756,), (1342684830,), (1342684834,), (1342685614,), (1342685993,), (1342686079,), (1342686133,), (1342686186,), (1342686207,), (1342686439,), (1342686534,), (1342687110,), (1342687081,), (1342687573,), (1342687599,), (1342687740,), (1342687746,), (1342687750,), (1342687755,), (1342687809,), (1342688445,), (1342691131,), (1342691216,), (1342691600,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'10032025': {'nb_upload': 31, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21244713]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] map_info['map_portfolio_photo'] : {21244713: [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903]} final : True mtd_id 4302 list_pids : [1342687110, 1342686534, 1342686439, 1342686207, 1342686186, 1342686133, 1342686079, 1342685993, 1342685614, 1342684834, 1342684830, 1342684756, 1342684749, 1342684555, 1342684483, 1342684100, 1342684075, 1342684070, 1342684023, 1342683767, 1342683764, 1342683758, 1342683666, 1342683610, 1342683606, 1342683462, 1342683459, 1342683384, 1342682919, 1342682912, 1342682903] Looping around the photos to save general results len do output : 1 /21244713Didn'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, '2656769') ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769') ('4302', None, None, None, None, None, None, None, '2656769') ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769') 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, '21244713', 'None', None, None, None, None, '2656769'), ('4302', '21244713', '1342687110', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686534', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686439', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686207', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686186', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686133', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342686079', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685993', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342685614', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684834', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684830', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684756', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684749', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684555', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684483', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684100', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684075', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684070', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342684023', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683767', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683764', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683758', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683666', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683610', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683606', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683462', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683459', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342683384', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682919', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682912', None, None, None, None, None, '2656769'), ('4302', '21244713', '1342682903', None, None, None, None, None, '2656769')] time used for this insertion : 0.02013850212097168 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7849445343017578 time spend to save output : 0.020488500595092773 total time spend for step 5 : 1.8054330348968506 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 (2656769) 3.59user 2.11system 0:18.75elapsed 30%CPU (0avgtext+0avgdata 162144maxresident)k 256inputs+30584outputs (0major+84703minor)pagefaults 0swaps