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 : 4126458 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 (2572299) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2572299) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692463 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2572299'] with mtr_portfolio_ids : ['19692463'] and first list_photo_ids : [] new path : /proc/4126458/ Name: python3 Umask: 0002 State: R (running) Tgid: 4126458 Ngid: 0 Pid: 4126458 PPid: 4126457 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4126458 NSpid: 4126458 NSpgid: 4125871 NSsid: 4125871 VmPeak: 1106660 kB VmSize: 1106660 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97836 kB VmRSS: 97836 kB RssAnon: 59736 kB RssFile: 38100 kB RssShmem: 0 kB VmData: 865412 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 616 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: 57 nonvoluntary_ctxt_switches: 139 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4126458', 'Ngid': '0', 'Pid': '4126458', 'PPid': '4126457', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4126458', 'NSpid': '4126458', 'NSpgid': '4125871', 'NSsid': '4125871', 'VmPeak': '1106660 kB', 'VmSize': '1106660 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97836 kB', 'VmRSS': '97836 kB', 'RssAnon': '59736 kB', 'RssFile': '38100 kB', 'RssShmem': '0 kB', 'VmData': '865412 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '616 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': '57', 'nonvoluntary_ctxt_switches': '139'} ('datou_batch_current', '4126458', '1106660', '0', '1106660', '865412', '97836', b'', 'marlene', '2572299') 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 (19692463) 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 (2572299 ) ) 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 (19692463) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1329752945, 'portfolio_id': 19692463}, {'photo_id': 1329333612, 'portfolio_id': 19692463}, {'photo_id': 1329333605, 'portfolio_id': 19692463}, {'photo_id': 1329333596, 'portfolio_id': 19692463}, {'photo_id': 1329333585, 'portfolio_id': 19692463}, {'photo_id': 1329333501, 'portfolio_id': 19692463}, {'photo_id': 1329333494, 'portfolio_id': 19692463}, {'photo_id': 1329333491, 'portfolio_id': 19692463}, {'photo_id': 1329333482, 'portfolio_id': 19692463}, {'photo_id': 1329333383, 'portfolio_id': 19692463}, {'photo_id': 1329333328, 'portfolio_id': 19692463}, {'photo_id': 1329333292, 'portfolio_id': 19692463}, {'photo_id': 1329333291, 'portfolio_id': 19692463}, {'photo_id': 1329333290, 'portfolio_id': 19692463}, {'photo_id': 1329333283, 'portfolio_id': 19692463}, {'photo_id': 1329332670, 'portfolio_id': 19692463}, {'photo_id': 1329332646, 'portfolio_id': 19692463}, {'photo_id': 1329332587, 'portfolio_id': 19692463}, {'photo_id': 1329332581, 'portfolio_id': 19692463}, {'photo_id': 1329332561, 'portfolio_id': 19692463}, {'photo_id': 1329332549, 'portfolio_id': 19692463}, {'photo_id': 1329332073, 'portfolio_id': 19692463}, {'photo_id': 1329332070, 'portfolio_id': 19692463}, {'photo_id': 1329332067, 'portfolio_id': 19692463}] map_portfolio_id_photo_id: {19692463: [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067]} ##### 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 : 1.495509147644043 #### 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 Mon Feb 10 21:19:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19692463) 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 : 19692463 get user id for portfolio 19692463 get sub ptf for main ptf 19692463, type 3726 and hashtags ['Carton_brun', 'mal_croppe', 'cartonnette', 'metal', 'flou', 'environnement', 'papier', 'plastique', 'autre_refus', 'Carton_gris', 'kraft', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692463 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','mal_croppe','cartonnette','metal','flou','environnement','papier','plastique','autre_refus','Carton_gris','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692463 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','mal_croppe','cartonnette','metal','flou','environnement','papier','plastique','autre_refus','Carton_gris','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 19692463, 'sub_port_id': 19692622, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469783, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'kraft': {'main_port_id': 19692463, 'sub_port_id': 19692623, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469784, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'papier': {'main_port_id': 19692463, 'sub_port_id': 19692624, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469785, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'environnement': {'main_port_id': 19692463, 'sub_port_id': 19692625, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469786, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'cartonnette': {'main_port_id': 19692463, 'sub_port_id': 19692626, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469787, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'plastique': {'main_port_id': 19692463, 'sub_port_id': 19692627, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469788, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 19692463, 'sub_port_id': 19692628, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469789, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'Carton_brun': {'main_port_id': 19692463, 'sub_port_id': 19692629, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469790, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'flou': {'main_port_id': 19692463, 'sub_port_id': 19692630, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469791, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'mal_croppe': {'main_port_id': 19692463, 'sub_port_id': 19692631, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469792, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'autre_refus': {'main_port_id': 19692463, 'sub_port_id': 19692632, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469793, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}, 'Carton_gris': {'main_port_id': 19692463, 'sub_port_id': 19692633, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469794, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692622 , 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=19692463 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 (19692622) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692623 , 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=19692463 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 (19692623) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692624 , 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=19692463 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 (19692624) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692625 , 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=19692463 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 (19692625) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692626 , 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=19692463 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 (19692626) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692627 , 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=19692463 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 (19692627) result : ((1329334183,), (1329334184,), (1335936795,), (1335936796,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692628 , 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=19692463 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 (19692628) result : ((1329334110,), (1329334111,), (1329334112,), (1329334113,), (1329334114,), (1329334115,), (1329334116,), (1330714082,), (1330714083,), (1330714084,), (1330714085,), (1330714086,), (1330714087,), (1330714088,), (1330714089,), (1330714090,), (1330714091,), (1330714092,), (1330714093,), (1330714094,), (1335936735,), (1335936736,), (1335936737,), (1335936738,), (1335936739,), (1335936741,), (1335936743,), (1335936744,), (1335936745,), (1335936746,), (1335936747,), (1335936748,), (1335936749,), (1335936750,), (1335936751,), (1335936752,), (1335936753,), (1335937780,), (1335937781,), (1335937782,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692629 , 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=19692463 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 (19692629) result : ((1329334161,), (1329334162,), (1330714119,), (1330714120,), (1335936791,), (1335936792,), (1335937796,), (1335937797,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692630 , 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=19692463 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 (19692630) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692631 , 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=19692463 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 (19692631) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692632 , 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=19692463 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 (19692632) result : ((1329333704,), (1329334117,), (1329334118,), (1329334119,), (1329334120,), (1329334121,), (1329334122,), (1329334123,), (1329334124,), (1329334125,), (1329334126,), (1330714095,), (1330714096,), (1330714097,), (1330714098,), (1335936755,), (1335936756,), (1335936757,), (1335936758,), (1335936759,), (1335936760,), (1335936761,), (1335936762,), (1335936763,), (1335936764,), (1335937784,), (1335937785,), (1335937786,), (1335937787,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 19692633 , 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=19692463 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 (19692633) result : ((1329334131,), (1329334132,), (1329334134,), (1329334135,), (1329334137,), (1329334138,), (1330714108,), (1330714109,), (1330714110,), (1330714111,), (1330714112,), (1330714113,), (1330714114,), (1330714115,), (1330714116,), (1330714117,), (1330714118,), (1335936776,), (1335936777,), (1335936778,), (1335936779,), (1335936780,), (1335936781,), (1335936782,), (1335936783,), (1335936784,), (1335936785,), (1335936786,), (1335936787,), (1335937790,), (1335937791,), (1335937792,), (1335937793,), (1335937794,), (1335937795,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (19692463) result : ((1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692463 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','mal_croppe','cartonnette','metal','flou','environnement','papier','plastique','autre_refus','Carton_gris','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692463 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','mal_croppe','cartonnette','metal','flou','environnement','papier','plastique','autre_refus','Carton_gris','kraft','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'metal': {'main_port_id': 19692463, 'sub_port_id': 19692634, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469795, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'kraft': {'main_port_id': 19692463, 'sub_port_id': 19692635, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469796, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'papier': {'main_port_id': 19692463, 'sub_port_id': 19692636, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469797, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'environnement': {'main_port_id': 19692463, 'sub_port_id': 19692637, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469798, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'cartonnette': {'main_port_id': 19692463, 'sub_port_id': 19692638, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469799, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'plastique': {'main_port_id': 19692463, 'sub_port_id': 19692639, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469800, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 19692463, 'sub_port_id': 19692640, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469801, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'Carton_brun': {'main_port_id': 19692463, 'sub_port_id': 19692641, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469802, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'flou': {'main_port_id': 19692463, 'sub_port_id': 19692642, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469803, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'mal_croppe': {'main_port_id': 19692463, 'sub_port_id': 19692643, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469804, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'autre_refus': {'main_port_id': 19692463, 'sub_port_id': 19692644, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469805, 'last_updated_at': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_desc': datetime.datetime(2025, 1, 16, 7, 9, 29), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}, 'Carton_gris': {'main_port_id': 19692463, 'sub_port_id': 19692645, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12469806, 'last_updated_at': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_desc': datetime.datetime(2025, 2, 8, 21, 44, 31), 'last_updated_at_asc': datetime.datetime(2025, 1, 16, 7, 9, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692634,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692622 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692635,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692623 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692636,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692624 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692637,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692625 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692638,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692626 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692639,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692627 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692640,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692628 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692641,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692629 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692642,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692630 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692643,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692631 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692644,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692632 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 19692645,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 19692633 lien utilise dans velours : https://www.fotonower.com/velours/19692634,19692635,19692636,19692637,19692638,19692639,19692640,19692641,19692642,19692643,19692644,19692645?tags=metal,kraft,papier,environnement,cartonnette,plastique,Teint_Dans_La_Masse,Carton_brun,flou,mal_croppe,autre_refus,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19692463]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] map_info['map_portfolio_photo'] : {19692463: [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067]} final : False mtd_id 4302 list_pids : [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] Looping around the photos to save general results len do output : 1 /19692463. 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, '2572299') ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '19692463', "{'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633}", None, None, None, None, '2572299'), ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299')] time used for this insertion : 0.019976139068603516 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.848788261413574 time spend to save output : 0.020390987396240234 total time spend for step 1 : 3.8691792488098145 step2:final Mon Feb 10 21:19:34 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 (19692463) 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 19692463 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1329332073,1329332070,1329332067,1329333612,1329333501,1329332670,1329333383,1329332646,1329332587,1329333328,1329333292,1329332581,1329333291,1329332561,1329333290,1329332549,1329333283,1329333494,1329333605,1329333491,1329333596,1329333482,1329333585,1329752945); 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([19692463]) Inside saveOutput : final : False verbose : True original output for save of step final : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} new output for save of step final : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] map_info['map_portfolio_photo'] : {19692463: [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067]} final : False mtd_id 4302 list_pids : [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] Looping around the photos to save general results len do output : 24 /1329752945.Didn't retrieve data . /1329333612.Didn't retrieve data . /1329333605.Didn't retrieve data . /1329333596.Didn't retrieve data . /1329333585.Didn't retrieve data . /1329333501.Didn't retrieve data . /1329333494.Didn't retrieve data . /1329333491.Didn't retrieve data . /1329333482.Didn't retrieve data . /1329333383.Didn't retrieve data . /1329333328.Didn't retrieve data . /1329333292.Didn't retrieve data . /1329333291.Didn't retrieve data . /1329333290.Didn't retrieve data . /1329333283.Didn't retrieve data . /1329332670.Didn't retrieve data . /1329332646.Didn't retrieve data . /1329332587.Didn't retrieve data . /1329332581.Didn't retrieve data . /1329332561.Didn't retrieve data . /1329332549.Didn't retrieve data . /1329332073.Didn't retrieve data . /1329332070.Didn't retrieve data . /1329332067.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, '2572299') ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 72 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', '19692463', '1329752945', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333612', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333605', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333596', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333585', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333501', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333494', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333491', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333482', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333383', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333328', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333292', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333291', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333290', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329333283', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332670', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332646', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332587', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332581', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332561', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332549', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332073', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332070', '0.12186631913608359', None, None, None, None, '2572299'), ('4302', '19692463', '1329332067', '0.12186631913608359', None, None, None, None, '2572299')] time used for this insertion : 0.015384674072265625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2814006805419922 time spend to save output : 0.016487836837768555 total time spend for step 2 : 0.29788851737976074 step3:velours_tree Mon Feb 10 21:19:34 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 : {19692463: [{'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633}]} input_args_next_step : {19692463: ()} output_args : {19692463: [{'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633}]} args : 19692463 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 : ({'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19692463) 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([19692463]) 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.3435826301574707 time spend to save output : 6.437301635742188e-05 total time spend for step 3 : 0.3436470031738281 step4:send_mail_cod Mon Feb 10 21:19:34 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 : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} input_args_next_step : {1329752945: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329752945 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333612 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333605 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333596 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333585 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333501 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333494 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333491 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333482 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333383 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333328 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333292 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333291 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333290 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329333283 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332670 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332646 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332587 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332581 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332561 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332549 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332073 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332070 depend.output_id : 0 input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ()} output_args : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',)} args : 1329332067 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 : {19692463: [{'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633}]} input_args_next_step : {1329752945: ('0.12186631913608359',), 1329333612: ('0.12186631913608359',), 1329333605: ('0.12186631913608359',), 1329333596: ('0.12186631913608359',), 1329333585: ('0.12186631913608359',), 1329333501: ('0.12186631913608359',), 1329333494: ('0.12186631913608359',), 1329333491: ('0.12186631913608359',), 1329333482: ('0.12186631913608359',), 1329333383: ('0.12186631913608359',), 1329333328: ('0.12186631913608359',), 1329333292: ('0.12186631913608359',), 1329333291: ('0.12186631913608359',), 1329333290: ('0.12186631913608359',), 1329333283: ('0.12186631913608359',), 1329332670: ('0.12186631913608359',), 1329332646: ('0.12186631913608359',), 1329332587: ('0.12186631913608359',), 1329332581: ('0.12186631913608359',), 1329332561: ('0.12186631913608359',), 1329332549: ('0.12186631913608359',), 1329332073: ('0.12186631913608359',), 1329332070: ('0.12186631913608359',), 1329332067: ('0.12186631913608359',), 19692463: ()} output_args : {19692463: [{'metal': 19692622, 'kraft': 19692623, 'papier': 19692624, 'environnement': 19692625, 'cartonnette': 19692626, 'plastique': 19692627, 'Teint_Dans_La_Masse': 19692628, 'Carton_brun': 19692629, 'flou': 19692630, 'mal_croppe': 19692631, 'autre_refus': 19692632, 'Carton_gris': 19692633}]} args : 19692463 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 :25, first value : ('0.12186631913608359',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19692463) 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 (1329752945,1329333612,1329333605,1329333596,1329333585,1329333501,1329333494,1329333491,1329333482,1329333383,1329333328,1329333292,1329333291,1329333290,1329333283,1329332670,1329332646,1329332587,1329332581,1329332561,1329332549,1329332073,1329332070,1329332067) Found this number of photos: 24 ##### Call download_photos : nb_thread : 5 begin to download photo : 1329332067 begin to download photo : 1329332581 begin to download photo : 1329333290 begin to download photo : 1329333482 begin to download photo : 1329333596 download finish for photo 1329332067 begin to download photo : 1329332070 download finish for photo 1329333290 begin to download photo : 1329333291 download finish for photo 1329333596 begin to download photo : 1329333605 download finish for photo 1329332581 begin to download photo : 1329332587 download finish for photo 1329333482 begin to download photo : 1329333491 download finish for photo 1329332587 begin to download photo : 1329332646 download finish for photo 1329333605 begin to download photo : 1329333612 download finish for photo 1329332070 begin to download photo : 1329332073 download finish for photo 1329333291 begin to download photo : 1329333292 download finish for photo 1329333491 begin to download photo : 1329333494 download finish for photo 1329332646 begin to download photo : 1329332670 download finish for photo 1329333612 begin to download photo : 1329752945 download finish for photo 1329332073 begin to download photo : 1329332549 download finish for photo 1329333292 begin to download photo : 1329333328 download finish for photo 1329333494 begin to download photo : 1329333501 download finish for photo 1329752945 download finish for photo 1329332670 begin to download photo : 1329333283 download finish for photo 1329332549 begin to download photo : 1329332561 download finish for photo 1329333328 begin to download photo : 1329333383 download finish for photo 1329333501 begin to download photo : 1329333585 download finish for photo 1329333283 download finish for photo 1329332561 download finish for photo 1329333585 download finish for photo 1329333383 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette196926221739218775/ imagette196926231739218775/ imagette196926261739218775/ length of list_filenames : 24 ; length of list_pids : 24 ; length of list_args : 24 results_Auto_P19692463_10-02-2025_21_19_35.pdf 19692622 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=19692622 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette196926221739218775 19692623 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=19692623 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette196926231739218775 19692626 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=19692626 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette196926261739218775 19692627 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=19692627 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1329334183: '1737007632_1197131_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739709_0.png', 1329334184: '1737007632_1197131_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738857_0.png', 1335936795: '1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739709_0.png', 1335936796: '1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738857_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/7b2b415455f81437a11ada87fa3d2891_19387715.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/5c9b668914bea37b943fea04b6bff85e_91993792.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/7b2b415455f81437a11ada87fa3d2891_24724190.png change filename to text .imagette196926271739218775/ imagette196926271739218775/1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739709_0.png.png imagette196926271739218775/1737007632_1197131_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739709_0.png.png imagette196926271739218775/1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738857_0.png.png imagette196926271739218775/1737007632_1197131_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738857_0.png.png imagette196926301739218776/ imagette196926311739218776/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/5c9b668914bea37b943fea04b6bff85e_48960529.png imagette196926271739218775 19692630 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=19692630 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette196926301739218776 19692631 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=19692631 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette196926311739218776 19692632 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=19692632 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1330714098: '1737594015_412489_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735262_0.png', 1335937787: '1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735262_0.png', 1335937786: '1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735254_0.png', 1335937785: '1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618738926_0.png', 1335937784: '1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735205_0.png', 1335936764: '1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738859_0.png', 1335936763: '1739046476_4015992_1329332587_477736e7c8b48988712384d9288abe67_rle_crop_3618738823_0.png', 1335936762: '1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738808_0.png', 1335936761: '1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738812_0.png', 1335936760: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739764_0.png', 1335936759: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739760_0.png', 1335936758: '1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739710_0.png', 1335936757: '1739046476_4015992_1329333328_69288130c25bfce539c1636ce7ced36c_rle_crop_3618739671_0.png', 1335936756: '1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739645_0.png', 1335936755: '1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739648_0.png', 1329333704: '1737007614_1196885_1329332070_14d913e3a03e826e664f54ef12ee288f_bib_crop_3618735215_0.jpg', 1330714097: '1737594015_412489_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735254_0.png', 1330714096: '1737594015_412489_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618738926_0.png', 1330714095: '1737594015_412489_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735205_0.png', 1329334126: '1737007632_1197131_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738859_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/f8cfcb42170e773bf33654eaf266e0a3_51403113.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/f8cfcb42170e773bf33654eaf266e0a3_75234038.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/80d11b632ec3b406cad6f542f4f20cea_22399911.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/c46ca6f70ec932bffaf5127adf0ed7ea_27293903.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/b8076e1cb893f7cb5a9d0cb49db4a9e7_27638804.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/e5f732222153a3b65e1d64d6af3968b7_14086441.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/c2221a440b11e7f13a137b04b6d019b8_46100737.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/22b90bef79a7226629bc0b717f945935_12315471.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/e63c7f4421a8ec875bfbf340ebbabdac_17148045.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/d2b2756cc55c58b96ba78ac7681eab1f_79334167.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/dcebf4a0eda26add096d685a28e9090f_79456905.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/99c8d44344ba743d0748da3d55c0de57_12381996.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/8a0b6c401bdc0d67ab67dbcc2587a6c3_38932806.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/dd6b7149ff09686bc3736dc31ffaa232_48638806.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/7934a3436a54f12e537b7b2b38a8ede3_20671258.png change filename to text .wget -O 16.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/0117770015c94be1ed57cabfb940d671_44548014.jpg change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/80d11b632ec3b406cad6f542f4f20cea_25335122.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/c46ca6f70ec932bffaf5127adf0ed7ea_37015720.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/b8076e1cb893f7cb5a9d0cb49db4a9e7_76921041.png change filename to text .imagette196926321739218776/ imagette196926321739218776/1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739645_0.png.png imagette196926321739218776/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739760_0.png.png imagette196926321739218776/1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739648_0.png.png imagette196926321739218776/1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739710_0.png.png imagette196926321739218776/1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738808_0.png.png imagette196926321739218776/1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618738926_0.png.png imagette196926321739218776/1737594015_412489_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735262_0.png.png imagette196926321739218776/1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735205_0.png.png imagette196926321739218776/1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738859_0.png.png imagette196926321739218776/1739046476_4015992_1329333328_69288130c25bfce539c1636ce7ced36c_rle_crop_3618739671_0.png.png imagette196926321739218776/1737594015_412489_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735254_0.png.png imagette196926321739218776/1737594015_412489_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618738926_0.png.png imagette196926321739218776/1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738812_0.png.png imagette196926321739218776/1737594015_412489_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735205_0.png.png imagette196926321739218776/1737007632_1197131_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738859_0.png.png imagette196926321739218776/1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735254_0.png.png imagette196926321739218776/1739046476_4015992_1329332587_477736e7c8b48988712384d9288abe67_rle_crop_3618738823_0.png.png imagette196926321739218776/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739764_0.png.png imagette196926321739218776/1737007614_1196885_1329332070_14d913e3a03e826e664f54ef12ee288f_bib_crop_3618735215_0.jpg.jpg imagette196926321739218776/1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735262_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/e5f732222153a3b65e1d64d6af3968b7_83833398.png imagette196926321739218776 19692628 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=19692628 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335936747: '1739046476_4015992_1329333292_4688e8fb16cc0c1de4193d22934e61d3_rle_crop_3618739695_0.png', 1335936736: '1739046476_4015992_1329333605_5cc71b9cb0b3acced6aa1414c4c85bb1_rle_crop_3618740183_0.png', 1335936737: '1739046476_4015992_1329333605_5cc71b9cb0b3acced6aa1414c4c85bb1_rle_crop_3618740177_0.png', 1335936738: '1739046476_4015992_1329333596_2a45a738feafd82ef6288e10ccf9af56_rle_crop_3618765573_0.png', 1335936739: '1739046476_4015992_1329333585_f43b043a29970726f138cd36a59d1e46_rle_crop_3618765701_0.png', 1335936741: '1739046476_4015992_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739536_0.png', 1335936743: '1739046476_4015992_1329333494_4d51256ac1fa8b1f1ef3e29d0d09b3a9_rle_crop_3618740200_0.png', 1335936744: '1739046476_4015992_1329333494_4d51256ac1fa8b1f1ef3e29d0d09b3a9_rle_crop_3618740194_0.png', 1335936745: '1739046476_4015992_1329333491_c54eee7755897909e9c5f77318088fa9_rle_crop_3618739486_0.png', 1335936746: '1739046476_4015992_1329333482_fc62782f3a1aaea0806abd317d710434_rle_crop_3618739507_0.png', 1335936735: '1739046476_4015992_1329333612_0932b76589dbd68cd87f48aa15d557e1_rle_crop_3618740722_0.png', 1335936748: '1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739716_0.png', 1335936749: '1739046476_4015992_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739745_0.png', 1335936750: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739759_0.png', 1335936751: '1739046476_4015992_1329332670_1a579ee7e07ae947a29df1969f6b225c_rle_crop_3618738897_0.png', 1335936752: '1739046476_4015992_1329332581_bf8ccff36ad3b124e370c02c51da12c5_rle_crop_3618738851_0.png', 1335936753: '1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738865_0.png', 1335937780: '1739047373_4051073_1329332549_6e2c86b6846fad14df671877b66c3c74_rle_crop_3618738881_0.png', 1335937781: '1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735213_0.png', 1335937782: '1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735264_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/6b695d6b9e1bb754f49bdbf8b31d3930_67080138.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/bcdcc6f9a47288310b5b66e82dbd2442_28659147.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/cc41aef9dc102cd2425cd47687287e72_95813154.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/f7db9681c44bdfd53beff6615256d224_48431802.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/cbd92b7cd85d7feaaaaac5176ccd9e15_66458105.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/0da032e5e036a39b6545ef0a2c9dc0df_22318947.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/bcdcc6f9a47288310b5b66e82dbd2442_86350452.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/cc41aef9dc102cd2425cd47687287e72_88903943.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/c50ee8c344be2f8e548006a53484aece_79918645.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/4305c0f7ffa76d4c3707313e98e8efd4_50323628.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/0da032e5e036a39b6545ef0a2c9dc0df_43184962.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/a88980be1850e1f6567ac3e2cec50a87_2479307.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/cfc732cc284c77c2630317c52b433f42_57639538.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/dcf0ead68ed5a3090e2741b6328b6e94_92162504.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/4be72cc37c26e5cf8304e9802cab28b8_60407992.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/d637e7fc5a8de19885ed0116254d196a_88729391.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/ce5cb976b8ae49521d210bda8bfb9226_13720906.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/b829fd8363e8fdb684ca3c1a123581aa_5264166.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/bb66e23fd373caefaad960bf40379807_99485898.png change filename to text .imagette196926281739218778/ imagette196926281739218778/1739046476_4015992_1329333494_4d51256ac1fa8b1f1ef3e29d0d09b3a9_rle_crop_3618740200_0.png.png imagette196926281739218778/1739046476_4015992_1329333596_2a45a738feafd82ef6288e10ccf9af56_rle_crop_3618765573_0.png.png imagette196926281739218778/1739046476_4015992_1329333494_4d51256ac1fa8b1f1ef3e29d0d09b3a9_rle_crop_3618740194_0.png.png imagette196926281739218778/1739046476_4015992_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739745_0.png.png imagette196926281739218778/1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735213_0.png.png imagette196926281739218778/1739046476_4015992_1329333605_5cc71b9cb0b3acced6aa1414c4c85bb1_rle_crop_3618740177_0.png.png imagette196926281739218778/1739046476_4015992_1329333612_0932b76589dbd68cd87f48aa15d557e1_rle_crop_3618740722_0.png.png imagette196926281739218778/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739759_0.png.png imagette196926281739218778/1739046476_4015992_1329333491_c54eee7755897909e9c5f77318088fa9_rle_crop_3618739486_0.png.png imagette196926281739218778/1739046476_4015992_1329333585_f43b043a29970726f138cd36a59d1e46_rle_crop_3618765701_0.png.png imagette196926281739218778/1739046476_4015992_1329332670_1a579ee7e07ae947a29df1969f6b225c_rle_crop_3618738897_0.png.png imagette196926281739218778/1739046476_4015992_1329333482_fc62782f3a1aaea0806abd317d710434_rle_crop_3618739507_0.png.png imagette196926281739218778/1739046476_4015992_1329333605_5cc71b9cb0b3acced6aa1414c4c85bb1_rle_crop_3618740183_0.png.png imagette196926281739218778/1739046476_4015992_1329333291_13b771a9e732c2aa90f6966bb3d2c25a_rle_crop_3618739716_0.png.png imagette196926281739218778/1739047373_4051073_1329332549_6e2c86b6846fad14df671877b66c3c74_rle_crop_3618738881_0.png.png imagette196926281739218778/1739046476_4015992_1329332581_bf8ccff36ad3b124e370c02c51da12c5_rle_crop_3618738851_0.png.png imagette196926281739218778/1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735264_0.png.png imagette196926281739218778/1739046476_4015992_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739536_0.png.png imagette196926281739218778/1739046476_4015992_1329333292_4688e8fb16cc0c1de4193d22934e61d3_rle_crop_3618739695_0.png.png imagette196926281739218778/1739046476_4015992_1329332561_02b2615f334eca27a9ba042789cd506e_rle_crop_3618738865_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/5f0d21c42d49b09077117f05a652ed16_85598743.png imagette196926281739218778 19692629 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=19692629 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1329334161: '1737007632_1197131_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739644_0.png', 1329334162: '1737007632_1197131_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738807_0.png', 1330714119: '1737594015_412489_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735180_0.png', 1330714120: '1737594015_412489_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735179_0.png', 1335936791: '1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739644_0.png', 1335936792: '1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738807_0.png', 1335937796: '1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735180_0.png', 1335937797: '1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735179_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/95b0aca2e3573ead40acb2f30e1350ff_88907481.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/a2fe033d910c6d1d3fa14d03ac7fbb64_93464931.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/ae6a2988daa84173772f6b3ba4d88159_60567856.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/34c25fe16a7eb91d5f94787abc02e680_22430117.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/95b0aca2e3573ead40acb2f30e1350ff_68566854.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/a2fe033d910c6d1d3fa14d03ac7fbb64_54162586.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/ae6a2988daa84173772f6b3ba4d88159_22671639.png change filename to text .imagette196926291739218781/ imagette196926291739218781/1737007632_1197131_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739644_0.png.png imagette196926291739218781/1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735180_0.png.png imagette196926291739218781/1739046476_4015992_1329333383_6905fd59fd2dbadd5f952691565229cf_rle_crop_3618739644_0.png.png imagette196926291739218781/1737594015_412489_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735179_0.png.png imagette196926291739218781/1737594015_412489_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735180_0.png.png imagette196926291739218781/1739046476_4015992_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738807_0.png.png imagette196926291739218781/1737007632_1197131_1329332646_7e2cac739c6338141c6c0398e18d36c0_rle_crop_3618738807_0.png.png imagette196926291739218781/1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735179_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/34c25fe16a7eb91d5f94787abc02e680_94408902.png imagette196926291739218781 19692633 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=19692633 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1335936785: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739754_0.png', 1335936777: '1739046476_4015992_1329333612_0932b76589dbd68cd87f48aa15d557e1_rle_crop_3618740720_0.png', 1335936778: '1739046476_4015992_1329333596_2a45a738feafd82ef6288e10ccf9af56_rle_crop_3618765577_0.png', 1335936779: '1739046476_4015992_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739534_0.png', 1335936780: '1739046476_4015992_1329333491_c54eee7755897909e9c5f77318088fa9_rle_crop_3618739490_0.png', 1335936781: '1739046476_4015992_1329333292_4688e8fb16cc0c1de4193d22934e61d3_rle_crop_3618739697_0.png', 1335936782: '1739046476_4015992_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739746_0.png', 1335936783: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3663641782_0.png', 1335936784: '1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_bib_crop_3618739763_0.jpg', 1335936776: '1739046476_4015992_1329752945_3484701f91f6945a6d95daa9bc29b7aa_rle_crop_3628892027_0.png', 1335936786: '1739046476_4015992_1329332670_1a579ee7e07ae947a29df1969f6b225c_rle_crop_3618738895_0.png', 1335936787: '1739046476_4015992_1329332581_bf8ccff36ad3b124e370c02c51da12c5_rle_crop_3618738853_0.png', 1335937790: '1739047373_4051073_1329332549_6e2c86b6846fad14df671877b66c3c74_rle_crop_3618738884_0.png', 1335937791: '1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735184_0.png', 1335937792: '1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735174_0.png', 1335937793: '1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735217_0.png', 1335937794: '1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735211_0.png', 1335937795: '1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735251_0.png', 1330714111: '1737594015_412489_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739534_0.png', 1329334132: '1737007632_1197131_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739746_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/85b3ef47bcf5408689951e16e1d8e021_53810636.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/d5e99af0744eac540f54ec11b66e0424_16394327.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/3362220c7a6da8fc471f69558d7160b7_18685367.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/d2378603b216678a300b92aebbbdd805_17659617.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/b8788705ef5a1c4707586c20fef8d81e_98228089.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/612af947a13bd3db6e6ed698cbef3315_77647542.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/6b1c1a3831678cf1483331e00faa6bef_55454458.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/bcc0a5abb5e0b199a401a1dd2b39aa4d_30765566.png change filename to text .wget -O 9.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/3500bbeadf93f2073225525548169d97_97149974.jpg change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/7a1c6af7ff5af95fbfb8523abb234013_454906.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/9b1173051916c3c27968cf3cea9143ad_30696388.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/7c39bdd723cc494fdea919c552e04213_9859888.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/072b8e8eb00cb2b408b907112df89de9_26859982.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/fd338132d5bd49383e89fdfbcd5e6727_19584908.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/41b29d0010b79a472e791987071043bf_78840906.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/815210a218f5d24b66504a3779e4f936_35046822.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/860898dc55d5fd779f1d7a9e3ab1f113_38018880.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/8/2bee03def0054c24d1b8466a7340d288_58852809.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/23/d2378603b216678a300b92aebbbdd805_55949137.png change filename to text .imagette196926331739218782/ imagette196926331739218782/1739047373_4051073_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415_rle_crop_3618735251_0.png.png imagette196926331739218782/1739046476_4015992_1329752945_3484701f91f6945a6d95daa9bc29b7aa_rle_crop_3628892027_0.png.png imagette196926331739218782/1739046476_4015992_1329333596_2a45a738feafd82ef6288e10ccf9af56_rle_crop_3618765577_0.png.png imagette196926331739218782/1739046476_4015992_1329332670_1a579ee7e07ae947a29df1969f6b225c_rle_crop_3618738895_0.png.png imagette196926331739218782/1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735217_0.png.png imagette196926331739218782/1739046476_4015992_1329333612_0932b76589dbd68cd87f48aa15d557e1_rle_crop_3618740720_0.png.png imagette196926331739218782/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3618739754_0.png.png imagette196926331739218782/1739047373_4051073_1329332070_14d913e3a03e826e664f54ef12ee288f_rle_crop_3618735211_0.png.png imagette196926331739218782/1739046476_4015992_1329332581_bf8ccff36ad3b124e370c02c51da12c5_rle_crop_3618738853_0.png.png imagette196926331739218782/1737007632_1197131_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739746_0.png.png imagette196926331739218782/1739046476_4015992_1329333491_c54eee7755897909e9c5f77318088fa9_rle_crop_3618739490_0.png.png imagette196926331739218782/1739046476_4015992_1329333290_232b22db3fa7aeffc6681d9658d51ae2_rle_crop_3618739746_0.png.png imagette196926331739218782/1739046476_4015992_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739534_0.png.png imagette196926331739218782/1737594015_412489_1329333501_183572ae4b59b6ad5ef77cd15a017d70_rle_crop_3618739534_0.png.png imagette196926331739218782/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_bib_crop_3618739763_0.jpg.jpg imagette196926331739218782/1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735184_0.png.png imagette196926331739218782/1739047373_4051073_1329332073_ac62718472c12341210737f63d6f7ad4_rle_crop_3618735174_0.png.png imagette196926331739218782/1739047373_4051073_1329332549_6e2c86b6846fad14df671877b66c3c74_rle_crop_3618738884_0.png.png imagette196926331739218782/1739046476_4015992_1329333292_4688e8fb16cc0c1de4193d22934e61d3_rle_crop_3618739697_0.png.png imagette196926331739218782/1739046476_4015992_1329333283_c027d7582f52d26419061bd9dfe922fd_rle_crop_3663641782_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/6b1c1a3831678cf1483331e00faa6bef_50703082.png imagette196926331739218782 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=19692463 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/19692634,19692635,19692636,19692637,19692638,19692639,19692640,19692641,19692642,19692643,19692644,19692645?tags=metal,kraft,papier,environnement,cartonnette,plastique,Teint_Dans_La_Masse,Carton_brun,flou,mal_croppe,autre_refus,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1329752945] : ('0.12186631913608359',) no score found for photo 1329752945 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333612] : ('0.12186631913608359',) no score found for photo 1329333612 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333605] : ('0.12186631913608359',) no score found for photo 1329333605 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333596] : ('0.12186631913608359',) no score found for photo 1329333596 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333585] : ('0.12186631913608359',) no score found for photo 1329333585 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333501] : ('0.12186631913608359',) no score found for photo 1329333501 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333494] : ('0.12186631913608359',) no score found for photo 1329333494 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333491] : ('0.12186631913608359',) no score found for photo 1329333491 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333482] : ('0.12186631913608359',) no score found for photo 1329333482 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333383] : ('0.12186631913608359',) no score found for photo 1329333383 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333328] : ('0.12186631913608359',) no score found for photo 1329333328 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333292] : ('0.12186631913608359',) no score found for photo 1329333292 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333291] : ('0.12186631913608359',) no score found for photo 1329333291 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333290] : ('0.12186631913608359',) no score found for photo 1329333290 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329333283] : ('0.12186631913608359',) no score found for photo 1329333283 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332670] : ('0.12186631913608359',) no score found for photo 1329332670 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332646] : ('0.12186631913608359',) no score found for photo 1329332646 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332587] : ('0.12186631913608359',) no score found for photo 1329332587 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332581] : ('0.12186631913608359',) no score found for photo 1329332581 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332561] : ('0.12186631913608359',) no score found for photo 1329332561 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332549] : ('0.12186631913608359',) no score found for photo 1329332549 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332073] : ('0.12186631913608359',) no score found for photo 1329332073 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332070] : ('0.12186631913608359',) no score found for photo 1329332070 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com args[1329332067] : ('0.12186631913608359',) no score found for photo 1329332067 apple ('0.12186631913608359',) We are sending mail with results at report@fotonower.com refus_total : 0.12186631913608359 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=19692463 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_P19692463_10-02-2025_21_19_35.pdf results_Auto_P19692463_10-02-2025_21_19_35.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692463_10-02-2025_21_19_35.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','19692463','results_Auto_P19692463_10-02-2025_21_19_35.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692463_10-02-2025_21_19_35.pdf','pdf','','0.43','0.12186631913608359') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19692463]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] map_info['map_portfolio_photo'] : {19692463: [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067]} final : False mtd_id 4302 list_pids : [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] 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, '2572299') ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 24 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', '19692463', '1329752945', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299')] time used for this insertion : 0.015637874603271484 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.754055500030518 time spend to save output : 0.016054630279541016 total time spend for step 4 : 11.770110130310059 step5:split_time_score Mon Feb 10 21:19:46 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 : ['19692463'] 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 : [('19692463',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (19692463) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1329333596: {'path': 'temp/1739218774_4126458_1329333596_2a45a738feafd82ef6288e10ccf9af56.jpg', 'extension': 'jpg'}, 1329333605: {'path': 'temp/1739218774_4126458_1329333605_5cc71b9cb0b3acced6aa1414c4c85bb1.jpg', 'extension': 'jpg'}, 1329333612: {'path': 'temp/1739218774_4126458_1329333612_0932b76589dbd68cd87f48aa15d557e1.jpg', 'extension': 'jpg'}, 1329752945: {'path': 'temp/1739218774_4126458_1329752945_3484701f91f6945a6d95daa9bc29b7aa.jpg', 'extension': 'jpg'}, 1329332581: {'path': 'temp/1739218774_4126458_1329332581_bf8ccff36ad3b124e370c02c51da12c5.jpg', 'extension': 'jpg'}, 1329332587: {'path': 'temp/1739218774_4126458_1329332587_477736e7c8b48988712384d9288abe67.jpg', 'extension': 'jpg'}, 1329332646: {'path': 'temp/1739218774_4126458_1329332646_7e2cac739c6338141c6c0398e18d36c0.jpg', 'extension': 'jpg'}, 1329332670: {'path': 'temp/1739218774_4126458_1329332670_1a579ee7e07ae947a29df1969f6b225c.jpg', 'extension': 'jpg'}, 1329333283: {'path': 'temp/1739218774_4126458_1329333283_c027d7582f52d26419061bd9dfe922fd.jpg', 'extension': 'jpg'}, 1329332067: {'path': 'temp/1739218774_4126458_1329332067_03a4aceb43231cfc7cc9fdb9cce3d415.jpg', 'extension': 'jpg'}, 1329332070: {'path': 'temp/1739218774_4126458_1329332070_14d913e3a03e826e664f54ef12ee288f.jpg', 'extension': 'jpg'}, 1329332073: {'path': 'temp/1739218774_4126458_1329332073_ac62718472c12341210737f63d6f7ad4.jpg', 'extension': 'jpg'}, 1329332549: {'path': 'temp/1739218774_4126458_1329332549_6e2c86b6846fad14df671877b66c3c74.jpg', 'extension': 'jpg'}, 1329332561: {'path': 'temp/1739218774_4126458_1329332561_02b2615f334eca27a9ba042789cd506e.jpg', 'extension': 'jpg'}, 1329333482: {'path': 'temp/1739218774_4126458_1329333482_fc62782f3a1aaea0806abd317d710434.jpg', 'extension': 'jpg'}, 1329333491: {'path': 'temp/1739218774_4126458_1329333491_c54eee7755897909e9c5f77318088fa9.jpg', 'extension': 'jpg'}, 1329333494: {'path': 'temp/1739218774_4126458_1329333494_4d51256ac1fa8b1f1ef3e29d0d09b3a9.jpg', 'extension': 'jpg'}, 1329333501: {'path': 'temp/1739218774_4126458_1329333501_183572ae4b59b6ad5ef77cd15a017d70.jpg', 'extension': 'jpg'}, 1329333585: {'path': 'temp/1739218774_4126458_1329333585_f43b043a29970726f138cd36a59d1e46.jpg', 'extension': 'jpg'}, 1329333290: {'path': 'temp/1739218774_4126458_1329333290_232b22db3fa7aeffc6681d9658d51ae2.jpg', 'extension': 'jpg'}, 1329333291: {'path': 'temp/1739218774_4126458_1329333291_13b771a9e732c2aa90f6966bb3d2c25a.jpg', 'extension': 'jpg'}, 1329333292: {'path': 'temp/1739218774_4126458_1329333292_4688e8fb16cc0c1de4193d22934e61d3.jpg', 'extension': 'jpg'}, 1329333328: {'path': 'temp/1739218774_4126458_1329333328_69288130c25bfce539c1636ce7ced36c.jpg', 'extension': 'jpg'}, 1329333383: {'path': 'temp/1739218774_4126458_1329333383_6905fd59fd2dbadd5f952691565229cf.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 = 19692463; (('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 = 19692463 group by h (('07', 24),) 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=19692463 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 (19692463) 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 (19692463) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 16012025 19692463 Nombre de photos uploadées : 24 / 23040 (0%) 16012025 19692463 Nombre de photos taguées (types de déchets): 0 / 24 (0%) 16012025 19692463 Nombre de photos taguées (volume) : 0 / 24 (0%) [{'photo_id': 1329332073, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/ac62718472c12341210737f63d6f7ad4.jpg', 'username': None, 'uploaded_at': 1737007292, 'text': 'image_16012025_07_00_03_009420m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1329332070, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/14d913e3a03e826e664f54ef12ee288f.jpg', 'username': None, 'uploaded_at': 1737007292, 'text': 'image_16012025_07_00_24_010432m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1329332067, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/03a4aceb43231cfc7cc9fdb9cce3d415.jpg', 'username': None, 'uploaded_at': 1737007292, 'text': 'image_16012025_07_00_44_010433m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1329333612, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/16/0932b76589dbd68cd87f48aa15d557e1.jpg', 'username': None, 'uploaded_at': 1737007593, 'text': 'image_16012025_07_00_53_009395m0.jpg 6e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012106895446777344 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 19692463, '2025-01-16' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1533843,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.022702693939208984 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= 1533843 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19674102, 'dashboard_result_id': 8426849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674219, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19674102_10-02-2025_21_05_02.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19673054, 'dashboard_result_id': 8426850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19673080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19673081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19673082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19673083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19673084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19673085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19673086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19673087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19673088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19673089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19673090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19673091, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673054_10-02-2025_21_05_36.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19675520, 'dashboard_result_id': 8426851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19675627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19675628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19675629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19675630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19675631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19675632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19675633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19675634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19675635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19675636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19675637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19675638, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19675520_10-02-2025_21_06_02.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19673926, 'dashboard_result_id': 8426852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674065, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673926_10-02-2025_21_06_34.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19677004, 'dashboard_result_id': 8426853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677105, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677004_10-02-2025_21_07_01.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19677639, 'dashboard_result_id': 8426854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677860, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677639_10-02-2025_21_07_37.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19678521, 'dashboard_result_id': 8426855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19678717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19678718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19678719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19678720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19678721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19678722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19678723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19678724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19678725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19678726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19678727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19678728, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19678521_10-02-2025_21_08_03.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19676633, 'dashboard_result_id': 8426856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19676691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19676692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19676693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19676694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19676695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19676696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19676697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19676698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19676699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19676700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19676701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19676702, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19676633_10-02-2025_21_08_47.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19679591, 'dashboard_result_id': 8426857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679799, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679591_10-02-2025_21_09_36.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19681229, 'dashboard_result_id': 8426858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681336, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681229_10-02-2025_21_10_02.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19679693, 'dashboard_result_id': 8426859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679948, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679693_10-02-2025_21_10_32.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19680167, 'dashboard_result_id': 8426860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19680380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680388, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680167_10-02-2025_21_11_01.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19680923, 'dashboard_result_id': 8426861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681000, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680923_10-02-2025_21_11_35.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19681712, 'dashboard_result_id': 8426862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681761, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681712_10-02-2025_21_12_04.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19682328, 'dashboard_result_id': 8426863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19682391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19682392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19682393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19682394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19682395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19682396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19682397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19682398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19682399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19682400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19682401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19682402, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19682328_10-02-2025_21_12_40.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19684965, 'dashboard_result_id': 8426864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685194, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684965_10-02-2025_21_13_04.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19685642, 'dashboard_result_id': 8426865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685843, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685642_10-02-2025_21_13_41.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19684811, 'dashboard_result_id': 8426866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19684909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19684910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19684911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19684912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19684913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19684914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19684915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19684916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19684917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19684918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19684919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19684920, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684811_10-02-2025_21_14_04.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19685326, 'dashboard_result_id': 8426867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685460, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685467, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685326_10-02-2025_21_14_33.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19685954, 'dashboard_result_id': 8426868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687765, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685954_10-02-2025_21_15_00.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19688699, 'dashboard_result_id': 8426869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19688875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19688876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19688877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19688878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19688879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19688880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19688881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19688882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19688883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19688884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19688885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19688886, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19688699_10-02-2025_21_15_34.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19687621, 'dashboard_result_id': 8426870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687669, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19687621_10-02-2025_21_16_11.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19690161, 'dashboard_result_id': 8426871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690274, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690161_10-02-2025_21_16_43.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19689368, 'dashboard_result_id': 8426872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19689400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19689401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19689402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19689403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19689404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19689405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19689406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19689407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19689408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19689409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19689410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19689411, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19689368_10-02-2025_21_17_16.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19691483, 'dashboard_result_id': 8426873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691708, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691483_10-02-2025_21_17_44.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19690289, 'dashboard_result_id': 8426874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690445, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690289_10-02-2025_21_18_11.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19691356, 'dashboard_result_id': 8426875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691417, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691356_10-02-2025_21_18_36.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19692157, 'dashboard_result_id': 8426876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692476, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692157_10-02-2025_21_19_12.pdf'}"}, {'dashboat_entry_day': 1533843, 'dashboard_run_id': 1553366, 'mtr_portfolio_id': 19692463, 'dashboard_result_id': 8426877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692633, 'pht': 3726}, 'url_report': ''}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19674102 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572271, 'mtr_portfolio_id': 19674102, 'created_at': datetime.datetime(2025, 2, 10, 21, 4, 58), 'result': '0.09077210469107454', 'result_long': None, 'result_double': None}] Qualite : 0.09077210469107454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19674102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19674102_10-02-2025_21_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19674102 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674219, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19674102_10-02-2025_21_05_02.pdf'}" where mtr_portfolio_id = 19674102 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19674102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426849, 0.09077210469107454, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674208, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674215, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674217, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674218, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674219, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19674102_10-02-2025_21_05_02.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19673054 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572272, 'mtr_portfolio_id': 19673054, 'created_at': datetime.datetime(2025, 2, 10, 21, 5, 30), 'result': '0.09196959284533013', 'result_long': None, 'result_double': None}] Qualite : 0.09196959284533013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19673054 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673054_10-02-2025_21_05_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19673054 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19673080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19673081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19673082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19673083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19673084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19673085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19673086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19673087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19673088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19673089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19673090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19673091, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673054_10-02-2025_21_05_36.pdf'}" where mtr_portfolio_id = 19673054 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19673054 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426850, 0.09196959284533013, "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19673080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19673081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19673082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19673083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19673084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19673085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19673086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19673087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19673088, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19673089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19673090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19673091, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673054_10-02-2025_21_05_36.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19675520 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572273, 'mtr_portfolio_id': 19675520, 'created_at': datetime.datetime(2025, 2, 10, 21, 5, 58), 'result': '0.07983028861700313', 'result_long': None, 'result_double': None}] Qualite : 0.07983028861700313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19675520 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19675520_10-02-2025_21_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19675520 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19675627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19675628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19675629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19675630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19675631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19675632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19675633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19675634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19675635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19675636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19675637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19675638, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19675520_10-02-2025_21_06_02.pdf'}" where mtr_portfolio_id = 19675520 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19675520 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426851, 0.07983028861700313, "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19675627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19675628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19675629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19675630, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19675631, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19675632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19675633, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19675634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19675635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19675636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19675637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19675638, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19675520_10-02-2025_21_06_02.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19673926 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572274, 'mtr_portfolio_id': 19673926, 'created_at': datetime.datetime(2025, 2, 10, 21, 6, 30), 'result': '0.08073157215011345', 'result_long': None, 'result_double': None}] Qualite : 0.08073157215011345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19673926 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673926_10-02-2025_21_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19673926 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674065, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673926_10-02-2025_21_06_34.pdf'}" where mtr_portfolio_id = 19673926 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19673926 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426852, 0.08073157215011345, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19674054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19674055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19674056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19674057, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19674058, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19674059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19674060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19674061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19674062, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19674063, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19674064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19674065, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19673926_10-02-2025_21_06_34.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19677004 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572275, 'mtr_portfolio_id': 19677004, 'created_at': datetime.datetime(2025, 2, 10, 21, 6, 58), 'result': '0.09218822333986955', 'result_long': None, 'result_double': None}] Qualite : 0.09218822333986955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19677004 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677004_10-02-2025_21_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19677004 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677105, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677004_10-02-2025_21_07_01.pdf'}" where mtr_portfolio_id = 19677004 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19677004 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426853, 0.09218822333986955, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677095, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677096, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677097, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677098, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677100, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677101, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677102, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677105, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677004_10-02-2025_21_07_01.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19677639 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572276, 'mtr_portfolio_id': 19677639, 'created_at': datetime.datetime(2025, 2, 10, 21, 7, 33), 'result': '0.0768338503018284', 'result_long': None, 'result_double': None}] Qualite : 0.0768338503018284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19677639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677639_10-02-2025_21_07_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19677639 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677860, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677639_10-02-2025_21_07_37.pdf'}" where mtr_portfolio_id = 19677639 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19677639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426854, 0.0768338503018284, "{'max_time_prod_two_photos': 0, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19677849, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19677850, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19677851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19677852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19677853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19677854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19677855, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19677856, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19677857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19677858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19677859, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19677860, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19677639_10-02-2025_21_07_37.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19678521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572277, 'mtr_portfolio_id': 19678521, 'created_at': datetime.datetime(2025, 2, 10, 21, 7, 59), 'result': '0.08206345004239152', 'result_long': None, 'result_double': None}] Qualite : 0.08206345004239152 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19678521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19678521_10-02-2025_21_08_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19678521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19678717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19678718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19678719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19678720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19678721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19678722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19678723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19678724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19678725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19678726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19678727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19678728, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19678521_10-02-2025_21_08_03.pdf'}" where mtr_portfolio_id = 19678521 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19678521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426855, 0.08206345004239152, "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19678717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19678718, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19678719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19678720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19678721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19678722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19678723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19678724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19678725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19678726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19678727, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19678728, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19678521_10-02-2025_21_08_03.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19676633 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572278, 'mtr_portfolio_id': 19676633, 'created_at': datetime.datetime(2025, 2, 10, 21, 8, 42), 'result': '0.09432680920497792', 'result_long': None, 'result_double': None}] Qualite : 0.09432680920497792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19676633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19676633_10-02-2025_21_08_47.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19676633 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19676691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19676692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19676693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19676694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19676695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19676696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19676697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19676698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19676699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19676700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19676701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19676702, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19676633_10-02-2025_21_08_47.pdf'}" where mtr_portfolio_id = 19676633 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19676633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426856, 0.09432680920497792, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19676691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19676692, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19676693, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19676694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19676695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19676696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19676697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19676698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19676699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19676700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19676701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19676702, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19676633_10-02-2025_21_08_47.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19679591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572279, 'mtr_portfolio_id': 19679591, 'created_at': datetime.datetime(2025, 2, 10, 21, 9, 29), 'result': '0.08293679774720426', 'result_long': None, 'result_double': None}] Qualite : 0.08293679774720426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19679591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679591_10-02-2025_21_09_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19679591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679799, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679591_10-02-2025_21_09_36.pdf'}" where mtr_portfolio_id = 19679591 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19679591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426857, 0.08293679774720426, "{'max_time_prod_two_photos': 0, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679788, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679797, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679798, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679799, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679591_10-02-2025_21_09_36.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19681229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572280, 'mtr_portfolio_id': 19681229, 'created_at': datetime.datetime(2025, 2, 10, 21, 9, 58), 'result': '0.11175881572711058', 'result_long': None, 'result_double': None}] Qualite : 0.11175881572711058 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19681229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681229_10-02-2025_21_10_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19681229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681336, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681229_10-02-2025_21_10_02.pdf'}" where mtr_portfolio_id = 19681229 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19681229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426858, 0.11175881572711058, "{'max_time_prod_two_photos': 0, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681325, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681328, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681336, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681229_10-02-2025_21_10_02.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19679693 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572281, 'mtr_portfolio_id': 19679693, 'created_at': datetime.datetime(2025, 2, 10, 21, 10, 28), 'result': '0.08719494110579012', 'result_long': None, 'result_double': None}] Qualite : 0.08719494110579012 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19679693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679693_10-02-2025_21_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19679693 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679948, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679693_10-02-2025_21_10_32.pdf'}" where mtr_portfolio_id = 19679693 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19679693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426859, 0.08719494110579012, "{'max_time_prod_two_photos': 0, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19679937, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19679938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19679939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19679940, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19679941, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19679942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19679943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19679944, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19679945, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19679946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19679947, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19679948, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19679693_10-02-2025_21_10_32.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19680167 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572282, 'mtr_portfolio_id': 19680167, 'created_at': datetime.datetime(2025, 2, 10, 21, 10, 57), 'result': '0.0839038910142922', 'result_long': None, 'result_double': None}] Qualite : 0.0839038910142922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19680167 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680167_10-02-2025_21_11_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19680167 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19680380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680388, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680167_10-02-2025_21_11_01.pdf'}" where mtr_portfolio_id = 19680167 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19680167 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426860, 0.0839038910142922, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680378, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19680380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680383, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680388, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680167_10-02-2025_21_11_01.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19680923 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572283, 'mtr_portfolio_id': 19680923, 'created_at': datetime.datetime(2025, 2, 10, 21, 11, 31), 'result': '0.09889811445572469', 'result_long': None, 'result_double': None}] Qualite : 0.09889811445572469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19680923 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680923_10-02-2025_21_11_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19680923 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681000, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680923_10-02-2025_21_11_35.pdf'}" where mtr_portfolio_id = 19680923 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19680923 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426861, 0.09889811445572469, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19680989, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19680990, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19680991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19680992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19680993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19680994, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19680995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19680996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19680997, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19680998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19680999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681000, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19680923_10-02-2025_21_11_35.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19681712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572284, 'mtr_portfolio_id': 19681712, 'created_at': datetime.datetime(2025, 2, 10, 21, 11, 59), 'result': '0.10100356511067263', 'result_long': None, 'result_double': None}] Qualite : 0.10100356511067263 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19681712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681712_10-02-2025_21_12_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19681712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681761, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681712_10-02-2025_21_12_04.pdf'}" where mtr_portfolio_id = 19681712 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19681712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426862, 0.10100356511067263, "{'max_time_prod_two_photos': 0, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19681750, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19681751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19681752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19681753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19681754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19681755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19681756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19681757, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19681758, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19681759, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19681760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19681761, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19681712_10-02-2025_21_12_04.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19682328 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572285, 'mtr_portfolio_id': 19682328, 'created_at': datetime.datetime(2025, 2, 10, 21, 12, 36), 'result': '0.08259057887244953', 'result_long': None, 'result_double': None}] Qualite : 0.08259057887244953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19682328 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19682328_10-02-2025_21_12_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19682328 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19682391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19682392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19682393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19682394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19682395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19682396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19682397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19682398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19682399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19682400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19682401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19682402, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19682328_10-02-2025_21_12_40.pdf'}" where mtr_portfolio_id = 19682328 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19682328 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426863, 0.08259057887244953, "{'max_time_prod_two_photos': 0, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19682391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19682392, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19682393, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19682394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19682395, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19682396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19682397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19682398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19682399, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19682400, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19682401, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19682402, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19682328_10-02-2025_21_12_40.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19684965 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572286, 'mtr_portfolio_id': 19684965, 'created_at': datetime.datetime(2025, 2, 10, 21, 13), 'result': '0.09029379907910032', 'result_long': None, 'result_double': None}] Qualite : 0.09029379907910032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19684965 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684965_10-02-2025_21_13_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19684965 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685194, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684965_10-02-2025_21_13_04.pdf'}" where mtr_portfolio_id = 19684965 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19684965 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426864, 0.09029379907910032, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685183, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685186, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685188, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685194, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684965_10-02-2025_21_13_04.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19685642 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572287, 'mtr_portfolio_id': 19685642, 'created_at': datetime.datetime(2025, 2, 10, 21, 13, 36), 'result': '0.0721821623407926', 'result_long': None, 'result_double': None}] Qualite : 0.0721821623407926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19685642 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685642_10-02-2025_21_13_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19685642 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685843, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685642_10-02-2025_21_13_41.pdf'}" where mtr_portfolio_id = 19685642 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19685642 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426865, 0.0721821623407926, "{'max_time_prod_two_photos': 0, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685832, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685833, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685836, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685842, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685843, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685642_10-02-2025_21_13_41.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19684811 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572288, 'mtr_portfolio_id': 19684811, 'created_at': datetime.datetime(2025, 2, 10, 21, 13, 59), 'result': '0.10478285768754599', 'result_long': None, 'result_double': None}] Qualite : 0.10478285768754599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19684811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684811_10-02-2025_21_14_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19684811 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19684909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19684910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19684911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19684912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19684913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19684914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19684915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19684916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19684917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19684918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19684919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19684920, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684811_10-02-2025_21_14_04.pdf'}" where mtr_portfolio_id = 19684811 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19684811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426866, 0.10478285768754599, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19684909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19684910, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19684911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19684912, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19684913, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19684914, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19684915, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19684916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19684917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19684918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19684919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19684920, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19684811_10-02-2025_21_14_04.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19685326 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572289, 'mtr_portfolio_id': 19685326, 'created_at': datetime.datetime(2025, 2, 10, 21, 14, 29), 'result': '0.09180326345919546', 'result_long': None, 'result_double': None}] Qualite : 0.09180326345919546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19685326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685326_10-02-2025_21_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19685326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685460, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685467, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685326_10-02-2025_21_14_33.pdf'}" where mtr_portfolio_id = 19685326 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19685326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426867, 0.09180326345919546, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19685456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19685457, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19685458, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19685459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19685460, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19685461, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19685462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19685463, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19685464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19685465, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19685466, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19685467, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685326_10-02-2025_21_14_33.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19685954 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572290, 'mtr_portfolio_id': 19685954, 'created_at': datetime.datetime(2025, 2, 10, 21, 14, 58), 'result': '0.08337993501401422', 'result_long': None, 'result_double': None}] Qualite : 0.08337993501401422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19685954 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685954_10-02-2025_21_15_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19685954 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687765, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685954_10-02-2025_21_15_00.pdf'}" where mtr_portfolio_id = 19685954 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19685954 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426868, 0.08337993501401422, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687745, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687756, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687762, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687765, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19685954_10-02-2025_21_15_00.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19688699 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572291, 'mtr_portfolio_id': 19688699, 'created_at': datetime.datetime(2025, 2, 10, 21, 15, 31), 'result': '0.09095898878669681', 'result_long': None, 'result_double': None}] Qualite : 0.09095898878669681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19688699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19688699_10-02-2025_21_15_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19688699 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19688875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19688876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19688877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19688878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19688879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19688880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19688881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19688882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19688883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19688884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19688885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19688886, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19688699_10-02-2025_21_15_34.pdf'}" where mtr_portfolio_id = 19688699 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19688699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426869, 0.09095898878669681, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19688875, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19688876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19688877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19688878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19688879, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19688880, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19688881, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19688882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19688883, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19688884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19688885, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19688886, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19688699_10-02-2025_21_15_34.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19687621 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572292, 'mtr_portfolio_id': 19687621, 'created_at': datetime.datetime(2025, 2, 10, 21, 16, 6), 'result': '0.08405678980069291', 'result_long': None, 'result_double': None}] Qualite : 0.08405678980069291 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19687621 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19687621_10-02-2025_21_16_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19687621 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687669, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19687621_10-02-2025_21_16_11.pdf'}" where mtr_portfolio_id = 19687621 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19687621 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426870, 0.08405678980069291, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19687658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19687659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19687660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19687661, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19687662, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19687663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19687664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19687665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19687666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19687667, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19687668, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19687669, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19687621_10-02-2025_21_16_11.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19690161 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572293, 'mtr_portfolio_id': 19690161, 'created_at': datetime.datetime(2025, 2, 10, 21, 16, 36), 'result': '0.08544301671633885', 'result_long': None, 'result_double': None}] Qualite : 0.08544301671633885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19690161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690161_10-02-2025_21_16_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19690161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690274, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690161_10-02-2025_21_16_43.pdf'}" where mtr_portfolio_id = 19690161 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19690161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426871, 0.08544301671633885, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690264, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690269, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690270, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690274, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690161_10-02-2025_21_16_43.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19689368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572294, 'mtr_portfolio_id': 19689368, 'created_at': datetime.datetime(2025, 2, 10, 21, 17, 10), 'result': '0.09593308614988666', 'result_long': None, 'result_double': None}] Qualite : 0.09593308614988666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19689368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19689368_10-02-2025_21_17_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19689368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19689400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19689401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19689402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19689403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19689404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19689405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19689406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19689407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19689408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19689409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19689410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19689411, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19689368_10-02-2025_21_17_16.pdf'}" where mtr_portfolio_id = 19689368 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19689368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426872, 0.09593308614988666, "{'max_time_prod_two_photos': 0, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19689400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19689401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19689402, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19689403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19689404, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19689405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19689406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19689407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19689408, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19689409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19689410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19689411, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19689368_10-02-2025_21_17_16.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19691483 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572295, 'mtr_portfolio_id': 19691483, 'created_at': datetime.datetime(2025, 2, 10, 21, 17, 40), 'result': '0.09442486249001687', 'result_long': None, 'result_double': None}] Qualite : 0.09442486249001687 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19691483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691483_10-02-2025_21_17_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19691483 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691708, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691483_10-02-2025_21_17_44.pdf'}" where mtr_portfolio_id = 19691483 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19691483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426873, 0.09442486249001687, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691699, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691700, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691703, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691704, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691705, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691708, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691483_10-02-2025_21_17_44.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19690289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572296, 'mtr_portfolio_id': 19690289, 'created_at': datetime.datetime(2025, 2, 10, 21, 18, 8), 'result': '0.09756313321653767', 'result_long': None, 'result_double': None}] Qualite : 0.09756313321653767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19690289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690289_10-02-2025_21_18_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19690289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690445, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690289_10-02-2025_21_18_11.pdf'}" where mtr_portfolio_id = 19690289 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19690289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426874, 0.09756313321653767, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19690434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19690435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19690436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19690437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19690438, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19690439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19690440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19690441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19690442, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19690443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19690444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19690445, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19690289_10-02-2025_21_18_11.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19691356 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572297, 'mtr_portfolio_id': 19691356, 'created_at': datetime.datetime(2025, 2, 10, 21, 18, 32), 'result': '0.09721299643176683', 'result_long': None, 'result_double': None}] Qualite : 0.09721299643176683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19691356 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691356_10-02-2025_21_18_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19691356 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691417, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691356_10-02-2025_21_18_36.pdf'}" where mtr_portfolio_id = 19691356 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19691356 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426875, 0.09721299643176683, "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19691406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19691407, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19691408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19691409, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19691410, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19691411, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19691412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19691413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19691414, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19691415, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 19691416, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19691417, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19691356_10-02-2025_21_18_36.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19692157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572298, 'mtr_portfolio_id': 19692157, 'created_at': datetime.datetime(2025, 2, 10, 21, 19, 7), 'result': '0.1028381412077823', 'result_long': None, 'result_double': None}] Qualite : 0.1028381412077823 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19692157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692157_10-02-2025_21_19_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19692157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692476, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692157_10-02-2025_21_19_12.pdf'}" where mtr_portfolio_id = 19692157 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426876, 0.1028381412077823, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692466, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692467, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692469, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692471, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692472, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692473, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692476, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692157_10-02-2025_21_19_12.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 19692463 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2572299, 'mtr_portfolio_id': 19692463, 'created_at': datetime.datetime(2025, 2, 10, 21, 19, 34), 'result': '0.12186631913608359', 'result_long': None, 'result_double': None}] Qualite : 0.12186631913608359 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 19692463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692463_10-02-2025_21_19_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 19692463 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692633, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692463_10-02-2025_21_19_35.pdf'}" where mtr_portfolio_id = 19692463 and dashboard_run_id = 1553366 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=19692463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8426877, 0.12186631913608359, "{'max_time_prod_two_photos': 0, 'metal': {'hashtag': 'metal', 'sub_port_id': 19692622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 19692623, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 19692624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 19692625, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 19692626, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 19692627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 19692628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 19692629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 19692630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 19692631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 19692632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 19692633, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P19692463_10-02-2025_21_19_35.pdf'}") 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 (19674102,19673054,19675520,19673926,19677004,19677639,19678521,19676633,19679591,19681229,19679693,19680167,19680923,19681712,19682328,19684965,19685642,19684811,19685326,19685954,19688699,19687621,19690161,19689368,19691483,19690289,19691356,19692157,19692463) result : ((1329256730,), (1329256760,), (1329256809,), (1329256815,), (1329256828,), (1329256963,), (1329256965,), (1329256968,), (1329256971,), (1329256974,), (1329256976,), (1329257017,), (1329257033,), (1329257038,), (1329257042,), (1329257044,), (1329257073,), (1329257453,), (1329257462,), (1329257549,), (1329257565,), (1329257573,), (1329257581,), (1329257703,), (1329257739,), (1329257823,), (1329257889,), (1329257911,), (1329257936,), (1329258004,), (1329258008,), (1329258010,), (1329258027,), (1329258042,), (1329258048,), (1329258090,), (1329258092,), (1329258093,), (1329258096,), (1329258099,), (1329258102,), (1329258132,), (1329258134,), (1329258137,), (1329258140,), (1329258142,), (1329258146,), (1329258235,), (1329258236,), (1329258267,), (1329258269,), (1329258273,), (1329258276,), (1329258295,), (1329258298,), (1329258303,), (1329258304,), (1329258312,), (1329258318,), (1329258339,), (1329258343,), (1329258347,), (1329258350,), (1329258354,), (1329258364,), (1329258399,), (1329258402,), (1329258404,), (1329258406,), (1329258410,), (1329258415,), (1329258427,), (1329258430,), (1329258433,), (1329258436,), (1329258438,), (1329258442,), (1329353275,), (1329353277,), (1329353285,), (1329353289,), (1329353291,), (1329353295,), (1329353310,), (1329353312,), (1329353349,), (1329353351,), (1329353354,), (1329353358,), (1329353360,), (1329353363,), (1329353373,), (1329353376,), (1329353379,), (1329353383,), (1329353387,), (1329353389,), (1329353430,), (1329353436,), (1329353441,), (1329353448,), (1329353454,), (1329353459,), (1329353506,), (1329353508,), (1329353512,), (1329353514,), (1329353516,), (1329353517,), (1329353542,), (1329353546,), (1329353549,), (1329353556,), (1329353561,), (1329353564,), (1329353599,), (1329353603,), (1329353609,), (1329353615,), (1329353619,), (1329353624,), (1329353793,), (1329353800,), (1329353803,), (1329353810,), (1329353817,), (1329261319,), (1329261464,), (1329261469,), (1329261502,), (1329261507,), (1329261644,), (1329261656,), (1329261664,), (1329261666,), (1329261669,), (1329261673,), (1329261682,), (1329261684,), (1329261685,), (1329261688,), (1329261690,), (1329261694,), (1329261719,), (1329261724,), (1329261800,), (1329261802,), (1329261805,), (1329261808,), (1329261832,), (1329261836,), (1329261837,), (1329261841,), (1329261930,), (1329261933,), (1329261934,), (1329261935,), (1329261936,), (1329261937,), (1329261993,), (1329261998,), (1329262002,), (1329262004,), (1329262007,), (1329262016,), (1329262098,), (1329262100,), (1329262102,), (1329262105,), (1329262108,), (1329262110,), (1329262246,), (1329262258,), (1329262260,), (1329262262,), (1329262264,), (1329262266,), (1329262358,), (1329262390,), (1329262394,), (1329262395,), (1329262396,), (1329262404,), (1329262479,), (1329262482,), (1329262528,), (1329262593,), (1329262602,), (1329262606,), (1329264340,), (1329264367,), (1329264384,), (1329265090,), (1329265136,), (1329351823,), (1329351825,), (1329351827,), (1329351831,), (1329351917,), (1329351922,), (1329351926,), (1329351932,), (1329351949,), (1329351955,), (1329351960,), (1329351965,), (1329351970,), (1329351975,), (1329352017,), (1329352021,), (1329352025,), (1329352030,), (1329352034,), (1329352037,), (1329352230,), (1329352365,), (1329352411,), (1329352560,), (1329352722,), (1329352837,), (1329352849,), (1329352851,), (1329352856,), (1329352916,), (1329353099,), (1329353108,), (1329353236,), (1329353252,), (1329353257,), (1329252788,), (1329252791,), (1329252794,), (1329252798,), (1329252864,), (1329252867,), (1329252877,), (1329252878,), (1329252880,), (1329252898,), (1329253163,), (1329253243,), (1329253327,), (1329253404,), (1329253460,), (1329253463,), (1329253645,), (1329253650,), (1329253669,), (1329253670,), (1329253677,), (1329253683,), (1329253927,), (1329254027,), (1329254159,), (1329254292,), (1329254442,), (1329254587,), (1329254891,), (1329254894,), (1329254904,), (1329254911,), (1329254922,), (1329254924,), (1329255205,), (1329255239,), (1329255245,), (1329255248,), (1329255250,), (1329255252,), (1329255512,), (1329255582,), (1329255655,), (1329255758,), (1329255839,), (1329255873,), (1329256102,), (1329256105,), (1329256128,), (1329256198,), (1329256218,), (1329256231,), (1329256386,), (1329256423,), (1329256429,), (1329256433,), (1329256435,), (1329256440,), (1329256456,), (1329256459,), (1329256462,), (1329256465,), (1329256468,), (1329256473,), (1329256488,), (1329256490,), (1329256493,), (1329256496,), (1329256498,), (1329256506,), (1329256521,), (1329256524,), (1329256528,), (1329256530,), (1329256532,), (1329256536,), (1329256604,), (1329256607,), (1329256609,), (1329256611,), (1329256613,), (1329256830,), (1329353822,), (1329259549,), (1329259559,), (1329259561,), (1329259564,), (1329259570,), (1329259576,), (1329259976,), (1329260005,), (1329260050,), (1329260061,), (1329260063,), (1329260065,), (1329260108,), (1329260157,), (1329260222,), (1329260288,), (1329260407,), (1329260501,), (1329260546,), (1329260550,), (1329260552,), (1329260557,), (1329260602,), (1329260604,), (1329260716,), (1329260719,), (1329260721,), (1329260723,), (1329260730,), (1329260733,), (1329260795,), (1329260809,), (1329260810,), (1329260812,), (1329260814,), (1329260818,), (1329260883,), (1329260886,), (1329260888,), (1329260892,), (1329260895,), (1329260906,), (1329260952,), (1329260954,), (1329260957,), (1329260960,), (1329260962,), (1329260965,), (1329260989,), (1329260991,), (1329260993,), (1329260996,), (1329261000,), (1329261003,), (1329261020,), (1329261131,), (1329261134,), (1329261143,), (1329261149,), (1329261157,), (1329261216,), (1329261219,), (1329261221,), (1329261232,), (1329261242,), (1329261244,), (1329261539,), (1329261764,), (1329261772,), (1329261775,), (1329261788,), (1329261810,), (1329261815,), (1329261849,), (1329261853,), (1329353268,), (1329270791,), (1329270798,), (1329270844,), (1329270848,), (1329270902,), (1329270905,), (1329271046,), (1329271050,), (1329271053,), (1329271055,), (1329271059,), (1329271062,), (1329271139,), (1329271164,), (1329271165,), (1329271166,), (1329271167,), (1329271169,), (1329271321,), (1329271323,), (1329271375,), (1329271378,), (1329271384,), (1329271423,), (1329271510,), (1329271512,), (1329271516,), (1329271518,), (1329271521,), (1329271523,), (1329271543,), (1329271577,), (1329271722,), (1329271866,), (1329272038,), (1329272179,), (1329272482,), (1329272485,), (1329272623,), (1329272785,), (1329272790,), (1329272792,), (1329272897,), (1329272905,), (1329272908,), (1329272911,), (1329272913,), (1329272916,), (1329273079,), (1329273113,), (1329273117,), (1329273120,), (1329273124,), (1329273174,), (1329273318,), (1329273321,), (1329273336,), (1329273340,), (1329273341,), (1329273362,), (1329273519,), (1329273523,), (1329273525,), (1329273528,), (1329273530,), (1329273535,), (1329273674,), (1329273675,), (1329273677,), (1329347510,), (1329347514,), (1329347519,), (1329347524,), (1329347528,), (1329347532,), (1329347549,), (1329347552,), (1329347556,), (1329347606,), (1329347609,), (1329347621,), (1329262636,), (1329262644,), (1329262651,), (1329262657,), (1329262660,), (1329262664,), (1329262691,), (1329262695,), (1329262697,), (1329262698,), (1329262699,), (1329262700,), (1329262761,), (1329262763,), (1329262764,), (1329262768,), (1329262769,), (1329262771,), (1329263382,), (1329263391,), (1329263393,), (1329263395,), (1329263400,), (1329263410,), (1329263866,), (1329263868,), (1329263895,), (1329263898,), (1329263899,), (1329263902,), (1329263927,), (1329263929,), (1329263930,), (1329263934,), (1329263935,), (1329263953,), (1329263984,), (1329263990,), (1329263997,), (1329264003,), (1329264012,), (1329264014,), (1329264175,), (1329264182,), (1329264185,), (1329264188,), (1329264191,), (1329264193,), (1329264201,), (1329264203,), (1329264204,), (1329264206,), (1329264207,), (1329264213,), (1329264250,), (1329264251,), (1329264259,), (1329264268,), (1329264278,), (1329264280,), (1329264320,), (1329264322,), (1329264328,), (1329264329,), (1329264330,), (1329264353,), (1329264361,), (1329264362,), (1329264363,), (1329264365,), (1329264378,), (1329264379,), (1329264380,), (1329264381,), (1329264382,), (1329265022,), (1329351820,), (1329351913,), (1329264773,), (1329264823,), (1329264901,), (1329265276,), (1329265280,), (1329265290,), (1329265348,), (1329265416,), (1329265472,), (1329265633,), (1329265699,), (1329265729,), (1329265733,), (1329265737,), (1329265864,), (1329266677,), (1329266798,), (1329266974,), (1329267055,), (1329267133,), (1329267199,), (1329267634,), (1329267686,), (1329267751,), (1329267794,), (1329267796,), (1329267798,), (1329267946,), (1329268011,), (1329268069,), (1329268127,), (1329268130,), (1329268133,), (1329268261,), (1329268263,), (1329268264,), (1329268265,), (1329268273,), (1329268278,), (1329268307,), (1329268308,), (1329268309,), (1329268310,), (1329268311,), (1329268317,), (1329268468,), (1329268471,), (1329268474,), (1329268475,), (1329268478,), (1329268481,), (1329268492,), (1329268510,), (1329268524,), (1329268537,), (1329268546,), (1329268549,), (1329268587,), (1329268588,), (1329268594,), (1329268598,), (1329268629,), (1329268631,), (1329268647,), (1329268653,), (1329268656,), (1329268666,), (1329268673,), (1329268676,), (1329268733,), (1329268738,), (1329268746,), (1329268754,), (1329351113,), (1329351212,), (1329351243,), (1329351247,), (1329351564,), (1329351569,), (1329351573,), (1329351586,), (1329351637,), (1329351639,), (1329351642,), (1329351645,), (1329351648,), (1329351650,), (1329351678,), (1329351682,), (1329351685,), (1329351688,), (1329351691,), (1329351694,), (1329351775,), (1329351779,), (1329351782,), (1329351784,), (1329351787,), (1329351790,), (1329351818,), (1329351896,), (1329268725,), (1329268729,), (1329268773,), (1329268775,), (1329268776,), (1329268777,), (1329268779,), (1329268780,), (1329268939,), (1329268947,), (1329268966,), (1329268983,), (1329268984,), (1329269136,), (1329269663,), (1329269667,), (1329269672,), (1329269759,), (1329269805,), (1329269841,), (1329270144,), (1329270146,), (1329270158,), (1329270166,), (1329270237,), (1329270297,), (1329270311,), (1329270317,), (1329270320,), (1329270324,), (1329270328,), (1329270331,), (1329270337,), (1329270338,), (1329270340,), (1329270343,), (1329270348,), (1329270352,), (1329270370,), (1329270372,), (1329270373,), (1329270376,), (1329270379,), (1329270383,), (1329270512,), (1329270515,), (1329270517,), (1329270518,), (1329270519,), (1329270520,), (1329270636,), (1329270641,), (1329270645,), (1329270647,), (1329270648,), (1329270650,), (1329270680,), (1329270683,), (1329270686,), (1329270687,), (1329270690,), (1329270693,), (1329270850,), (1329270854,), (1329270915,), (1329270916,), (1329270917,), (1329270918,), (1329347560,), (1329347563,), (1329347566,), (1329347625,), (1329347630,), (1329347633,), (1329347687,), (1329347690,), (1329347693,), (1329347697,), (1329347721,), (1329347830,), (1329348321,), (1329348389,), (1329348442,), (1329348521,), (1329348600,), (1329348682,), (1329348840,), (1329348844,), (1329348850,), (1329348854,), (1329348858,), (1329348863,), (1329349185,), (1329349218,), (1329349259,), (1329349269,), (1329349420,), (1329349490,), (1329350439,), (1329350442,), (1329350447,), (1329350449,), (1329350454,), (1329350458,), (1329350980,), (1329351035,), (1329351532,), (1329351559,), (1329273654,), (1329273659,), (1329273672,), (1329273687,), (1329273691,), (1329273693,), (1329273705,), (1329273707,), (1329273708,), (1329273759,), (1329273761,), (1329273763,), (1329273764,), (1329273765,), (1329273766,), (1329274397,), (1329274400,), (1329274402,), (1329274405,), (1329274410,), (1329274449,), (1329274760,), (1329274802,), (1329274817,), (1329274824,), (1329274847,), (1329274848,), (1329274867,), (1329274868,), (1329274869,), (1329274870,), (1329274871,), (1329274873,), (1329274963,), (1329274965,), (1329274966,), (1329274967,), (1329274968,), (1329274970,), (1329275006,), (1329275017,), (1329275020,), (1329275026,), (1329275028,), (1329275032,), (1329275334,), (1329275337,), (1329275338,), (1329275341,), (1329275355,), (1329275357,), (1329275388,), (1329275394,), (1329275400,), (1329275402,), (1329275405,), (1329275406,), (1329275461,), (1329275463,), (1329275465,), (1329275466,), (1329275469,), (1329275473,), (1329275519,), (1329275521,), (1329345234,), (1329345237,), (1329345241,), (1329345244,), (1329345246,), (1329345293,), (1329345294,), (1329345295,), (1329345296,), (1329345299,), (1329345369,), (1329345375,), (1329345378,), (1329345387,), (1329345389,), (1329345669,), (1329345670,), (1329345671,), (1329345673,), (1329345675,), (1329345716,), (1329345720,), (1329345723,), (1329345727,), (1329345751,), (1329345753,), (1329345835,), (1329345839,), (1329345842,), (1329345845,), (1329345849,), (1329345852,), (1329346046,), (1329346076,), (1329346087,), (1329346097,), (1329346102,), (1329346121,), (1329346161,), (1329346164,), (1329346169,), (1329346173,), (1329346176,), (1329346180,), (1329346632,), (1329346640,), (1329346648,), (1329346654,), (1329346665,), (1329346675,), (1329346737,), (1329346740,), (1329346744,), (1329346745,), (1329346747,), (1329346750,), (1329346789,), (1329346795,), (1329346798,), (1329346800,), (1329346803,), (1329346806,), (1329346934,), (1329347025,), (1329347030,), (1329347034,), (1329347038,), (1329347040,), (1329347088,), (1329347090,), (1329347093,), (1329347096,), (1329347098,), (1329347101,), (1329347113,), (1329347115,), (1329347118,), (1329347119,), (1329347122,), (1329347125,), (1329347171,), (1329347173,), (1329347177,), (1329347186,), (1329347188,), (1329347194,), (1329347281,), (1329347284,), (1329347291,), (1329347293,), (1329347295,), (1329347297,), (1329347385,), (1329347400,), (1329347410,), (1329347416,), (1329347440,), (1329347486,), (1329278328,), (1329278395,), (1329278436,), (1329278439,), (1329278448,), (1329278451,), (1329278470,), (1329278472,), (1329278475,), (1329278479,), (1329278482,), (1329279076,), (1329279079,), (1329279080,), (1329279083,), (1329279084,), (1329279329,), (1329279351,), (1329279353,), (1329279354,), (1329279357,), (1329279381,), (1329279545,), (1329279548,), (1329279573,), (1329279574,), (1329279575,), (1329279592,), (1329279593,), (1329279596,), (1329279689,), (1329279691,), (1329279693,), (1329279699,), (1329279701,), (1329279704,), (1329279736,), (1329279740,), (1329279745,), (1329279754,), (1329279755,), (1329279757,), (1329279784,), (1329279789,), (1329279791,), (1329279794,), (1329279808,), (1329279815,), (1329279880,), (1329279881,), (1329279883,), (1329279885,), (1329279886,), (1329279888,), (1329279911,), (1329279929,), (1329279943,), (1329279950,), (1329279953,), (1329279974,), (1329279998,), (1329280002,), (1329280006,), (1329280007,), (1329280009,), (1329280012,), (1329280655,), (1329280706,), (1329281367,), (1329281368,), (1329281369,), (1329281371,), (1329282218,), (1329282269,), (1329282271,), (1329282531,), (1329282560,), (1329282573,), (1329282581,), (1329282601,), (1329282604,), (1329282663,), (1329282734,), (1329282800,), (1329280420,), (1329280505,), (1329280569,), (1329280594,), (1329281072,), (1329281074,), (1329281075,), (1329281076,), (1329281077,), (1329281078,), (1329281317,), (1329281356,), (1329282019,), (1329282060,), (1329282133,), (1329282467,), (1329282530,), (1329282596,), (1329282597,), (1329282598,), (1329282600,), (1329282638,), (1329282646,), (1329282647,), (1329282654,), (1329282660,), (1329282709,), (1329282710,), (1329282713,), (1329282716,), (1329282718,), (1329282721,), (1329282726,), (1329282728,), (1329282729,), (1329282730,), (1329282731,), (1329282767,), (1329282768,), (1329282769,), (1329282770,), (1329282771,), (1329282808,), (1329282810,), (1329282814,), (1329282817,), (1329282822,), (1329282825,), (1329282849,), (1329282869,), (1329282898,), (1329282959,), (1329283029,), (1329284284,), (1329284309,), (1329284321,), (1329284348,), (1329284397,), (1329284419,), (1329284708,), (1329284711,), (1329284713,), (1329284716,), (1329284720,), (1329284723,), (1329343556,), (1329343562,), (1329343567,), (1329343613,), (1329343615,), (1329343617,), (1329343618,), (1329343619,), (1329343672,), (1329343676,), (1329343680,), (1329343729,), (1329343827,), (1329344551,), (1329344553,), (1329344576,), (1329344577,), (1329344605,), (1329345090,), (1329345094,), (1329345098,), (1329345100,), (1329345104,), (1329284850,), (1329284856,), (1329284885,), (1329284935,), (1329284956,), (1329284987,), (1329285124,), (1329285127,), (1329285129,), (1329285131,), (1329285188,), (1329285221,), (1329285228,), (1329285230,), (1329285292,), (1329285355,), (1329285424,), (1329285488,), (1329285533,), (1329285536,), (1329285543,), (1329285546,), (1329285550,), (1329285585,), (1329285723,), (1329285724,), (1329285726,), (1329285727,), (1329285728,), (1329285780,), (1329286103,), (1329286143,), (1329286219,), (1329286280,), (1329286335,), (1329286384,), (1329287032,), (1329287086,), (1329287184,), (1329287389,), (1329287411,), (1329287607,), (1329288540,), (1329288581,), (1329288627,), (1329288700,), (1329288710,), (1329288774,), (1329289206,), (1329289285,), (1329289293,), (1329289306,), (1329289354,), (1329289399,), (1329289610,), (1329289612,), (1329289614,), (1329289624,), (1329289654,), (1329289660,), (1329289701,), (1329289732,), (1329289734,), (1329289735,), (1329289737,), (1329289740,), (1329289760,), (1329289762,), (1329289767,), (1329289768,), (1329289874,), (1329289919,), (1329290148,), (1329290156,), (1329290170,), (1329290216,), (1329290284,), (1329343273,), (1329343274,), (1329343277,), (1329343305,), (1329343309,), (1329343310,), (1329343315,), (1329343319,), (1329343322,), (1329343366,), (1329343369,), (1329343370,), (1329343373,), (1329343375,), (1329343379,), (1329343410,), (1329343438,), (1329343531,), (1329275506,), (1329275511,), (1329275515,), (1329275518,), (1329275788,), (1329275790,), (1329275791,), (1329275814,), (1329275876,), (1329275898,), (1329276068,), (1329276070,), (1329276072,), (1329276073,), (1329276074,), (1329276075,), (1329276825,), (1329276849,), (1329276876,), (1329276879,), (1329276880,), (1329276885,), (1329277083,), (1329277087,), (1329277140,), (1329277141,), (1329277169,), (1329277188,), (1329277263,), (1329277266,), (1329277267,), (1329277270,), (1329277282,), (1329277285,), (1329277348,), (1329277351,), (1329277352,), (1329277354,), (1329277356,), (1329277357,), (1329277527,), (1329277533,), (1329277583,), (1329277586,), (1329277589,), (1329277594,), (1329277765,), (1329277780,), (1329277794,), (1329277828,), (1329277831,), (1329277835,), (1329277869,), (1329277871,), (1329277872,), (1329277875,), (1329277878,), (1329277879,), (1329277934,), (1329277937,), (1329277938,), (1329277942,), (1329277944,), (1329277956,), (1329277981,), (1329277999,), (1329278000,), (1329278002,), (1329278004,), (1329278006,), (1329278485,), (1329279086,), (1329279576,), (1329279603,), (1329279608,), (1329279610,), (1329283132,), (1329343645,), (1329343890,), (1329344645,), (1329345107,), (1329345143,), (1329345146,), (1329345148,), (1329345152,), (1329345156,), (1329345159,), (1329345173,), (1329345177,), (1329345186,), (1329345189,), (1329345192,), (1329345195,), (1329345229,), (1329345291,), (1329345358,), (1329345667,), (1329290102,), (1329290137,), (1329290142,), (1329290196,), (1329290198,), (1329290211,), (1329290213,), (1329290214,), (1329290263,), (1329290275,), (1329290276,), (1329290281,), (1329290282,), (1329290323,), (1329290326,), (1329290330,), (1329290332,), (1329290335,), (1329290340,), (1329290536,), (1329290537,), (1329290539,), (1329290543,), (1329290550,), (1329290553,), (1329290577,), (1329290587,), (1329290589,), (1329290597,), (1329290598,), (1329290600,), (1329290605,), (1329290606,), (1329290608,), (1329290611,), (1329290619,), (1329290626,), (1329291379,), (1329291381,), (1329291432,), (1329291508,), (1329291591,), (1329291594,), (1329291959,), (1329291984,), (1329291987,), (1329292017,), (1329292095,), (1329292184,), (1329292203,), (1329292208,), (1329292211,), (1329292213,), (1329292214,), (1329292217,), (1329292257,), (1329292258,), (1329292259,), (1329292260,), (1329292261,), (1329292262,), (1329292307,), (1329292316,), (1329292322,), (1329292329,), (1329292330,), (1329292332,), (1329292677,), (1329292696,), (1329292740,), (1329292745,), (1329292746,), (1329292756,), (1329292798,), (1329292871,), (1329341486,), (1329341489,), (1329341492,), (1329341496,), (1329341625,), (1329341711,), (1329341776,), (1329341799,), (1329341802,), (1329341804,), (1329341890,), (1329341895,), (1329341900,), (1329341903,), (1329341907,), (1329341910,), (1329341934,), (1329341937,), (1329341940,), (1329341941,), (1329341943,), (1329341947,), (1329342013,), (1329342016,), (1329342019,), (1329342022,), (1329342083,), (1329342214,), (1329343092,), (1329343107,), (1329343109,), (1329343119,), (1329343132,), (1329343142,), (1329343220,), (1329343222,), (1329343223,), (1329343226,), (1329343231,), (1329343237,), (1329343270,), (1329343271,), (1329343272,), (1329292567,), (1329292628,), (1329292656,), (1329292659,), (1329292733,), (1329292736,), (1329292768,), (1329292770,), (1329292773,), (1329292788,), (1329292796,), (1329292820,), (1329292822,), (1329292824,), (1329292826,), (1329292827,), (1329292829,), (1329292834,), (1329292837,), (1329292840,), (1329292847,), (1329292863,), (1329292923,), (1329292970,), (1329293004,), (1329293040,), (1329293047,), (1329293105,), (1329293268,), (1329293272,), (1329293275,), (1329293276,), (1329293279,), (1329293282,), (1329293312,), (1329293313,), (1329293315,), (1329293317,), (1329293318,), (1329293320,), (1329293408,), (1329293441,), (1329293450,), (1329293494,), (1329293532,), (1329293599,), (1329293746,), (1329293753,), (1329293755,), (1329293756,), (1329293758,), (1329293760,), (1329293779,), (1329293782,), (1329293785,), (1329293788,), (1329293794,), (1329293797,), (1329293982,), (1329293987,), (1329293991,), (1329294015,), (1329294022,), (1329294025,), (1329294104,), (1329294123,), (1329294126,), (1329294149,), (1329294174,), (1329294178,), (1329295975,), (1329295980,), (1329296396,), (1329341334,), (1329341338,), (1329341342,), (1329341345,), (1329341348,), (1329341351,), (1329341359,), (1329341362,), (1329341365,), (1329341367,), (1329341370,), (1329341384,), (1329341437,), (1329341441,), (1329341446,), (1329341453,), (1329341460,), (1329341463,), (1329341479,), (1329341482,), (1329300557,), (1329300561,), (1329300564,), (1329300568,), (1329300571,), (1329300574,), (1329300587,), (1329300600,), (1329300605,), (1329300683,), (1329300685,), (1329300687,), (1329300692,), (1329300695,), (1329300801,), (1329300844,), (1329300880,), (1329300888,), (1329300892,), (1329300926,), (1329301018,), (1329301170,), (1329301297,), (1329301524,), (1329301705,), (1329301863,), (1329302312,), (1329302314,), (1329302316,), (1329302317,), (1329302318,), (1329302328,), (1329302699,), (1329302716,), (1329302765,), (1329302771,), (1329302783,), (1329302791,), (1329303134,), (1329303166,), (1329303167,), (1329303168,), (1329303170,), (1329303176,), (1329303242,), (1329303245,), (1329303248,), (1329303250,), (1329303253,), (1329303255,), (1329303320,), (1329303321,), (1329303324,), (1329303329,), (1329303330,), (1329303332,), (1329303524,), (1329303526,), (1329336797,), (1329336801,), (1329336804,), (1329336807,), (1329336810,), (1329336814,), (1329336840,), (1329336843,), (1329336845,), (1329336846,), (1329336847,), (1329336849,), (1329336868,), (1329336892,), (1329336897,), (1329336909,), (1329336917,), (1329336919,), (1329336989,), (1329336990,), (1329336991,), (1329336992,), (1329336993,), (1329336996,), (1329337046,), (1329337047,), (1329337048,), (1329337049,), (1329337050,), (1329337052,), (1329337227,), (1329337230,), (1329337233,), (1329337234,), (1329337235,), (1329337237,), (1329337366,), (1329337372,), (1329337378,), (1329337380,), (1329337396,), (1329337400,), (1329337417,), (1329337420,), (1329337421,), (1329337423,), (1329337424,), (1329337467,), (1329338037,), (1329338100,), (1329338241,), (1329338245,), (1329338249,), (1329338281,), (1329338374,), (1329338377,), (1329338379,), (1329338383,), (1329338385,), (1329338388,), (1329338399,), (1329294232,), (1329294238,), (1329294239,), (1329294251,), (1329294309,), (1329294387,), (1329294610,), (1329294643,), (1329294663,), (1329294665,), (1329294667,), (1329294670,), (1329294777,), (1329294790,), (1329294792,), (1329294794,), (1329294797,), (1329294803,), (1329294838,), (1329294841,), (1329294855,), (1329294858,), (1329294859,), (1329294862,), (1329294931,), (1329294933,), (1329294934,), (1329294935,), (1329294936,), (1329294939,), (1329294970,), (1329294972,), (1329294974,), (1329294977,), (1329294979,), (1329294982,), (1329294999,), (1329295001,), (1329295004,), (1329295005,), (1329295007,), (1329295009,), (1329295016,), (1329295075,), (1329295090,), (1329295145,), (1329295181,), (1329295270,), (1329295809,), (1329295851,), (1329295929,), (1329295960,), (1329296279,), (1329296350,), (1329296379,), (1329296389,), (1329296391,), (1329296661,), (1329296662,), (1329296664,), (1329296667,), (1329296668,), (1329296671,), (1329296867,), (1329338689,), (1329338737,), (1329338764,), (1329338856,), (1329340531,), (1329340532,), (1329340533,), (1329340573,), (1329340790,), (1329340861,), (1329340976,), (1329341095,), (1329341105,), (1329341108,), (1329341263,), (1329341286,), (1329341289,), (1329341294,), (1329341299,), (1329341301,), (1329341311,), (1329341315,), (1329341319,), (1329341323,), (1329341327,), (1329341329,), (1329303512,), (1329303514,), (1329303515,), (1329303517,), (1329303662,), (1329303808,), (1329303859,), (1329303870,), (1329303872,), (1329303874,), (1329304075,), (1329304085,), (1329304097,), (1329304101,), (1329304134,), (1329304205,), (1329304251,), (1329304252,), (1329304254,), (1329304258,), (1329304265,), (1329304273,), (1329304308,), (1329304312,), (1329304314,), (1329304317,), (1329304319,), (1329304322,), (1329304616,), (1329304628,), (1329304630,), (1329304646,), (1329304660,), (1329304687,), (1329304799,), (1329304803,), (1329304806,), (1329304808,), (1329304810,), (1329304812,), (1329304853,), (1329304861,), (1329304862,), (1329304873,), (1329304874,), (1329304882,), (1329304905,), (1329304906,), (1329304910,), (1329304917,), (1329304919,), (1329304921,), (1329304951,), (1329304961,), (1329304973,), (1329304975,), (1329304982,), (1329304985,), (1329305018,), (1329305022,), (1329305024,), (1329305032,), (1329305038,), (1329305040,), (1329305070,), (1329305073,), (1329305076,), (1329305080,), (1329305083,), (1329305085,), (1329305163,), (1329305166,), (1329305179,), (1329305204,), (1329305206,), (1329305209,), (1329305381,), (1329305382,), (1329305385,), (1329305397,), (1329306971,), (1329307100,), (1329307102,), (1329307156,), (1329307174,), (1329307175,), (1329307591,), (1329307891,), (1329308107,), (1329308396,), (1329308474,), (1329308476,), (1329309778,), (1329310122,), (1329310124,), (1329310128,), (1329336748,), (1329336749,), (1329336750,), (1329336784,), (1329336787,), (1329336789,), (1329296847,), (1329296850,), (1329296852,), (1329296854,), (1329296865,), (1329296920,), (1329296922,), (1329296924,), (1329296926,), (1329296927,), (1329296929,), (1329296936,), (1329296941,), (1329296943,), (1329296945,), (1329296948,), (1329296950,), (1329297082,), (1329297103,), (1329297123,), (1329297172,), (1329297284,), (1329297374,), (1329298454,), (1329298633,), (1329298702,), (1329298847,), (1329298864,), (1329298874,), (1329298896,), (1329298907,), (1329299111,), (1329299120,), (1329299122,), (1329299125,), (1329299556,), (1329299605,), (1329299608,), (1329299627,), (1329299649,), (1329299651,), (1329299679,), (1329299682,), (1329299686,), (1329299688,), (1329299692,), (1329299698,), (1329299738,), (1329299742,), (1329299748,), (1329299749,), (1329299750,), (1329299767,), (1329300110,), (1329300112,), (1329300114,), (1329300116,), (1329300119,), (1329300129,), (1329300187,), (1329300190,), (1329300192,), (1329300193,), (1329300195,), (1329300197,), (1329300208,), (1329300210,), (1329300212,), (1329300226,), (1329300230,), (1329300238,), (1329300274,), (1329300275,), (1329300276,), (1329300277,), (1329300278,), (1329300280,), (1329300609,), (1329300613,), (1329300614,), (1329300705,), (1329338402,), (1329338405,), (1329338408,), (1329338410,), (1329338412,), (1329338552,), (1329338620,), (1329340395,), (1329340469,), (1329305368,), (1329305374,), (1329305468,), (1329305471,), (1329305472,), (1329305475,), (1329305478,), (1329305480,), (1329305511,), (1329305515,), (1329305532,), (1329305567,), (1329305570,), (1329305572,), (1329305584,), (1329305591,), (1329305596,), (1329305602,), (1329305606,), (1329305607,), (1329306102,), (1329306147,), (1329306201,), (1329306237,), (1329306330,), (1329306409,), (1329306515,), (1329306518,), (1329306523,), (1329306525,), (1329306526,), (1329306530,), (1329306765,), (1329306790,), (1329306815,), (1329306816,), (1329306851,), (1329306855,), (1329306920,), (1329306922,), (1329306928,), (1329306936,), (1329306939,), (1329306942,), (1329306952,), (1329306958,), (1329306962,), (1329306964,), (1329306969,), (1329307078,), (1329307083,), (1329307090,), (1329307099,), (1329307128,), (1329307153,), (1329307154,), (1329307237,), (1329307240,), (1329307243,), (1329307246,), (1329307252,), (1329307256,), (1329307275,), (1329307276,), (1329307278,), (1329307329,), (1329307444,), (1329307881,), (1329310416,), (1329310419,), (1329310423,), (1329310428,), (1329310455,), (1329310458,), (1329310460,), (1329310463,), (1329310508,), (1329310514,), (1329310529,), (1329310532,), (1329311294,), (1329311298,), (1329311315,), (1329311419,), (1329311461,), (1329311486,), (1329311614,), (1329311616,), (1329311618,), (1329311619,), (1329311624,), (1329311661,), (1329312312,), (1329312364,), (1329312444,), (1329312544,), (1329312612,), (1329312647,), (1329313240,), (1329313255,), (1329313258,), (1329313259,), (1329313286,), (1329313348,), (1329313758,), (1329313759,), (1329313760,), (1329313761,), (1329313762,), (1329313778,), (1329313951,), (1329313953,), (1329313954,), (1329313955,), (1329313956,), (1329313958,), (1329314157,), (1329314249,), (1329314327,), (1329314480,), (1329314562,), (1329314650,), (1329314856,), (1329314919,), (1329314925,), (1329314945,), (1329314948,), (1329314960,), (1329315173,), (1329315176,), (1329316247,), (1329316445,), (1329335061,), (1329335063,), (1329335324,), (1329335383,), (1329335927,), (1329335929,), (1329336010,), (1329336022,), (1329336025,), (1329336039,), (1329336043,), (1329336046,), (1329336087,), (1329336090,), (1329336092,), (1329336093,), (1329336094,), (1329336096,), (1329336131,), (1329336141,), (1329336148,), (1329336161,), (1329336164,), (1329336167,), (1329336191,), (1329336192,), (1329336193,), (1329336194,), (1329336195,), (1329336196,), (1329336219,), (1329336220,), (1329336222,), (1329336223,), (1329336224,), (1329336226,), (1329336291,), (1329336294,), (1329336297,), (1329336299,), (1329336300,), (1329336302,), (1329336323,), (1329336327,), (1329336331,), (1329336334,), (1329336337,), (1329336340,), (1329336345,), (1329336348,), (1329336352,), (1329336356,), (1329336359,), (1329336361,), (1329336401,), (1329336403,), (1329336407,), (1329336411,), (1329307872,), (1329307875,), (1329307876,), (1329307879,), (1329308095,), (1329308097,), (1329308098,), (1329308104,), (1329308105,), (1329308298,), (1329308304,), (1329308312,), (1329308314,), (1329308318,), (1329308321,), (1329308324,), (1329308328,), (1329308331,), (1329308338,), (1329308341,), (1329308343,), (1329308365,), (1329308368,), (1329308372,), (1329308385,), (1329308389,), (1329308448,), (1329308458,), (1329308467,), (1329308470,), (1329309122,), (1329309179,), (1329309295,), (1329309437,), (1329309493,), (1329309595,), (1329309757,), (1329309764,), (1329309767,), (1329309769,), (1329309773,), (1329309938,), (1329310018,), (1329310111,), (1329310294,), (1329310303,), (1329310312,), (1329310314,), (1329310317,), (1329310321,), (1329310335,), (1329310346,), (1329310353,), (1329310359,), (1329310362,), (1329310364,), (1329310384,), (1329310392,), (1329310395,), (1329310402,), (1329310405,), (1329310408,), (1329310434,), (1329310443,), (1329310467,), (1329310469,), (1329310535,), (1329310538,), (1329336415,), (1329336417,), (1329336575,), (1329336583,), (1329336606,), (1329336609,), (1329336616,), (1329336620,), (1329336649,), (1329336650,), (1329336651,), (1329336652,), (1329336653,), (1329336667,), (1329336726,), (1329336728,), (1329336730,), (1329336776,), (1329336779,), (1329336781,), (1329317146,), (1329317151,), (1329317159,), (1329317335,), (1329317337,), (1329317340,), (1329317423,), (1329317427,), (1329317428,), (1329317432,), (1329317436,), (1329317468,), (1329317470,), (1329317525,), (1329317599,), (1329317637,), (1329317673,), (1329318166,), (1329318189,), (1329318247,), (1329318342,), (1329318397,), (1329318400,), (1329318666,), (1329318669,), (1329318685,), (1329318703,), (1329318735,), (1329318738,), (1329318967,), (1329319027,), (1329319032,), (1329319035,), (1329319037,), (1329319039,), (1329319380,), (1329319388,), (1329319391,), (1329319392,), (1329319398,), (1329319400,), (1329319414,), (1329319416,), (1329319418,), (1329319424,), (1329319426,), (1329319428,), (1329319532,), (1329319578,), (1329319586,), (1329319606,), (1329319629,), (1329319653,), (1329319714,), (1329319723,), (1329319728,), (1329319729,), (1329319730,), (1329319732,), (1329319920,), (1329319923,), (1329319925,), (1329319929,), (1329319940,), (1329319945,), (1329319977,), (1329319981,), (1329319985,), (1329319987,), (1329319991,), (1329319997,), (1329320029,), (1329320030,), (1329320031,), (1329320034,), (1329320037,), (1329327360,), (1329327395,), (1329327397,), (1329328174,), (1329328475,), (1329328483,), (1329329611,), (1329329624,), (1329329634,), (1329329679,), (1329329692,), (1329330572,), (1329334719,), (1329334724,), (1329334732,), (1329334746,), (1329334756,), (1329315154,), (1329315158,), (1329315166,), (1329315171,), (1329315549,), (1329315658,), (1329315734,), (1329315890,), (1329315894,), (1329315896,), (1329316053,), (1329316084,), (1329316103,), (1329316120,), (1329316122,), (1329316125,), (1329316150,), (1329316159,), (1329316162,), (1329316163,), (1329316165,), (1329316168,), (1329316214,), (1329316216,), (1329316220,), (1329316228,), (1329316239,), (1329316412,), (1329316413,), (1329316432,), (1329316439,), (1329316441,), (1329316473,), (1329316477,), (1329316479,), (1329316483,), (1329316486,), (1329316493,), (1329316693,), (1329316696,), (1329316698,), (1329316699,), (1329316700,), (1329316703,), (1329316728,), (1329316730,), (1329316731,), (1329316732,), (1329316737,), (1329316811,), (1329316971,), (1329316976,), (1329316977,), (1329316980,), (1329316983,), (1329316986,), (1329317035,), (1329317041,), (1329317044,), (1329317047,), (1329317050,), (1329317054,), (1329317115,), (1329317118,), (1329317120,), (1329317123,), (1329317125,), (1329317128,), (1329317171,), (1329317213,), (1329317242,), (1329317344,), (1329317350,), (1329317368,), (1329317438,), (1329334760,), (1329334803,), (1329334806,), (1329334810,), (1329334812,), (1329334816,), (1329334819,), (1329334842,), (1329334845,), (1329334860,), (1329334861,), (1329334865,), (1329334868,), (1329334883,), (1329334887,), (1329334891,), (1329334893,), (1329334895,), (1329334898,), (1329334910,), (1329334912,), (1329334915,), (1329334918,), (1329334920,), (1329334923,), (1329334946,), (1329334960,), (1329334966,), (1329334978,), (1329334980,), (1329334982,), (1329335003,), (1329335009,), (1329335012,), (1329335016,), (1329335019,), (1329335021,), (1329335050,), (1329335053,), (1329335056,), (1329335058,), (1329335174,), (1329335198,), (1329335223,), (1329335261,), (1329335892,), (1329335906,), (1329335909,), (1329335918,), (1329325188,), (1329325194,), (1329325201,), (1329325219,), (1329325224,), (1329325307,), (1329325310,), (1329325314,), (1329325318,), (1329325321,), (1329325350,), (1329325352,), (1329325353,), (1329325397,), (1329325491,), (1329325751,), (1329325755,), (1329325877,), (1329326001,), (1329326018,), (1329326067,), (1329326134,), (1329326144,), (1329326160,), (1329326167,), (1329326208,), (1329326211,), (1329326216,), (1329326220,), (1329326223,), (1329326233,), (1329326624,), (1329326636,), (1329326693,), (1329326742,), (1329326743,), (1329326746,), (1329326782,), (1329326785,), (1329326791,), (1329326793,), (1329326795,), (1329326797,), (1329326806,), (1329326811,), (1329326813,), (1329326814,), (1329326815,), (1329326821,), (1329326865,), (1329326866,), (1329326869,), (1329326872,), (1329326875,), (1329326877,), (1329327094,), (1329327096,), (1329327105,), (1329327320,), (1329327323,), (1329327337,), (1329327348,), (1329327388,), (1329327390,), (1329327392,), (1329327394,), (1329327448,), (1329327472,), (1329327480,), (1329327483,), (1329327491,), (1329327516,), (1329327523,), (1329327528,), (1329328036,), (1329328128,), (1329328170,), (1329327419,), (1329327424,), (1329327430,), (1329327435,), (1329327447,), (1329327468,), (1329327471,), (1329327504,), (1329327506,), (1329327513,), (1329327847,), (1329327956,), (1329328438,), (1329328445,), (1329328450,), (1329328469,), (1329328516,), (1329328520,), (1329328526,), (1329328534,), (1329328544,), (1329328554,), (1329328565,), (1329328570,), (1329328574,), (1329328578,), (1329328583,), (1329328586,), (1329328612,), (1329328613,), (1329328616,), (1329328618,), (1329328621,), (1329328641,), (1329328700,), (1329328705,), (1329328715,), (1329328722,), (1329328725,), (1329328729,), (1329328828,), (1329328832,), (1329328833,), (1329328834,), (1329328835,), (1329328838,), (1329328887,), (1329328890,), (1329328894,), (1329328902,), (1329328906,), (1329328907,), (1329328990,), (1329328992,), (1329328993,), (1329328994,), (1329328997,), (1329328999,), (1329329017,), (1329329019,), (1329329021,), (1329329023,), (1329329024,), (1329329027,), (1329329249,), (1329329257,), (1329329292,), (1329329321,), (1329329323,), (1329329555,), (1329320024,), (1329320629,), (1329320737,), (1329320884,), (1329320975,), (1329321133,), (1329321269,), (1329322116,), (1329322121,), (1329322168,), (1329322277,), (1329322301,), (1329322336,), (1329322364,), (1329322366,), (1329322368,), (1329322375,), (1329322376,), (1329322379,), (1329322740,), (1329322791,), (1329322858,), (1329322934,), (1329323030,), (1329323123,), (1329323692,), (1329323707,), (1329323717,), (1329323722,), (1329323727,), (1329323728,), (1329324061,), (1329324090,), (1329324093,), (1329324094,), (1329324097,), (1329324100,), (1329324259,), (1329324263,), (1329324268,), (1329324270,), (1329324274,), (1329324278,), (1329324690,), (1329324698,), (1329324701,), (1329324732,), (1329324753,), (1329324770,), (1329324844,), (1329324846,), (1329324855,), (1329324864,), (1329324868,), (1329324881,), (1329324904,), (1329324906,), (1329324907,), (1329324908,), (1329324911,), (1329324914,), (1329324950,), (1329324951,), (1329324953,), (1329324954,), (1329324955,), (1329324965,), (1329324998,), (1329325000,), (1329325002,), (1329325004,), (1329325005,), (1329325007,), (1329325255,), (1329325322,), (1329325503,), (1329326171,), (1329326184,), (1329327113,), (1329327120,), (1329327175,), (1329327358,), (1329329195,), (1329329198,), (1329329241,), (1329329313,), (1329329316,), (1329329318,), (1329329320,), (1329329360,), (1329329378,), (1329329381,), (1329329475,), (1329329542,), (1329329576,), (1329329592,), (1329329600,), (1329329609,), (1329329610,), (1329329621,), (1329329622,), (1329330262,), (1329330346,), (1329330493,), (1329330556,), (1329330561,), (1329330998,), (1329330999,), (1329331000,), (1329331001,), (1329331002,), (1329331004,), (1329331020,), (1329331022,), (1329331024,), (1329331025,), (1329331026,), (1329331028,), (1329331053,), (1329331056,), (1329331064,), (1329331080,), (1329331145,), (1329331148,), (1329331247,), (1329331251,), (1329331254,), (1329331258,), (1329331261,), (1329331264,), (1329331372,), (1329331419,), (1329331424,), (1329331438,), (1329331444,), (1329331451,), (1329332077,), (1329332080,), (1329332115,), (1329333509,), (1329333512,), (1329333617,), (1329333625,), (1329333672,), (1329333675,), (1329333682,), (1329333689,), (1329333693,), (1329333707,), (1329333974,), (1329334008,), (1329334013,), (1329334017,), (1329334022,), (1329334033,), (1329334334,), (1329334337,), (1329334338,), (1329334340,), (1329334341,), (1329334343,), (1329334345,), (1329334346,), (1329334347,), (1329334348,), (1329334349,), (1329334350,), (1329334357,), (1329334362,), (1329334366,), (1329334369,), (1329334374,), (1329334378,), (1329334397,), (1329334400,), (1329334411,), (1329334415,), (1329334421,), (1329334435,), (1329334455,), (1329334465,), (1329334474,), (1329334476,), (1329334478,), (1329334479,), (1329334683,), (1329334686,), (1329334690,), (1329334693,), (1329334696,), (1329334698,), (1329332067,), (1329332070,), (1329332073,), (1329332549,), (1329332561,), (1329332581,), (1329332587,), (1329332646,), (1329332670,), (1329333283,), (1329333290,), (1329333291,), (1329333292,), (1329333328,), (1329333383,), (1329333482,), (1329333491,), (1329333494,), (1329333501,), (1329333585,), (1329333596,), (1329333605,), (1329333612,), (1329752945,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'16012025': {'nb_upload': 24, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([19692463]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] map_info['map_portfolio_photo'] : {19692463: [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067]} final : True mtd_id 4302 list_pids : [1329752945, 1329333612, 1329333605, 1329333596, 1329333585, 1329333501, 1329333494, 1329333491, 1329333482, 1329333383, 1329333328, 1329333292, 1329333291, 1329333290, 1329333283, 1329332670, 1329332646, 1329332587, 1329332581, 1329332561, 1329332549, 1329332073, 1329332070, 1329332067] Looping around the photos to save general results len do output : 1 /19692463Didn'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, '2572299') ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299') ('4302', None, None, None, None, None, None, None, '2572299') ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 25 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, '19692463', 'None', None, None, None, None, '2572299'), ('4302', '19692463', '1329752945', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333612', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333605', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333596', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333585', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333501', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333494', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333491', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333482', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333383', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333328', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333292', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333291', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333290', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329333283', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332670', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332646', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332587', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332581', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332561', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332549', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332073', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332070', None, None, None, None, None, '2572299'), ('4302', '19692463', '1329332067', None, None, None, None, None, '2572299')] time used for this insertion : 0.01645207405090332 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7873923778533936 time spend to save output : 0.016636371612548828 total time spend for step 5 : 1.8040287494659424 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 (2572299) 2.78user 2.42system 0:23.65elapsed 22%CPU (0avgtext+0avgdata 167984maxresident)k 5280inputs+28824outputs (91major+79899minor)pagefaults 0swaps