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 : 2638207 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 (3651277) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3651277) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26319992 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3651277'] with mtr_portfolio_ids : ['26319992'] and first list_photo_ids : [] new path : /proc/2638207/ Name: python3 Umask: 0002 State: R (running) Tgid: 2638207 Ngid: 0 Pid: 2638207 PPid: 2638206 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2638207 NSpid: 2638207 NSpgid: 2635020 NSsid: 2635020 VmPeak: 1107244 kB VmSize: 1107244 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97756 kB VmRSS: 97756 kB RssAnon: 60156 kB RssFile: 37600 kB RssShmem: 0 kB VmData: 865996 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 588 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 58 nonvoluntary_ctxt_switches: 153 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2638207', 'Ngid': '0', 'Pid': '2638207', 'PPid': '2638206', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2638207', 'NSpid': '2638207', 'NSpgid': '2635020', 'NSsid': '2635020', 'VmPeak': '1107244 kB', 'VmSize': '1107244 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97756 kB', 'VmRSS': '97756 kB', 'RssAnon': '60156 kB', 'RssFile': '37600 kB', 'RssShmem': '0 kB', 'VmData': '865996 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '588 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '58', 'nonvoluntary_ctxt_switches': '153'} ('datou_batch_current', '2638207', '1107244', '0', '1107244', '865996', '97756', b'', 'marlene', '3651277') 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 (26319992) 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 (3651277 ) ) 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 (26319992) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1380061424, 'portfolio_id': 26319992}, {'photo_id': 1380056411, 'portfolio_id': 26319992}, {'photo_id': 1380056379, 'portfolio_id': 26319992}, {'photo_id': 1380056378, 'portfolio_id': 26319992}, {'photo_id': 1380056377, 'portfolio_id': 26319992}, {'photo_id': 1380056355, 'portfolio_id': 26319992}, {'photo_id': 1380056354, 'portfolio_id': 26319992}, {'photo_id': 1380056353, 'portfolio_id': 26319992}, {'photo_id': 1380056352, 'portfolio_id': 26319992}, {'photo_id': 1380056351, 'portfolio_id': 26319992}, {'photo_id': 1380056325, 'portfolio_id': 26319992}, {'photo_id': 1380056324, 'portfolio_id': 26319992}, {'photo_id': 1380056323, 'portfolio_id': 26319992}, {'photo_id': 1380056322, 'portfolio_id': 26319992}, {'photo_id': 1380056321, 'portfolio_id': 26319992}, {'photo_id': 1380056320, 'portfolio_id': 26319992}, {'photo_id': 1380056271, 'portfolio_id': 26319992}, {'photo_id': 1380056269, 'portfolio_id': 26319992}, {'photo_id': 1380056267, 'portfolio_id': 26319992}, {'photo_id': 1380056266, 'portfolio_id': 26319992}, {'photo_id': 1380056206, 'portfolio_id': 26319992}, {'photo_id': 1380056205, 'portfolio_id': 26319992}, {'photo_id': 1380056204, 'portfolio_id': 26319992}, {'photo_id': 1380056203, 'portfolio_id': 26319992}, {'photo_id': 1380056173, 'portfolio_id': 26319992}, {'photo_id': 1380056172, 'portfolio_id': 26319992}, {'photo_id': 1380056170, 'portfolio_id': 26319992}, {'photo_id': 1380056169, 'portfolio_id': 26319992}, {'photo_id': 1380056168, 'portfolio_id': 26319992}, {'photo_id': 1380056140, 'portfolio_id': 26319992}, {'photo_id': 1380056139, 'portfolio_id': 26319992}, {'photo_id': 1380055996, 'portfolio_id': 26319992}, {'photo_id': 1380055940, 'portfolio_id': 26319992}, {'photo_id': 1380055906, 'portfolio_id': 26319992}, {'photo_id': 1380055905, 'portfolio_id': 26319992}, {'photo_id': 1380055904, 'portfolio_id': 26319992}, {'photo_id': 1380055879, 'portfolio_id': 26319992}] map_portfolio_id_photo_id: {26319992: [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.034436941146850586 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Sep 2 11:01:27 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 (26319992) 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 : 26319992 get user id for portfolio 26319992 get sub ptf for main ptf 26319992, type 3726 and hashtags ['cartonnette', 'Carton_gris', 'kraft', 'Carton_brun', 'mal_croppe', 'environnement', 'papier', 'Teint_Dans_La_Masse', 'metal', 'flou', 'autre_refus', 'plastique'] 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`=26319992 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','kraft','Carton_brun','mal_croppe','environnement','papier','Teint_Dans_La_Masse','metal','flou','autre_refus','plastique')) 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`=26319992 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','kraft','Carton_brun','mal_croppe','environnement','papier','Teint_Dans_La_Masse','metal','flou','autre_refus','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 26319992, 'sub_port_id': 26320001, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704970, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'cartonnette': {'main_port_id': 26319992, 'sub_port_id': 26320002, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704971, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'Carton_gris': {'main_port_id': 26319992, 'sub_port_id': 26320003, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704972, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'environnement': {'main_port_id': 26319992, 'sub_port_id': 26320004, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704973, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'papier': {'main_port_id': 26319992, 'sub_port_id': 26320005, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704974, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'metal': {'main_port_id': 26319992, 'sub_port_id': 26320006, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704975, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'autre_refus': {'main_port_id': 26319992, 'sub_port_id': 26320007, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704976, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 26319992, 'sub_port_id': 26320008, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704977, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'Carton_brun': {'main_port_id': 26319992, 'sub_port_id': 26320009, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704978, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'plastique': {'main_port_id': 26319992, 'sub_port_id': 26320010, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704979, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'mal_croppe': {'main_port_id': 26319992, 'sub_port_id': 26320011, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704980, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}, 'kraft': {'main_port_id': 26319992, 'sub_port_id': 26320012, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704981, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26320001 , 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=26319992 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 (26320001) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320002 , 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=26319992 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 (26320002) result : ((1380262767,), (1380262769,), (1380266875,), (1380266876,), (1380267109,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320003 , 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=26319992 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 (26320003) result : ((1380262738,), (1380262739,), (1380262740,), (1380262741,), (1380262743,), (1380262745,), (1380262747,), (1380266865,), (1380266866,), (1380266867,), (1380266868,), (1380266870,), (1380266871,), (1380266872,), (1380267102,), (1380267103,), (1380267104,), (1380267105,), (1380267106,), (1380267107,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320004 , 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=26319992 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 (26320004) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320005 , 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=26319992 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 (26320005) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320006 , 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=26319992 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 (26320006) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320007 , 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=26319992 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 (26320007) result : ((1380262726,), (1380262727,), (1380266862,), (1380266863,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320008 , 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=26319992 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 (26320008) result : ((1380262711,), (1380262712,), (1380262713,), (1380262717,), (1380266856,), (1380266857,), (1380266858,), (1380266859,), (1380267092,), (1380267093,), (1380267094,), (1380267096,), (1380267097,), (1380267098,), (1380267099,), (1380267100,), (1380267101,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320009 , 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=26319992 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 (26320009) result : ((1380262786,), (1380262788,), (1380262790,), (1380262792,), (1380266878,), (1380266880,), (1380266881,), (1380266882,), (1380267111,), (1380267112,), (1380267113,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320010 , 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=26319992 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 (26320010) result : ((1380262807,), (1380262810,), (1380262813,), (1380266887,), (1380266888,), (1380266889,), (1380267114,), (1380267115,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320011 , 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=26319992 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 (26320011) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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 26320012 , 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=26319992 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 (26320012) result : ((1380267117,), (1380267118,), (1380267119,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26319992) result : ((1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,)) 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`=26319992 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','kraft','Carton_brun','mal_croppe','environnement','papier','Teint_Dans_La_Masse','metal','flou','autre_refus','plastique')) 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`=26319992 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('cartonnette','Carton_gris','kraft','Carton_brun','mal_croppe','environnement','papier','Teint_Dans_La_Masse','metal','flou','autre_refus','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 26319992, 'sub_port_id': 26320014, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704982, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'cartonnette': {'main_port_id': 26319992, 'sub_port_id': 26320015, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704983, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'Carton_gris': {'main_port_id': 26319992, 'sub_port_id': 26320016, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704984, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'environnement': {'main_port_id': 26319992, 'sub_port_id': 26320017, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704985, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'papier': {'main_port_id': 26319992, 'sub_port_id': 26320018, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704986, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'metal': {'main_port_id': 26319992, 'sub_port_id': 26320019, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704987, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'autre_refus': {'main_port_id': 26319992, 'sub_port_id': 26320020, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704988, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 26319992, 'sub_port_id': 26320021, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704989, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'Carton_brun': {'main_port_id': 26319992, 'sub_port_id': 26320022, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704990, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'plastique': {'main_port_id': 26319992, 'sub_port_id': 26320023, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704991, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'mal_croppe': {'main_port_id': 26319992, 'sub_port_id': 26320024, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704992, 'last_updated_at': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_desc': datetime.datetime(2025, 8, 29, 8, 48, 59), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}, 'kraft': {'main_port_id': 26319992, 'sub_port_id': 26320025, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17704993, 'last_updated_at': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_desc': datetime.datetime(2025, 8, 30, 8, 57, 50), 'last_updated_at_asc': datetime.datetime(2025, 8, 29, 8, 48, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320014,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320001 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320015,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320002 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320016,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320003 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320017,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320004 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320018,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320005 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320019,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320006 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320020,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320007 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320021,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320008 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320022,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320009 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320023,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320010 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320024,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320011 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26320025,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26320012 lien utilise dans velours : https://marlene.fotonower.com/velours/26320014,26320015,26320016,26320017,26320018,26320019,26320020,26320021,26320022,26320023,26320024,26320025?tags=flou,cartonnette,Carton_gris,environnement,papier,metal,autre_refus,Teint_Dans_La_Masse,Carton_brun,plastique,mal_croppe,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26319992]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] map_info['map_portfolio_photo'] : {26319992: [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879]} final : False mtd_id 4302 list_pids : [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] Looping around the photos to save general results len do output : 1 /26319992. 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, '3651277') ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '26319992', "{'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012}", None, None, None, None, '3651277'), ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277')] time used for this insertion : 0.021612882614135742 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.571765422821045 time spend to save output : 0.022100448608398438 total time spend for step 1 : 1.5938658714294434 step2:final Tue Sep 2 11:01:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26319992) 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 26319992 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1380055879,1380055906,1380055905,1380055904,1380055940,1380055996,1380056140,1380056139,1380056173,1380056172,1380056170,1380056169,1380056168,1380056206,1380056205,1380056204,1380056203,1380056271,1380056269,1380056267,1380056266,1380056325,1380056324,1380056323,1380056322,1380056321,1380056320,1380056355,1380056354,1380056353,1380056352,1380056351,1380056379,1380056378,1380056377,1380056411,1380061424); 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([26319992]) Inside saveOutput : final : False verbose : True original output for save of step final : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} new output for save of step final : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] map_info['map_portfolio_photo'] : {26319992: [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879]} final : False mtd_id 4302 list_pids : [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] Looping around the photos to save general results len do output : 37 /1380061424.Didn't retrieve data . /1380056411.Didn't retrieve data . /1380056379.Didn't retrieve data . /1380056378.Didn't retrieve data . /1380056377.Didn't retrieve data . /1380056355.Didn't retrieve data . /1380056354.Didn't retrieve data . /1380056353.Didn't retrieve data . /1380056352.Didn't retrieve data . /1380056351.Didn't retrieve data . /1380056325.Didn't retrieve data . /1380056324.Didn't retrieve data . /1380056323.Didn't retrieve data . /1380056322.Didn't retrieve data . /1380056321.Didn't retrieve data . /1380056320.Didn't retrieve data . /1380056271.Didn't retrieve data . /1380056269.Didn't retrieve data . /1380056267.Didn't retrieve data . /1380056266.Didn't retrieve data . /1380056206.Didn't retrieve data . /1380056205.Didn't retrieve data . /1380056204.Didn't retrieve data . /1380056203.Didn't retrieve data . /1380056173.Didn't retrieve data . /1380056172.Didn't retrieve data . /1380056170.Didn't retrieve data . /1380056169.Didn't retrieve data . /1380056168.Didn't retrieve data . /1380056140.Didn't retrieve data . /1380056139.Didn't retrieve data . /1380055996.Didn't retrieve data . /1380055940.Didn't retrieve data . /1380055906.Didn't retrieve data . /1380055905.Didn't retrieve data . /1380055904.Didn't retrieve data . /1380055879.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, '3651277') ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '26319992', '1380061424', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056411', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056379', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056378', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056377', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056355', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056354', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056353', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056352', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056351', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056325', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056324', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056323', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056322', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056321', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056320', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056271', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056269', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056267', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056266', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056206', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056205', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056204', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056203', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056173', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056172', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056170', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056169', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056168', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056140', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380056139', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055996', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055940', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055906', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055905', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055904', '0.04853776135679114', None, None, None, None, '3651277'), ('4302', '26319992', '1380055879', '0.04853776135679114', None, None, None, None, '3651277')] time used for this insertion : 0.022695302963256836 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07939004898071289 time spend to save output : 0.024245500564575195 total time spend for step 2 : 0.10363554954528809 step3:velours_tree Tue Sep 2 11:01:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26319992: [{'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012}]} input_args_next_step : {26319992: ()} output_args : {26319992: [{'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012}]} args : 26319992 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 : ({'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26319992) 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([26319992]) 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.356395959854126 time spend to save output : 8.749961853027344e-05 total time spend for step 3 : 0.35648345947265625 step4:send_mail_cod Tue Sep 2 11:01:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} input_args_next_step : {1380061424: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380061424 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056411 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056379 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056378 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056377 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056355 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056354 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056353 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056352 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056351 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056325 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056324 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056323 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056322 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056321 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056320 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056271 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056269 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056267 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056266 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056206 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056205 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056204 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056203 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056173 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056172 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056170 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056169 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056168 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056140 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380056139 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055996 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055940 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055906 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055905 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055904 depend.output_id : 0 input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ()} output_args : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',)} args : 1380055879 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 : {26319992: [{'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012}]} input_args_next_step : {1380061424: ('0.04853776135679114',), 1380056411: ('0.04853776135679114',), 1380056379: ('0.04853776135679114',), 1380056378: ('0.04853776135679114',), 1380056377: ('0.04853776135679114',), 1380056355: ('0.04853776135679114',), 1380056354: ('0.04853776135679114',), 1380056353: ('0.04853776135679114',), 1380056352: ('0.04853776135679114',), 1380056351: ('0.04853776135679114',), 1380056325: ('0.04853776135679114',), 1380056324: ('0.04853776135679114',), 1380056323: ('0.04853776135679114',), 1380056322: ('0.04853776135679114',), 1380056321: ('0.04853776135679114',), 1380056320: ('0.04853776135679114',), 1380056271: ('0.04853776135679114',), 1380056269: ('0.04853776135679114',), 1380056267: ('0.04853776135679114',), 1380056266: ('0.04853776135679114',), 1380056206: ('0.04853776135679114',), 1380056205: ('0.04853776135679114',), 1380056204: ('0.04853776135679114',), 1380056203: ('0.04853776135679114',), 1380056173: ('0.04853776135679114',), 1380056172: ('0.04853776135679114',), 1380056170: ('0.04853776135679114',), 1380056169: ('0.04853776135679114',), 1380056168: ('0.04853776135679114',), 1380056140: ('0.04853776135679114',), 1380056139: ('0.04853776135679114',), 1380055996: ('0.04853776135679114',), 1380055940: ('0.04853776135679114',), 1380055906: ('0.04853776135679114',), 1380055905: ('0.04853776135679114',), 1380055904: ('0.04853776135679114',), 1380055879: ('0.04853776135679114',), 26319992: ()} output_args : {26319992: [{'flou': 26320001, 'cartonnette': 26320002, 'Carton_gris': 26320003, 'environnement': 26320004, 'papier': 26320005, 'metal': 26320006, 'autre_refus': 26320007, 'Teint_Dans_La_Masse': 26320008, 'Carton_brun': 26320009, 'plastique': 26320010, 'mal_croppe': 26320011, 'kraft': 26320012}]} args : 26319992 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 :38, first value : ('0.04853776135679114',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26319992) 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 (1380061424,1380056411,1380056379,1380056378,1380056377,1380056355,1380056354,1380056353,1380056352,1380056351,1380056325,1380056324,1380056323,1380056322,1380056321,1380056320,1380056271,1380056269,1380056267,1380056266,1380056206,1380056205,1380056204,1380056203,1380056173,1380056172,1380056170,1380056169,1380056168,1380056140,1380056139,1380055996,1380055940,1380055906,1380055905,1380055904,1380055879) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1380055879 begin to download photo : 1380056168 begin to download photo : 1380056206 begin to download photo : 1380056323 begin to download photo : 1380056377 download finish for photo 1380055879 begin to download photo : 1380055904 download finish for photo 1380056206 begin to download photo : 1380056266 download finish for photo 1380056377 begin to download photo : 1380056378 download finish for photo 1380056168 begin to download photo : 1380056169 download finish for photo 1380056323 begin to download photo : 1380056324 download finish for photo 1380056266 begin to download photo : 1380056267 download finish for photo 1380055904 begin to download photo : 1380055905 download finish for photo 1380056378 begin to download photo : 1380056379 download finish for photo 1380056324 begin to download photo : 1380056325 download finish for photo 1380056169 begin to download photo : 1380056170 download finish for photo 1380056267 begin to download photo : 1380056269 download finish for photo 1380056379 begin to download photo : 1380056411 download finish for photo 1380056325 begin to download photo : 1380056351 download finish for photo 1380056170 begin to download photo : 1380056172 download finish for photo 1380055905 begin to download photo : 1380055906 download finish for photo 1380056172 begin to download photo : 1380056173 download finish for photo 1380056351 begin to download photo : 1380056352 download finish for photo 1380056269 begin to download photo : 1380056271 download finish for photo 1380055906 begin to download photo : 1380055940 download finish for photo 1380056411 begin to download photo : 1380061424 download finish for photo 1380056352 begin to download photo : 1380056353 download finish for photo 1380056173 begin to download photo : 1380056203 download finish for photo 1380056271 begin to download photo : 1380056320 download finish for photo 1380061424 download finish for photo 1380055940 begin to download photo : 1380055996 download finish for photo 1380056353 begin to download photo : 1380056354 download finish for photo 1380056203 begin to download photo : 1380056204 download finish for photo 1380056320 begin to download photo : 1380056321 download finish for photo 1380055996 begin to download photo : 1380056139 download finish for photo 1380056204 begin to download photo : 1380056205 download finish for photo 1380056354 begin to download photo : 1380056355 download finish for photo 1380056321 begin to download photo : 1380056322 download finish for photo 1380056139 begin to download photo : 1380056140 download finish for photo 1380056205 download finish for photo 1380056355 download finish for photo 1380056140 download finish for photo 1380056322 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette263200011756803691/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P26319992_02-09-2025_11_01_31.pdf 26320001 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=26320001 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263200011756803691 26320002 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=26320002 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380262767: '1756533905_2212096_1380056378_b39658c3f9acac3d6967bbe5189e53b6_50568136_rle_crop_3936569900_0.png', 1380262769: '1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570826_0.png', 1380266875: '1756536546_2308207_1380056378_b39658c3f9acac3d6967bbe5189e53b6_50568136_rle_crop_3936569900_0.png', 1380266876: '1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570826_0.png', 1380267109: '1756536906_2319493_1380056170_847badfcbbf951d18e2c525780c02d75_44014029_rle_crop_3936598727_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/2498d9b381100fc0a573dc2f71346f9e_5188734.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/91ae291f83180d1a25c118edd73f571f_47149221.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/2498d9b381100fc0a573dc2f71346f9e_10860622.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/91ae291f83180d1a25c118edd73f571f_78860901.png change filename to text .imagette263200021756803691/ imagette263200021756803691/1756536546_2308207_1380056378_b39658c3f9acac3d6967bbe5189e53b6_50568136_rle_crop_3936569900_0.png.png imagette263200021756803691/1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570826_0.png.png imagette263200021756803691/1756533905_2212096_1380056378_b39658c3f9acac3d6967bbe5189e53b6_50568136_rle_crop_3936569900_0.png.png imagette263200021756803691/1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570826_0.png.png imagette263200021756803691/1756536906_2319493_1380056170_847badfcbbf951d18e2c525780c02d75_44014029_rle_crop_3936598727_0.png.png imagette263200061756803691/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/3c82cef7304d06faf8c68cd65d7dbf44_35517227.png imagette263200021756803691 26320006 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=26320006 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263200061756803691 26320007 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=26320007 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380262726: '1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570392_0.png', 1380262727: '1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570388_0.png', 1380266862: '1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570392_0.png', 1380266863: '1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570388_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/94d420cbc599692962aef2fa207e6a0b_5627860.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a6b7fa7d873854f5c218eff1078b9a94_74096893.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/94d420cbc599692962aef2fa207e6a0b_79264856.png change filename to text .imagette263200071756803691/ imagette263200071756803691/1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570392_0.png.png imagette263200071756803691/1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570388_0.png.png imagette263200071756803691/1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570392_0.png.png imagette263200071756803691/1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570388_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a6b7fa7d873854f5c218eff1078b9a94_96083235.png imagette263200071756803691 26320010 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=26320010 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380262807: '1756533905_2212096_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570717_0.png', 1380262810: '1756533905_2212096_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570724_0.png', 1380262813: '1756533905_2212096_1380056269_7efa6f3b6ea7cc06153b0061f2f14c97_38286014_rle_crop_3936570892_0.png', 1380266887: '1756536546_2308207_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570717_0.png', 1380266888: '1756536546_2308207_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570724_0.png', 1380266889: '1756536546_2308207_1380056269_7efa6f3b6ea7cc06153b0061f2f14c97_38286014_rle_crop_3936570892_0.png', 1380267114: '1756536906_2319493_1380056172_ca097130e276a13ed514cac12e501f18_94119219_rle_crop_3936598451_0.png', 1380267115: '1756536906_2319493_1380055906_8ed1ba9512915197bc92294bb71581f5_22529614_rle_crop_3936600421_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/e70051dfd2d69ce4f73734200a6d620d_2564390.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/57e5934abb10646faff0eca092ad6968_89430273.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/b816d52c8d96e9111e86cdad2509d4ec_76353857.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/e70051dfd2d69ce4f73734200a6d620d_13855205.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/57e5934abb10646faff0eca092ad6968_35952904.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/b816d52c8d96e9111e86cdad2509d4ec_31559098.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/ffe0af9b08a9fc4c73db68512017ec7f_99696166.png change filename to text .imagette263200101756803692/ imagette263200101756803692/1756536546_2308207_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570717_0.png.png imagette263200101756803692/1756536906_2319493_1380056172_ca097130e276a13ed514cac12e501f18_94119219_rle_crop_3936598451_0.png.png imagette263200101756803692/1756533905_2212096_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570717_0.png.png imagette263200101756803692/1756536906_2319493_1380055906_8ed1ba9512915197bc92294bb71581f5_22529614_rle_crop_3936600421_0.png.png imagette263200101756803692/1756536546_2308207_1380056269_7efa6f3b6ea7cc06153b0061f2f14c97_38286014_rle_crop_3936570892_0.png.png imagette263200101756803692/1756536546_2308207_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570724_0.png.png imagette263200101756803692/1756533905_2212096_1380056320_38e701b5dacfaba55744f602fa13753a_50247429_rle_crop_3936570724_0.png.png imagette263200101756803692/1756533905_2212096_1380056269_7efa6f3b6ea7cc06153b0061f2f14c97_38286014_rle_crop_3936570892_0.png.png imagette263200111756803693/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/b36d25c4ef6d4b591d557a4bb730a67e_36470493.png imagette263200101756803692 26320011 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=26320011 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette263200111756803693 26320012 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=26320012 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380267117: '1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596369_0.png', 1380267118: '1756536906_2319493_1380056204_edfde7bccc29aa495ad8107b93a1127f_71884347_rle_crop_3936596674_0.png', 1380267119: '1756536906_2319493_1380055996_4431de58d9bec92d21874117b70e2f5d_45059953_rle_crop_3936600348_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a3d48675407ba6c4c9714baa900cbe0c_13705370.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/f8ee12115463e869842fd350068409d4_58442451.png change filename to text .imagette263200121756803693/ imagette263200121756803693/1756536906_2319493_1380056204_edfde7bccc29aa495ad8107b93a1127f_71884347_rle_crop_3936596674_0.png.png imagette263200121756803693/1756536906_2319493_1380055996_4431de58d9bec92d21874117b70e2f5d_45059953_rle_crop_3936600348_0.png.png imagette263200121756803693/1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596369_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/2e3a75711d441f89ba9c7f28c7577af8_51601473.png imagette263200121756803693 26320003 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=26320003 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380266868: '1756536546_2308207_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570172_0.png', 1380267107: '1756536906_2319493_1380056140_8c384ca32ca6749765aeb9e2a3983c9d_78809724_rle_crop_3936598808_0.png', 1380267106: '1756536906_2319493_1380056140_8c384ca32ca6749765aeb9e2a3983c9d_78809724_rle_crop_3936598802_0.png', 1380267105: '1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598779_0.png', 1380267104: '1756536906_2319493_1380056203_ad5bba551dd1365fa6f97282a877aee9_25688854_rle_crop_3936596745_0.png', 1380267103: '1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596368_0.png', 1380267102: '1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596284_0.png', 1380266872: '1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570832_0.png', 1380266871: '1756536546_2308207_1380056322_a19063f90bc1a7734a4b1020e1518f4d_7026838_rle_crop_3936570588_0.png', 1380266870: '1756536546_2308207_1380056324_a4193fc6dbd6dabaf88806efe53f7a3e_12224036_rle_crop_3936570464_0.png', 1380262738: '1756533905_2212096_1380056379_ebadb1d749ff79c373bfd39effc36ddb_59324303_rle_crop_3936569844_0.png', 1380266867: '1756536546_2308207_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569954_0.png', 1380266866: '1756536546_2308207_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569955_0.png', 1380266865: '1756536546_2308207_1380056379_ebadb1d749ff79c373bfd39effc36ddb_59324303_rle_crop_3936569844_0.png', 1380262747: '1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570832_0.png', 1380262745: '1756533905_2212096_1380056322_a19063f90bc1a7734a4b1020e1518f4d_7026838_rle_crop_3936570588_0.png', 1380262743: '1756533905_2212096_1380056324_a4193fc6dbd6dabaf88806efe53f7a3e_12224036_rle_crop_3936570464_0.png', 1380262741: '1756533905_2212096_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570172_0.png', 1380262740: '1756533905_2212096_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569954_0.png', 1380262739: '1756533905_2212096_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569955_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/35e28cc299bf4a6bbb599ee452fe719c_53778610.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/2c51a57633b009765f674905f1b3a935_36852206.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/56e062008eb5da506f40e8a40ce37828_70086845.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/26cd6833aaea35d316ac2b9a17cea5d7_19031960.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a74fe32b58911b5870dd86f73eee17d7_40907627.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/4f9639f77c6ce511722fa35df11a8b9b_28627757.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/fc835a8bce0918ef418c348f69fc7f62_63086688.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/5602b1c2026a65b5a7c5708a5a255f8d_99983488.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a15dad530b88851f57394bb768fc8869_31320575.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/4237a8f68b4f34170621df263e2268f1_39409799.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/0f6722407c447255ff905bb7720c3486_26074687.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7b3ed6a564b42b00465a914b3f6f3e4f_98798502.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/5d0b203969a1dbbb8de0a4d85e835d40_64956652.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/0f6722407c447255ff905bb7720c3486_81430870.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/5602b1c2026a65b5a7c5708a5a255f8d_83065563.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a15dad530b88851f57394bb768fc8869_25004247.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/4237a8f68b4f34170621df263e2268f1_28003911.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/35e28cc299bf4a6bbb599ee452fe719c_23012965.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7b3ed6a564b42b00465a914b3f6f3e4f_2196493.png change filename to text .imagette263200031756803693/ imagette263200031756803693/1756533905_2212096_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569954_0.png.png imagette263200031756803693/1756536546_2308207_1380056322_a19063f90bc1a7734a4b1020e1518f4d_7026838_rle_crop_3936570588_0.png.png imagette263200031756803693/1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570832_0.png.png imagette263200031756803693/1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570832_0.png.png imagette263200031756803693/1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598779_0.png.png imagette263200031756803693/1756533905_2212096_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569955_0.png.png imagette263200031756803693/1756533905_2212096_1380056322_a19063f90bc1a7734a4b1020e1518f4d_7026838_rle_crop_3936570588_0.png.png imagette263200031756803693/1756533905_2212096_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570172_0.png.png imagette263200031756803693/1756536546_2308207_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569954_0.png.png imagette263200031756803693/1756536546_2308207_1380056324_a4193fc6dbd6dabaf88806efe53f7a3e_12224036_rle_crop_3936570464_0.png.png imagette263200031756803693/1756533905_2212096_1380056324_a4193fc6dbd6dabaf88806efe53f7a3e_12224036_rle_crop_3936570464_0.png.png imagette263200031756803693/1756533905_2212096_1380056379_ebadb1d749ff79c373bfd39effc36ddb_59324303_rle_crop_3936569844_0.png.png imagette263200031756803693/1756536546_2308207_1380056379_ebadb1d749ff79c373bfd39effc36ddb_59324303_rle_crop_3936569844_0.png.png imagette263200031756803693/1756536546_2308207_1380056377_c36b82d775071331514b57816378c354_59179121_rle_crop_3936569955_0.png.png imagette263200031756803693/1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596284_0.png.png imagette263200031756803693/1756536906_2319493_1380056140_8c384ca32ca6749765aeb9e2a3983c9d_78809724_rle_crop_3936598808_0.png.png imagette263200031756803693/1756536546_2308207_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570172_0.png.png imagette263200031756803693/1756536906_2319493_1380056140_8c384ca32ca6749765aeb9e2a3983c9d_78809724_rle_crop_3936598802_0.png.png imagette263200031756803693/1756536906_2319493_1380056203_ad5bba551dd1365fa6f97282a877aee9_25688854_rle_crop_3936596745_0.png.png imagette263200031756803693/1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596368_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/5d0b203969a1dbbb8de0a4d85e835d40_98425497.png imagette263200031756803693 26320008 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=26320008 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380267092: '1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596290_0.png', 1380267101: '1756536906_2319493_1380056168_c12f475111151eeb044359d879b0a7aa_68346797_rle_crop_3936598796_0.png', 1380267100: '1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598787_0.png', 1380267099: '1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598782_0.png', 1380267098: '1756536906_2319493_1380056170_847badfcbbf951d18e2c525780c02d75_44014029_rle_crop_3936598731_0.png', 1380267097: '1756536906_2319493_1380056172_ca097130e276a13ed514cac12e501f18_94119219_rle_crop_3936598448_0.png', 1380267096: '1756536906_2319493_1380056173_11db88bb33d0cf18fddbcd56b1772117_62815541_rle_crop_3936597013_0.png', 1380267094: '1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596374_0.png', 1380267093: '1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596289_0.png', 1380262711: '1756533905_2212096_1380056355_aa975cac998175ed841967c3d2b4e7a7_24628481_rle_crop_3936570022_0.png', 1380266859: '1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570828_0.png', 1380266858: '1756536546_2308207_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570293_0.png', 1380266857: '1756536546_2308207_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570300_0.png', 1380266856: '1756536546_2308207_1380056355_aa975cac998175ed841967c3d2b4e7a7_24628481_rle_crop_3936570022_0.png', 1380262717: '1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570828_0.png', 1380262713: '1756533905_2212096_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570293_0.png', 1380262712: '1756533905_2212096_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570300_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/1e8aad6b8647a1f87025bb764e107477_15473122.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/8019b1b461998a39772a7be2c8043fc5_39637434.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/efad3eee956d21211fd081ec7dfcfef7_63443648.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/84aa35b7d3a3ec873e1b8435f591ca20_23962774.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/502d4f95c00d06956e5a62c17d649ca2_24647553.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/f346f3913068e9238d8c0a212a14e9ee_97472781.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/b53669f494d4b39b9582cf2744acde2d_76129452.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/67d0bffd888cf12f210d1d3ded610864_77884604.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/1e8c25ceaf1e0cae463ea010c6eead67_1619950.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7ab801b9b59885ac41ab82bb2196b02d_41342184.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/df8e4ddd48b14c1fab51f44f3bceef1e_41909095.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/024df2adfbcc87ce0b605f3792dae752_11095798.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/9450e92b931b26118ec61fb5f2085768_42641646.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7ab801b9b59885ac41ab82bb2196b02d_70865.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/df8e4ddd48b14c1fab51f44f3bceef1e_64225553.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/024df2adfbcc87ce0b605f3792dae752_49193838.png change filename to text .imagette263200081756803696/ imagette263200081756803696/1756536546_2308207_1380056355_aa975cac998175ed841967c3d2b4e7a7_24628481_rle_crop_3936570022_0.png.png imagette263200081756803696/1756536546_2308207_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570300_0.png.png imagette263200081756803696/1756536906_2319493_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394_rle_crop_3936596374_0.png.png imagette263200081756803696/1756536906_2319493_1380056172_ca097130e276a13ed514cac12e501f18_94119219_rle_crop_3936598448_0.png.png imagette263200081756803696/1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598782_0.png.png imagette263200081756803696/1756533905_2212096_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570293_0.png.png imagette263200081756803696/1756536546_2308207_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570293_0.png.png imagette263200081756803696/1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570828_0.png.png imagette263200081756803696/1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596290_0.png.png imagette263200081756803696/1756536906_2319493_1380056168_c12f475111151eeb044359d879b0a7aa_68346797_rle_crop_3936598796_0.png.png imagette263200081756803696/1756533905_2212096_1380056355_aa975cac998175ed841967c3d2b4e7a7_24628481_rle_crop_3936570022_0.png.png imagette263200081756803696/1756536906_2319493_1380056173_11db88bb33d0cf18fddbcd56b1772117_62815541_rle_crop_3936597013_0.png.png imagette263200081756803696/1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598787_0.png.png imagette263200081756803696/1756533905_2212096_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377_rle_crop_3936570300_0.png.png imagette263200081756803696/1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596289_0.png.png imagette263200081756803696/1756536906_2319493_1380056170_847badfcbbf951d18e2c525780c02d75_44014029_rle_crop_3936598731_0.png.png imagette263200081756803696/1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570828_0.png.png wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/9450e92b931b26118ec61fb5f2085768_9304183.png imagette263200081756803696 26320009 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=26320009 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1380262786: '1756533905_2212096_1380056354_04a791d7d52820799361e73fc345a6d9_99103817_rle_crop_3936570107_0.png', 1380262788: '1756533905_2212096_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570181_0.png', 1380262790: '1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570393_0.png', 1380262792: '1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570827_0.png', 1380266878: '1756536546_2308207_1380056354_04a791d7d52820799361e73fc345a6d9_99103817_rle_crop_3936570107_0.png', 1380266880: '1756536546_2308207_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570181_0.png', 1380266881: '1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570393_0.png', 1380266882: '1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570827_0.png', 1380267111: '1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596287_0.png', 1380267112: '1756536906_2319493_1380056204_edfde7bccc29aa495ad8107b93a1127f_71884347_rle_crop_3936596677_0.png', 1380267113: '1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598781_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/0873a93f37bf8046fa4b4648dcede29f_54240105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/3ce7280ead2da08fe2507c015aa86ce1_13533951.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/cb7f84204449dd1a0da73bff2b584973_24669000.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7b7d109bcafccc557fb80835467e90b9_41507733.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/0873a93f37bf8046fa4b4648dcede29f_21604840.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/3ce7280ead2da08fe2507c015aa86ce1_93042153.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/cb7f84204449dd1a0da73bff2b584973_96013948.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/7b7d109bcafccc557fb80835467e90b9_54930977.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/c516955b146f76356ad54a7e19143844_26777634.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/a5262e15aa6cba2b1880ce4164400c26_22889896.png change filename to text .imagette263200091756803698/ imagette263200091756803698/1756536906_2319493_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646_rle_crop_3936598781_0.png.png imagette263200091756803698/1756533905_2212096_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570827_0.png.png imagette263200091756803698/1756533905_2212096_1380056354_04a791d7d52820799361e73fc345a6d9_99103817_rle_crop_3936570107_0.png.png imagette263200091756803698/1756536906_2319493_1380056206_153b4fa91b0403d61457280e3160a85e_99539609_rle_crop_3936596287_0.png.png imagette263200091756803698/1756536546_2308207_1380056271_2086922e4788844de064cef7bfd21540_44033697_rle_crop_3936570827_0.png.png imagette263200091756803698/1756533905_2212096_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570181_0.png.png imagette263200091756803698/1756536546_2308207_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244_rle_crop_3936570181_0.png.png imagette263200091756803698/1756536546_2308207_1380056354_04a791d7d52820799361e73fc345a6d9_99103817_rle_crop_3936570107_0.png.png imagette263200091756803698/1756533905_2212096_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570393_0.png.png imagette263200091756803698/1756536906_2319493_1380056204_edfde7bccc29aa495ad8107b93a1127f_71884347_rle_crop_3936596677_0.png.png imagette263200091756803698/1756536546_2308207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099_rle_crop_3936570393_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/30/3199ac1c81860f6f2e9c5428ed3bd522_48933493.png imagette263200091756803698 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26319992 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26320014,26320015,26320016,26320017,26320018,26320019,26320020,26320021,26320022,26320023,26320024,26320025?tags=flou,cartonnette,Carton_gris,environnement,papier,metal,autre_refus,Teint_Dans_La_Masse,Carton_brun,plastique,mal_croppe,kraft your option no_mail is active, we will not send the real mail to your client args[1380061424] : ('0.04853776135679114',) no score found for photo 1380061424 We are sending mail with results at report@fotonower.com args[1380056411] : ('0.04853776135679114',) no score found for photo 1380056411 We are sending mail with results at report@fotonower.com args[1380056379] : ('0.04853776135679114',) no score found for photo 1380056379 We are sending mail with results at report@fotonower.com args[1380056378] : ('0.04853776135679114',) no score found for photo 1380056378 We are sending mail with results at report@fotonower.com args[1380056377] : ('0.04853776135679114',) no score found for photo 1380056377 We are sending mail with results at report@fotonower.com args[1380056355] : ('0.04853776135679114',) no score found for photo 1380056355 We are sending mail with results at report@fotonower.com args[1380056354] : ('0.04853776135679114',) no score found for photo 1380056354 We are sending mail with results at report@fotonower.com args[1380056353] : ('0.04853776135679114',) no score found for photo 1380056353 We are sending mail with results at report@fotonower.com args[1380056352] : ('0.04853776135679114',) no score found for photo 1380056352 We are sending mail with results at report@fotonower.com args[1380056351] : ('0.04853776135679114',) no score found for photo 1380056351 We are sending mail with results at report@fotonower.com args[1380056325] : ('0.04853776135679114',) no score found for photo 1380056325 We are sending mail with results at report@fotonower.com args[1380056324] : ('0.04853776135679114',) no score found for photo 1380056324 We are sending mail with results at report@fotonower.com args[1380056323] : ('0.04853776135679114',) no score found for photo 1380056323 We are sending mail with results at report@fotonower.com args[1380056322] : ('0.04853776135679114',) no score found for photo 1380056322 We are sending mail with results at report@fotonower.com args[1380056321] : ('0.04853776135679114',) no score found for photo 1380056321 We are sending mail with results at report@fotonower.com args[1380056320] : ('0.04853776135679114',) no score found for photo 1380056320 We are sending mail with results at report@fotonower.com args[1380056271] : ('0.04853776135679114',) no score found for photo 1380056271 We are sending mail with results at report@fotonower.com args[1380056269] : ('0.04853776135679114',) no score found for photo 1380056269 We are sending mail with results at report@fotonower.com args[1380056267] : ('0.04853776135679114',) no score found for photo 1380056267 We are sending mail with results at report@fotonower.com args[1380056266] : ('0.04853776135679114',) no score found for photo 1380056266 We are sending mail with results at report@fotonower.com args[1380056206] : ('0.04853776135679114',) no score found for photo 1380056206 We are sending mail with results at report@fotonower.com args[1380056205] : ('0.04853776135679114',) no score found for photo 1380056205 We are sending mail with results at report@fotonower.com args[1380056204] : ('0.04853776135679114',) no score found for photo 1380056204 We are sending mail with results at report@fotonower.com args[1380056203] : ('0.04853776135679114',) no score found for photo 1380056203 We are sending mail with results at report@fotonower.com args[1380056173] : ('0.04853776135679114',) no score found for photo 1380056173 We are sending mail with results at report@fotonower.com args[1380056172] : ('0.04853776135679114',) no score found for photo 1380056172 We are sending mail with results at report@fotonower.com args[1380056170] : ('0.04853776135679114',) no score found for photo 1380056170 We are sending mail with results at report@fotonower.com args[1380056169] : ('0.04853776135679114',) no score found for photo 1380056169 We are sending mail with results at report@fotonower.com args[1380056168] : ('0.04853776135679114',) no score found for photo 1380056168 We are sending mail with results at report@fotonower.com args[1380056140] : ('0.04853776135679114',) no score found for photo 1380056140 We are sending mail with results at report@fotonower.com args[1380056139] : ('0.04853776135679114',) no score found for photo 1380056139 We are sending mail with results at report@fotonower.com args[1380055996] : ('0.04853776135679114',) no score found for photo 1380055996 We are sending mail with results at report@fotonower.com args[1380055940] : ('0.04853776135679114',) no score found for photo 1380055940 We are sending mail with results at report@fotonower.com args[1380055906] : ('0.04853776135679114',) no score found for photo 1380055906 We are sending mail with results at report@fotonower.com args[1380055905] : ('0.04853776135679114',) no score found for photo 1380055905 We are sending mail with results at report@fotonower.com args[1380055904] : ('0.04853776135679114',) no score found for photo 1380055904 We are sending mail with results at report@fotonower.com args[1380055879] : ('0.04853776135679114',) no score found for photo 1380055879 We are sending mail with results at report@fotonower.com refus_total : 0.04853776135679114 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=26319992 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_P26319992_02-09-2025_11_01_31.pdf results_Auto_P26319992_02-09-2025_11_01_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_02-09-2025_11_01_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26319992','results_Auto_P26319992_02-09-2025_11_01_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_02-09-2025_11_01_31.pdf','pdf','','0.41','0.04853776135679114') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26319992]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] map_info['map_portfolio_photo'] : {26319992: [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879]} final : False mtd_id 4302 list_pids : [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] 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, '3651277') ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '26319992', '1380061424', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277')] time used for this insertion : 0.021253585815429688 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.499956130981445 time spend to save output : 0.021552562713623047 total time spend for step 4 : 11.521508693695068 step5:split_time_score Tue Sep 2 11:01:41 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['26319992'] 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 : [('26319992',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26319992) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1380056377: {'path': 'temp/1756803689_2638207_1380056377_c36b82d775071331514b57816378c354_59179121.jpg', 'extension': 'jpg'}, 1380056378: {'path': 'temp/1756803689_2638207_1380056378_b39658c3f9acac3d6967bbe5189e53b6_50568136.jpg', 'extension': 'jpg'}, 1380056379: {'path': 'temp/1756803689_2638207_1380056379_ebadb1d749ff79c373bfd39effc36ddb_59324303.jpg', 'extension': 'jpg'}, 1380056411: {'path': 'temp/1756803689_2638207_1380056411_5004c2c298838281cc2ce6c8291216e6_59251610.jpg', 'extension': 'jpg'}, 1380061424: {'path': 'temp/1756803689_2638207_1380061424_839f2d1ec71f6cb47ba0a6aeb73cf5fd_36095210.jpg', 'extension': 'jpg'}, 1380056168: {'path': 'temp/1756803689_2638207_1380056168_c12f475111151eeb044359d879b0a7aa_68346797.jpg', 'extension': 'jpg'}, 1380056169: {'path': 'temp/1756803689_2638207_1380056169_9bb8ed6fc91f5fce4e74b937b5d37368_43896646.jpg', 'extension': 'jpg'}, 1380056170: {'path': 'temp/1756803689_2638207_1380056170_847badfcbbf951d18e2c525780c02d75_44014029.jpg', 'extension': 'jpg'}, 1380056172: {'path': 'temp/1756803689_2638207_1380056172_ca097130e276a13ed514cac12e501f18_94119219.jpg', 'extension': 'jpg'}, 1380056173: {'path': 'temp/1756803689_2638207_1380056173_11db88bb33d0cf18fddbcd56b1772117_62815541.jpg', 'extension': 'jpg'}, 1380056203: {'path': 'temp/1756803689_2638207_1380056203_ad5bba551dd1365fa6f97282a877aee9_25688854.jpg', 'extension': 'jpg'}, 1380056204: {'path': 'temp/1756803689_2638207_1380056204_edfde7bccc29aa495ad8107b93a1127f_71884347.jpg', 'extension': 'jpg'}, 1380056205: {'path': 'temp/1756803689_2638207_1380056205_6b708a1f83f5a931b7cd67ce2fe58c24_94957394.jpg', 'extension': 'jpg'}, 1380056323: {'path': 'temp/1756803689_2638207_1380056323_240144c0f1850c3a0c72c14fac54b81d_34320583.jpg', 'extension': 'jpg'}, 1380056324: {'path': 'temp/1756803689_2638207_1380056324_a4193fc6dbd6dabaf88806efe53f7a3e_12224036.jpg', 'extension': 'jpg'}, 1380056325: {'path': 'temp/1756803689_2638207_1380056325_b6e13d41bbe1d20530bfa837b7dbeb3e_60466524.jpg', 'extension': 'jpg'}, 1380056351: {'path': 'temp/1756803689_2638207_1380056351_17be9f8febfd392538ea95c5252903f2_44246099.jpg', 'extension': 'jpg'}, 1380056352: {'path': 'temp/1756803689_2638207_1380056352_28d3b6fdb4a37e741dbd78ecc387ff4e_40714377.jpg', 'extension': 'jpg'}, 1380056353: {'path': 'temp/1756803689_2638207_1380056353_9433d3aaae84463599e2b12c0ed096a0_48267244.jpg', 'extension': 'jpg'}, 1380056354: {'path': 'temp/1756803689_2638207_1380056354_04a791d7d52820799361e73fc345a6d9_99103817.jpg', 'extension': 'jpg'}, 1380056355: {'path': 'temp/1756803689_2638207_1380056355_aa975cac998175ed841967c3d2b4e7a7_24628481.jpg', 'extension': 'jpg'}, 1380055879: {'path': 'temp/1756803689_2638207_1380055879_045287e0b75f70ec0504bdc1bd405e07_41196545.jpg', 'extension': 'jpg'}, 1380055904: {'path': 'temp/1756803689_2638207_1380055904_a1d8e6c78c3c65551212eb5f83959710_53589752.jpg', 'extension': 'jpg'}, 1380055905: {'path': 'temp/1756803689_2638207_1380055905_95f7370d1d0fb8e1958d22409a09b8de_81404486.jpg', 'extension': 'jpg'}, 1380055906: {'path': 'temp/1756803689_2638207_1380055906_8ed1ba9512915197bc92294bb71581f5_22529614.jpg', 'extension': 'jpg'}, 1380055940: {'path': 'temp/1756803689_2638207_1380055940_9eb32a221aa4420bb9e3f36abb9f1d3c_66857071.jpg', 'extension': 'jpg'}, 1380055996: {'path': 'temp/1756803689_2638207_1380055996_4431de58d9bec92d21874117b70e2f5d_45059953.jpg', 'extension': 'jpg'}, 1380056139: {'path': 'temp/1756803689_2638207_1380056139_40e78cbd1fddccaddea81e118d2f941b_89323391.jpg', 'extension': 'jpg'}, 1380056140: {'path': 'temp/1756803689_2638207_1380056140_8c384ca32ca6749765aeb9e2a3983c9d_78809724.jpg', 'extension': 'jpg'}, 1380056206: {'path': 'temp/1756803689_2638207_1380056206_153b4fa91b0403d61457280e3160a85e_99539609.jpg', 'extension': 'jpg'}, 1380056266: {'path': 'temp/1756803689_2638207_1380056266_4f41b86921e226f702fd14c527eead61_62313477.jpg', 'extension': 'jpg'}, 1380056267: {'path': 'temp/1756803689_2638207_1380056267_e77c4f62a1c9daf79ced8c0d090d2589_94503558.jpg', 'extension': 'jpg'}, 1380056269: {'path': 'temp/1756803689_2638207_1380056269_7efa6f3b6ea7cc06153b0061f2f14c97_38286014.jpg', 'extension': 'jpg'}, 1380056271: {'path': 'temp/1756803689_2638207_1380056271_2086922e4788844de064cef7bfd21540_44033697.jpg', 'extension': 'jpg'}, 1380056320: {'path': 'temp/1756803689_2638207_1380056320_38e701b5dacfaba55744f602fa13753a_50247429.jpg', 'extension': 'jpg'}, 1380056321: {'path': 'temp/1756803689_2638207_1380056321_906ccbf9b545d2f84ceff8271b7b9715_6908878.jpg', 'extension': 'jpg'}, 1380056322: {'path': 'temp/1756803689_2638207_1380056322_a19063f90bc1a7734a4b1020e1518f4d_7026838.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 = 26319992; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26319992 group by h (('08', 37),) 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=26319992 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 (26319992) 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 (26319992) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29082025 26319992 Nombre de photos uploadées : 37 / 23040 (0%) 29082025 26319992 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 29082025 26319992 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1380055879, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/045287e0b75f70ec0504bdc1bd405e07_41196545.jpg', 'username': None, 'uploaded_at': 1756449971, 'text': 'image_29082025_08_45_04_10159.jpg'}, {'photo_id': 1380055906, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/8ed1ba9512915197bc92294bb71581f5_22529614.jpg', 'username': None, 'uploaded_at': 1756450032, 'text': 'image_29082025_08_45_33_10141.jpg'}, {'photo_id': 1380055905, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/95f7370d1d0fb8e1958d22409a09b8de_81404486.jpg', 'username': None, 'uploaded_at': 1756450032, 'text': 'image_29082025_08_46_24_10136.jpg'}, {'photo_id': 1380055904, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/8/29/a1d8e6c78c3c65551212eb5f83959710_53589752.jpg', 'username': None, 'uploaded_at': 1756450032, 'text': 'image_29082025_08_46_33_9129.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0011358261108398438 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26319992, '2025-08-29' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-08-29' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2197579,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.22330713272094727 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= 2197579 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26310324, 'dashboard_result_id': 14491512, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_30-08-2025_05_34_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26310717, 'dashboard_result_id': 14491513, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_30-08-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26311223, 'dashboard_result_id': 14491514, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_30-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26311576, 'dashboard_result_id': 14491515, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_30-08-2025_05_36_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26312508, 'dashboard_result_id': 14491516, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_30-08-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26312666, 'dashboard_result_id': 14491517, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_30-08-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26312840, 'dashboard_result_id': 14491518, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_30-08-2025_05_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26313214, 'dashboard_result_id': 14491519, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_30-08-2025_05_38_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26313513, 'dashboard_result_id': 14491520, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_30-08-2025_05_38_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26313684, 'dashboard_result_id': 14491521, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_30-08-2025_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26313867, 'dashboard_result_id': 14491522, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_30-08-2025_05_39_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26314237, 'dashboard_result_id': 14491523, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_30-08-2025_05_39_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26314515, 'dashboard_result_id': 14491524, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_30-08-2025_05_40_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26314695, 'dashboard_result_id': 14491525, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_30-08-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26314920, 'dashboard_result_id': 14491526, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_30-08-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26315956, 'dashboard_result_id': 14491527, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_30-08-2025_05_41_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26316121, 'dashboard_result_id': 14491528, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_30-08-2025_05_41_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26316295, 'dashboard_result_id': 14491529, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_30-08-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26316368, 'dashboard_result_id': 14491530, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_30-08-2025_05_42_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26316645, 'dashboard_result_id': 14491531, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_30-08-2025_05_43_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26316956, 'dashboard_result_id': 14491532, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_30-08-2025_05_43_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26317122, 'dashboard_result_id': 14491533, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_30-08-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26317313, 'dashboard_result_id': 14491534, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_30-08-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26319275, 'dashboard_result_id': 14491535, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_30-08-2025_05_44_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26319649, 'dashboard_result_id': 14491536, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_30-08-2025_05_45_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26319992, 'dashboard_result_id': 14491537, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_30-08-2025_05_45_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26321271, 'dashboard_result_id': 14491538, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_02-09-2025_11_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26321494, 'dashboard_result_id': 14491539, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_02-09-2025_11_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26321798, 'dashboard_result_id': 14491540, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_02-09-2025_11_00_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26322168, 'dashboard_result_id': 14491541, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_02-09-2025_10_59_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26322587, 'dashboard_result_id': 14491542, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_02-09-2025_10_59_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26323180, 'dashboard_result_id': 14491543, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_02-09-2025_10_58_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26323592, 'dashboard_result_id': 14491544, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_30-08-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26324001, 'dashboard_result_id': 14491545, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_30-08-2025_05_48_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26324407, 'dashboard_result_id': 14491546, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_30-08-2025_05_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26324712, 'dashboard_result_id': 14491547, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_30-08-2025_05_49_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26327763, 'dashboard_result_id': 14491548, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_30-08-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26328375, 'dashboard_result_id': 14491549, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_30-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26328696, 'dashboard_result_id': 14491550, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_30-08-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26329431, 'dashboard_result_id': 14491551, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_30-08-2025_05_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26330273, 'dashboard_result_id': 14491552, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26330727, 'dashboard_result_id': 14491553, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_30-08-2025_05_51_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26331432, 'dashboard_result_id': 14491554, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_30-08-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26332241, 'dashboard_result_id': 14491555, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_30-08-2025_05_52_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26332945, 'dashboard_result_id': 14491556, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_30-08-2025_05_53_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26333697, 'dashboard_result_id': 14491557, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_30-08-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26334301, 'dashboard_result_id': 14491558, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_30-08-2025_05_53_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26335136, 'dashboard_result_id': 14491559, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_30-08-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26335814, 'dashboard_result_id': 14491560, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_30-08-2025_05_54_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26336418, 'dashboard_result_id': 14491561, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_30-08-2025_05_55_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26337072, 'dashboard_result_id': 14491562, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_30-08-2025_05_55_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26337687, 'dashboard_result_id': 14491563, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_30-08-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26341177, 'dashboard_result_id': 14491564, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_30-08-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26341180, 'dashboard_result_id': 14491565, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_30-08-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26341182, 'dashboard_result_id': 14491566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_30-08-2025_05_57_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26341184, 'dashboard_result_id': 14491567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_30-08-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26341409, 'dashboard_result_id': 14491568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_30-08-2025_05_58_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26342142, 'dashboard_result_id': 14491569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_30-08-2025_05_59_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26343013, 'dashboard_result_id': 14491570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_30-08-2025_05_59_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26343747, 'dashboard_result_id': 14491571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_30-08-2025_06_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26344248, 'dashboard_result_id': 14491572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_30-08-2025_06_00_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26344986, 'dashboard_result_id': 14491573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_30-08-2025_06_01_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26345661, 'dashboard_result_id': 14491574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_30-08-2025_06_01_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26348362, 'dashboard_result_id': 14491575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348362_30-08-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348463, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26348375, 'dashboard_result_id': 14491576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348375_30-08-2025_06_02_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348438, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26348376, 'dashboard_result_id': 14491577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348376_30-08-2025_06_03_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348401, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26348377, 'dashboard_result_id': 14491578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348377_30-08-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26348378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348389, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26348580, 'dashboard_result_id': 14491579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348580_30-08-2025_06_04_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348641, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26349281, 'dashboard_result_id': 14491580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26349281_30-08-2025_06_04_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26349287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26349288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26349289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26349290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26349291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26349292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26349293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26349294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26349295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26349296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26349297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26349298, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26350115, 'dashboard_result_id': 14491581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350115_30-08-2025_06_05_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26350131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350142, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26350850, 'dashboard_result_id': 14491582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350850_30-08-2025_06_05_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26350864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350871, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26351566, 'dashboard_result_id': 14491583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26351566_30-08-2025_06_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26351643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26351644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26351645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26351646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26351647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26351648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26351649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26351650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26351651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26351652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26351653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26351655, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26352373, 'dashboard_result_id': 14491584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26352373_30-08-2025_06_06_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26352415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26352416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26352417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26352418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26352419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26352420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26352421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26352422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26352423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26352424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26352425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26352426, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26353095, 'dashboard_result_id': 14491585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353095_30-08-2025_06_07_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26353104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353115, 'pht': 3726}}"}, {'dashboat_entry_day': 2197579, 'dashboard_run_id': 2210109, 'mtr_portfolio_id': 26353802, 'dashboard_result_id': 14491586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353802_30-08-2025_06_07_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26353814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353819, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310324 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': 3641168, 'mtr_portfolio_id': 26310324, 'created_at': datetime.datetime(2025, 8, 30, 5, 34, 29), 'result': '0.049518750910814445', 'result_long': None, 'result_double': None}] Qualite : 0.049518750910814445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26310324 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_30-08-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310324 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_30-08-2025_05_34_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}" where mtr_portfolio_id = 26310324 and dashboard_run_id = 2210109 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`=26310324 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491512, 0.049518750910814445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310324_30-08-2025_05_34_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310327, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310329, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26310717 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': 3641170, 'mtr_portfolio_id': 26310717, 'created_at': datetime.datetime(2025, 8, 30, 5, 34, 58), 'result': '0.04427862737791397', 'result_long': None, 'result_double': None}] Qualite : 0.04427862737791397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26310717 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_30-08-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26310717 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_30-08-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}" where mtr_portfolio_id = 26310717 and dashboard_run_id = 2210109 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`=26310717 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491513, 0.04427862737791397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26310717_30-08-2025_05_35_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26310746, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26310747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26310748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26310749, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26310750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26310751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26310752, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26310753, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26310754, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26310755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26310756, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26310757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311223 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': 3641172, 'mtr_portfolio_id': 26311223, 'created_at': datetime.datetime(2025, 8, 30, 5, 35, 31), 'result': '0.048894776702545106', 'result_long': None, 'result_double': None}] Qualite : 0.048894776702545106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26311223 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_30-08-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311223 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_30-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}" where mtr_portfolio_id = 26311223 and dashboard_run_id = 2210109 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`=26311223 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491514, 0.048894776702545106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311223_30-08-2025_05_35_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311270, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311272, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311275, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311276, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311278, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26311576 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': 3641174, 'mtr_portfolio_id': 26311576, 'created_at': datetime.datetime(2025, 8, 30, 5, 35, 58), 'result': '0.07106134370142161', 'result_long': None, 'result_double': None}] Qualite : 0.07106134370142161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26311576 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_30-08-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26311576 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_30-08-2025_05_36_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}" where mtr_portfolio_id = 26311576 and dashboard_run_id = 2210109 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`=26311576 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491515, 0.07106134370142161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26311576_30-08-2025_05_36_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26311581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26311582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26311583, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26311584, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26311585, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26311586, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26311587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26311588, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26311589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26311590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26311591, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26311593, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312508 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': 3641176, 'mtr_portfolio_id': 26312508, 'created_at': datetime.datetime(2025, 8, 30, 5, 36, 28), 'result': '0.0714026227383188', 'result_long': None, 'result_double': None}] Qualite : 0.0714026227383188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26312508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_30-08-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312508 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_30-08-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}" where mtr_portfolio_id = 26312508 and dashboard_run_id = 2210109 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`=26312508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491516, 0.0714026227383188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312508_30-08-2025_05_36_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312522, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312524, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312525, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312529, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312530, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312531, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26312666 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312666 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26312666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_30-08-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312666_30-08-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312701, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312703, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312707, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312709, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312710, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26312711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312712, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312713, 'pht': 3726}}" where mtr_portfolio_id = 26312666 and dashboard_run_id = 2210109 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 = 26312840 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26312840 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26312840 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26312840 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_30-08-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26312840 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26312840_30-08-2025_05_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26312860, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26312861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26312862, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26312863, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26312864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26312865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26312866, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26312867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26312868, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26312869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26312870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26312871, 'pht': 3726}}" where mtr_portfolio_id = 26312840 and dashboard_run_id = 2210109 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 = 26313214 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26313214 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313214 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26313214 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_30-08-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313214 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313214_30-08-2025_05_38_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313226, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313227, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313236, 'pht': 3726}}" where mtr_portfolio_id = 26313214 and dashboard_run_id = 2210109 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 = 26313513 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26313513 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313513 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26313513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_30-08-2025_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313513 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313513_30-08-2025_05_38_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313525, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313526, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313527, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313528, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313529, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313531, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313536, 'pht': 3726}}" where mtr_portfolio_id = 26313513 and dashboard_run_id = 2210109 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 = 26313684 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26313684 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313684 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26313684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_30-08-2025_05_39_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313684 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313684_30-08-2025_05_39_03.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313686, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313687, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313688, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313689, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313690, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313693, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313694, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313695, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313697, 'pht': 3726}}" where mtr_portfolio_id = 26313684 and dashboard_run_id = 2210109 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 = 26313867 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26313867 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26313867 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26313867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_30-08-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26313867 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26313867_30-08-2025_05_39_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26313895, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26313896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26313897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26313898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26313899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26313900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26313901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26313902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26313903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26313904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26313905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26313906, 'pht': 3726}}" where mtr_portfolio_id = 26313867 and dashboard_run_id = 2210109 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 = 26314237 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26314237 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314237 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26314237 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_30-08-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314237 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314237_30-08-2025_05_39_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26314249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314251, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314252, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314255, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314259, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314260, 'pht': 3726}}" where mtr_portfolio_id = 26314237 and dashboard_run_id = 2210109 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 = 26314515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26314515 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314515 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26314515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_30-08-2025_05_40_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314515_30-08-2025_05_40_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314528, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314529, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314530, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314531, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314532, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314536, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314537, 'pht': 3726}}" where mtr_portfolio_id = 26314515 and dashboard_run_id = 2210109 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 = 26314695 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26314695 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314695 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26314695 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_30-08-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314695 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314695_30-08-2025_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314707, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314708, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314709, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314711, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314712, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314714, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314717, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314718, 'pht': 3726}}" where mtr_portfolio_id = 26314695 and dashboard_run_id = 2210109 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 = 26314920 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26314920 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26314920 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26314920 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_30-08-2025_05_41_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26314920 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26314920_30-08-2025_05_41_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26314938, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26314939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26314940, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26314941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26314942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26314943, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26314944, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26314945, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26314946, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26314947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26314948, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26314949, 'pht': 3726}}" where mtr_portfolio_id = 26314920 and dashboard_run_id = 2210109 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 = 26315956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26315956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26315956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26315956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_30-08-2025_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26315956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26315956_30-08-2025_05_41_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26315969, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26315970, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26315971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26315972, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26315973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26315974, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26315975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26315976, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26315977, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26315978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26315979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26315980, 'pht': 3726}}" where mtr_portfolio_id = 26315956 and dashboard_run_id = 2210109 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 = 26316121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26316121 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316121 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26316121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_30-08-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316121_30-08-2025_05_41_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316132, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316133, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316136, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316137, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316139, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316140, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316141, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316142, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316143, 'pht': 3726}}" where mtr_portfolio_id = 26316121 and dashboard_run_id = 2210109 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 = 26316295 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26316295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316295 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26316295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_30-08-2025_05_42_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316295_30-08-2025_05_42_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316301, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316303, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316305, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316308, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316309, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316312, 'pht': 3726}}" where mtr_portfolio_id = 26316295 and dashboard_run_id = 2210109 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 = 26316368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26316368 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316368 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26316368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_30-08-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316368_30-08-2025_05_42_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316379, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316380, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316381, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316384, 'pht': 3726}}" where mtr_portfolio_id = 26316368 and dashboard_run_id = 2210109 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 = 26316645 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26316645 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316645 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26316645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_30-08-2025_05_43_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316645 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316645_30-08-2025_05_43_04.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316662, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316666, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316668, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316672, 'pht': 3726}}" where mtr_portfolio_id = 26316645 and dashboard_run_id = 2210109 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 = 26316956 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26316956 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26316956 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26316956 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_30-08-2025_05_43_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26316956 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26316956_30-08-2025_05_43_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26316962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26316963, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26316964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26316965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26316966, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26316967, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26316968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26316969, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26316970, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26316971, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26316972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26316973, 'pht': 3726}}" where mtr_portfolio_id = 26316956 and dashboard_run_id = 2210109 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 = 26317122 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26317122 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317122 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26317122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_30-08-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317122 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317122_30-08-2025_05_43_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317124, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317127, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317129, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317130, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317131, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317133, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317135, 'pht': 3726}}" where mtr_portfolio_id = 26317122 and dashboard_run_id = 2210109 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 = 26317313 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26317313 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26317313 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26317313 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_30-08-2025_05_43_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26317313 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26317313_30-08-2025_05_43_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26317353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26317354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26317355, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26317356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26317357, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26317358, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26317359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26317360, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26317361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26317362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26317363, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26317364, 'pht': 3726}}" where mtr_portfolio_id = 26317313 and dashboard_run_id = 2210109 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 = 26319275 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26319275 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319275 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26319275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_30-08-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319275 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319275_30-08-2025_05_44_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319276, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319277, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319278, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319279, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319282, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319285, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319287, 'pht': 3726}}" where mtr_portfolio_id = 26319275 and dashboard_run_id = 2210109 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 = 26319649 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 26319649 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26319649 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26319649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_30-08-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319649 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319649_30-08-2025_05_45_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26319660, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26319661, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26319662, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26319663, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26319664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26319665, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26319666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26319667, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26319668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26319669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26319670, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26319671, 'pht': 3726}}" where mtr_portfolio_id = 26319649 and dashboard_run_id = 2210109 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 = 26319992 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': 3651277, 'mtr_portfolio_id': 26319992, 'created_at': datetime.datetime(2025, 9, 2, 11, 1, 29), 'result': '0.04853776135679114', 'result_long': None, 'result_double': None}] Qualite : 0.04853776135679114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26319992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_02-09-2025_11_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26319992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_02-09-2025_11_01_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}" where mtr_portfolio_id = 26319992 and dashboard_run_id = 2210109 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`=26319992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491537, 0.04853776135679114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26319992_02-09-2025_11_01_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26320001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26320002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26320003, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26320004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26320005, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26320006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26320007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26320008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26320009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26320010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26320011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26320012, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321271 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': 3651278, 'mtr_portfolio_id': 26321271, 'created_at': datetime.datetime(2025, 9, 2, 11, 0, 57), 'result': '0.058803570941937035', 'result_long': None, 'result_double': None}] Qualite : 0.058803570941937035 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26321271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_02-09-2025_11_00_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321271 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_02-09-2025_11_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}" where mtr_portfolio_id = 26321271 and dashboard_run_id = 2210109 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`=26321271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491538, 0.058803570941937035, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321271_02-09-2025_11_00_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321302, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321305, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321306, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321307, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321308, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321309, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321311, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321313, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321494 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': 3651279, 'mtr_portfolio_id': 26321494, 'created_at': datetime.datetime(2025, 9, 2, 11, 0, 30), 'result': '0.05222229114076983', 'result_long': None, 'result_double': None}] Qualite : 0.05222229114076983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26321494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_02-09-2025_11_00_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_02-09-2025_11_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}" where mtr_portfolio_id = 26321494 and dashboard_run_id = 2210109 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`=26321494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491539, 0.05222229114076983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321494_02-09-2025_11_00_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321503, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321504, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321506, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321507, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26321510, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321513, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321514, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26321798 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': 3651280, 'mtr_portfolio_id': 26321798, 'created_at': datetime.datetime(2025, 9, 2, 10, 59, 58), 'result': '0.047890281964987624', 'result_long': None, 'result_double': None}] Qualite : 0.047890281964987624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26321798 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_02-09-2025_11_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26321798 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_02-09-2025_11_00_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}" where mtr_portfolio_id = 26321798 and dashboard_run_id = 2210109 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`=26321798 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491540, 0.047890281964987624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26321798_02-09-2025_11_00_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26321806, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26321807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26321808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26321809, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26321810, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26321811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26321812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26321813, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26321814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26321815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26321816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26321817, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322168 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': 3651281, 'mtr_portfolio_id': 26322168, 'created_at': datetime.datetime(2025, 9, 2, 10, 59, 29), 'result': '0.06579427152193978', 'result_long': None, 'result_double': None}] Qualite : 0.06579427152193978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26322168 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_02-09-2025_10_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322168 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_02-09-2025_10_59_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}" where mtr_portfolio_id = 26322168 and dashboard_run_id = 2210109 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`=26322168 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491541, 0.06579427152193978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322168_02-09-2025_10_59_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322209, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322213, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322214, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322215, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26322587 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': 3651282, 'mtr_portfolio_id': 26322587, 'created_at': datetime.datetime(2025, 9, 2, 10, 59, 1), 'result': '0.052922055588859165', 'result_long': None, 'result_double': None}] Qualite : 0.052922055588859165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26322587 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_02-09-2025_10_59_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26322587 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_02-09-2025_10_59_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}" where mtr_portfolio_id = 26322587 and dashboard_run_id = 2210109 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`=26322587 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491542, 0.052922055588859165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26322587_02-09-2025_10_59_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26322636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26322637, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26322638, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26322639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26322640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26322641, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26322642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26322643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26322644, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26322645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26322646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26322647, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323180 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': 3651283, 'mtr_portfolio_id': 26323180, 'created_at': datetime.datetime(2025, 9, 2, 10, 58, 31), 'result': '0.046933389115311364', 'result_long': None, 'result_double': None}] Qualite : 0.046933389115311364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26323180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_02-09-2025_10_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_02-09-2025_10_58_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}" where mtr_portfolio_id = 26323180 and dashboard_run_id = 2210109 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`=26323180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491543, 0.046933389115311364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323180_02-09-2025_10_58_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26323193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323194, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323196, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323197, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323199, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26323592 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': 3641204, 'mtr_portfolio_id': 26323592, 'created_at': datetime.datetime(2025, 8, 30, 5, 47, 58), 'result': '0.05517056189716338', 'result_long': None, 'result_double': None}] Qualite : 0.05517056189716338 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26323592 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_30-08-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26323592 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_30-08-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}" where mtr_portfolio_id = 26323592 and dashboard_run_id = 2210109 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`=26323592 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491544, 0.05517056189716338, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26323592_30-08-2025_05_48_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26323602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26323604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26323605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26323606, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26323607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26323608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26323609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26323610, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26323611, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26323612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26323613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26323614, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324001 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': 3641205, 'mtr_portfolio_id': 26324001, 'created_at': datetime.datetime(2025, 8, 30, 5, 48, 31), 'result': '0.08370938662657859', 'result_long': None, 'result_double': None}] Qualite : 0.08370938662657859 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26324001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_30-08-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324001 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_30-08-2025_05_48_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}" where mtr_portfolio_id = 26324001 and dashboard_run_id = 2210109 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`=26324001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491545, 0.08370938662657859, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324001_30-08-2025_05_48_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26324015, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324017, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324019, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324021, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324024, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324027, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324407 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': 3641206, 'mtr_portfolio_id': 26324407, 'created_at': datetime.datetime(2025, 8, 30, 5, 48, 59), 'result': '0.0274479848871286', 'result_long': None, 'result_double': None}] Qualite : 0.0274479848871286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26324407 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_30-08-2025_05_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324407 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_30-08-2025_05_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}" where mtr_portfolio_id = 26324407 and dashboard_run_id = 2210109 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`=26324407 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491546, 0.0274479848871286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324407_30-08-2025_05_49_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324429, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324430, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324431, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324432, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324434, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324436, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324437, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324438, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26324712 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': 3641207, 'mtr_portfolio_id': 26324712, 'created_at': datetime.datetime(2025, 8, 30, 5, 49, 33), 'result': '0.06310362175781142', 'result_long': None, 'result_double': None}] Qualite : 0.06310362175781142 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26324712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_30-08-2025_05_49_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26324712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_30-08-2025_05_49_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}" where mtr_portfolio_id = 26324712 and dashboard_run_id = 2210109 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`=26324712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491547, 0.06310362175781142, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26324712_30-08-2025_05_49_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26324748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26324749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26324750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26324751, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26324752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26324753, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26324754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26324755, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26324756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26324757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26324758, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26324759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26327763 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': 3641208, 'mtr_portfolio_id': 26327763, 'created_at': datetime.datetime(2025, 8, 30, 5, 49, 30), 'result': '0.027467797601687594', 'result_long': None, 'result_double': None}] Qualite : 0.027467797601687594 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26327763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_30-08-2025_05_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26327763 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_30-08-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}" where mtr_portfolio_id = 26327763 and dashboard_run_id = 2210109 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`=26327763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491548, 0.027467797601687594, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26327763_30-08-2025_05_49_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26327770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26327771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26327772, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26327773, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26327774, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26327775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26327776, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26327777, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26327778, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26327779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26327780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26327781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26328375 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': 3641209, 'mtr_portfolio_id': 26328375, 'created_at': datetime.datetime(2025, 8, 30, 5, 49, 57), 'result': '0.04356810946957196', 'result_long': None, 'result_double': None}] Qualite : 0.04356810946957196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_30-08-2025_05_49_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_30-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}" where mtr_portfolio_id = 26328375 and dashboard_run_id = 2210109 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`=26328375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491549, 0.04356810946957196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328375_30-08-2025_05_49_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328383, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328386, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328387, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328389, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328390, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328391, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328393, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26328696 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': 3641210, 'mtr_portfolio_id': 26328696, 'created_at': datetime.datetime(2025, 8, 30, 5, 50, 28), 'result': '0.04553004549945898', 'result_long': None, 'result_double': None}] Qualite : 0.04553004549945898 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26328696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_30-08-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26328696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_30-08-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}" where mtr_portfolio_id = 26328696 and dashboard_run_id = 2210109 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`=26328696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491550, 0.04553004549945898, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26328696_30-08-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26328713, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26328714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26328715, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26328716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26328717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26328718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26328719, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26328720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26328721, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26328722, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26328723, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26328724, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26329431 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': 3641211, 'mtr_portfolio_id': 26329431, 'created_at': datetime.datetime(2025, 8, 30, 5, 50, 58), 'result': '0.056206944514660094', 'result_long': None, 'result_double': None}] Qualite : 0.056206944514660094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26329431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_30-08-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26329431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_30-08-2025_05_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}" where mtr_portfolio_id = 26329431 and dashboard_run_id = 2210109 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`=26329431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491551, 0.056206944514660094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26329431_30-08-2025_05_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26329471, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26329472, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26329473, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26329474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26329475, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26329476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26329477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26329478, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26329479, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26329480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26329481, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26329482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26330273 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': 3636648, 'mtr_portfolio_id': 26330273, 'created_at': datetime.datetime(2025, 8, 29, 14, 36, 58), 'result': '0.06415580297979981', 'result_long': None, 'result_double': None}] Qualite : 0.06415580297979981 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330273 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}" where mtr_portfolio_id = 26330273 and dashboard_run_id = 2210109 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`=26330273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491552, 0.06415580297979981, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330273_29-08-2025_14_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330326, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330331, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330332, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26330727 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': 3641213, 'mtr_portfolio_id': 26330727, 'created_at': datetime.datetime(2025, 8, 30, 5, 51, 29), 'result': '0.07036377076331339', 'result_long': None, 'result_double': None}] Qualite : 0.07036377076331339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26330727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_30-08-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26330727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_30-08-2025_05_51_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}" where mtr_portfolio_id = 26330727 and dashboard_run_id = 2210109 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`=26330727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491553, 0.07036377076331339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26330727_30-08-2025_05_51_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26330761, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26330762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26330763, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26330764, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26330765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26330766, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26330767, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26330768, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26330769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26330770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26330771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26330772, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26331432 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': 3641214, 'mtr_portfolio_id': 26331432, 'created_at': datetime.datetime(2025, 8, 30, 5, 51, 58), 'result': '0.06011247420525089', 'result_long': None, 'result_double': None}] Qualite : 0.06011247420525089 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26331432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_30-08-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26331432 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_30-08-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}" where mtr_portfolio_id = 26331432 and dashboard_run_id = 2210109 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`=26331432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491554, 0.06011247420525089, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26331432_30-08-2025_05_52_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26331468, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26331469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26331470, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26331471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26331472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26331473, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26331474, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26331475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26331476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26331477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26331478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26331479, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26332241 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': 3641215, 'mtr_portfolio_id': 26332241, 'created_at': datetime.datetime(2025, 8, 30, 5, 52, 31), 'result': '0.04354200762134384', 'result_long': None, 'result_double': None}] Qualite : 0.04354200762134384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332241 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_30-08-2025_05_52_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332241 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_30-08-2025_05_52_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}" where mtr_portfolio_id = 26332241 and dashboard_run_id = 2210109 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`=26332241 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491555, 0.04354200762134384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332241_30-08-2025_05_52_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332275, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332277, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332279, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332282, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26332283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332287, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26332945 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': 3641216, 'mtr_portfolio_id': 26332945, 'created_at': datetime.datetime(2025, 8, 30, 5, 53), 'result': '0.059412916376242304', 'result_long': None, 'result_double': None}] Qualite : 0.059412916376242304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26332945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_30-08-2025_05_53_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26332945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_30-08-2025_05_53_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}" where mtr_portfolio_id = 26332945 and dashboard_run_id = 2210109 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`=26332945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491556, 0.059412916376242304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26332945_30-08-2025_05_53_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26332978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26332979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26332981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26332982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26332983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26332984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26332985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26332986, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26332987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26332988, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26332989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26332990, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26333697 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': 3641217, 'mtr_portfolio_id': 26333697, 'created_at': datetime.datetime(2025, 8, 30, 5, 53, 28), 'result': '0.05170345173487977', 'result_long': None, 'result_double': None}] Qualite : 0.05170345173487977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26333697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_30-08-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26333697 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_30-08-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}" where mtr_portfolio_id = 26333697 and dashboard_run_id = 2210109 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`=26333697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491557, 0.05170345173487977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26333697_30-08-2025_05_53_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26333722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26333723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26333725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26333730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26333737, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26333743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26333745, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26333746, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26333747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26333748, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26333749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26333750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26334301 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': 3641218, 'mtr_portfolio_id': 26334301, 'created_at': datetime.datetime(2025, 8, 30, 5, 53, 30), 'result': '0.06644781658363134', 'result_long': None, 'result_double': None}] Qualite : 0.06644781658363134 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26334301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_30-08-2025_05_53_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26334301 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_30-08-2025_05_53_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}" where mtr_portfolio_id = 26334301 and dashboard_run_id = 2210109 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`=26334301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491558, 0.06644781658363134, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26334301_30-08-2025_05_53_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26334350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26334351, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26334352, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26334353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26334354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26334355, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26334356, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26334357, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26334358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26334359, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26334360, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26334361, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26335136 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': 3641219, 'mtr_portfolio_id': 26335136, 'created_at': datetime.datetime(2025, 8, 30, 5, 53, 59), 'result': '0.0503287727323757', 'result_long': None, 'result_double': None}] Qualite : 0.0503287727323757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335136 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_30-08-2025_05_54_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335136 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_30-08-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}" where mtr_portfolio_id = 26335136 and dashboard_run_id = 2210109 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`=26335136 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491559, 0.0503287727323757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335136_30-08-2025_05_54_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335187, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335193, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335195, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335196, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26335814 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': 3641220, 'mtr_portfolio_id': 26335814, 'created_at': datetime.datetime(2025, 8, 30, 5, 54, 29), 'result': '0.055740222630881395', 'result_long': None, 'result_double': None}] Qualite : 0.055740222630881395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26335814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_30-08-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26335814 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_30-08-2025_05_54_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}" where mtr_portfolio_id = 26335814 and dashboard_run_id = 2210109 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`=26335814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491560, 0.055740222630881395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26335814_30-08-2025_05_54_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26335847, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26335848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26335849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26335850, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26335851, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26335852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26335853, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26335854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26335855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26335856, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26335857, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26335858, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26336418 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': 3641221, 'mtr_portfolio_id': 26336418, 'created_at': datetime.datetime(2025, 8, 30, 5, 54, 59), 'result': '0.05174407050037286', 'result_long': None, 'result_double': None}] Qualite : 0.05174407050037286 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26336418 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_30-08-2025_05_55_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26336418 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_30-08-2025_05_55_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, 'pht': 3726}}" where mtr_portfolio_id = 26336418 and dashboard_run_id = 2210109 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`=26336418 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491561, 0.05174407050037286, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26336418_30-08-2025_05_55_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26336454, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26336455, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26336456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26336457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26336458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26336459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26336460, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26336461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26336462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26336463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26336464, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26336465, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26337072 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': 3641222, 'mtr_portfolio_id': 26337072, 'created_at': datetime.datetime(2025, 8, 30, 5, 55, 28), 'result': '0.044720847915321375', 'result_long': None, 'result_double': None}] Qualite : 0.044720847915321375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26337072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_30-08-2025_05_55_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26337072 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_30-08-2025_05_55_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, 'pht': 3726}}" where mtr_portfolio_id = 26337072 and dashboard_run_id = 2210109 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`=26337072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491562, 0.044720847915321375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337072_30-08-2025_05_55_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26337143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337149, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337151, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337152, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337154, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26337687 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': 3641223, 'mtr_portfolio_id': 26337687, 'created_at': datetime.datetime(2025, 8, 30, 5, 55, 59), 'result': '0.06319046522533395', 'result_long': None, 'result_double': None}] Qualite : 0.06319046522533395 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26337687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_30-08-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26337687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_30-08-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, 'pht': 3726}}" where mtr_portfolio_id = 26337687 and dashboard_run_id = 2210109 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`=26337687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491563, 0.06319046522533395, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26337687_30-08-2025_05_56_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26337718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26337719, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26337720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26337721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26337722, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26337723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26337724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26337725, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26337726, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26337727, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26337729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26337730, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26341177 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': 3641224, 'mtr_portfolio_id': 26341177, 'created_at': datetime.datetime(2025, 8, 30, 5, 56, 28), 'result': '0.05686169632158254', 'result_long': None, 'result_double': None}] Qualite : 0.05686169632158254 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_30-08-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_30-08-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, 'pht': 3726}}" where mtr_portfolio_id = 26341177 and dashboard_run_id = 2210109 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`=26341177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491564, 0.05686169632158254, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341177_30-08-2025_05_56_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341349, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341350, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341354, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341357, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341358, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341359, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341361, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341363, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26341180 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': 3641225, 'mtr_portfolio_id': 26341180, 'created_at': datetime.datetime(2025, 8, 30, 5, 56, 59), 'result': '0.060260128239553894', 'result_long': None, 'result_double': None}] Qualite : 0.060260128239553894 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_30-08-2025_05_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_30-08-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, 'pht': 3726}}" where mtr_portfolio_id = 26341180 and dashboard_run_id = 2210109 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`=26341180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491565, 0.060260128239553894, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341180_30-08-2025_05_57_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341242, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341243, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341244, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341245, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341246, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341248, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341253, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26341182 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': 3641226, 'mtr_portfolio_id': 26341182, 'created_at': datetime.datetime(2025, 8, 30, 5, 57, 27), 'result': '0.09651059680733862', 'result_long': None, 'result_double': None}] Qualite : 0.09651059680733862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341182 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_30-08-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341182 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_30-08-2025_05_57_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, 'pht': 3726}}" where mtr_portfolio_id = 26341182 and dashboard_run_id = 2210109 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`=26341182 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491566, 0.09651059680733862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341182_30-08-2025_05_57_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26341190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341201, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26341184 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': 3641227, 'mtr_portfolio_id': 26341184, 'created_at': datetime.datetime(2025, 8, 30, 5, 57, 58), 'result': '0.05578162455569547', 'result_long': None, 'result_double': None}] Qualite : 0.05578162455569547 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341184 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_30-08-2025_05_58_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341184 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_30-08-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, 'pht': 3726}}" where mtr_portfolio_id = 26341184 and dashboard_run_id = 2210109 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`=26341184 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491567, 0.05578162455569547, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341184_30-08-2025_05_58_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341205, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341207, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341208, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341209, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341211, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341212, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341213, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26341409 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': 3641228, 'mtr_portfolio_id': 26341409, 'created_at': datetime.datetime(2025, 8, 30, 5, 58, 29), 'result': '0.04852029036619921', 'result_long': None, 'result_double': None}] Qualite : 0.04852029036619921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26341409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_30-08-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26341409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_30-08-2025_05_58_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, 'pht': 3726}}" where mtr_portfolio_id = 26341409 and dashboard_run_id = 2210109 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`=26341409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491568, 0.04852029036619921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26341409_30-08-2025_05_58_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26341430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26341431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26341432, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26341434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26341435, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26341436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26341437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26341438, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26341439, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26341440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26341441, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26341442, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26342142 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': 3641229, 'mtr_portfolio_id': 26342142, 'created_at': datetime.datetime(2025, 8, 30, 5, 58, 58), 'result': '0.05242452768596279', 'result_long': None, 'result_double': None}] Qualite : 0.05242452768596279 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26342142 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_30-08-2025_05_59_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26342142 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_30-08-2025_05_59_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, 'pht': 3726}}" where mtr_portfolio_id = 26342142 and dashboard_run_id = 2210109 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`=26342142 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491569, 0.05242452768596279, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26342142_30-08-2025_05_59_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26342155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26342156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26342157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26342158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26342159, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26342160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26342161, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26342162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26342163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26342164, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26342165, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26342166, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26343013 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': 3641230, 'mtr_portfolio_id': 26343013, 'created_at': datetime.datetime(2025, 8, 30, 5, 59, 27), 'result': '0.04603167344338699', 'result_long': None, 'result_double': None}] Qualite : 0.04603167344338699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26343013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_30-08-2025_05_59_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26343013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_30-08-2025_05_59_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, 'pht': 3726}}" where mtr_portfolio_id = 26343013 and dashboard_run_id = 2210109 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`=26343013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491570, 0.04603167344338699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343013_30-08-2025_05_59_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343049, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343050, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343052, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343053, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343056, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26343747 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': 3641231, 'mtr_portfolio_id': 26343747, 'created_at': datetime.datetime(2025, 8, 30, 5, 59, 58), 'result': '0.049056389120209744', 'result_long': None, 'result_double': None}] Qualite : 0.049056389120209744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26343747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_30-08-2025_06_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26343747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_30-08-2025_06_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, 'pht': 3726}}" where mtr_portfolio_id = 26343747 and dashboard_run_id = 2210109 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`=26343747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491571, 0.049056389120209744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26343747_30-08-2025_06_00_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26343753, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26343754, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26343755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26343756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26343757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26343758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26343759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26343760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26343761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26343762, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26343763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26343764, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26344248 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': 3641232, 'mtr_portfolio_id': 26344248, 'created_at': datetime.datetime(2025, 8, 30, 6, 0, 33), 'result': '0.04893566758949649', 'result_long': None, 'result_double': None}] Qualite : 0.04893566758949649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26344248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_30-08-2025_06_00_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26344248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_30-08-2025_06_00_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, 'pht': 3726}}" where mtr_portfolio_id = 26344248 and dashboard_run_id = 2210109 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`=26344248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491572, 0.04893566758949649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344248_30-08-2025_06_00_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26344312, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26344314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26344315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26344316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26344317, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26344318, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26344319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26344320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26344322, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26344323, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26344324, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26344325, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26344986 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': 3641233, 'mtr_portfolio_id': 26344986, 'created_at': datetime.datetime(2025, 8, 30, 6, 1, 3), 'result': '0.05162840284201274', 'result_long': None, 'result_double': None}] Qualite : 0.05162840284201274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26344986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_30-08-2025_06_01_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26344986 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_30-08-2025_06_01_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, 'pht': 3726}}" where mtr_portfolio_id = 26344986 and dashboard_run_id = 2210109 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`=26344986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491573, 0.05162840284201274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26344986_30-08-2025_06_01_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345037, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345039, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345041, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345042, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345043, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26345661 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': 3641234, 'mtr_portfolio_id': 26345661, 'created_at': datetime.datetime(2025, 8, 30, 6, 1, 30), 'result': '0.04617576961150218', 'result_long': None, 'result_double': None}] Qualite : 0.04617576961150218 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26345661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_30-08-2025_06_01_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26345661 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_30-08-2025_06_01_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, 'pht': 3726}}" where mtr_portfolio_id = 26345661 and dashboard_run_id = 2210109 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`=26345661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491574, 0.04617576961150218, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26345661_30-08-2025_06_01_33.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26345694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26345696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26345697, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26345698, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26345699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26345700, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26345701, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26345702, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26345703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26345704, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26345705, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26345706, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26348362 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': 3641235, 'mtr_portfolio_id': 26348362, 'created_at': datetime.datetime(2025, 8, 30, 6, 2, 1), 'result': '0.05584698018410578', 'result_long': None, 'result_double': None}] Qualite : 0.05584698018410578 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26348362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348362_30-08-2025_06_02_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26348362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348362_30-08-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348463, 'pht': 3726}}" where mtr_portfolio_id = 26348362 and dashboard_run_id = 2210109 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`=26348362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491575, 0.05584698018410578, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348362_30-08-2025_06_02_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348453, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348454, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348455, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348456, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348457, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348458, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348459, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348461, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348462, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348463, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26348375 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': 3641236, 'mtr_portfolio_id': 26348375, 'created_at': datetime.datetime(2025, 8, 30, 6, 2, 33), 'result': '0.055300878783615885', 'result_long': None, 'result_double': None}] Qualite : 0.055300878783615885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26348375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348375_30-08-2025_06_02_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26348375 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348375_30-08-2025_06_02_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348438, 'pht': 3726}}" where mtr_portfolio_id = 26348375 and dashboard_run_id = 2210109 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`=26348375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491576, 0.055300878783615885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348375_30-08-2025_06_02_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348427, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348428, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348431, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348432, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348433, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348436, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348438, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26348376 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': 3641237, 'mtr_portfolio_id': 26348376, 'created_at': datetime.datetime(2025, 8, 30, 6, 3, 1), 'result': '0.04909772565216856', 'result_long': None, 'result_double': None}] Qualite : 0.04909772565216856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26348376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348376_30-08-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26348376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348376_30-08-2025_06_03_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348401, 'pht': 3726}}" where mtr_portfolio_id = 26348376 and dashboard_run_id = 2210109 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`=26348376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491577, 0.04909772565216856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348376_30-08-2025_06_03_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348390, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348392, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348394, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348396, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348398, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26348377 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': 3641238, 'mtr_portfolio_id': 26348377, 'created_at': datetime.datetime(2025, 8, 30, 6, 3, 30), 'result': '0.04398197901291346', 'result_long': None, 'result_double': None}] Qualite : 0.04398197901291346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26348377 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348377_30-08-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26348377 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348377_30-08-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26348378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348389, 'pht': 3726}}" where mtr_portfolio_id = 26348377 and dashboard_run_id = 2210109 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`=26348377 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491578, 0.04398197901291346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348377_30-08-2025_06_03_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26348378, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348381, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348382, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348384, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348385, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348386, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348387, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348388, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348389, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26348580 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': 3641239, 'mtr_portfolio_id': 26348580, 'created_at': datetime.datetime(2025, 8, 30, 6, 4, 1), 'result': '0.05277092112410808', 'result_long': None, 'result_double': None}] Qualite : 0.05277092112410808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26348580 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348580_30-08-2025_06_04_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26348580 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348580_30-08-2025_06_04_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348641, 'pht': 3726}}" where mtr_portfolio_id = 26348580 and dashboard_run_id = 2210109 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`=26348580 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491579, 0.05277092112410808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26348580_30-08-2025_06_04_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26348630, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26348631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26348632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26348633, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26348634, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26348635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26348636, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26348637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26348638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26348639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26348640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26348641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26349281 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': 3641240, 'mtr_portfolio_id': 26349281, 'created_at': datetime.datetime(2025, 8, 30, 6, 4, 28), 'result': '0.051001545141832166', 'result_long': None, 'result_double': None}] Qualite : 0.051001545141832166 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26349281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26349281_30-08-2025_06_04_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26349281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26349281_30-08-2025_06_04_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26349287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26349288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26349289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26349290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26349291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26349292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26349293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26349294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26349295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26349296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26349297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26349298, 'pht': 3726}}" where mtr_portfolio_id = 26349281 and dashboard_run_id = 2210109 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`=26349281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491580, 0.051001545141832166, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26349281_30-08-2025_06_04_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26349287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26349288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26349289, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26349290, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26349291, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26349292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26349293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26349294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26349295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26349296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26349297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26349298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26350115 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': 3641241, 'mtr_portfolio_id': 26350115, 'created_at': datetime.datetime(2025, 8, 30, 6, 4, 58), 'result': '0.06412625700034986', 'result_long': None, 'result_double': None}] Qualite : 0.06412625700034986 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26350115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350115_30-08-2025_06_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26350115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350115_30-08-2025_06_05_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26350131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350142, 'pht': 3726}}" where mtr_portfolio_id = 26350115 and dashboard_run_id = 2210109 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`=26350115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491581, 0.06412625700034986, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350115_30-08-2025_06_05_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26350131, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350132, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350134, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350139, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350140, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350142, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26350850 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': 3641242, 'mtr_portfolio_id': 26350850, 'created_at': datetime.datetime(2025, 8, 30, 6, 5, 27), 'result': '0.057574446186061376', 'result_long': None, 'result_double': None}] Qualite : 0.057574446186061376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26350850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350850_30-08-2025_06_05_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26350850 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350850_30-08-2025_06_05_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26350864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350871, 'pht': 3726}}" where mtr_portfolio_id = 26350850 and dashboard_run_id = 2210109 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`=26350850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491582, 0.057574446186061376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26350850_30-08-2025_06_05_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26350860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26350861, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26350862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26350863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26350864, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26350865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26350866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26350867, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26350868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26350869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26350870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26350871, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26351566 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': 3641243, 'mtr_portfolio_id': 26351566, 'created_at': datetime.datetime(2025, 8, 30, 6, 5, 56), 'result': '0.062259070676097324', 'result_long': None, 'result_double': None}] Qualite : 0.062259070676097324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26351566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26351566_30-08-2025_06_05_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26351566 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26351566_30-08-2025_06_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26351643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26351644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26351645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26351646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26351647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26351648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26351649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26351650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26351651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26351652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26351653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26351655, 'pht': 3726}}" where mtr_portfolio_id = 26351566 and dashboard_run_id = 2210109 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`=26351566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491583, 0.062259070676097324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26351566_30-08-2025_06_05_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26351643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26351644, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26351645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26351646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26351647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26351648, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26351649, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26351650, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26351651, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26351652, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26351653, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26351655, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26352373 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': 3641244, 'mtr_portfolio_id': 26352373, 'created_at': datetime.datetime(2025, 8, 30, 6, 6, 31), 'result': '0.04200678950151717', 'result_long': None, 'result_double': None}] Qualite : 0.04200678950151717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26352373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26352373_30-08-2025_06_06_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26352373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26352373_30-08-2025_06_06_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26352415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26352416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26352417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26352418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26352419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26352420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26352421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26352422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26352423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26352424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26352425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26352426, 'pht': 3726}}" where mtr_portfolio_id = 26352373 and dashboard_run_id = 2210109 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`=26352373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491584, 0.04200678950151717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26352373_30-08-2025_06_06_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26352415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26352416, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26352417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26352418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26352419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26352420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26352421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26352422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26352423, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26352424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26352425, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26352426, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26353095 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': 3641245, 'mtr_portfolio_id': 26353095, 'created_at': datetime.datetime(2025, 8, 30, 6, 6, 59), 'result': '0.04788033102802449', 'result_long': None, 'result_double': None}] Qualite : 0.04788033102802449 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26353095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353095_30-08-2025_06_07_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26353095 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353095_30-08-2025_06_07_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26353104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353115, 'pht': 3726}}" where mtr_portfolio_id = 26353095 and dashboard_run_id = 2210109 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`=26353095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491585, 0.04788033102802449, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353095_30-08-2025_06_07_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26353104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353106, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353109, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353112, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353114, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353115, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 26353802 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': 3641246, 'mtr_portfolio_id': 26353802, 'created_at': datetime.datetime(2025, 8, 30, 6, 7, 31), 'result': '0.05471097715853236', 'result_long': None, 'result_double': None}] Qualite : 0.05471097715853236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26353802 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353802_30-08-2025_06_07_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26353802 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353802_30-08-2025_06_07_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26353814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353819, 'pht': 3726}}" where mtr_portfolio_id = 26353802 and dashboard_run_id = 2210109 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`=26353802 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14491586, 0.05471097715853236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26353802_30-08-2025_06_07_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26353808, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26353809, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26353810, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26353811, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26353812, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26353813, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26353814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26353815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26353816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26353817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26353818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26353819, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26310324,26310717,26311223,26311576,26312508,26312666,26312840,26313214,26313513,26313684,26313867,26314237,26314515,26314695,26314920,26315956,26316121,26316295,26316368,26316645,26316956,26317122,26317313,26319275,26319649,26319992,26321271,26321494,26321798,26322168,26322587,26323180,26323592,26324001,26324407,26324712,26327763,26328375,26328696,26329431,26330273,26330727,26331432,26332241,26332945,26333697,26334301,26335136,26335814,26336418,26337072,26337687,26341177,26341180,26341182,26341184,26341409,26342142,26343013,26343747,26344248,26344986,26345661,26348362,26348375,26348376,26348377,26348580,26349281,26350115,26350850,26351566,26352373,26353095,26353802) result : ((1379996207,), (1379996208,), (1379996209,), (1379996377,), (1379996379,), (1379996381,), (1379996382,), (1379996803,), (1379996806,), (1379996809,), (1379996812,), (1379996815,), (1379997472,), (1379997475,), (1379997478,), (1379997481,), (1379997484,), (1379997636,), (1379997638,), (1379997640,), (1379997642,), (1379997901,), (1379997902,), (1379997903,), (1379997904,), (1379998197,), (1379998199,), (1379998201,), (1379998203,), (1379998411,), (1379998412,), (1379998413,), (1379998670,), (1379998671,), (1379998828,), (1379998829,), (1379998830,), (1379998831,), (1379998832,), (1379998888,), (1379998889,), (1379998890,), (1379998891,), (1379998892,), (1379998893,), (1379998913,), (1379998914,), (1379998915,), (1379998916,), (1379998917,), (1379998957,), (1379998959,), (1379998961,), (1379999400,), (1379999403,), (1379999406,), (1379999409,), (1379999717,), (1379999718,), (1379999720,), (1379999722,), (1379999724,), (1380000105,), (1380000098,), (1380000100,), (1380000102,), (1380001323,), (1380001326,), (1380001329,), (1380001332,), (1380001688,), (1380001689,), (1380001690,), (1380001691,), (1380002057,), (1380002059,), (1380004099,), (1380004100,), (1380004101,), (1380004102,), (1380004398,), (1380004401,), (1380004403,), (1380004871,), (1380004867,), (1380004869,), (1380005176,), (1380005177,), (1380005178,), (1380005179,), (1380005181,), (1380005182,), (1380005574,), (1380005576,), (1380005578,), (1380005580,), (1380005929,), (1380006448,), (1380006450,), (1380006452,), (1380006476,), (1380006477,), (1380006478,), (1380006479,), (1380006529,), (1380006530,), (1380006531,), (1380006582,), (1380006583,), (1380006584,), (1380006586,), (1380006611,), (1380006612,), (1380006613,), (1380006614,), (1380006615,), (1380006667,), (1380006668,), (1380006669,), (1380006670,), (1380006712,), (1380006713,), (1380006714,), (1380006715,), (1380006785,), (1380006786,), (1380006787,), (1380006788,), (1380006789,), (1380006790,), (1380006814,), (1380006815,), (1380006816,), (1380006817,), (1380006818,), (1380006839,), (1380006840,), (1380006842,), (1380006843,), (1380006957,), (1380006952,), (1380006953,), (1380006954,), (1380006955,), (1380006956,), (1380006978,), (1380006979,), (1380006980,), (1380006981,), (1380006982,), (1380007047,), (1380007048,), (1380007067,), (1380007068,), (1380007069,), (1380007070,), (1380007071,), (1380007091,), (1380007093,), (1380007095,), (1380007096,), (1380007097,), (1380007159,), (1380007162,), (1380007163,), (1380007165,), (1380007166,), (1380007167,), (1380007290,), (1380007291,), (1380007402,), (1380007403,), (1380007404,), (1380007405,), (1380007453,), (1380007454,), (1380007455,), (1380007456,), (1380007457,), (1380007458,), (1380007471,), (1380007472,), (1380007473,), (1380007474,), (1380007475,), (1380007476,), (1380007498,), (1380007499,), (1380007501,), (1380007503,), (1380007504,), (1380007560,), (1380007582,), (1380007583,), (1380007584,), (1380007585,), (1380007586,), (1380007824,), (1380013142,), (1380013141,), (1380013224,), (1380013225,), (1380013226,), (1380013227,), (1380013228,), (1380013246,), (1380013247,), (1380013266,), (1380013267,), (1380013268,), (1380013269,), (1380013301,), (1380013302,), (1380013303,), (1380013344,), (1380013345,), (1380013346,), (1380013347,), (1380013368,), (1380013369,), (1380013370,), (1380013371,), (1380013391,), (1380013392,), (1380013393,), (1380013436,), (1380013438,), (1380013440,), (1380013441,), (1380013442,), (1380013487,), (1380013488,), (1380013489,), (1380013512,), (1380013513,), (1380013514,), (1380013531,), (1380013558,), (1380013559,), (1380013589,), (1380013584,), (1380013585,), (1380013586,), (1380013587,), (1380013623,), (1380013624,), (1380013647,), (1380013648,), (1380013649,), (1380013650,), (1380013651,), (1380013664,), (1380013665,), (1380013666,), (1380013693,), (1380013694,), (1380013695,), (1380013713,), (1380013714,), (1380013715,), (1380013716,), (1380013717,), (1380013734,), (1380013735,), (1380013736,), (1380013737,), (1380013738,), (1380013821,), (1380013822,), (1380013823,), (1380013824,), (1380013877,), (1380013878,), (1380013879,), (1380013880,), (1380013905,), (1380013906,), (1380013907,), (1380013908,), (1380013924,), (1380013925,), (1380013926,), (1380013927,), (1380013946,), (1380013947,), (1380013948,), (1380013949,), (1380013950,), (1380013969,), (1380013970,), (1380013971,), (1380013972,), (1380013973,), (1380014007,), (1380014009,), (1380014011,), (1380014013,), (1380014014,), (1380014015,), (1380014019,), (1380014020,), (1380014021,), (1380014022,), (1380014112,), (1380014106,), (1380014110,), (1380014649,), (1380014785,), (1380014786,), (1380014787,), (1380014788,), (1380014807,), (1380014808,), (1380014874,), (1380014875,), (1380014876,), (1380014877,), (1380014878,), (1380014879,), (1380014966,), (1380014971,), (1380014978,), (1380014984,), (1380015154,), (1380015155,), (1380015156,), (1380015157,), (1380015158,), (1380015159,), (1380015221,), (1380015224,), (1380015225,), (1380015226,), (1380015227,), (1380015249,), (1380015251,), (1380015253,), (1380015255,), (1380015616,), (1380015618,), (1380015620,), (1380015622,), (1380016003,), (1380016162,), (1380015996,), (1380015999,), (1380016001,), (1380016083,), (1380016085,), (1380016087,), (1380016089,), (1380016091,), (1380016093,), (1380016154,), (1380016156,), (1380016159,), (1380016599,), (1380016601,), (1380016603,), (1380017051,), (1380017053,), (1380017055,), (1380017057,), (1380017059,), (1380017061,), (1380017424,), (1380017425,), (1380017426,), (1380017427,), (1380017624,), (1380017625,), (1380017626,), (1380017627,), (1380017673,), (1380017677,), (1380017678,), (1380017679,), (1380017708,), (1380017709,), (1380017710,), (1380017711,), (1380017712,), (1380017713,), (1380017732,), (1380017733,), (1380017734,), (1380017735,), (1380017736,), (1380017737,), (1380017757,), (1380017758,), (1380017759,), (1380017760,), (1380017761,), (1380017762,), (1380017782,), (1380017783,), (1380017784,), (1380017831,), (1380017834,), (1380017836,), (1380017839,), (1380017841,), (1380017844,), (1380017847,), (1380017850,), (1380017851,), (1380017854,), (1380017856,), (1380017860,), (1380017899,), (1380017900,), (1380017901,), (1380017948,), (1380017949,), (1380017950,), (1380017951,), (1380017952,), (1380017969,), (1380017970,), (1380017971,), (1380017972,), (1380017974,), (1380017975,), (1380018005,), (1380018007,), (1380018008,), (1380018009,), (1380018038,), (1380018034,), (1380018035,), (1380018036,), (1380018037,), (1380018161,), (1380018162,), (1380018163,), (1380018164,), (1380018165,), (1380018215,), (1380018216,), (1380018217,), (1380018218,), (1380018219,), (1380018245,), (1380018246,), (1380018247,), (1380018248,), (1380018262,), (1380018263,), (1380018264,), (1380018265,), (1380018266,), (1380018267,), (1380018287,), (1380018288,), (1380018289,), (1380018290,), (1380018291,), (1380018310,), (1380018311,), (1380018312,), (1380018313,), (1380018327,), (1380018328,), (1380018329,), (1380018330,), (1380018331,), (1380018345,), (1380018346,), (1380018347,), (1380018374,), (1380018508,), (1380018509,), (1380018560,), (1380018561,), (1380018562,), (1380018563,), (1380018583,), (1380018584,), (1380018585,), (1380018586,), (1380018587,), (1380018602,), (1380018603,), (1380018604,), (1380018629,), (1380018624,), (1380018625,), (1380018626,), (1380018627,), (1380018628,), (1380018651,), (1380018652,), (1380018653,), (1380018654,), (1380018655,), (1380018679,), (1380018680,), (1380018681,), (1380018682,), (1380018742,), (1380018744,), (1380018745,), (1380018746,), (1380018747,), (1380018748,), (1380018766,), (1380018767,), (1380018768,), (1380018769,), (1380018770,), (1380018771,), (1380018831,), (1380018832,), (1380018884,), (1380018885,), (1380018886,), (1380018887,), (1380018888,), (1380018902,), (1380018903,), (1380018904,), (1380018905,), (1380018906,), (1380018923,), (1380018924,), (1380018925,), (1380018926,), (1380018948,), (1380018949,), (1380018950,), (1380018951,), (1380018971,), (1380018972,), (1380018973,), (1380018974,), (1380018996,), (1380018997,), (1380018998,), (1380018999,), (1380019000,), (1380019018,), (1380019019,), (1380019020,), (1380019021,), (1380019022,), (1380019023,), (1380019046,), (1380019047,), (1380019049,), (1380019051,), (1380019053,), (1380019060,), (1380019062,), (1380019064,), (1380019065,), (1380019066,), (1380019107,), (1380019103,), (1380019104,), (1380019105,), (1380019106,), (1380019185,), (1380019189,), (1380019193,), (1380019587,), (1380019589,), (1380019591,), (1380019593,), (1380019595,), (1380019597,), (1380019955,), (1380019957,), (1380019959,), (1380019961,), (1380020317,), (1380020320,), (1380020323,), (1380020326,), (1380020808,), (1380020810,), (1380020812,), (1380020814,), (1380020816,), (1380021367,), (1380021369,), (1380021371,), (1380021373,), (1380021375,), (1380021787,), (1380021789,), (1380021791,), (1380021793,), (1380021979,), (1380021980,), (1380021981,), (1380021982,), (1380021983,), (1380022001,), (1380022002,), (1380022003,), (1380022005,), (1380022077,), (1380022078,), (1380022079,), (1380022080,), (1380022160,), (1380022161,), (1380022162,), (1380022163,), (1380022164,), (1380022182,), (1380022183,), (1380022184,), (1380022197,), (1380022198,), (1380022199,), (1380022200,), (1380022201,), (1380022222,), (1380022223,), (1380022224,), (1380022225,), (1380022242,), (1380022275,), (1380022239,), (1380022240,), (1380022241,), (1380022264,), (1380022265,), (1380022266,), (1380022267,), (1380022269,), (1380022270,), (1380022294,), (1380022295,), (1380022297,), (1380022298,), (1380022299,), (1380022318,), (1380022319,), (1380022320,), (1380022321,), (1380022322,), (1380022323,), (1380022344,), (1380022345,), (1380022346,), (1380022347,), (1380022447,), (1380022448,), (1380022449,), (1380022450,), (1380022451,), (1380022452,), (1380022580,), (1380022581,), (1380022582,), (1380022583,), (1380022584,), (1380022650,), (1380022651,), (1380022652,), (1380022653,), (1380022654,), (1380022802,), (1380022803,), (1380022804,), (1380022879,), (1380022880,), (1380022881,), (1380022882,), (1380022883,), (1380022905,), (1380022906,), (1380022907,), (1380022908,), (1380022909,), (1380022926,), (1380022927,), (1380022928,), (1380022958,), (1380022959,), (1380022960,), (1380022961,), (1380022962,), (1380023037,), (1380023038,), (1380023039,), (1380023040,), (1380023041,), (1380023042,), (1380023071,), (1380023072,), (1380023073,), (1380023074,), (1380023158,), (1380023153,), (1380023154,), (1380023155,), (1380023156,), (1380023157,), (1380023195,), (1380023196,), (1380023197,), (1380023198,), (1380023211,), (1380023212,), (1380023213,), (1380023214,), (1380023215,), (1380023216,), (1380023241,), (1380023242,), (1380023243,), (1380023244,), (1380023245,), (1380023246,), (1380023267,), (1380023268,), (1380023269,), (1380023270,), (1380023288,), (1380023289,), (1380023290,), (1380023291,), (1380023292,), (1380023326,), (1380023327,), (1380023328,), (1380023329,), (1380023330,), (1380023431,), (1380023432,), (1380023433,), (1380023434,), (1380023435,), (1380023449,), (1380023450,), (1380023451,), (1380023452,), (1380023474,), (1380023475,), (1380023476,), (1380023477,), (1380023517,), (1380023518,), (1380023519,), (1380023520,), (1380023521,), (1380023539,), (1380023540,), (1380023541,), (1380023561,), (1380023562,), (1380023563,), (1380023564,), (1380023565,), (1380023566,), (1380023588,), (1380023596,), (1380023597,), (1380023598,), (1380023599,), (1380023625,), (1380023627,), (1380023628,), (1380023655,), (1380023649,), (1380023651,), (1380023652,), (1380023653,), (1380023654,), (1380023717,), (1380023718,), (1380023719,), (1380023720,), (1380023721,), (1380023868,), (1380023869,), (1380023870,), (1380023949,), (1380023950,), (1380023952,), (1380023953,), (1380023954,), (1380023955,), (1380024025,), (1380024026,), (1380024027,), (1380024028,), (1380024029,), (1380024030,), (1380024053,), (1380024056,), (1380024061,), (1380024130,), (1380024131,), (1380024132,), (1380024133,), (1380024134,), (1380024135,), (1380024155,), (1380024159,), (1380024160,), (1380024161,), (1380024163,), (1380024164,), (1380024187,), (1380024188,), (1380024206,), (1380024207,), (1380024208,), (1380024209,), (1380024210,), (1380024242,), (1380024243,), (1380024244,), (1380024302,), (1380024303,), (1380024304,), (1380024305,), (1380024306,), (1380024369,), (1380024370,), (1380024371,), (1380024749,), (1380024751,), (1380024753,), (1380024802,), (1380024805,), (1380024807,), (1380024809,), (1380025112,), (1380025104,), (1380025106,), (1380025108,), (1380025110,), (1380025454,), (1380025457,), (1380025460,), (1380025891,), (1380025894,), (1380025898,), (1380026319,), (1380026321,), (1380026323,), (1380026325,), (1380026327,), (1380026329,), (1380026503,), (1380026504,), (1380026505,), (1380026506,), (1380026760,), (1380026761,), (1380026763,), (1380026911,), (1380026912,), (1380026913,), (1380026914,), (1380026915,), (1380026968,), (1380026972,), (1380026976,), (1380026980,), (1380027031,), (1380027032,), (1380027033,), (1380031226,), (1380031224,), (1380031278,), (1380031279,), (1380031294,), (1380031295,), (1380031586,), (1380031588,), (1380031990,), (1380031993,), (1380031995,), (1380031997,), (1380031999,), (1380032118,), (1380032119,), (1380032120,), (1380032121,), (1380032122,), (1380032123,), (1380032367,), (1380032368,), (1380032369,), (1380032475,), (1380032502,), (1380032503,), (1380032504,), (1380032505,), (1380032531,), (1380032532,), (1380032533,), (1380032534,), (1380032535,), (1380032558,), (1380032559,), (1380032560,), (1380032576,), (1380032580,), (1380032581,), (1380032582,), (1380032612,), (1380032608,), (1380032609,), (1380032610,), (1380032611,), (1380032627,), (1380032628,), (1380032629,), (1380032630,), (1380032631,), (1380032632,), (1380032654,), (1380032655,), (1380032656,), (1380032657,), (1380032658,), (1380032659,), (1380032741,), (1380032742,), (1380032877,), (1380032878,), (1380032879,), (1380032880,), (1380032881,), (1380032882,), (1380032899,), (1380032900,), (1380032901,), (1380032925,), (1380032926,), (1380032927,), (1380032943,), (1380032944,), (1380032945,), (1380032969,), (1380033626,), (1380033652,), (1380033653,), (1380033678,), (1380033679,), (1380033680,), (1380033681,), (1380033715,), (1380033718,), (1380033722,), (1380033725,), (1380033727,), (1380033728,), (1380033787,), (1380033788,), (1380033789,), (1380033863,), (1380033864,), (1380033865,), (1380033866,), (1380033926,), (1380033927,), (1380033928,), (1380033929,), (1380033930,), (1380033931,), (1380033950,), (1380033951,), (1380033952,), (1380033953,), (1380033954,), (1380033955,), (1380033977,), (1380033978,), (1380033979,), (1380034000,), (1380034001,), (1380034002,), (1380034003,), (1380034004,), (1380034005,), (1380034034,), (1380034030,), (1380034031,), (1380034032,), (1380034033,), (1380034055,), (1380034056,), (1380034057,), (1380034058,), (1380034059,), (1380034060,), (1380034086,), (1380034087,), (1380034131,), (1380034132,), (1380034178,), (1380034179,), (1380034180,), (1380034226,), (1380034227,), (1380034228,), (1380034229,), (1380034273,), (1380034274,), (1380034275,), (1380034276,), (1380034277,), (1380034278,), (1380034306,), (1380034307,), (1380034308,), (1380034309,), (1380034351,), (1380034352,), (1380034353,), (1380034354,), (1380034355,), (1380034356,), (1380034370,), (1380034371,), (1380034372,), (1380034373,), (1380034375,), (1380034402,), (1380034403,), (1380034404,), (1380034405,), (1380034406,), (1380034429,), (1380034752,), (1380034753,), (1380034754,), (1380034755,), (1380034756,), (1380034757,), (1380034887,), (1380034888,), (1380034889,), (1380034890,), (1380034891,), (1380034893,), (1380034928,), (1380034927,), (1380035029,), (1380035031,), (1380035418,), (1380035420,), (1380035422,), (1380035424,), (1380035426,), (1380035841,), (1380035842,), (1380035843,), (1380035844,), (1380035845,), (1380035846,), (1380036039,), (1380036041,), (1380036043,), (1380036045,), (1380036372,), (1380036374,), (1380036376,), (1380036378,), (1380036380,), (1380036382,), (1380036694,), (1380036696,), (1380036698,), (1380036700,), (1380037127,), (1380037130,), (1380037132,), (1380037134,), (1380037136,), (1380037138,), (1380037303,), (1380037304,), (1380037305,), (1380037307,), (1380037308,), (1380037334,), (1380037335,), (1380037336,), (1380037378,), (1380037379,), (1380037380,), (1380037382,), (1380037383,), (1380037405,), (1380037406,), (1380037407,), (1380037408,), (1380037409,), (1380037472,), (1380037476,), (1380037480,), (1380037484,), (1380037525,), (1380037526,), (1380037527,), (1380037528,), (1380037548,), (1380037549,), (1380037571,), (1380037593,), (1380037594,), (1380037619,), (1380037620,), (1380037621,), (1380037622,), (1380037623,), (1380037663,), (1380037664,), (1380037665,), (1380037692,), (1380037693,), (1380037694,), (1380037695,), (1380037717,), (1380037718,), (1380037719,), (1380037871,), (1380037874,), (1380037878,), (1380037879,), (1380037880,), (1380037901,), (1380037902,), (1380037903,), (1380037904,), (1380037905,), (1380037930,), (1380037931,), (1380037959,), (1380037960,), (1380037961,), (1380037962,), (1380037985,), (1380037986,), (1380037987,), (1380037988,), (1380037989,), (1380037990,), (1380038037,), (1380038038,), (1380038039,), (1380038040,), (1380038062,), (1380038063,), (1380038064,), (1380038065,), (1380038091,), (1380038092,), (1380038093,), (1380038094,), (1380038095,), (1380038122,), (1380038119,), (1380038120,), (1380038121,), (1380038144,), (1380038145,), (1380038146,), (1380038147,), (1380038184,), (1380038185,), (1380038186,), (1380038187,), (1380038188,), (1380038218,), (1380038219,), (1380038220,), (1380038245,), (1380038246,), (1380038247,), (1380038248,), (1380038277,), (1380038278,), (1380038279,), (1380038280,), (1380038356,), (1380038357,), (1380038359,), (1380038360,), (1380038361,), (1380038362,), (1380038376,), (1380038377,), (1380038379,), (1380038440,), (1380038441,), (1380038442,), (1380038443,), (1380038468,), (1380038469,), (1380038513,), (1380038514,), (1380038515,), (1380038516,), (1380038539,), (1380038540,), (1380038541,), (1380038542,), (1380038543,), (1380038569,), (1380038570,), (1380038571,), (1380038572,), (1380038596,), (1380038597,), (1380038598,), (1380038623,), (1380038624,), (1380038625,), (1380038626,), (1380038695,), (1380038802,), (1380038795,), (1380038796,), (1380038797,), (1380038798,), (1380038800,), (1380039013,), (1380039014,), (1380039063,), (1380039110,), (1380039190,), (1380052150,), (1380052565,), (1380052563,), (1380052564,), (1380052692,), (1380052693,), (1380052823,), (1380052825,), (1380052827,), (1380052829,), (1380052831,), (1380052834,), (1380052954,), (1380052956,), (1380052958,), (1380052960,), (1380052999,), (1380053000,), (1380053022,), (1380053023,), (1380053024,), (1380053025,), (1380053104,), (1380053105,), (1380053106,), (1380053615,), (1380053705,), (1380053706,), (1380053707,), (1380053708,), (1380053709,), (1380053710,), (1380053829,), (1380053830,), (1380053831,), (1380053832,), (1380053833,), (1380053863,), (1380053864,), (1380053865,), (1380053866,), (1380053901,), (1380053902,), (1380053903,), (1380053904,), (1380053905,), (1380053906,), (1380054291,), (1380054295,), (1380054299,), (1380054303,), (1380054880,), (1380054878,), (1380054879,), (1380055059,), (1380055060,), (1380055061,), (1380055062,), (1380055082,), (1380055083,), (1380055147,), (1380055172,), (1380055173,), (1380055199,), (1380055200,), (1380055201,), (1380055234,), (1380055235,), (1380055236,), (1380055264,), (1380055265,), (1380055284,), (1380055336,), (1380055337,), (1380055338,), (1380055339,), (1380055340,), (1380055362,), (1380055363,), (1380055364,), (1380055365,), (1380055397,), (1380055398,), (1380055399,), (1380055641,), (1380055643,), (1380055645,), (1380055809,), (1380055811,), (1380055813,), (1380055815,), (1380055880,), (1380055879,), (1380055904,), (1380055905,), (1380055906,), (1380055940,), (1380055996,), (1380056139,), (1380056140,), (1380056168,), (1380056169,), (1380056170,), (1380056172,), (1380056173,), (1380056203,), (1380056204,), (1380056205,), (1380056206,), (1380056266,), (1380056267,), (1380056269,), (1380056271,), (1380056320,), (1380056321,), (1380056322,), (1380056323,), (1380056324,), (1380056325,), (1380056351,), (1380056352,), (1380056353,), (1380056354,), (1380056355,), (1380056377,), (1380056378,), (1380056379,), (1380056411,), (1380061424,), (1380061156,), (1380061418,), (1380061420,), (1380061422,), (1380061581,), (1380061583,), (1380061585,), (1380061587,), (1380061589,), (1380061656,), (1380061657,), (1380061658,), (1380061659,), (1380061695,), (1380061696,), (1380061769,), (1380061770,), (1380061772,), (1380061773,), (1380061774,), (1380061812,), (1380061813,), (1380061814,), (1380061942,), (1380061943,), (1380062005,), (1380062041,), (1380062042,), (1380062043,), (1380062044,), (1380062045,), (1380062078,), (1380062077,), (1380062114,), (1380062115,), (1380062116,), (1380062117,), (1380062118,), (1380062119,), (1380062152,), (1380062153,), (1380062154,), (1380062155,), (1380062156,), (1380062157,), (1380062206,), (1380062207,), (1380062208,), (1380062209,), (1380062241,), (1380062242,), (1380062243,), (1380062330,), (1380062331,), (1380062332,), (1380062333,), (1380062334,), (1380062500,), (1380062501,), (1380062502,), (1380062503,), (1380062504,), (1380062505,), (1380062672,), (1380062673,), (1380062674,), (1380062675,), (1380062726,), (1380062727,), (1380062728,), (1380062729,), (1380062730,), (1380062772,), (1380062773,), (1380062774,), (1380062775,), (1380062776,), (1380062819,), (1380062820,), (1380062926,), (1380062927,), (1380062928,), (1380062929,), (1380062930,), (1380063094,), (1380063095,), (1380063096,), (1380063097,), (1380063329,), (1380063712,), (1380063706,), (1380063708,), (1380063710,), (1380065046,), (1380065390,), (1380065392,), (1380065394,), (1380065396,), (1380065398,), (1380065400,), (1380065795,), (1380065798,), (1380065800,), (1380065802,), (1380066059,), (1380066060,), (1380066061,), (1380066062,), (1380066063,), (1380066064,), (1380066310,), (1380066311,), (1380066312,), (1380066313,), (1380066314,), (1380066315,), (1380066587,), (1380066589,), (1380066591,), (1380066907,), (1380066908,), (1380066909,), (1380066910,), (1380066911,), (1380067006,), (1380067007,), (1380067008,), (1380067009,), (1380067010,), (1380067036,), (1380067037,), (1380067038,), (1380067039,), (1380067093,), (1380067094,), (1380067096,), (1380067167,), (1380067169,), (1380067171,), (1380067173,), (1380067377,), (1380067374,), (1380067375,), (1380067376,), (1380067570,), (1380067572,), (1380067573,), (1380067611,), (1380067612,), (1380067613,), (1380067614,), (1380067780,), (1380067781,), (1380067782,), (1380067783,), (1380067784,), (1380067785,), (1380067932,), (1380067933,), (1380067934,), (1380067935,), (1380068042,), (1380068043,), (1380068044,), (1380068090,), (1380068091,), (1380068092,), (1380068211,), (1380068373,), (1380068374,), (1380068375,), (1380068411,), (1380068412,), (1380068450,), (1380068451,), (1380068452,), (1380068453,), (1380068454,), (1380068499,), (1380068502,), (1380068503,), (1380068504,), (1380068544,), (1380068545,), (1380068546,), (1380068547,), (1380068603,), (1380068637,), (1380068638,), (1380068640,), (1380068736,), (1380068732,), (1380068733,), (1380068734,), (1380068735,), (1380068803,), (1380068804,), (1380068805,), (1380068806,), (1380068807,), (1380068959,), (1380068961,), (1380068963,), (1380068965,), (1380068967,), (1380068971,), (1380068996,), (1380068997,), (1380069029,), (1380069031,), (1380069033,), (1380069035,), (1380069063,), (1380069064,), (1380069414,), (1380069416,), (1380069418,), (1380069420,), (1380069422,), (1380069927,), (1380069929,), (1380069931,), (1380069933,), (1380070318,), (1380070319,), (1380070320,), (1380070321,), (1380070322,), (1380070323,), (1380070379,), (1380070381,), (1380070382,), (1380070384,), (1380070386,), (1380070388,), (1380070836,), (1380070839,), (1380070842,), (1380070845,), (1380072143,), (1380072145,), (1380072419,), (1380072423,), (1380072585,), (1380072586,), (1380072587,), (1380072641,), (1380072773,), (1380072823,), (1380072906,), (1380072910,), (1380072915,), (1380072919,), (1380072996,), (1380072997,), (1380073105,), (1380073256,), (1380073257,), (1380073258,), (1380073259,), (1380073314,), (1380073315,), (1380073316,), (1380073317,), (1380073318,), (1380073319,), (1380073425,), (1380073426,), (1380073427,), (1380073462,), (1380073581,), (1380073583,), (1380073585,), (1380073890,), (1380073891,), (1380073892,), (1380073893,), (1380073894,), (1380073948,), (1380073949,), (1380073950,), (1380073951,), (1380074188,), (1380074191,), (1380074251,), (1380074253,), (1380074919,), (1380075220,), (1380075492,), (1380075493,), (1380075494,), (1380075495,), (1380075497,), (1380075612,), (1380075613,), (1380075614,), (1380075818,), (1380075820,), (1380075822,), (1380075824,), (1380076202,), (1380076204,), (1380076206,), (1380076332,), (1380076334,), (1380076336,), (1380076338,), (1380076586,), (1380076588,), (1380076590,), (1380076693,), (1380076694,), (1380076800,), (1380076801,), (1380076873,), (1380076874,), (1380076875,), (1380077044,), (1380077045,), (1380077046,), (1380077047,), (1380077048,), (1380077049,), (1380077154,), (1380077155,), (1380077456,), (1380077458,), (1380077831,), (1380077825,), (1380077827,), (1380077829,), (1380077830,), (1380077860,), (1380077861,), (1380078127,), (1380078129,), (1380078131,), (1380078133,), (1380078135,), (1380078371,), (1380078372,), (1380078373,), (1380078374,), (1380078518,), (1380078520,), (1380078522,), (1380078524,), (1380078526,), (1380078620,), (1380078741,), (1380078744,), (1380079118,), (1380079119,), (1380079120,), (1380079121,), (1380079122,), (1380079123,), (1380079207,), (1380079208,), (1380079209,), (1380079210,), (1380079252,), (1380079253,), (1380079254,), (1380079294,), (1380079295,), (1380079296,), (1380079297,), (1380079298,), (1380079299,), (1380079416,), (1380079417,), (1380079418,), (1380079419,), (1380079420,), (1380079835,), (1380079836,), (1380079964,), (1380079966,), (1380080078,), (1380080138,), (1380080135,), (1380080136,), (1380080137,), (1380080217,), (1380080487,), (1380080488,), (1380080542,), (1380080543,), (1380080544,), (1380080580,), (1380080581,), (1380080582,), (1380080628,), (1380080629,), (1380080630,), (1380080631,), (1380080632,), (1380080685,), (1380080735,), (1380080765,), (1380080804,), (1380080815,), (1380080816,), (1380080864,), (1380080865,), (1380080866,), (1380080867,), (1380080909,), (1380080910,), (1380080911,), (1380080912,), (1380080913,), (1380081259,), (1380081262,), (1380081382,), (1380081383,), (1380081422,), (1380081424,), (1380081478,), (1380081470,), (1380081472,), (1380081474,), (1380081476,), (1380081531,), (1380081532,), (1380081533,), (1380081534,), (1380081535,), (1380081536,), (1380081573,), (1380081574,), (1380081575,), (1380081614,), (1380081615,), (1380081616,), (1380081617,), (1380081618,), (1380081666,), (1380081667,), (1380081668,), (1380081669,), (1380081670,), (1380081671,), (1380081708,), (1380081709,), (1380081710,), (1380081712,), (1380081714,), (1380081773,), (1380081774,), (1380081775,), (1380081834,), (1380081836,), (1380081838,), (1380081840,), (1380082354,), (1380084040,), (1380098212,), (1380098214,), (1380098321,), (1380098322,), (1380098323,), (1380098324,), (1380098325,), (1380098326,), (1380098355,), (1380098356,), (1380098357,), (1380098358,), (1380098359,), (1380098420,), (1380098421,), (1380098422,), (1380098514,), (1380098515,), (1380098547,), (1380098548,), (1380098888,), (1380098889,), (1380098890,), (1380098916,), (1380098917,), (1380098918,), (1380098919,), (1380099310,), (1380099308,), (1380099423,), (1380099424,), (1380099425,), (1380099426,), (1380099427,), (1380099428,), (1380099564,), (1380099565,), (1380099566,), (1380099567,), (1380099603,), (1380099604,), (1380099605,), (1380099606,), (1380099668,), (1380099670,), (1380100106,), (1380100107,), (1380100108,), (1380100109,), (1380100134,), (1380100135,), (1380100170,), (1380100171,), (1380100172,), (1380100173,), (1380100174,), (1380100310,), (1380100375,), (1380100377,), (1380100861,), (1380100862,), (1380100863,), (1380100864,), (1380100865,), (1380101300,), (1380101302,), (1380101304,), (1380101308,), (1380101312,), (1380101316,), (1380101360,), (1380101362,), (1380101721,), (1380101719,), (1380101840,), (1380101842,), (1380101844,), (1380101846,), (1380102324,), (1380102328,), (1380102332,), (1380102336,), (1380102340,), (1380103072,), (1380103074,), (1380103076,), (1380103078,), (1380103080,), (1380103532,), (1380103535,), (1380103538,), (1380103892,), (1380103894,), (1380104073,), (1380104075,), (1380104077,), (1380104148,), (1380104149,), (1380104397,), (1380104399,), (1380104401,), (1380104403,), (1380104602,), (1380104603,), (1380104604,), (1380104605,), (1380104634,), (1380104635,), (1380104636,), (1380104637,), (1380104638,), (1380104712,), (1380104713,), (1380104714,), (1380104715,), (1380104716,), (1380104752,), (1380104753,), (1380104754,), (1380104755,), (1380104756,), (1380104791,), (1380104792,), (1380104794,), (1380104796,), (1380104848,), (1380104849,), (1380104850,), (1380104851,), (1380105039,), (1380105033,), (1380105036,), (1380105595,), (1380105597,), (1380105599,), (1380105991,), (1380105992,), (1380105993,), (1380105994,), (1380106146,), (1380106147,), (1380106148,), (1380106149,), (1380106150,), (1380106151,), (1380106250,), (1380106252,), (1380106254,), (1380106256,), (1380106694,), (1380106695,), (1380106696,), (1380106697,), (1380106698,), (1380106874,), (1380106875,), (1380106876,), (1380106877,), (1380107016,), (1380107017,), (1380107018,), (1380107019,), (1380107298,), (1380107299,), (1380107300,), (1380107301,), (1380107302,), (1380107598,), (1380107600,), (1380107601,), (1380107602,), (1380107750,), (1380107751,), (1380107752,), (1380107753,), (1380107754,), (1380107874,), (1380107877,), (1380107879,), (1380108278,), (1380108281,), (1380108284,), (1380108287,), (1380108289,), (1380108292,), (1380108847,), (1380108849,), (1380108851,), (1380108853,), (1380108855,), (1380108857,), (1380109140,), (1380109142,), (1380109143,), (1380109410,), (1380109400,), (1380109402,), (1380109404,), (1380109406,), (1380109408,), (1380109816,), (1380109818,), (1380109821,), (1380109824,), (1380109827,), (1380109830,), (1380110184,), (1380110185,), (1380110187,), (1380110188,), (1380110395,), (1380110396,), (1380110397,), (1380110398,), (1380110614,), (1380110615,), (1380110616,), (1380110617,), (1380110803,), (1380110805,), (1380110807,), (1380110809,), (1380110811,), (1380110976,), (1380110977,), (1380110978,), (1380110979,), (1380110980,), (1380110981,), (1380111117,), (1380111118,), (1380111119,), (1380111120,), (1380111121,), (1380111122,), (1380111211,), (1380111212,), (1380111213,), (1380111214,), (1380111255,), (1380111256,), (1380111257,), (1380111258,), (1380111259,), (1380111260,), (1380111297,), (1380111298,), (1380111299,), (1380111300,), (1380111301,), (1380111302,), (1380111372,), (1380111373,), (1380111374,), (1380111531,), (1380111534,), (1380111535,), (1380111536,), (1380111537,), (1380111562,), (1380111563,), (1380111564,), (1380111565,), (1380111566,), (1380111593,), (1380111594,), (1380111595,), (1380111596,), (1380111597,), (1380111651,), (1380111646,), (1380111647,), (1380111648,), (1380111649,), (1380111650,), (1380111685,), (1380111686,), (1380111687,), (1380111688,), (1380111689,), (1380111806,), (1380111807,), (1380111808,), (1380111809,), (1380111810,), (1380111836,), (1380111837,), (1380111838,), (1380111839,), (1380111840,), (1380112240,), (1380112243,), (1380112463,), (1380112464,), (1380112465,), (1380112467,), (1380112535,), (1380112546,), (1380112549,), (1380112550,), (1380112620,), (1380112621,), (1380112622,), (1380112623,), (1380112624,), (1380112625,), (1380112671,), (1380112672,), (1380112673,), (1380112674,), (1380112675,), (1380112706,), (1380112708,), (1380112853,), (1380112855,), (1380112857,), (1380112859,), (1380113022,), (1380113025,), (1380113028,), (1380113031,), (1380113034,), (1380113037,), (1380113161,), (1380113165,), (1380113491,), (1380113492,), (1380113493,), (1380113494,), (1380114213,), (1380114215,), (1380114218,), (1380114220,), (1380114228,), (1380114229,), (1380114625,), (1380114542,), (1380114619,), (1380114621,), (1380114623,), (1380115148,), (1380115150,), (1380115152,), (1380115154,), (1380115156,), (1380115591,), (1380115593,), (1380115595,), (1380115597,), (1380115820,), (1380115821,), (1380115822,), (1380115945,), (1380115946,), (1380115947,), (1380115948,), (1380115949,), (1380115985,), (1380115986,), (1380115987,), (1380115988,), (1380115989,), (1380115990,), (1380116022,), (1380116023,), (1380116024,), (1380116025,), (1380116053,), (1380116054,), (1380116055,), (1380116131,), (1380116132,), (1380116133,), (1380116134,), (1380116135,), (1380116136,), (1380116175,), (1380116176,), (1380116177,), (1380116178,), (1380116179,), (1380116180,), (1380116330,), (1380116335,), (1380116340,), (1380116344,), (1380116347,), (1380116348,), (1380116542,), (1380116543,), (1380116749,), (1380116750,), (1380116751,), (1380116752,), (1380116753,), (1380116754,), (1380116780,), (1380116781,), (1380116782,), (1380116783,), (1380116784,), (1380116785,), (1380116823,), (1380116824,), (1380116873,), (1380116868,), (1380116869,), (1380116870,), (1380116871,), (1380116872,), (1380116900,), (1380116901,), (1380116902,), (1380116903,), (1380117030,), (1380117031,), (1380117032,), (1380117033,), (1380117034,), (1380117221,), (1380117222,), (1380117223,), (1380117224,), (1380117400,), (1380117402,), (1380117404,), (1380117406,), (1380117408,), (1380117451,), (1380117452,), (1380117453,), (1380117454,), (1380117455,), (1380117456,), (1380117526,), (1380117527,), (1380117528,), (1380117529,), (1380117530,), (1380117590,), (1380117591,), (1380117592,), (1380117593,), (1380117594,), (1380117619,), (1380117620,), (1380117621,), (1380117622,), (1380117623,), (1380117647,), (1380117649,), (1380117650,), (1380117651,), (1380117652,), (1380117735,), (1380117736,), (1380117737,), (1380117738,), (1380117739,), (1380117906,), (1380117907,), (1380117908,), (1380118034,), (1380118035,), (1380118036,), (1380118037,), (1380118214,), (1380118215,), (1380118216,), (1380118217,), (1380118284,), (1380118285,), (1380118286,), (1380118287,), (1380118288,), (1380118289,), (1380118346,), (1380118343,), (1380118344,), (1380118345,), (1380118388,), (1380118389,), (1380118390,), (1380118778,), (1380118780,), (1380118782,), (1380118784,), (1380118786,), (1380119087,), (1380119089,), (1380119091,), (1380119093,), (1380119095,), (1380119097,), (1380119249,), (1380119250,), (1380119251,), (1380119252,), (1380119414,), (1380119415,), (1380119416,), (1380119417,), (1380119418,), (1380119419,), (1380119467,), (1380119468,), (1380119469,), (1380119470,), (1380119471,), (1380119472,), (1380119605,), (1380119608,), (1380119610,), (1380119612,), (1380119614,), (1380119774,), (1380119775,), (1380119776,), (1380119777,), (1380119806,), (1380119807,), (1380119808,), (1380119809,), (1380119810,), (1380119811,), (1380119901,), (1380119902,), (1380119903,), (1380119904,), (1380119905,), (1380119964,), (1380119965,), (1380119966,), (1380119967,), (1380120084,), (1380120085,), (1380120086,), (1380120087,), (1380120144,), (1380120145,), (1380120146,), (1380120148,), (1380120150,), (1380120152,), (1380120378,), (1380120379,), (1380120380,), (1380120381,), (1380120382,), (1380120706,), (1380120697,), (1380120700,), (1380120702,), (1380120704,), (1380120761,), (1380120762,), (1380120763,), (1380120764,), (1380120765,), (1380120766,), (1380120854,), (1380120855,), (1380120856,), (1380120857,), (1380120858,), (1380120884,), (1380120885,), (1380120886,), (1380120887,), (1380120935,), (1380120936,), (1380120937,), (1380120938,), (1380120981,), (1380120982,), (1380120983,), (1380121043,), (1380121044,), (1380121045,), (1380121046,), (1380121047,), (1380121048,), (1380121261,), (1380121263,), (1380121265,), (1380121267,), (1380121269,), (1380121458,), (1380121459,), (1380121460,), (1380121461,), (1380121495,), (1380121496,), (1380121497,), (1380121498,), (1380121499,), (1380121500,), (1380121575,), (1380121576,), (1380121577,), (1380121578,), (1380121579,), (1380121737,), (1380121739,), (1380121741,), (1380121743,), (1380121745,), (1380121747,), (1380121903,), (1380121905,), (1380121907,), (1380121909,), (1380121911,), (1380121914,), (1380123304,), (1380123308,), (1380123311,), (1380123315,), (1380123689,), (1380123685,), (1380123687,), (1380123904,), (1380123905,), (1380123906,), (1380123907,), (1380123908,), (1380123909,), (1380124113,), (1380124115,), (1380124117,), (1380124119,), (1380124563,), (1380124564,), (1380124565,), (1380124566,), (1380124567,), (1380124568,), (1380124917,), (1380124918,), (1380124919,), (1380124920,), (1380125136,), (1380125137,), (1380125138,), (1380125139,), (1380125140,), (1380125141,), (1380125339,), (1380125340,), (1380125341,), (1380125342,), (1380125343,), (1380125344,), (1380125503,), (1380125504,), (1380125505,), (1380125585,), (1380125586,), (1380125587,), (1380125588,), (1380125589,), (1380125590,), (1380125798,), (1380125799,), (1380125800,), (1380125963,), (1380125964,), (1380125965,), (1380125966,), (1380125967,), (1380126050,), (1380126051,), (1380126052,), (1380126053,), (1380126054,), (1380126055,), (1380126174,), (1380126175,), (1380126176,), (1380126177,), (1380126178,), (1380126208,), (1380126209,), (1380126210,), (1380126211,), (1380126243,), (1380126244,), (1380126245,), (1380126246,), (1380126247,), (1380126248,), (1380126312,), (1380126306,), (1380126308,), (1380126310,), (1380126435,), (1380126436,), (1380126437,), (1380126438,), (1380126501,), (1380126502,), (1380126503,), (1380126504,), (1380126505,), (1380126506,), (1380126607,), (1380126608,), (1380126609,), (1380126610,), (1380126611,), (1380126733,), (1380126734,), (1380126735,), (1380126766,), (1380126767,), (1380126768,), (1380126769,), (1380126771,), (1380126772,), (1380126853,), (1380126854,), (1380126855,), (1380126856,), (1380126936,), (1380126937,), (1380126938,), (1380126939,), (1380126940,), (1380127194,), (1380127196,), (1380127198,), (1380127200,), (1380127358,), (1380127360,), (1380127362,), (1380127364,), (1380127366,), (1380127368,), (1380127405,), (1380127406,), (1380127407,), (1380127408,), (1380127409,), (1380127411,), (1380127505,), (1380127506,), (1380127612,), (1380127613,), (1380127614,), (1380127615,), (1380127616,), (1380127617,), (1380127691,), (1380127692,), (1380127693,), (1380127694,), (1380127732,), (1380127733,), (1380127734,), (1380127771,), (1380127767,), (1380127768,), (1380127769,), (1380127770,), (1380128004,), (1380128006,), (1380128008,), (1380128010,), (1380128012,), (1380128262,), (1380128265,), (1380128267,), (1380128362,), (1380128363,), (1380128364,), (1380128365,), (1380128366,), (1380128367,), (1380128394,), (1380128395,), (1380128396,), (1380128397,), (1380128422,), (1380128423,), (1380128424,), (1380128425,), (1380128426,), (1380128427,), (1380128447,), (1380128448,), (1380128449,), (1380128451,), (1380128452,), (1380128512,), (1380128514,), (1380128516,), (1380128518,), (1380128519,), (1380128520,), (1380128665,), (1380128666,), (1380128667,), (1380128668,), (1380128669,), (1380128670,), (1380128712,), (1380128714,), (1380128716,), (1380128718,), (1380128719,), (1380128808,), (1380128810,), (1380128812,), (1380128814,), (1380128816,), (1380128970,), (1380128971,), (1380128972,), (1380128973,), (1380128974,), (1380128975,), (1380129056,), (1380129057,), (1380129058,), (1380129059,), (1380129096,), (1380129097,), (1380129098,), (1380129099,), (1380129100,), (1380129278,), (1380129280,), (1380129282,), (1380129284,), (1380129286,), (1380129624,), (1380129620,), (1380129621,), (1380129622,), (1380129623,), (1380129653,), (1380129654,), (1380129655,), (1380129656,), (1380129657,), (1380129763,), (1380129764,), (1380129765,), (1380129766,), (1380129767,), (1380129791,), (1380129792,), (1380129793,), (1380129794,), (1380129795,), (1380129897,), (1380129898,), (1380129899,), (1380129900,), (1380129901,), (1380129902,), (1380129971,), (1380129972,), (1380129973,), (1380129974,), (1380129975,), (1380129976,), (1380130092,), (1380130093,), (1380130094,), (1380130095,), (1380130273,), (1380130275,), (1380130277,), (1380130279,), (1380130281,), (1380130564,), (1380130565,), (1380130566,), (1380130567,), (1380130568,), (1380130569,), (1380130698,), (1380130699,), (1380130700,), (1380130701,), (1380130742,), (1380130743,), (1380130744,), (1380130946,), (1380130948,), (1380130950,), (1380130952,), (1380130954,), (1380131239,), (1380131242,), (1380131244,), (1380131246,), (1380131248,), (1380132077,), (1380132080,), (1380132083,), (1380132086,), (1380132089,), (1380132092,), (1380132199,), (1380132202,), (1380132205,), (1380132595,), (1380132593,), (1380132851,), (1380132852,), (1380132853,), (1380132854,), (1380133010,), (1380133011,), (1380133012,), (1380133036,), (1380133037,), (1380133038,), (1380133039,), (1380133040,), (1380133061,), (1380133062,), (1380133063,), (1380133064,), (1380133065,), (1380133066,), (1380133098,), (1380133099,), (1380133100,), (1380133101,), (1380133137,), (1380133138,), (1380133139,), (1380133140,), (1380133141,), (1380133142,), (1380133233,), (1380133234,), (1380133235,), (1380133236,), (1380133323,), (1380133357,), (1380133358,), (1380133359,), (1380133360,), (1380133361,), (1380133501,), (1380133502,), (1380133503,), (1380133504,), (1380133506,), (1380133507,), (1380133795,), (1380133796,), (1380133797,), (1380133798,), (1380133799,), (1380133875,), (1380133876,), (1380133877,), (1380133878,), (1380133937,), (1380133938,), (1380133939,), (1380133940,), (1380133941,), (1380133942,), (1380133982,), (1380133983,), (1380133984,), (1380133985,), (1380133986,), (1380134092,), (1380134093,), (1380134094,), (1380134095,), (1380134096,), (1380134097,), (1380134130,), (1380134127,), (1380134128,), (1380134129,), (1380134188,), (1380134189,), (1380134190,), (1380134191,), (1380134509,), (1380134546,), (1380134547,), (1380134548,), (1380134641,), (1380134642,), (1380134643,), (1380134644,), (1380134645,), (1380134646,), (1380134688,), (1380134689,), (1380134690,), (1380134691,), (1380134692,), (1380134693,), (1380134797,), (1380134799,), (1380134801,), (1380134803,), (1380135300,), (1380135301,), (1380135302,), (1380135303,), (1380135304,), (1380135305,), (1380135666,), (1380135667,), (1380135668,), (1380135669,), (1380135670,), (1380135671,), (1380135863,), (1380135864,), (1380135865,), (1380135866,), (1380135900,), (1380135901,), (1380135902,), (1380135903,), (1380135929,), (1380135930,), (1380135931,), (1380135932,), (1380135933,), (1380136007,), (1380136008,), (1380136009,), (1380136011,), (1380136012,), (1380136013,), (1380136022,), (1380136023,), (1380136024,), (1380136053,), (1380136054,), (1380136055,), (1380136056,), (1380136057,), (1380141215,), (1380141209,), (1380141212,), (1380142023,), (1380142026,), (1380142029,), (1380142032,), (1380142035,), (1380142402,), (1380142404,), (1380142406,), (1380142869,), (1380142870,), (1380142872,), (1380142976,), (1380142977,), (1380142978,), (1380142979,), (1380142980,), (1380142981,), (1380143012,), (1380143013,), (1380143014,), (1380143015,), (1380143016,), (1380143050,), (1380143051,), (1380143053,), (1380143054,), (1380143055,), (1380143125,), (1380143126,), (1380143127,), (1380143128,), (1380143129,), (1380143130,), (1380143212,), (1380143214,), (1380143215,), (1380143216,), (1380143281,), (1380143282,), (1380143283,), (1380143284,), (1380143285,), (1380143286,), (1380143370,), (1380143371,), (1380143372,), (1380143373,), (1380143374,), (1380143498,), (1380143499,), (1380143500,), (1380143621,), (1380143679,), (1380143680,), (1380143681,), (1380143683,), (1380143684,), (1380143710,), (1380143711,), (1380143712,), (1380143713,), (1380143714,), (1380143715,), (1380143760,), (1380143761,), (1380143762,), (1380143763,), (1380143764,), (1380143962,), (1380143958,), (1380143959,), (1380143960,), (1380143961,), (1380144038,), (1380144039,), (1380144040,), (1380144041,), (1380144042,), (1380144043,), (1380144263,), (1380144264,), (1380144265,), (1380144266,), (1380144408,), (1380144409,), (1380144410,), (1380144411,), (1380144412,), (1380144456,), (1380144457,), (1380144458,), (1380144459,), (1380144460,), (1380144500,), (1380144501,), (1380144502,), (1380144503,), (1380144551,), (1380144552,), (1380144553,), (1380144554,), (1380144618,), (1380144619,), (1380144620,), (1380144621,), (1380144622,), (1380144671,), (1380144672,), (1380144674,), (1380144676,), (1380144678,), (1380144755,), (1380144757,), (1380144759,), (1380144870,), (1380144871,), (1380144872,), (1380144873,), (1380144927,), (1380144928,), (1380144929,), (1380144930,), (1380144931,), (1380144932,), (1380144997,), (1380144998,), (1380144999,), (1380145000,), (1380145001,), (1380145063,), (1380145064,), (1380145065,), (1380145108,), (1380145109,), (1380145110,), (1380145111,), (1380145112,), (1380145113,), (1380145163,), (1380145153,), (1380145158,), (1380145159,), (1380145161,), (1380145162,), (1380145199,), (1380145200,), (1380145201,), (1380145202,), (1380145203,), (1380145287,), (1380145288,), (1380145289,), (1380145290,), (1380145291,), (1380145292,), (1380145326,), (1380145327,), (1380145328,), (1380145329,), (1380145350,), (1380145351,), (1380145352,), (1380145353,), (1380145354,), (1380145355,), (1380145385,), (1380145386,), (1380145387,), (1380145388,), (1380145416,), (1380145417,), (1380145418,), (1380145419,), (1380145420,), (1380145497,), (1380145498,), (1380145499,), (1380145500,), (1380145501,), (1380145502,), (1380145535,), (1380145536,), (1380145537,), (1380145538,), (1380145539,), (1380145540,), (1380145574,), (1380145575,), (1380145576,), (1380145577,), (1380145630,), (1380145631,), (1380145632,), (1380145719,), (1380145720,), (1380145790,), (1380145815,), (1380145816,), (1380145817,), (1380145891,), (1380145892,), (1380145893,), (1380145894,), (1380146085,), (1380146080,), (1380146081,), (1380146082,), (1380146083,), (1380146084,), (1380146235,), (1380146236,), (1380146269,), (1380146270,), (1380146271,), (1380146272,), (1380146273,), (1380146274,), (1380146317,), (1380146318,), (1380146319,), (1380146320,), (1380146356,), (1380146357,), (1380146358,), (1380146359,), (1380146360,), (1380146361,), (1380146398,), (1380146399,), (1380146400,), (1380146401,), (1380146402,), (1380146448,), (1380146449,), (1380146450,), (1380146451,), (1380146452,), (1380146453,), (1380146584,), (1380146586,), (1380146588,), (1380146590,), (1380146592,), (1380146901,), (1380146902,), (1380146903,), (1380146904,), (1380146937,), (1380146938,), (1380146939,), (1380146940,), (1380146941,), (1380146942,), (1380146994,), (1380146995,), (1380146996,), (1380146997,), (1380147017,), (1380147018,), (1380147019,), (1380147020,), (1380147021,), (1380147022,), (1380147029,), (1380147030,), (1380147032,), (1380147033,), (1380147062,), (1380147063,), (1380147064,), (1380147065,), (1380147066,), (1380147067,), (1380147764,), (1380147767,), (1380147771,), (1380147775,), (1380147891,), (1380147894,), (1380147898,), (1380147901,), (1380147904,), (1380148633,), (1380148621,), (1380148624,), (1380148627,), (1380148630,), (1380149113,), (1380149115,), (1380149117,), (1380149119,), (1380149121,), (1380149500,), (1380149501,), (1380149502,), (1380149503,), (1380149504,), (1380149505,), (1380149681,), (1380149682,), (1380149683,), (1380149684,), (1380149685,), (1380149752,), (1380149753,), (1380149754,), (1380149795,), (1380149796,), (1380149797,), (1380149798,), (1380149799,), (1380149905,), (1380149906,), (1380149907,), (1380149908,), (1380149909,), (1380149910,), (1380149978,), (1380149980,), (1380149982,), (1380149984,), (1380150527,), (1380150529,), (1380150531,), (1380150533,), (1380150535,), (1380150537,), (1380150963,), (1380150965,), (1380150967,), (1380150969,), (1380151172,), (1380151174,), (1380151176,), (1380151179,), (1380151750,), (1380151752,), (1380151754,), (1380151756,), (1380151758,), (1380151760,), (1380152207,), (1380152209,), (1380152210,), (1380152211,), (1380152212,), (1380152630,), (1380152634,), (1380152638,), (1380152642,), (1380153521,), (1380153522,), (1380153523,), (1380153524,), (1380153525,), (1380153527,), (1380153688,), (1380153682,), (1380153684,), (1380153686,), (1380153764,), (1380153765,), (1380153766,), (1380153767,), (1380153768,), (1380153769,), (1380154036,), (1380154038,), (1380154040,), (1380154042,), (1380154044,), (1380154046,), (1380154181,), (1380154182,), (1380154183,), (1380154360,), (1380154363,), (1380154365,), (1380154367,), (1380154369,), (1380154371,), (1380154670,), (1380154672,), (1380154674,), (1380154676,), (1380154828,), (1380154829,), (1380154830,), (1380154831,), (1380154928,), (1380154930,), (1380154932,), (1380154934,), (1380154936,), (1380155127,), (1380155128,), (1380155129,), (1380155130,), (1380155131,), (1380155156,), (1380155157,), (1380155158,), (1380155159,), (1380155160,), (1380155579,), (1380155581,), (1380155583,), (1380155585,), (1380155588,), (1380155837,), (1380155838,), (1380155840,), (1380155841,), (1380155842,), (1380155983,), (1380155985,), (1380155987,), (1380155989,), (1380155991,), (1380156334,), (1380156336,), (1380156338,), (1380156579,), (1380156580,), (1380156581,), (1380156582,), (1380156688,), (1380156679,), (1380156680,), (1380156682,), (1380156686,), (1380156687,), (1380156781,), (1380156782,), (1380156783,), (1380156815,), (1380156816,), (1380156817,), (1380156818,), (1380156819,), (1380156820,), (1380156892,), (1380156894,), (1380156896,), (1380156898,), (1380156900,), (1380157271,), (1380157273,), (1380157275,), (1380157277,), (1380157279,), (1380157281,), (1380157538,), (1380157539,), (1380157540,), (1380157541,), (1380157542,), (1380157543,), (1380157574,), (1380157575,), (1380157576,), (1380157627,), (1380157628,), (1380157629,), (1380157630,), (1380157631,), (1380157632,), (1380157671,), (1380157673,), (1380157674,), (1380157675,), (1380157749,), (1380157750,), (1380157751,), (1380157752,), (1380158145,), (1380158505,), (1380158507,), (1380158509,), (1380158574,), (1380158575,), (1380158576,), (1380158577,), (1380158578,), (1380158776,), (1380158777,), (1380158778,), (1380158779,), (1380158780,), (1380158852,), (1380158853,), (1380158854,), (1380158855,), (1380158856,), (1380159061,), (1380159089,), (1380159090,), (1380159091,), (1380159092,), (1380159093,), (1380159163,), (1380159164,), (1380159165,), (1380159166,), (1380159167,), (1380159191,), (1380159192,), (1380159193,), (1380159194,), (1380159195,), (1380159196,), (1380159244,), (1380159245,), (1380159246,), (1380159247,), (1380159248,), (1380159249,), (1380159304,), (1380159305,), (1380159306,), (1380159307,), (1380159369,), (1380159370,), (1380159371,), (1380159372,), (1380159373,), (1380159374,), (1380159449,), (1380159457,), (1380159458,), (1380159459,), (1380159486,), (1380159487,), (1380159488,), (1380159489,), (1380159490,), (1380159491,), (1380159515,), (1380159516,), (1380159517,), (1380159518,), (1380159569,), (1380159570,), (1380159571,), (1380159572,), (1380159573,), (1380159574,), (1380159741,), (1380159742,), (1380159743,), (1380159745,), (1380159746,), (1380159747,), (1380160017,), (1380160019,), (1380160021,), (1380160023,), (1380160886,), (1380160888,), (1380160890,), (1380160892,), (1380160894,), (1380160896,), (1380160968,), (1380160970,), (1380160972,), (1380161435,), (1380161419,), (1380161422,), (1380161426,), (1380161429,), (1380161432,), (1380162055,), (1380162057,), (1380162059,), (1380162061,), (1380162063,), (1380162315,), (1380162317,), (1380162319,), (1380162321,), (1380162323,), (1380162570,), (1380162572,), (1380162612,), (1380162613,), (1380162614,), (1380162615,), (1380162616,), (1380162772,), (1380162774,), (1380162775,), (1380162776,), (1380162966,), (1380162967,), (1380162969,), (1380162970,), (1380162972,), (1380162973,), (1380163017,), (1380163020,), (1380163022,), (1380163084,), (1380163085,), (1380163086,), (1380163087,), (1380163146,), (1380163147,), (1380163148,), (1380163149,), (1380163151,), (1380163243,), (1380163244,), (1380163245,), (1380163246,), (1380163247,), (1380163248,), (1380163432,), (1380163433,), (1380163434,), (1380163435,), (1380163478,), (1380163479,), (1380163480,), (1380163481,), (1380163482,), (1380163483,), (1380163553,), (1380163555,), (1380163557,), (1380163559,), (1380163702,), (1380163703,), (1380163704,), (1380163705,), (1380164311,), (1380164301,), (1380164303,), (1380164305,), (1380164307,), (1380164309,), (1380164535,), (1380164537,), (1380164539,), (1380164541,), (1380164543,), (1380164665,), (1380164666,), (1380164667,), (1380164668,), (1380164669,), (1380164670,), (1380164759,), (1380164761,), (1380164763,), (1380165122,), (1380165125,), (1380165127,), (1380165129,), (1380165131,), (1380165133,), (1380165372,), (1380165373,), (1380165375,), (1380165376,), (1380165377,), (1380165486,), (1380165487,), (1380165488,), (1380165489,), (1380165546,), (1380165547,), (1380165548,), (1380165549,), (1380165550,), (1380165551,), (1380165588,), (1380165589,), (1380165590,), (1380165863,), (1380165865,), (1380165867,), (1380165869,), (1380165871,), (1380166366,), (1380166368,), (1380166370,), (1380166372,), (1380167049,), (1380167048,), (1380167203,), (1380167204,), (1380167205,), (1380167206,), (1380167242,), (1380167243,), (1380167244,), (1380167245,), (1380167246,), (1380167248,), (1380167569,), (1380167571,), (1380167573,), (1380167576,), (1380167578,), (1380167580,), (1380167696,), (1380167697,), (1380167728,), (1380167729,), (1380167730,), (1380167731,), (1380167732,), (1380167766,), (1380167767,), (1380167768,), (1380167769,), (1380167770,), (1380167771,), (1380167951,), (1380167954,), (1380167957,), (1380167960,), (1380168047,), (1380168050,), (1380168051,), (1380171001,), (1380171520,), (1380171523,), (1380171526,), (1380172174,), (1380172176,), (1380172521,), (1380172524,), (1380172537,), (1380172538,), (1380172617,), (1380172619,), (1380172620,), (1380172621,), (1380172622,), (1380172623,), (1380172669,), (1380172670,), (1380172671,), (1380172672,), (1380172697,), (1380172698,), (1380172793,), (1380172794,), (1380172854,), (1380172855,), (1380172856,), (1380172874,), (1380172875,), (1380172876,), (1380172877,), (1380172878,), (1380172879,), (1380172899,), (1380172902,), (1380172903,), (1380172904,), (1380172905,), (1380172967,), (1380173001,), (1380173002,), (1380173003,), (1380173088,), (1380173090,), (1380173093,), (1380173095,), (1380173097,), (1380173340,), (1380173342,), (1380173343,), (1380173344,), (1380173345,), (1380173419,), (1380173420,), (1380173421,), (1380173422,), (1380173456,), (1380173457,), (1380173458,), (1380173459,), (1380173460,), (1380173461,), (1380173623,), (1380173625,), (1380173627,), (1380173629,), (1380173631,), (1380173633,), (1380173870,), (1380173872,), (1380173874,), (1380174079,), (1380174204,), (1380174205,), (1380174206,), (1380174228,), (1380174229,), (1380174230,), (1380174231,), (1380174232,), (1380174233,), (1380174237,), (1380174264,), (1380174265,), (1380174266,), (1380174267,), (1380174268,), (1380174269,), (1380174285,), (1380174286,), (1380174287,), (1380174288,), (1380174326,), (1380174327,), (1380174328,), (1380174329,), (1380174330,), (1380174331,), (1380174375,), (1380174371,), (1380174372,), (1380174373,), (1380174374,), (1380174460,), (1380174461,), (1380174462,), (1380174463,), (1380174464,), (1380174465,), (1380174482,), (1380174483,), (1380174484,), (1380174485,), (1380174486,), (1380174517,), (1380174518,), (1380174519,), (1380174520,), (1380174532,), (1380174533,), (1380174534,), (1380174535,), (1380175003,), (1380175004,), (1380175005,), (1380175006,), (1380175007,), (1380175175,), (1380175176,), (1380175177,), (1380175729,), (1380175730,), (1380176085,), (1380176083,), (1380176084,), (1380176282,), (1380176284,), (1380176286,), (1380177560,), (1380177662,), (1380177663,), (1380177708,), (1380177709,), (1380177711,), (1380177713,), (1380177715,), (1380178630,), (1380178631,), (1380179341,), (1380179332,), (1380179335,), (1380179338,), (1380180062,), (1380180065,), (1380180068,), (1380180071,), (1380180074,), (1380180077,), (1380180767,), (1380180769,), (1380180771,), (1380180773,), (1380180775,), (1380181375,), (1380181378,), (1380181381,), (1380181384,), (1380181387,), (1380181390,), (1380181656,), (1380181657,), (1380181658,), (1380181957,), (1380181959,), (1380181962,), (1380182051,), (1380182052,), (1380182053,), (1380182054,), (1380182055,), (1380182056,), (1380182168,), (1380182169,), (1380182170,), (1380182171,), (1380182172,), (1380182173,), (1380182295,), (1380182297,), (1380182299,), (1380182301,), (1380182720,), (1380182722,), (1380182724,), (1380182726,), (1380182728,), (1380182730,), (1380183110,), (1380183112,), (1380183114,), (1380183116,), (1380183318,), (1380183320,), (1380183322,), (1380183324,), (1380183544,), (1380183545,), (1380183547,), (1380183549,), (1380183551,), (1380183553,), (1380183635,), (1380183636,), (1380183637,), (1380183638,), (1380183639,), (1380183663,), (1380183665,), (1380183666,), (1380183667,), (1380183668,), (1380183669,), (1380183766,), (1380183762,), (1380183763,), (1380183765,), (1380184027,), (1380184028,), (1380184029,), (1380184030,), (1380184031,), (1380184032,), (1380184247,), (1380184248,), (1380184249,), (1380184251,), (1380184360,), (1380184361,), (1380184362,), (1380184363,), (1380184365,), (1380184690,), (1380184693,), (1380184696,), (1380184699,), (1380184702,), (1380185267,), (1380185270,), (1380185273,), (1380185276,), (1380185279,), (1380186029,), (1380186032,), (1380186035,), (1380186404,), (1380186405,), (1380186406,), (1380186407,), (1380186408,), (1380186409,), (1380186555,), (1380186556,), (1380186557,), (1380186558,), (1380186559,), (1380186605,), (1380186607,), (1380186609,), (1380186611,), (1380186613,), (1380187066,), (1380187068,), (1380187070,), (1380187072,), (1380187074,), (1380187249,), (1380187250,), (1380187251,), (1380187252,), (1380187253,), (1380187254,), (1380187374,), (1380187376,), (1380187378,), (1380187799,), (1380187801,), (1380187803,), (1380187805,), (1380187807,), (1380188300,), (1380188302,), (1380188304,), (1380188306,), (1380188689,), (1380188686,), (1380188687,), (1380188688,), (1380189167,), (1380189171,), (1380189176,), (1380189180,), (1380189827,), (1380189830,), (1380189832,), (1380189834,), (1380189836,), (1380190091,), (1380190092,), (1380190093,), (1380190094,), (1380190095,), (1380190096,), (1380190228,), (1380190229,), (1380190230,), (1380190231,), (1380190280,), (1380190281,), (1380190282,), (1380190283,), (1380190284,), (1380190316,), (1380190317,), (1380190318,), (1380190319,), (1380190411,), (1380190412,), (1380190573,), (1380190575,), (1380190577,), (1380190579,), (1380190581,), (1380190893,), (1380190894,), (1380190895,), (1380190896,), (1380190933,), (1380190934,), (1380190935,), (1380190936,), (1380190976,), (1380190977,), (1380190978,), (1380190979,), (1380190980,), (1380190981,), (1380191113,), (1380191115,), (1380191118,), (1380191121,), (1380191124,), (1380191535,), (1380191537,), (1380191539,), (1380192001,), (1380192003,), (1380192005,), (1380192007,), (1380192568,), (1380192562,), (1380192564,), (1380192566,), (1380192798,), (1380192799,), (1380192800,), (1380192801,), (1380192802,), (1380192803,), (1380193044,), (1380193045,), (1380193046,), (1380193047,), (1380193069,), (1380193070,), (1380193071,), (1380193072,), (1380193073,), (1380193074,), (1380193408,), (1380193409,), (1380193410,), (1380193411,), (1380193412,), (1380193571,), (1380193572,), (1380193573,), (1380193707,), (1380193708,), (1380193709,), (1380193710,), (1380193711,), (1380193712,), (1380193769,), (1380193770,), (1380193771,), (1380193772,), (1380193819,), (1380193820,), (1380193821,), (1380193822,), (1380193823,), (1380193919,), (1380193920,), (1380193921,), (1380193922,), (1380193961,), (1380193962,), (1380193963,), (1380193964,), (1380193965,), (1380194484,), (1380194487,), (1380194490,), (1380194493,), (1380194496,), (1380194500,), (1380194608,), (1380194612,), (1380194615,), (1380194618,), (1380195382,), (1380195385,), (1380195388,), (1380196690,), (1380196694,), (1380196698,), (1380196701,), (1380196704,), (1380196707,), (1380196819,), (1380196823,), (1380196827,), (1380196830,), (1380197319,), (1380197307,), (1380197310,), (1380197313,), (1380197316,), (1380197667,), (1380197669,), (1380197671,), (1380197673,), (1380198357,), (1380198360,), (1380198362,), (1380198365,), (1380198757,), (1380198759,), (1380198761,), (1380198763,), (1380199174,), (1380199236,), (1380199239,), (1380199242,), (1380199246,), (1380199829,), (1380199832,), (1380199835,), (1380200092,), (1380200094,), (1380200096,), (1380200098,), (1380200100,), (1380200327,), (1380200329,), (1380200331,), (1380200333,), (1380200578,), (1380200580,), (1380200582,), (1380200584,), (1380200586,), (1380200790,), (1380200792,), (1380200794,), (1380200855,), (1380200856,), (1380200858,), (1380200859,), (1380200860,), (1380200861,), (1380200903,), (1380200904,), (1380200906,), (1380200907,), (1380200961,), (1380200962,), (1380200963,), (1380200964,), (1380200965,), (1380200966,), (1380201099,), (1380201101,), (1380201103,), (1380201105,), (1380201107,), (1380201109,), (1380201729,), (1380201732,), (1380201736,), (1380201739,), (1380201742,), (1380201745,), (1380202176,), (1380202172,), (1380202173,), (1380202174,), (1380202175,), (1380202351,), (1380202353,), (1380202355,), (1380202357,), (1380202472,), (1380202473,), (1380202504,), (1380202505,), (1380202506,), (1380203017,), (1380203020,), (1380203023,), (1380203026,), (1380203681,), (1380203684,), (1380203686,), (1380203688,), (1380203690,), (1380203936,), (1380203937,), (1380204212,), (1380204554,), (1380204555,), (1380204763,), (1380204764,), (1380204765,), (1380204766,), (1380204767,), (1380204826,), (1380204827,), (1380204828,), (1380204829,), (1380204830,), (1380204831,), (1380205055,), (1380205057,), (1380205059,), (1380205061,), (1380205453,), (1380205445,), (1380205447,), (1380205449,), (1380205451,), (1380205861,), (1380205863,), (1380205865,), (1380205867,), (1380206145,), (1380206147,), (1380206149,), (1380206151,), (1380206326,), (1380206327,), (1380206328,), (1380206550,), (1380206552,), (1380206554,), (1380206556,), (1380206558,), (1380206972,), (1380206974,), (1380206976,), (1380206978,), (1380206980,), (1380207307,), (1380207308,), (1380207309,), (1380207310,), (1380207311,), (1380207474,), (1380207475,), (1380207476,), (1380207477,), (1380207478,), (1380207479,), (1380207502,), (1380207503,), (1380207504,), (1380207505,), (1380207506,), (1380207540,), (1380207541,), (1380207542,), (1380207543,), (1380207572,), (1380207573,), (1380207574,), (1380207601,), (1380207602,), (1380207603,), (1380207627,), (1380207646,), (1380207647,), (1380207648,), (1380207721,), (1380207722,), (1380207723,), (1380207724,), (1380207725,), (1380207810,), (1380207809,), (1380207834,), (1380207835,), (1380207836,), (1380207837,), (1380207838,), (1380207839,), (1380207865,), (1380207866,), (1380207867,), (1380207868,), (1380207869,), (1380207870,), (1380207967,), (1380207968,), (1380207969,), (1380207984,), (1380207985,), (1380207986,), (1380207987,), (1380207988,), (1380208023,), (1380208024,), (1380208025,), (1380208026,), (1380208027,), (1380208028,), (1380208062,), (1380208063,), (1380208064,), (1380208065,), (1380208085,), (1380208086,), (1380208087,), (1380208088,), (1380208115,), (1380208116,), (1380208118,), (1380208119,), (1380208120,), (1380208121,), (1380208154,), (1380208155,), (1380208156,), (1380208157,), (1380208186,), (1380208187,), (1380208188,), (1380208189,), (1380208190,), (1380208453,), (1380208454,), (1380208455,), (1380208456,), (1380208457,), (1380208636,), (1380208639,), (1380208640,), (1380208641,), (1380208642,), (1380208893,), (1380208895,), (1380208897,), (1380209613,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29082025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26319992]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] map_info['map_portfolio_photo'] : {26319992: [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879]} final : True mtd_id 4302 list_pids : [1380061424, 1380056411, 1380056379, 1380056378, 1380056377, 1380056355, 1380056354, 1380056353, 1380056352, 1380056351, 1380056325, 1380056324, 1380056323, 1380056322, 1380056321, 1380056320, 1380056271, 1380056269, 1380056267, 1380056266, 1380056206, 1380056205, 1380056204, 1380056203, 1380056173, 1380056172, 1380056170, 1380056169, 1380056168, 1380056140, 1380056139, 1380055996, 1380055940, 1380055906, 1380055905, 1380055904, 1380055879] Looping around the photos to save general results len do output : 1 /26319992Didn'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, '3651277') ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277') ('4302', None, None, None, None, None, None, None, '3651277') ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '26319992', 'None', None, None, None, None, '3651277'), ('4302', '26319992', '1380061424', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056411', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056379', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056378', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056377', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056355', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056354', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056353', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056352', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056351', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056325', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056324', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056323', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056322', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056321', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056320', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056271', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056269', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056267', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056266', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056206', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056205', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056204', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056203', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056173', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056172', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056170', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056169', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056168', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056140', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380056139', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055996', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055940', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055906', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055905', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055904', None, None, None, None, None, '3651277'), ('4302', '26319992', '1380055879', None, None, None, None, None, '3651277')] time used for this insertion : 0.02014446258544922 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.045145511627197 time spend to save output : 0.020618677139282227 total time spend for step 5 : 5.0657641887664795 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 (3651277) 3.48user 2.49system 0:22.34elapsed 26%CPU (0avgtext+0avgdata 167220maxresident)k 9128inputs+30448outputs (116major+88824minor)pagefaults 0swaps