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 : 1732536 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 (3686307) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3686307) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698004 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3686307'] with mtr_portfolio_ids : ['26698004'] and first list_photo_ids : [] new path : /proc/1732536/ Name: python3 Umask: 0002 State: R (running) Tgid: 1732536 Ngid: 0 Pid: 1732536 PPid: 1732535 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1732536 NSpid: 1732536 NSpgid: 1731673 NSsid: 1731673 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99532 kB VmRSS: 99532 kB RssAnon: 60164 kB RssFile: 39368 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 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: 59 nonvoluntary_ctxt_switches: 92 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1732536', 'Ngid': '0', 'Pid': '1732536', 'PPid': '1732535', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1732536', 'NSpid': '1732536', 'NSpgid': '1731673', 'NSsid': '1731673', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99532 kB', 'VmRSS': '99532 kB', 'RssAnon': '60164 kB', 'RssFile': '39368 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 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': '59', 'nonvoluntary_ctxt_switches': '92'} ('datou_batch_current', '1732536', '1107252', '0', '1107252', '866004', '99532', b'', 'marlene', '3686307') 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 (26698004) 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 (3686307 ) ) 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 (26698004) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1382813576, 'portfolio_id': 26698004}, {'photo_id': 1382813566, 'portfolio_id': 26698004}, {'photo_id': 1382813564, 'portfolio_id': 26698004}, {'photo_id': 1382813560, 'portfolio_id': 26698004}, {'photo_id': 1382813556, 'portfolio_id': 26698004}, {'photo_id': 1382813551, 'portfolio_id': 26698004}, {'photo_id': 1382813547, 'portfolio_id': 26698004}, {'photo_id': 1382813543, 'portfolio_id': 26698004}, {'photo_id': 1382813540, 'portfolio_id': 26698004}, {'photo_id': 1382813535, 'portfolio_id': 26698004}, {'photo_id': 1382813532, 'portfolio_id': 26698004}, {'photo_id': 1382813529, 'portfolio_id': 26698004}, {'photo_id': 1382813522, 'portfolio_id': 26698004}, {'photo_id': 1382813515, 'portfolio_id': 26698004}, {'photo_id': 1382813509, 'portfolio_id': 26698004}, {'photo_id': 1382813508, 'portfolio_id': 26698004}, {'photo_id': 1382813505, 'portfolio_id': 26698004}, {'photo_id': 1382813504, 'portfolio_id': 26698004}, {'photo_id': 1382813501, 'portfolio_id': 26698004}, {'photo_id': 1382813500, 'portfolio_id': 26698004}, {'photo_id': 1382813493, 'portfolio_id': 26698004}, {'photo_id': 1382813492, 'portfolio_id': 26698004}, {'photo_id': 1382813484, 'portfolio_id': 26698004}, {'photo_id': 1382813481, 'portfolio_id': 26698004}, {'photo_id': 1382813476, 'portfolio_id': 26698004}, {'photo_id': 1382813475, 'portfolio_id': 26698004}, {'photo_id': 1382813474, 'portfolio_id': 26698004}, {'photo_id': 1382813472, 'portfolio_id': 26698004}, {'photo_id': 1382813470, 'portfolio_id': 26698004}, {'photo_id': 1382813467, 'portfolio_id': 26698004}, {'photo_id': 1382813439, 'portfolio_id': 26698004}, {'photo_id': 1382813436, 'portfolio_id': 26698004}, {'photo_id': 1382813434, 'portfolio_id': 26698004}, {'photo_id': 1382813432, 'portfolio_id': 26698004}, {'photo_id': 1382813430, 'portfolio_id': 26698004}, {'photo_id': 1382813427, 'portfolio_id': 26698004}, {'photo_id': 1382813424, 'portfolio_id': 26698004}, {'photo_id': 1382813421, 'portfolio_id': 26698004}, {'photo_id': 1382813415, 'portfolio_id': 26698004}, {'photo_id': 1382813405, 'portfolio_id': 26698004}, {'photo_id': 1382813385, 'portfolio_id': 26698004}, {'photo_id': 1382813383, 'portfolio_id': 26698004}, {'photo_id': 1382813379, 'portfolio_id': 26698004}, {'photo_id': 1382813375, 'portfolio_id': 26698004}, {'photo_id': 1382813364, 'portfolio_id': 26698004}, {'photo_id': 1382813360, 'portfolio_id': 26698004}, {'photo_id': 1382813356, 'portfolio_id': 26698004}, {'photo_id': 1382813352, 'portfolio_id': 26698004}, {'photo_id': 1382813350, 'portfolio_id': 26698004}, {'photo_id': 1382813347, 'portfolio_id': 26698004}, {'photo_id': 1382813343, 'portfolio_id': 26698004}, {'photo_id': 1382813340, 'portfolio_id': 26698004}, {'photo_id': 1382813336, 'portfolio_id': 26698004}, {'photo_id': 1382813331, 'portfolio_id': 26698004}, {'photo_id': 1382813326, 'portfolio_id': 26698004}, {'photo_id': 1382813319, 'portfolio_id': 26698004}, {'photo_id': 1382813316, 'portfolio_id': 26698004}, {'photo_id': 1382813314, 'portfolio_id': 26698004}, {'photo_id': 1382813308, 'portfolio_id': 26698004}, {'photo_id': 1382813305, 'portfolio_id': 26698004}, {'photo_id': 1382813302, 'portfolio_id': 26698004}, {'photo_id': 1382813298, 'portfolio_id': 26698004}, {'photo_id': 1382813295, 'portfolio_id': 26698004}, {'photo_id': 1382813288, 'portfolio_id': 26698004}, {'photo_id': 1382813285, 'portfolio_id': 26698004}, {'photo_id': 1382813281, 'portfolio_id': 26698004}, {'photo_id': 1382813277, 'portfolio_id': 26698004}, {'photo_id': 1382813272, 'portfolio_id': 26698004}, {'photo_id': 1382813269, 'portfolio_id': 26698004}, {'photo_id': 1382813255, 'portfolio_id': 26698004}, {'photo_id': 1382813251, 'portfolio_id': 26698004}, {'photo_id': 1382813246, 'portfolio_id': 26698004}, {'photo_id': 1382813243, 'portfolio_id': 26698004}, {'photo_id': 1382813241, 'portfolio_id': 26698004}] map_portfolio_id_photo_id: {26698004: [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515, 1382813509, 1382813508, 1382813505, 1382813504, 1382813501, 1382813500, 1382813493, 1382813492, 1382813484, 1382813481, 1382813476, 1382813475, 1382813474, 1382813472, 1382813470, 1382813467, 1382813439, 1382813436, 1382813434, 1382813432, 1382813430, 1382813427, 1382813424, 1382813421, 1382813415, 1382813405, 1382813385, 1382813383, 1382813379, 1382813375, 1382813364, 1382813360, 1382813356, 1382813352, 1382813350, 1382813347, 1382813343, 1382813340, 1382813336, 1382813331, 1382813326, 1382813319, 1382813316, 1382813314, 1382813308, 1382813305, 1382813302, 1382813298, 1382813295, 1382813288, 1382813285, 1382813281, 1382813277, 1382813272, 1382813269, 1382813255, 1382813251, 1382813246, 1382813243, 1382813241]} ##### 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.046599388122558594 #### 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 9 21:28:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26698004) 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 : 26698004 get user id for portfolio 26698004 get sub ptf for main ptf 26698004, type 3726 and hashtags ['Carton_gris', 'papier', 'Carton_brun', 'mal_croppe', 'cartonnette', 'kraft', 'flou', 'autre_refus', 'environnement', 'plastique', 'metal', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26698004 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','Carton_brun','mal_croppe','cartonnette','kraft','flou','autre_refus','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26698004 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','Carton_brun','mal_croppe','cartonnette','kraft','flou','autre_refus','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26698004, 'sub_port_id': 26698010, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996377, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'flou': {'main_port_id': 26698004, 'sub_port_id': 26698011, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996378, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'environnement': {'main_port_id': 26698004, 'sub_port_id': 26698012, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996379, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'plastique': {'main_port_id': 26698004, 'sub_port_id': 26698013, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996380, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'cartonnette': {'main_port_id': 26698004, 'sub_port_id': 26698014, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996381, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'mal_croppe': {'main_port_id': 26698004, 'sub_port_id': 26698015, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996382, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 26698004, 'sub_port_id': 26698016, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996383, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'kraft': {'main_port_id': 26698004, 'sub_port_id': 26698017, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996384, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'Carton_brun': {'main_port_id': 26698004, 'sub_port_id': 26698018, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996385, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'Carton_gris': {'main_port_id': 26698004, 'sub_port_id': 26698019, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996386, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'metal': {'main_port_id': 26698004, 'sub_port_id': 26698020, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996387, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}, 'papier': {'main_port_id': 26698004, 'sub_port_id': 26698022, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996388, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 26, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 28)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698010 , 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=26698004 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 (26698010) result : ((1382813448,), (1382813449,), (1382813516,), (1382813517,), (1382813518,), (1382813557,), (1382813558,), (1382813574,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698011 , 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=26698004 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 (26698011) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698012 , 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=26698004 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 (26698012) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698013 , 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=26698004 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 (26698013) result : ((1382813581,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698014 , 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=26698004 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 (26698014) result : ((1382813416,), (1382813417,), (1382813451,), (1382813452,), (1382813498,), (1382813499,), (1382813520,), (1382813521,), (1382813575,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698015 , 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=26698004 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 (26698015) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698016 , 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=26698004 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 (26698016) result : ((1382813406,), (1382813407,), (1382813408,), (1382813409,), (1382813410,), (1382813411,), (1382813412,), (1382813413,), (1382813446,), (1382813447,), (1382813494,), (1382813512,), (1382813513,), (1382813514,), (1382813555,), (1382813567,), (1382813569,), (1382813570,), (1382813572,), (1382813573,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698017 , 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=26698004 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 (26698017) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698018 , 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=26698004 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 (26698018) result : ((1382813418,), (1382813419,), (1382813453,), (1382813454,), (1382813455,), (1382813523,), (1382813524,), (1382813525,), (1382813577,), (1382813578,), (1382813580,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698019 , 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=26698004 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 (26698019) result : ((1382813414,), (1382813450,), (1382813496,), (1382813519,), (1382813559,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698020 , 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=26698004 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 (26698020) result : ((1382813456,), (1382813526,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 26698022 , 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=26698004 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 (26698022) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (26698004) result : ((1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) 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 (1382813500) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26698004 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','Carton_brun','mal_croppe','cartonnette','kraft','flou','autre_refus','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=26698004 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','papier','Carton_brun','mal_croppe','cartonnette','kraft','flou','autre_refus','environnement','plastique','metal','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'autre_refus': {'main_port_id': 26698004, 'sub_port_id': 26698023, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996389, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'flou': {'main_port_id': 26698004, 'sub_port_id': 26698024, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996390, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'environnement': {'main_port_id': 26698004, 'sub_port_id': 26698025, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996391, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'plastique': {'main_port_id': 26698004, 'sub_port_id': 26698026, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996392, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'cartonnette': {'main_port_id': 26698004, 'sub_port_id': 26698027, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996393, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'mal_croppe': {'main_port_id': 26698004, 'sub_port_id': 26698028, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996394, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'Teint_Dans_La_Masse': {'main_port_id': 26698004, 'sub_port_id': 26698029, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996395, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'kraft': {'main_port_id': 26698004, 'sub_port_id': 26698030, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996396, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'Carton_brun': {'main_port_id': 26698004, 'sub_port_id': 26698031, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996397, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'Carton_gris': {'main_port_id': 26698004, 'sub_port_id': 26698032, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996398, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'metal': {'main_port_id': 26698004, 'sub_port_id': 26698033, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996399, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 19, 37), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}, 'papier': {'main_port_id': 26698004, 'sub_port_id': 26698034, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 17996400, 'last_updated_at': datetime.datetime(2025, 9, 9, 21, 27), 'last_updated_at_desc': datetime.datetime(2025, 9, 9, 21, 27), 'last_updated_at_asc': datetime.datetime(2025, 9, 9, 21, 19, 37)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698023,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698010 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698024,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698011 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698025,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698012 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698026,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698013 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698027,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698014 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698028,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698015 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698029,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698016 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698030,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698017 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698031,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698018 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698032,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698019 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698033,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698020 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 26698034,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 26698022 lien utilise dans velours : https://marlene.fotonower.com/velours/26698023,26698024,26698025,26698026,26698027,26698028,26698029,26698030,26698031,26698032,26698033,26698034?tags=autre_refus,flou,environnement,plastique,cartonnette,mal_croppe,Teint_Dans_La_Masse,kraft,Carton_brun,Carton_gris,metal,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26698004]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] map_info['map_portfolio_photo'] : {26698004: [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515, 1382813509, 1382813508, 1382813505, 1382813504, 1382813501, 1382813500, 1382813493, 1382813492, 1382813484, 1382813481, 1382813476, 1382813475, 1382813474, 1382813472, 1382813470, 1382813467, 1382813439, 1382813436, 1382813434, 1382813432, 1382813430, 1382813427, 1382813424, 1382813421, 1382813415, 1382813405, 1382813385, 1382813383, 1382813379, 1382813375, 1382813364, 1382813360, 1382813356, 1382813352, 1382813350, 1382813347, 1382813343, 1382813340, 1382813336, 1382813331, 1382813326, 1382813319, 1382813316, 1382813314, 1382813308, 1382813305, 1382813302, 1382813298, 1382813295, 1382813288, 1382813285, 1382813281, 1382813277, 1382813272, 1382813269, 1382813255, 1382813251, 1382813246, 1382813243, 1382813241]} final : False mtd_id 4302 list_pids : [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] Looping around the photos to save general results len do output : 1 /26698004. 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, '3686307') ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '26698004', "{'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022}", None, None, None, None, '3686307'), ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307')] time used for this insertion : 0.03928065299987793 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.6076457500457764 time spend to save output : 0.039592742919921875 total time spend for step 1 : 1.6472384929656982 step2:final Tue Sep 9 21:29:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26698004) 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 26698004 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1382813255,1382813308,1382813251,1382813305,1382813246,1382813302,1382813243,1382813298,1382813241,1382813295,1382813288,1382813285,1382813281,1382813277,1382813272,1382813269,1382813319,1382813316,1382813314,1382813347,1382813343,1382813340,1382813336,1382813331,1382813326,1382813364,1382813360,1382813356,1382813352,1382813350,1382813385,1382813383,1382813379,1382813375,1382813430,1382813427,1382813424,1382813421,1382813415,1382813405,1382813439,1382813484,1382813436,1382813481,1382813434,1382813476,1382813432,1382813475,1382813474,1382813472,1382813470,1382813467,1382813509,1382813508,1382813505,1382813504,1382813501,1382813500,1382813493,1382813492,1382813576,1382813535,1382813532,1382813566,1382813529,1382813564,1382813522,1382813560,1382813556,1382813515,1382813551,1382813547,1382813543,1382813540); 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([26698004]) Inside saveOutput : final : False verbose : True original output for save of step final : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} new output for save of step final : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] map_info['map_portfolio_photo'] : {26698004: [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515, 1382813509, 1382813508, 1382813505, 1382813504, 1382813501, 1382813500, 1382813493, 1382813492, 1382813484, 1382813481, 1382813476, 1382813475, 1382813474, 1382813472, 1382813470, 1382813467, 1382813439, 1382813436, 1382813434, 1382813432, 1382813430, 1382813427, 1382813424, 1382813421, 1382813415, 1382813405, 1382813385, 1382813383, 1382813379, 1382813375, 1382813364, 1382813360, 1382813356, 1382813352, 1382813350, 1382813347, 1382813343, 1382813340, 1382813336, 1382813331, 1382813326, 1382813319, 1382813316, 1382813314, 1382813308, 1382813305, 1382813302, 1382813298, 1382813295, 1382813288, 1382813285, 1382813281, 1382813277, 1382813272, 1382813269, 1382813255, 1382813251, 1382813246, 1382813243, 1382813241]} final : False mtd_id 4302 list_pids : [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] Looping around the photos to save general results len do output : 14 /1382813576.Didn't retrieve data . /1382813566.Didn't retrieve data . /1382813564.Didn't retrieve data . /1382813560.Didn't retrieve data . /1382813556.Didn't retrieve data . /1382813551.Didn't retrieve data . /1382813547.Didn't retrieve data . /1382813543.Didn't retrieve data . /1382813540.Didn't retrieve data . /1382813535.Didn't retrieve data . /1382813532.Didn't retrieve data . /1382813529.Didn't retrieve data . /1382813522.Didn't retrieve data . /1382813515.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, '3686307') ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '26698004', '1382813576', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813566', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813564', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813560', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813556', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813551', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813547', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813543', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813540', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813535', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813532', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813529', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813522', '0.049795524998659815', None, None, None, None, '3686307'), ('4302', '26698004', '1382813515', '0.049795524998659815', None, None, None, None, '3686307')] time used for this insertion : 0.03881692886352539 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.2366011142730713 time spend to save output : 0.0395054817199707 total time spend for step 2 : 0.276106595993042 step3:velours_tree Tue Sep 9 21:29:00 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {26698004: [{'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022}]} input_args_next_step : {26698004: ()} output_args : {26698004: [{'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022}]} args : 26698004 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 : ({'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26698004) 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([26698004]) 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.3002638816833496 time spend to save output : 3.981590270996094e-05 total time spend for step 3 : 0.30030369758605957 step4:send_mail_cod Tue Sep 9 21:29:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} input_args_next_step : {1382813576: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813576 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813566 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813564 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813560 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813556 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813551 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813547 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813543 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813540 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813535 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813532 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813529 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813522 depend.output_id : 0 input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ()} output_args : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',)} args : 1382813515 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 : {26698004: [{'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022}]} input_args_next_step : {1382813576: ('0.049795524998659815',), 1382813566: ('0.049795524998659815',), 1382813564: ('0.049795524998659815',), 1382813560: ('0.049795524998659815',), 1382813556: ('0.049795524998659815',), 1382813551: ('0.049795524998659815',), 1382813547: ('0.049795524998659815',), 1382813543: ('0.049795524998659815',), 1382813540: ('0.049795524998659815',), 1382813535: ('0.049795524998659815',), 1382813532: ('0.049795524998659815',), 1382813529: ('0.049795524998659815',), 1382813522: ('0.049795524998659815',), 1382813515: ('0.049795524998659815',), 26698004: ()} output_args : {26698004: [{'autre_refus': 26698010, 'flou': 26698011, 'environnement': 26698012, 'plastique': 26698013, 'cartonnette': 26698014, 'mal_croppe': 26698015, 'Teint_Dans_La_Masse': 26698016, 'kraft': 26698017, 'Carton_brun': 26698018, 'Carton_gris': 26698019, 'metal': 26698020, 'papier': 26698022}]} args : 26698004 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 :15, first value : ('0.049795524998659815',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26698004) 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 (1382813576,1382813566,1382813564,1382813560,1382813556,1382813551,1382813547,1382813543,1382813540,1382813535,1382813532,1382813529,1382813522,1382813515) Found this number of photos: 14 ##### Call download_photos : nb_thread : 5 begin to download photo : 1382813515 begin to download photo : 1382813532 begin to download photo : 1382813543 begin to download photo : 1382813556 begin to download photo : 1382813566 download finish for photo 1382813543 begin to download photo : 1382813547 download finish for photo 1382813556 begin to download photo : 1382813560 download finish for photo 1382813515 begin to download photo : 1382813522 download finish for photo 1382813532 begin to download photo : 1382813535 download finish for photo 1382813566 begin to download photo : 1382813576 download finish for photo 1382813560 begin to download photo : 1382813564 download finish for photo 1382813522 begin to download photo : 1382813529 download finish for photo 1382813547 begin to download photo : 1382813551 download finish for photo 1382813535 begin to download photo : 1382813540 download finish for photo 1382813576 download finish for photo 1382813564 download finish for photo 1382813529 download finish for photo 1382813540 download finish for photo 1382813551 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 14 ; length of list_pids : 14 ; length of list_args : 14 results_Auto_P26698004_09-09-2025_21_29_01.pdf 26698010 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=26698010 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813448: '1757445786_3082003_1382813343_90cc8c596516479facee71ccc15a4088_rle_crop_3952573393_0.png', 1382813449: '1757445786_3082003_1382813336_667ef2587b710c051d97aa9abe42ac0c_rle_crop_3952573421_0.png', 1382813516: '1757445927_3087657_1382813364_772b015c3f98f8b5c441ff1a7a92e257_rle_crop_3952573940_0.png', 1382813517: '1757445927_3087657_1382813343_90cc8c596516479facee71ccc15a4088_rle_crop_3952573393_0.png', 1382813518: '1757445927_3087657_1382813336_667ef2587b710c051d97aa9abe42ac0c_rle_crop_3952573421_0.png', 1382813557: '1757446027_3093312_1382813434_4c6b110f2628b9d2f5010490c49988a7_rle_crop_3952574113_0.png', 1382813558: '1757446027_3093312_1382813432_140e4b0f8b11d44520c34a9719f5a603_rle_crop_3952574121_0.png', 1382813574: '1757446045_3093667_1382813405_10dcf876c9cafc02a9b8baca69cd957c_rle_crop_3952574378_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/1d491e9069bceed9ead7b53bd9bfbdb0_57914131.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/a123f67790a71528429096e50bb5d40f_48716855.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cc7a8d5ad6f9cac584821087f1ed6890_902354.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/1d491e9069bceed9ead7b53bd9bfbdb0_67397590.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/a123f67790a71528429096e50bb5d40f_75100887.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/7b7a3e540f391d2d46b1879649dc2599_69564678.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/6bd6a61d88ca6a03648eb045edabcddc_50409338.png change filename to text .imagette266980101757446141/ imagette266980101757446141/1757445927_3087657_1382813364_772b015c3f98f8b5c441ff1a7a92e257_rle_crop_3952573940_0.png.png imagette266980101757446141/1757445786_3082003_1382813336_667ef2587b710c051d97aa9abe42ac0c_rle_crop_3952573421_0.png.png imagette266980101757446141/1757445927_3087657_1382813336_667ef2587b710c051d97aa9abe42ac0c_rle_crop_3952573421_0.png.png imagette266980101757446141/1757446027_3093312_1382813434_4c6b110f2628b9d2f5010490c49988a7_rle_crop_3952574113_0.png.png imagette266980101757446141/1757446045_3093667_1382813405_10dcf876c9cafc02a9b8baca69cd957c_rle_crop_3952574378_0.png.png imagette266980101757446141/1757446027_3093312_1382813432_140e4b0f8b11d44520c34a9719f5a603_rle_crop_3952574121_0.png.png imagette266980101757446141/1757445786_3082003_1382813343_90cc8c596516479facee71ccc15a4088_rle_crop_3952573393_0.png.png imagette266980101757446141/1757445927_3087657_1382813343_90cc8c596516479facee71ccc15a4088_rle_crop_3952573393_0.png.png imagette266980111757446142/ wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/ece256d8546cd38967922ca524482822_40499271.png imagette266980101757446141 26698011 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=26698011 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266980111757446142 26698013 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=26698013 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813581: '1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574302_0.png'} change filename to text .imagette266980131757446142/ imagette266980131757446142/1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574302_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/1456c5605ce20f9397d232954942d4a6_17274796.png imagette266980131757446142 26698014 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=26698014 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813416: '1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572931_0.png', 1382813417: '1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572955_0.png', 1382813451: '1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573574_0.png', 1382813452: '1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573573_0.png', 1382813498: '1757445905_3087257_1382813379_8d053326a6859dc4455ea304d13b919d_rle_crop_3952573716_0.png', 1382813499: '1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573733_0.png', 1382813520: '1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573574_0.png', 1382813521: '1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573573_0.png', 1382813575: '1757446045_3093667_1382813405_10dcf876c9cafc02a9b8baca69cd957c_rle_crop_3952574377_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/072a7fb5c83521bf128ac850e6dd2ffb_12476641.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/bff3fb5892c234e2a20386556f6f1aa4_99500263.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/975257f78e8267fcefbdc600ef931bee_42380852.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/7f3fb00e6c820f6079fb359bc1d70aab_28654680.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/b099fdc5860ab18e5dc07eec6acebca4_56104261.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/12c7ce9cbff63254bf2a55e247abdfdb_40952576.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/975257f78e8267fcefbdc600ef931bee_52289976.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/7f3fb00e6c820f6079fb359bc1d70aab_86917704.png change filename to text .imagette266980141757446142/ imagette266980141757446142/1757446045_3093667_1382813405_10dcf876c9cafc02a9b8baca69cd957c_rle_crop_3952574377_0.png.png imagette266980141757446142/1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573573_0.png.png imagette266980141757446142/1757445905_3087257_1382813379_8d053326a6859dc4455ea304d13b919d_rle_crop_3952573716_0.png.png imagette266980141757446142/1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573573_0.png.png imagette266980141757446142/1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572955_0.png.png imagette266980141757446142/1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573574_0.png.png imagette266980141757446142/1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572931_0.png.png imagette266980141757446142/1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573733_0.png.png imagette266980141757446142/1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573574_0.png.png imagette266980151757446142/ imagette266980171757446142/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/77f94c7b6d01572e4cf94a94ade58e98_41098111.png imagette266980141757446142 26698015 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=26698015 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266980151757446142 26698017 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=26698017 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette266980171757446142 26698020 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=26698020 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813456: '1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573552_0.png', 1382813526: '1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573552_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cd06804667d1d76b6119f99c318e33fe_91966110.png change filename to text .imagette266980201757446142/ imagette266980201757446142/1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573552_0.png.png imagette266980201757446142/1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573552_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cd06804667d1d76b6119f99c318e33fe_64755776.png imagette266980201757446142 26698016 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=26698016 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813494: '1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573728_0.png', 1382813573: '1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574332_0.png', 1382813572: '1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574337_0.png', 1382813570: '1757446045_3093667_1382813427_e9e2de808f42b91c9e6145f6e6db456e_rle_crop_3952574314_0.png', 1382813569: '1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574307_0.png', 1382813567: '1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574303_0.png', 1382813555: '1757446027_3093312_1382813432_140e4b0f8b11d44520c34a9719f5a603_rle_crop_3952574130_0.png', 1382813514: '1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573578_0.png', 1382813513: '1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573555_0.png', 1382813512: '1757445927_3087657_1382813364_772b015c3f98f8b5c441ff1a7a92e257_rle_crop_3952573947_0.png', 1382813406: '1757445687_3077093_1382813319_1124e103a098ef6a16928c3bea2bd52c_rle_crop_3952573148_0.png', 1382813447: '1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573578_0.png', 1382813446: '1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573555_0.png', 1382813413: '1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572957_0.png', 1382813412: '1757445687_3077093_1382813277_d693e7932085795859eab6d18741d489_rle_crop_3952572946_0.png', 1382813411: '1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572932_0.png', 1382813410: '1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572933_0.png', 1382813409: '1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572935_0.png', 1382813408: '1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572922_0.png', 1382813407: '1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572924_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/992deb3e3070e6181b6b7fbd15067ed8_23512209.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cfa87481047a5329fd2ffcf3a87ca88b_24997335.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/87eb9da5722c7c975e3302f12648ab94_58581840.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/9148a3a236a8cc0ff193369deacd65da_99142829.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/72feec66959a36233880b3cd29a34eef_1047585.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/8f959e3652bd07247bfccfb29aac6fef_64284286.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/eb229bdc41cdf3de0d2310b8b70ba3b9_82822046.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/80e7fd75ccb323479e9625b2d30081e6_55323250.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/6ddf76bb319b69b7da19fcce470abd46_6801938.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/91b4140413c08f6c643edb0fe9314055_537162.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/fa3a354a762731599a752f83901a9953_9810667.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/80e7fd75ccb323479e9625b2d30081e6_43354992.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/6ddf76bb319b69b7da19fcce470abd46_17993179.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/399d6db845cc0d745ea7da38c6b6c0a4_16936601.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/30d114f304a256c56ad547bae6511796_78731727.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/a082aa73d350a2791f12a037b5105e89_50099542.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/391b5810329281c01901d7e5a7c7aaaf_93746779.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/2494807258d33050dc5607e6ceb1b9c7_66505852.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/64fb2ef12a20a93f86dfeb81ae2c5d55_2901764.png change filename to text .imagette266980161757446142/ imagette266980161757446142/1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572932_0.png.png imagette266980161757446142/1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572922_0.png.png imagette266980161757446142/1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574307_0.png.png imagette266980161757446142/1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573728_0.png.png imagette266980161757446142/1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572933_0.png.png imagette266980161757446142/1757445927_3087657_1382813364_772b015c3f98f8b5c441ff1a7a92e257_rle_crop_3952573947_0.png.png imagette266980161757446142/1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574332_0.png.png imagette266980161757446142/1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573578_0.png.png imagette266980161757446142/1757446045_3093667_1382813427_e9e2de808f42b91c9e6145f6e6db456e_rle_crop_3952574314_0.png.png imagette266980161757446142/1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572924_0.png.png imagette266980161757446142/1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573555_0.png.png imagette266980161757446142/1757446045_3093667_1382813439_385f91310d327ba1cc125e18e4d6a941_rle_crop_3952574303_0.png.png imagette266980161757446142/1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573555_0.png.png imagette266980161757446142/1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574337_0.png.png imagette266980161757446142/1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572957_0.png.png imagette266980161757446142/1757445687_3077093_1382813281_5b103fe648af78724183d384e1e2f03b_rle_crop_3952572935_0.png.png imagette266980161757446142/1757446027_3093312_1382813432_140e4b0f8b11d44520c34a9719f5a603_rle_crop_3952574130_0.png.png imagette266980161757446142/1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573578_0.png.png imagette266980161757446142/1757445687_3077093_1382813319_1124e103a098ef6a16928c3bea2bd52c_rle_crop_3952573148_0.png.png imagette266980161757446142/1757445687_3077093_1382813277_d693e7932085795859eab6d18741d489_rle_crop_3952572946_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/aeca79b86e22bd30470c382295785eab_35452546.png imagette266980161757446142 26698018 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=26698018 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813418: '1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572917_0.png', 1382813419: '1757445687_3077093_1382813277_d693e7932085795859eab6d18741d489_rle_crop_3952572944_0.png', 1382813453: '1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573559_0.png', 1382813454: '1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573582_0.png', 1382813455: '1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573581_0.png', 1382813523: '1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573559_0.png', 1382813524: '1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573582_0.png', 1382813525: '1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573581_0.png', 1382813577: '1757446045_3093667_1382813427_e9e2de808f42b91c9e6145f6e6db456e_rle_crop_3952574323_0.png', 1382813578: '1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574335_0.png', 1382813580: '1757446045_3093667_1382813421_5d39baf87d61cfadba18d1b17fbccaf9_rle_crop_3952574346_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/0b6ed8e538eeb47d313ed9c23b2ee95f_49509160.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/5457f7dcef90fe34e7f779497de09d3d_78365782.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/4de327109ba66add66052f509da499e6_28789234.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/679ad6aa51e0824f7940f2b6bab8f5e6_67977484.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cc7cf8ad0439861ddd74661ef42ff435_84799973.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/4de327109ba66add66052f509da499e6_99244933.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/679ad6aa51e0824f7940f2b6bab8f5e6_23499661.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/cc7cf8ad0439861ddd74661ef42ff435_83484318.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/a334f31f7111e05bfb6ac1987ce21b15_42447017.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/6c01af5200cc281ef432ee2e91e5c2a0_9896111.png change filename to text .imagette266980181757446144/ imagette266980181757446144/1757446045_3093667_1382813424_ea811ad3d00ec147cbea158d088f22ee_rle_crop_3952574335_0.png.png imagette266980181757446144/1757446045_3093667_1382813421_5d39baf87d61cfadba18d1b17fbccaf9_rle_crop_3952574346_0.png.png imagette266980181757446144/1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573582_0.png.png imagette266980181757446144/1757445786_3082003_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573559_0.png.png imagette266980181757446144/1757445786_3082003_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573581_0.png.png imagette266980181757446144/1757446045_3093667_1382813427_e9e2de808f42b91c9e6145f6e6db456e_rle_crop_3952574323_0.png.png imagette266980181757446144/1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573582_0.png.png imagette266980181757446144/1757445687_3077093_1382813285_e846a7006b4ce0ef7799c74643c4167c_rle_crop_3952572917_0.png.png imagette266980181757446144/1757445927_3087657_1382813331_d27f2449f6cc5d99d11fdc9fc681bb7b_rle_crop_3952573559_0.png.png imagette266980181757446144/1757445927_3087657_1382813326_09ee5560d36608365b43ba977e1f8136_rle_crop_3952573581_0.png.png imagette266980181757446144/1757445687_3077093_1382813277_d693e7932085795859eab6d18741d489_rle_crop_3952572944_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/6552b5cdd16f9df2eefbcea171d4cb27_80741254.png imagette266980181757446144 26698019 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=26698019 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1382813414: '1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572956_0.png', 1382813450: '1757445786_3082003_1382813340_af34336ba833c634ee6996b490a76144_rle_crop_3952573416_0.png', 1382813496: '1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573726_0.png', 1382813519: '1757445927_3087657_1382813340_af34336ba833c634ee6996b490a76144_rle_crop_3952573416_0.png', 1382813559: '1757446027_3093312_1382813436_df5816fb0921ad3e0defd21b221fa41b_rle_crop_3952574099_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/c0bfab29b2356745bfdf6c06c2c822bc_57795135.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/f869c380761b62ad8808ad055bb49e7a_50403165.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/26cd2f642e66fb5015c1d148273e2bfb_5490095.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/f869c380761b62ad8808ad055bb49e7a_5633939.png change filename to text .imagette266980191757446144/ imagette266980191757446144/1757445786_3082003_1382813340_af34336ba833c634ee6996b490a76144_rle_crop_3952573416_0.png.png imagette266980191757446144/1757446027_3093312_1382813436_df5816fb0921ad3e0defd21b221fa41b_rle_crop_3952574099_0.png.png imagette266980191757446144/1757445927_3087657_1382813340_af34336ba833c634ee6996b490a76144_rle_crop_3952573416_0.png.png imagette266980191757446144/1757445687_3077093_1382813272_cfb10613cd5a5c38005cdf68eed747f7_rle_crop_3952572956_0.png.png imagette266980191757446144/1757445905_3087257_1382813375_9441890570fa54353a13304c48d29b13_rle_crop_3952573726_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/267bbd339e584246a08673bd97bd615d_30896801.png imagette266980191757446144 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=26698004 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/26698023,26698024,26698025,26698026,26698027,26698028,26698029,26698030,26698031,26698032,26698033,26698034?tags=autre_refus,flou,environnement,plastique,cartonnette,mal_croppe,Teint_Dans_La_Masse,kraft,Carton_brun,Carton_gris,metal,papier your option no_mail is active, we will not send the real mail to your client args[1382813576] : ('0.049795524998659815',) no score found for photo 1382813576 We are sending mail with results at report@fotonower.com args[1382813566] : ('0.049795524998659815',) no score found for photo 1382813566 We are sending mail with results at report@fotonower.com args[1382813564] : ('0.049795524998659815',) no score found for photo 1382813564 We are sending mail with results at report@fotonower.com args[1382813560] : ('0.049795524998659815',) no score found for photo 1382813560 We are sending mail with results at report@fotonower.com args[1382813556] : ('0.049795524998659815',) no score found for photo 1382813556 We are sending mail with results at report@fotonower.com args[1382813551] : ('0.049795524998659815',) no score found for photo 1382813551 We are sending mail with results at report@fotonower.com args[1382813547] : ('0.049795524998659815',) no score found for photo 1382813547 We are sending mail with results at report@fotonower.com args[1382813543] : ('0.049795524998659815',) no score found for photo 1382813543 We are sending mail with results at report@fotonower.com args[1382813540] : ('0.049795524998659815',) no score found for photo 1382813540 We are sending mail with results at report@fotonower.com args[1382813535] : ('0.049795524998659815',) no score found for photo 1382813535 We are sending mail with results at report@fotonower.com args[1382813532] : ('0.049795524998659815',) no score found for photo 1382813532 We are sending mail with results at report@fotonower.com args[1382813529] : ('0.049795524998659815',) no score found for photo 1382813529 We are sending mail with results at report@fotonower.com args[1382813522] : ('0.049795524998659815',) no score found for photo 1382813522 We are sending mail with results at report@fotonower.com args[1382813515] : ('0.049795524998659815',) no score found for photo 1382813515 We are sending mail with results at report@fotonower.com refus_total : 0.049795524998659815 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=26698004 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_P26698004_09-09-2025_21_29_01.pdf results_Auto_P26698004_09-09-2025_21_29_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26698004_09-09-2025_21_29_01.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','26698004','results_Auto_P26698004_09-09-2025_21_29_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26698004_09-09-2025_21_29_01.pdf','pdf','','0.25','0.049795524998659815') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26698004]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] map_info['map_portfolio_photo'] : {26698004: [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515, 1382813509, 1382813508, 1382813505, 1382813504, 1382813501, 1382813500, 1382813493, 1382813492, 1382813484, 1382813481, 1382813476, 1382813475, 1382813474, 1382813472, 1382813470, 1382813467, 1382813439, 1382813436, 1382813434, 1382813432, 1382813430, 1382813427, 1382813424, 1382813421, 1382813415, 1382813405, 1382813385, 1382813383, 1382813379, 1382813375, 1382813364, 1382813360, 1382813356, 1382813352, 1382813350, 1382813347, 1382813343, 1382813340, 1382813336, 1382813331, 1382813326, 1382813319, 1382813316, 1382813314, 1382813308, 1382813305, 1382813302, 1382813298, 1382813295, 1382813288, 1382813285, 1382813281, 1382813277, 1382813272, 1382813269, 1382813255, 1382813251, 1382813246, 1382813243, 1382813241]} final : False mtd_id 4302 list_pids : [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] 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, '3686307') ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 14 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', '26698004', '1382813576', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307')] time used for this insertion : 0.039513349533081055 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.454029560089111 time spend to save output : 0.0397639274597168 total time spend for step 4 : 5.493793487548828 step5:split_time_score Tue Sep 9 21:29:06 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 : ['26698004'] 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 : [('26698004',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (26698004) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1382813566: {'path': 'temp/1757446141_1732536_1382813566_c0fb4d600c7eb288555cb1f4082f0165.jpg', 'extension': 'jpg'}, 1382813576: {'path': 'temp/1757446141_1732536_1382813576_4095edb64ed34c214012d13b510b6441.jpg', 'extension': 'jpg'}, 1382813556: {'path': 'temp/1757446141_1732536_1382813556_ca05d50241d28e4aa58e9a6d643fbb02.jpg', 'extension': 'jpg'}, 1382813560: {'path': 'temp/1757446141_1732536_1382813560_8b7dd33b8ba97e8c97c5b07fa8033544.jpg', 'extension': 'jpg'}, 1382813564: {'path': 'temp/1757446141_1732536_1382813564_01dbbd49075d153af02e2e8398e2530b.jpg', 'extension': 'jpg'}, 1382813515: {'path': 'temp/1757446141_1732536_1382813515_5cd2fd93dbfa0e0e2d79d8c32e0636e3.jpg', 'extension': 'jpg'}, 1382813522: {'path': 'temp/1757446141_1732536_1382813522_5ec7b8b6a8cc0a2791dafe406b4f79f5.jpg', 'extension': 'jpg'}, 1382813529: {'path': 'temp/1757446141_1732536_1382813529_4eb258d3c8aa1feeef61c19b9158a9c7.jpg', 'extension': 'jpg'}, 1382813532: {'path': 'temp/1757446141_1732536_1382813532_fd9309713817951db2d31c992911644c.jpg', 'extension': 'jpg'}, 1382813535: {'path': 'temp/1757446141_1732536_1382813535_ea9de2132e4eb4aba4855bc4e980f744.jpg', 'extension': 'jpg'}, 1382813540: {'path': 'temp/1757446141_1732536_1382813540_be4aff59c27067bc4bc8ff3bcf59f69a.jpg', 'extension': 'jpg'}, 1382813543: {'path': 'temp/1757446141_1732536_1382813543_0bcb6c996587ae2d48dceb8bc6d25611.jpg', 'extension': 'jpg'}, 1382813547: {'path': 'temp/1757446141_1732536_1382813547_d039e6912c76ee07e05be1429a4a1e49.jpg', 'extension': 'jpg'}, 1382813551: {'path': 'temp/1757446141_1732536_1382813551_e311d11c6b3eba16b6524f033b667307.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 = 26698004; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 26698004 group by h (('21', 74),) 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=26698004 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 (26698004) 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 (26698004) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 09092025 26698004 Nombre de photos uploadées : 74 / 23040 (0%) 09092025 26698004 Nombre de photos taguées (types de déchets): 0 / 74 (0%) 09092025 26698004 Nombre de photos taguées (volume) : 0 / 74 (0%) [{'photo_id': 1382813255, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/fd31ef7423153bf5bb836e25e21d0549.jpg', 'username': None, 'uploaded_at': 1757445368, 'text': 'image_09092025_21_15_04_10140.jpg'}, {'photo_id': 1382813308, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/a5779c60d4d3a06c0aeac423882eaa40.jpg', 'username': None, 'uploaded_at': 1757445478, 'text': 'image_09092025_21_15_04_10140.jpg'}, {'photo_id': 1382813251, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/1aaa4d147d9fcf0cb27e1d9c75f62403.jpg', 'username': None, 'uploaded_at': 1757445368, 'text': 'image_09092025_21_15_14_10134.jpg'}, {'photo_id': 1382813305, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/9/db9f05ce941c4eb6ab7662ddc7b1fa47.jpg', 'username': None, 'uploaded_at': 1757445478, 'text': 'image_09092025_21_15_14_10134.jpg'}] 0 [] elapsed_time : load_data_split_time_score 1.9073486328125e-06 elapsed_time : order_list_meta_photo_and_scores 6.67572021484375e-06 ?????????????????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0033800601959228516 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 26698004, '2025-09-09' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-09-09' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2253579,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.3241560459136963 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= 2253579 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26665951, 'dashboard_result_id': 14964467, '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_P26665951_09-09-2025_06_01_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665967, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26666470, 'dashboard_result_id': 14964468, '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_P26666470_09-09-2025_06_01_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26666477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26666478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26666479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26666480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26666481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26666482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26666483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26666484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26666485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26666486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26666487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26666488, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26666997, 'dashboard_result_id': 14964469, '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_P26666997_09-09-2025_06_02_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26667000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667011, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26667314, 'dashboard_result_id': 14964470, '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_P26667314_09-09-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26667329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667332, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26668399, 'dashboard_result_id': 14964471, '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_P26668399_09-09-2025_06_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668412, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26668763, 'dashboard_result_id': 14964472, '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_P26668763_09-09-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668778, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26669124, 'dashboard_result_id': 14964473, '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_P26669124_09-09-2025_06_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669153, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26669820, 'dashboard_result_id': 14964474, '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_P26669820_09-09-2025_06_04_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669839, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26670286, 'dashboard_result_id': 14964475, '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_P26670286_09-09-2025_06_05_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670301, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26670744, 'dashboard_result_id': 14964476, '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_P26670744_09-09-2025_06_05_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670774, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26671134, 'dashboard_result_id': 14964477, '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_P26671134_09-09-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671149, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26671158, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26671697, 'dashboard_result_id': 14964478, '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_P26671697_09-09-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26671731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671742, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26672133, 'dashboard_result_id': 14964479, '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_P26672133_09-09-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672156, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26672645, 'dashboard_result_id': 14964480, '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_P26672645_09-09-2025_06_07_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672668, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26673061, 'dashboard_result_id': 14964481, '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_P26673061_09-09-2025_06_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26673069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26673070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26673071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26673072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26673073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26673074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26673075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26673076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26673077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26673078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26673079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26673080, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26674196, 'dashboard_result_id': 14964482, '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_P26674196_09-09-2025_06_07_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674206, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674210, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26674397, 'dashboard_result_id': 14964483, '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_P26674397_09-09-2025_06_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674413, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26674770, 'dashboard_result_id': 14964484, '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_P26674770_09-09-2025_08_59_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674790, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26678188, 'dashboard_result_id': 14964485, '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_P26678188_09-09-2025_10_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678201, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26678700, 'dashboard_result_id': 14964486, '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_P26678700_09-09-2025_10_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678718, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26679249, 'dashboard_result_id': 14964487, '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_P26679249_09-09-2025_10_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679266, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26679775, 'dashboard_result_id': 14964488, '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_P26679775_09-09-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679795, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26680309, 'dashboard_result_id': 14964489, '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_P26680309_09-09-2025_11_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26680328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26680329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26680330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26680331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26680332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26680333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26680334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26680335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26680336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26680337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26680338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26680339, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26681052, 'dashboard_result_id': 14964490, '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_P26681052_09-09-2025_11_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26681076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681077, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26681532, 'dashboard_result_id': 14964491, '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_P26681532_09-09-2025_11_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26681550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681561, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26682215, 'dashboard_result_id': 14964492, '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_P26682215_09-09-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682240, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26682684, 'dashboard_result_id': 14964493, '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_P26682684_09-09-2025_12_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682756, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26683262, 'dashboard_result_id': 14964494, '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_P26683262_09-09-2025_14_00_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26683280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26683281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26683282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26683283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26683284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26683285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26683286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26683288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26683289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26683290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26683291, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26684809, 'dashboard_result_id': 14964495, '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_P26684809_09-09-2025_13_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26684810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26684811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26684812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26684813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26684814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26684815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26684816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26684817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26684818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26684819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26684820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26684821, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26685159, 'dashboard_result_id': 14964496, '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_P26685159_09-09-2025_14_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685175, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26685486, 'dashboard_result_id': 14964497, '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_P26685486_09-09-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685505, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26686010, 'dashboard_result_id': 14964498, '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_P26686010_09-09-2025_14_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686028, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26686405, 'dashboard_result_id': 14964499, '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_P26686405_09-09-2025_14_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686422, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26686864, 'dashboard_result_id': 14964500, '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_P26686864_09-09-2025_15_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686881, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26687278, 'dashboard_result_id': 14964501, '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_P26687278_09-09-2025_15_20_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687296, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26687736, 'dashboard_result_id': 14964502, '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_P26687736_09-09-2025_15_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687758, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26688236, 'dashboard_result_id': 14964503, '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_P26688236_09-09-2025_15_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688268, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26688635, 'dashboard_result_id': 14964504, '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_P26688635_09-09-2025_16_03_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688648, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26689024, 'dashboard_result_id': 14964505, '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_P26689024_09-09-2025_16_21_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689039, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26689540, 'dashboard_result_id': 14964506, '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_P26689540_09-09-2025_16_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689553, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26689736, 'dashboard_result_id': 14964507, '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_P26689736_09-09-2025_16_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26689772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689780, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26690244, 'dashboard_result_id': 14964508, '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_P26690244_09-09-2025_17_03_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690259, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26690627, 'dashboard_result_id': 14964510, '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_P26690627_09-09-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690642, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26691103, 'dashboard_result_id': 14964511, '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_P26691103_09-09-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26691104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26691105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26691107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26691108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26691110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26691111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26691113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26691115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26691116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26691118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26691120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26691121, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26692001, 'dashboard_result_id': 14964512, '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_P26692001_09-09-2025_18_19_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26692004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692015, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26692562, 'dashboard_result_id': 14964513, '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_P26692562_09-09-2025_18_33_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26692570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692576, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26693122, 'dashboard_result_id': 14964514, '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_P26693122_09-09-2025_18_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693174, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26693658, 'dashboard_result_id': 14964515, '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_P26693658_09-09-2025_19_11_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693677, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26694004, 'dashboard_result_id': 14964516, '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_P26694004_09-09-2025_19_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694026, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26694568, 'dashboard_result_id': 14964517, '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_P26694568_09-09-2025_19_43_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694588, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26694951, 'dashboard_result_id': 14964519, '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_P26694951_09-09-2025_19_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694987, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26695382, 'dashboard_result_id': 14964520, '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_P26695382_09-09-2025_20_04_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695398, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26695824, 'dashboard_result_id': 14964521, '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_P26695824_09-09-2025_20_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695853, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26696415, 'dashboard_result_id': 14964522, '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_P26696415_09-09-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696434, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26696906, 'dashboard_result_id': 14964523, '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_P26696906_09-09-2025_21_03_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696927, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26697537, 'dashboard_result_id': 14964524, '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_P26697537_09-09-2025_21_21_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26697540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26697541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26697542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26697543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26697544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26697545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26697546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26697547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26697548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26697549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26697550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26697551, 'pht': 3726}}"}, {'dashboat_entry_day': 2253579, 'dashboard_run_id': 2266913, 'mtr_portfolio_id': 26698004, 'dashboard_result_id': 14964525, '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_P26698004_09-09-2025_21_27_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26698010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26698011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26698012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26698013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26698014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26698015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26698016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26698017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26698018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26698019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26698020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26698022, '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 = 26665951 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': 3682647, 'mtr_portfolio_id': 26665951, 'created_at': datetime.datetime(2025, 9, 9, 6, 0, 57), 'result': '0.050389988143182296', 'result_long': None, 'result_double': None}] Qualite : 0.050389988143182296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26665951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26665951_09-09-2025_06_01_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26665951 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_P26665951_09-09-2025_06_01_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665967, 'pht': 3726}}" where mtr_portfolio_id = 26665951 and dashboard_run_id = 2266913 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`=26665951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964467, 0.050389988143182296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26665951_09-09-2025_06_01_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26665956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26665957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26665958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26665959, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26665960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26665961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26665962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26665963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26665964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26665965, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26665966, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26665967, '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 = 26666470 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': 3682648, 'mtr_portfolio_id': 26666470, 'created_at': datetime.datetime(2025, 9, 9, 6, 1, 28), 'result': '0.052715171053135106', 'result_long': None, 'result_double': None}] Qualite : 0.052715171053135106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26666470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26666470_09-09-2025_06_01_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26666470 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_P26666470_09-09-2025_06_01_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26666477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26666478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26666479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26666480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26666481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26666482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26666483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26666484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26666485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26666486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26666487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26666488, 'pht': 3726}}" where mtr_portfolio_id = 26666470 and dashboard_run_id = 2266913 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`=26666470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964468, 0.052715171053135106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26666470_09-09-2025_06_01_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26666477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26666478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26666479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26666480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26666481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26666482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26666483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26666484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26666485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26666486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26666487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26666488, '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 = 26666997 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': 3682649, 'mtr_portfolio_id': 26666997, 'created_at': datetime.datetime(2025, 9, 9, 6, 1, 58), 'result': '0.07067176584757011', 'result_long': None, 'result_double': None}] Qualite : 0.07067176584757011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26666997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26666997_09-09-2025_06_02_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26666997 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_P26666997_09-09-2025_06_02_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26667000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667011, 'pht': 3726}}" where mtr_portfolio_id = 26666997 and dashboard_run_id = 2266913 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`=26666997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964469, 0.07067176584757011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26666997_09-09-2025_06_02_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26667000, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667005, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667007, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667008, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667009, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667010, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667011, '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 = 26667314 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': 3682650, 'mtr_portfolio_id': 26667314, 'created_at': datetime.datetime(2025, 9, 9, 6, 2, 30), 'result': '0.07133135033351763', 'result_long': None, 'result_double': None}] Qualite : 0.07133135033351763 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26667314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26667314_09-09-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26667314 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_P26667314_09-09-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26667329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667332, 'pht': 3726}}" where mtr_portfolio_id = 26667314 and dashboard_run_id = 2266913 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`=26667314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964470, 0.07133135033351763, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26667314_09-09-2025_06_02_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26667321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26667322, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26667323, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26667324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26667325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26667326, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26667327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26667328, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26667329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26667330, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26667331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26667332, '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 = 26668399 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': 3682651, 'mtr_portfolio_id': 26668399, 'created_at': datetime.datetime(2025, 9, 9, 6, 2, 57), 'result': '0.04170839703830682', 'result_long': None, 'result_double': None}] Qualite : 0.04170839703830682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26668399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26668399_09-09-2025_06_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26668399 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_P26668399_09-09-2025_06_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668412, 'pht': 3726}}" where mtr_portfolio_id = 26668399 and dashboard_run_id = 2266913 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`=26668399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964471, 0.04170839703830682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26668399_09-09-2025_06_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668402, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668404, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668405, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668409, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668412, '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 = 26668763 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': 3682652, 'mtr_portfolio_id': 26668763, 'created_at': datetime.datetime(2025, 9, 9, 6, 3, 28), 'result': '0.05141645040090347', 'result_long': None, 'result_double': None}] Qualite : 0.05141645040090347 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26668763 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26668763_09-09-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26668763 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_P26668763_09-09-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668778, 'pht': 3726}}" where mtr_portfolio_id = 26668763 and dashboard_run_id = 2266913 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`=26668763 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964472, 0.05141645040090347, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26668763_09-09-2025_06_03_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26668767, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26668768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26668769, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26668770, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26668771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26668772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26668773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26668774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26668775, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26668776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26668777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26668778, '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 = 26669124 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': 3682653, 'mtr_portfolio_id': 26669124, 'created_at': datetime.datetime(2025, 9, 9, 6, 3, 58), 'result': '0.04270834225482556', 'result_long': None, 'result_double': None}] Qualite : 0.04270834225482556 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26669124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26669124_09-09-2025_06_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26669124 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_P26669124_09-09-2025_06_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669153, 'pht': 3726}}" where mtr_portfolio_id = 26669124 and dashboard_run_id = 2266913 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`=26669124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964473, 0.04270834225482556, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26669124_09-09-2025_06_04_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669143, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669144, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669145, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669147, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669152, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669153, '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 = 26669820 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': 3682654, 'mtr_portfolio_id': 26669820, 'created_at': datetime.datetime(2025, 9, 9, 6, 4, 29), 'result': '0.035313723721439066', 'result_long': None, 'result_double': None}] Qualite : 0.035313723721439066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26669820 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26669820_09-09-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26669820 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_P26669820_09-09-2025_06_04_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669839, 'pht': 3726}}" where mtr_portfolio_id = 26669820 and dashboard_run_id = 2266913 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`=26669820 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964474, 0.035313723721439066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26669820_09-09-2025_06_04_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26669828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26669829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26669830, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26669831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26669832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26669833, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26669834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26669835, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26669836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26669837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26669838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26669839, '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 = 26670286 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': 3682655, 'mtr_portfolio_id': 26670286, 'created_at': datetime.datetime(2025, 9, 9, 6, 5), 'result': '0.05178657613991953', 'result_long': None, 'result_double': None}] Qualite : 0.05178657613991953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26670286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26670286_09-09-2025_06_05_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26670286 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_P26670286_09-09-2025_06_05_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670301, 'pht': 3726}}" where mtr_portfolio_id = 26670286 and dashboard_run_id = 2266913 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`=26670286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964475, 0.05178657613991953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26670286_09-09-2025_06_05_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670290, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670291, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670293, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670295, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670297, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670299, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670301, '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 = 26670744 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': 3682656, 'mtr_portfolio_id': 26670744, 'created_at': datetime.datetime(2025, 9, 9, 6, 5, 30), 'result': '0.05170990512872997', 'result_long': None, 'result_double': None}] Qualite : 0.05170990512872997 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26670744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26670744_09-09-2025_06_05_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26670744 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_P26670744_09-09-2025_06_05_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670774, 'pht': 3726}}" where mtr_portfolio_id = 26670744 and dashboard_run_id = 2266913 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`=26670744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964476, 0.05170990512872997, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26670744_09-09-2025_06_05_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26670763, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26670764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26670765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26670766, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26670767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26670768, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26670769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26670770, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26670771, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26670772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26670773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26670774, '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 = 26671134 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': 3682657, 'mtr_portfolio_id': 26671134, 'created_at': datetime.datetime(2025, 9, 9, 6, 5, 40), 'result': '0.049280891076028885', 'result_long': None, 'result_double': None}] Qualite : 0.049280891076028885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26671134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26671134_09-09-2025_06_05_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26671134 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_P26671134_09-09-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671149, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26671158, 'pht': 3726}}" where mtr_portfolio_id = 26671134 and dashboard_run_id = 2266913 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`=26671134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964477, 0.049280891076028885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26671134_09-09-2025_06_05_42.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671145, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671146, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671147, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671149, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671150, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671154, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26671158, '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 = 26671697 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': 3682658, 'mtr_portfolio_id': 26671697, 'created_at': datetime.datetime(2025, 9, 9, 6, 5, 58), 'result': '0.051077693266027596', 'result_long': None, 'result_double': None}] Qualite : 0.051077693266027596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26671697 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26671697_09-09-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26671697 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_P26671697_09-09-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26671731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671742, 'pht': 3726}}" where mtr_portfolio_id = 26671697 and dashboard_run_id = 2266913 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`=26671697 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964478, 0.051077693266027596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26671697_09-09-2025_06_06_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26671731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26671732, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26671733, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26671734, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26671735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26671736, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26671737, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26671738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26671739, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26671740, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26671741, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26671742, '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 = 26672133 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': 3682659, 'mtr_portfolio_id': 26672133, 'created_at': datetime.datetime(2025, 9, 9, 6, 6, 29), 'result': '0.08192827917858833', 'result_long': None, 'result_double': None}] Qualite : 0.08192827917858833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26672133 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26672133_09-09-2025_06_06_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26672133 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_P26672133_09-09-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672156, 'pht': 3726}}" where mtr_portfolio_id = 26672133 and dashboard_run_id = 2266913 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`=26672133 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964479, 0.08192827917858833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26672133_09-09-2025_06_06_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672152, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672153, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672154, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672156, '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 = 26672645 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': 3682660, 'mtr_portfolio_id': 26672645, 'created_at': datetime.datetime(2025, 9, 9, 6, 7), 'result': '0.04794720727428164', 'result_long': None, 'result_double': None}] Qualite : 0.04794720727428164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26672645 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26672645_09-09-2025_06_07_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26672645 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_P26672645_09-09-2025_06_07_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672668, 'pht': 3726}}" where mtr_portfolio_id = 26672645 and dashboard_run_id = 2266913 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`=26672645 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964480, 0.04794720727428164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26672645_09-09-2025_06_07_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26672657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26672658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26672659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26672660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26672661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26672662, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26672663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26672664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26672665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26672666, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26672667, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26672668, '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 = 26673061 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': 3682661, 'mtr_portfolio_id': 26673061, 'created_at': datetime.datetime(2025, 9, 9, 6, 7, 29), 'result': '0.049283104467753455', 'result_long': None, 'result_double': None}] Qualite : 0.049283104467753455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26673061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26673061_09-09-2025_06_07_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26673061 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_P26673061_09-09-2025_06_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26673069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26673070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26673071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26673072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26673073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26673074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26673075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26673076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26673077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26673078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26673079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26673080, 'pht': 3726}}" where mtr_portfolio_id = 26673061 and dashboard_run_id = 2266913 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`=26673061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964481, 0.049283104467753455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26673061_09-09-2025_06_07_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26673069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26673070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26673071, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26673072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26673073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26673074, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26673075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26673076, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26673077, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26673078, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26673079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26673080, '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 = 26674196 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': 3682662, 'mtr_portfolio_id': 26674196, 'created_at': datetime.datetime(2025, 9, 9, 6, 7, 57), 'result': '0.054113474413085574', 'result_long': None, 'result_double': None}] Qualite : 0.054113474413085574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26674196 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674196_09-09-2025_06_07_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26674196 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_P26674196_09-09-2025_06_07_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674206, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674210, 'pht': 3726}}" where mtr_portfolio_id = 26674196 and dashboard_run_id = 2266913 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`=26674196 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964482, 0.054113474413085574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674196_09-09-2025_06_07_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674199, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674202, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674204, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674206, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674207, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674208, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674210, '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 = 26674397 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': 3682663, 'mtr_portfolio_id': 26674397, 'created_at': datetime.datetime(2025, 9, 9, 6, 8, 30), 'result': '0.06827761438954877', 'result_long': None, 'result_double': None}] Qualite : 0.06827761438954877 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26674397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674397_09-09-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26674397 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_P26674397_09-09-2025_06_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674413, 'pht': 3726}}" where mtr_portfolio_id = 26674397 and dashboard_run_id = 2266913 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`=26674397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964483, 0.06827761438954877, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674397_09-09-2025_06_08_33.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674402, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674403, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674406, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674411, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674412, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674413, '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 = 26674770 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': 3682583, 'mtr_portfolio_id': 26674770, 'created_at': datetime.datetime(2025, 9, 9, 8, 59, 57), 'result': '0.05322324101949038', 'result_long': None, 'result_double': None}] Qualite : 0.05322324101949038 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26674770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674770_09-09-2025_08_59_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26674770 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_P26674770_09-09-2025_08_59_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674790, 'pht': 3726}}" where mtr_portfolio_id = 26674770 and dashboard_run_id = 2266913 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`=26674770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964484, 0.05322324101949038, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26674770_09-09-2025_08_59_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26674779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26674780, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26674781, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26674782, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26674783, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26674784, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26674785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26674786, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26674787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26674788, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26674789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26674790, '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 = 26678188 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': 3683364, 'mtr_portfolio_id': 26678188, 'created_at': datetime.datetime(2025, 9, 9, 10, 18, 58), 'result': '0.025788329520295653', 'result_long': None, 'result_double': None}] Qualite : 0.025788329520295653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26678188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26678188_09-09-2025_10_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26678188 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_P26678188_09-09-2025_10_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678201, 'pht': 3726}}" where mtr_portfolio_id = 26678188 and dashboard_run_id = 2266913 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`=26678188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964485, 0.025788329520295653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26678188_09-09-2025_10_18_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678190, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678191, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678193, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678198, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678200, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678201, '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 = 26678700 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': 3683410, 'mtr_portfolio_id': 26678700, 'created_at': datetime.datetime(2025, 9, 9, 10, 32, 57), 'result': '0.06138995695646494', 'result_long': None, 'result_double': None}] Qualite : 0.06138995695646494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26678700 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26678700_09-09-2025_10_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26678700 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_P26678700_09-09-2025_10_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678718, 'pht': 3726}}" where mtr_portfolio_id = 26678700 and dashboard_run_id = 2266913 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`=26678700 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964486, 0.06138995695646494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26678700_09-09-2025_10_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26678707, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26678708, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26678709, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26678710, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26678711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26678712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26678713, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26678714, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26678715, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26678716, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26678717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26678718, '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 = 26679249 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': 3683494, 'mtr_portfolio_id': 26679249, 'created_at': datetime.datetime(2025, 9, 9, 10, 48, 58), 'result': '0.02889670551077109', 'result_long': None, 'result_double': None}] Qualite : 0.02889670551077109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26679249 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26679249_09-09-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26679249 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_P26679249_09-09-2025_10_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679266, 'pht': 3726}}" where mtr_portfolio_id = 26679249 and dashboard_run_id = 2266913 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`=26679249 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964487, 0.02889670551077109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26679249_09-09-2025_10_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679258, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679260, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679265, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679266, '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 = 26679775 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': 3683577, 'mtr_portfolio_id': 26679775, 'created_at': datetime.datetime(2025, 9, 9, 11, 2, 59), 'result': '0.022492366342729685', 'result_long': None, 'result_double': None}] Qualite : 0.022492366342729685 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26679775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26679775_09-09-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26679775 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_P26679775_09-09-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679795, 'pht': 3726}}" where mtr_portfolio_id = 26679775 and dashboard_run_id = 2266913 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`=26679775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964488, 0.022492366342729685, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26679775_09-09-2025_11_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26679784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26679785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26679786, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26679787, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26679788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26679789, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26679790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26679791, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26679792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26679793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26679794, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26679795, '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 = 26680309 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': 3683672, 'mtr_portfolio_id': 26680309, 'created_at': datetime.datetime(2025, 9, 9, 11, 18, 58), 'result': '0.03175616611629535', 'result_long': None, 'result_double': None}] Qualite : 0.03175616611629535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26680309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680309_09-09-2025_11_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26680309 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_P26680309_09-09-2025_11_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26680328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26680329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26680330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26680331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26680332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26680333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26680334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26680335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26680336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26680337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26680338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26680339, 'pht': 3726}}" where mtr_portfolio_id = 26680309 and dashboard_run_id = 2266913 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`=26680309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964489, 0.03175616611629535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26680309_09-09-2025_11_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26680328, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26680329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26680330, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26680331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26680332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26680333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26680334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26680335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26680336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26680337, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26680338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26680339, '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 = 26681052 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': 3683773, 'mtr_portfolio_id': 26681052, 'created_at': datetime.datetime(2025, 9, 9, 11, 32, 57), 'result': '0.04065304722993697', 'result_long': None, 'result_double': None}] Qualite : 0.04065304722993697 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26681052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26681052_09-09-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26681052 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_P26681052_09-09-2025_11_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26681076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681077, 'pht': 3726}}" where mtr_portfolio_id = 26681052 and dashboard_run_id = 2266913 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`=26681052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964490, 0.04065304722993697, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26681052_09-09-2025_11_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681067, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681068, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681073, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26681076, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681077, '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 = 26681532 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': 3683862, 'mtr_portfolio_id': 26681532, 'created_at': datetime.datetime(2025, 9, 9, 11, 48, 57), 'result': '0.04552230045232157', 'result_long': None, 'result_double': None}] Qualite : 0.04552230045232157 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26681532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26681532_09-09-2025_11_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26681532 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_P26681532_09-09-2025_11_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26681550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681561, 'pht': 3726}}" where mtr_portfolio_id = 26681532 and dashboard_run_id = 2266913 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`=26681532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964491, 0.04552230045232157, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26681532_09-09-2025_11_48_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26681550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26681551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26681552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26681553, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26681554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26681555, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26681556, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26681557, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26681558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26681559, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26681560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26681561, '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 = 26682215 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': 3683946, 'mtr_portfolio_id': 26682215, 'created_at': datetime.datetime(2025, 9, 9, 12, 2, 57), 'result': '0.045279369160612475', 'result_long': None, 'result_double': None}] Qualite : 0.045279369160612475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26682215 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26682215_09-09-2025_12_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26682215 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_P26682215_09-09-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682240, 'pht': 3726}}" where mtr_portfolio_id = 26682215 and dashboard_run_id = 2266913 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`=26682215 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964492, 0.045279369160612475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26682215_09-09-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682230, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682233, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682234, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682236, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682239, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682240, '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 = 26682684 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': 3684038, 'mtr_portfolio_id': 26682684, 'created_at': datetime.datetime(2025, 9, 9, 12, 18, 30), 'result': '0.05445635696233005', 'result_long': None, 'result_double': None}] Qualite : 0.05445635696233005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26682684 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26682684_09-09-2025_12_18_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26682684 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_P26682684_09-09-2025_12_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682756, 'pht': 3726}}" where mtr_portfolio_id = 26682684 and dashboard_run_id = 2266913 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`=26682684 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964493, 0.05445635696233005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26682684_09-09-2025_12_18_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26682745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26682746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26682747, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26682748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26682749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26682750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26682751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26682752, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26682753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26682754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26682755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26682756, '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 = 26683262 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': 3684101, 'mtr_portfolio_id': 26683262, 'created_at': datetime.datetime(2025, 9, 9, 14, 0, 58), 'result': '0.07218838003902625', 'result_long': None, 'result_double': None}] Qualite : 0.07218838003902625 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26683262 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26683262_09-09-2025_14_00_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26683262 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_P26683262_09-09-2025_14_00_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26683280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26683281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26683282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26683283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26683284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26683285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26683286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26683288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26683289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26683290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26683291, 'pht': 3726}}" where mtr_portfolio_id = 26683262 and dashboard_run_id = 2266913 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`=26683262 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964494, 0.07218838003902625, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26683262_09-09-2025_14_00_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26683280, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26683281, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26683282, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26683283, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26683284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26683285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26683286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26683287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26683288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26683289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26683290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26683291, '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 = 26684809 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': 3684353, 'mtr_portfolio_id': 26684809, 'created_at': datetime.datetime(2025, 9, 9, 13, 48, 58), 'result': '0.03320604514766383', 'result_long': None, 'result_double': None}] Qualite : 0.03320604514766383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26684809 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26684809_09-09-2025_13_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26684809 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_P26684809_09-09-2025_13_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26684810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26684811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26684812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26684813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26684814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26684815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26684816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26684817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26684818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26684819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26684820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26684821, 'pht': 3726}}" where mtr_portfolio_id = 26684809 and dashboard_run_id = 2266913 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`=26684809 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964495, 0.03320604514766383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26684809_09-09-2025_13_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26684810, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26684811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26684812, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26684813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26684814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26684815, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26684816, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26684817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26684818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26684819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26684820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26684821, '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 = 26685159 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': 3684388, 'mtr_portfolio_id': 26685159, 'created_at': datetime.datetime(2025, 9, 9, 14, 3), 'result': '0.03139665871665343', 'result_long': None, 'result_double': None}] Qualite : 0.03139665871665343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26685159 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26685159_09-09-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26685159 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_P26685159_09-09-2025_14_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685175, 'pht': 3726}}" where mtr_portfolio_id = 26685159 and dashboard_run_id = 2266913 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`=26685159 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964496, 0.03139665871665343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26685159_09-09-2025_14_03_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685165, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685167, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685172, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685173, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685174, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685175, '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 = 26685486 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': 3684442, 'mtr_portfolio_id': 26685486, 'created_at': datetime.datetime(2025, 9, 9, 14, 18, 59), 'result': '0.0395835266092014', 'result_long': None, 'result_double': None}] Qualite : 0.0395835266092014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26685486 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26685486_09-09-2025_14_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26685486 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_P26685486_09-09-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685505, 'pht': 3726}}" where mtr_portfolio_id = 26685486 and dashboard_run_id = 2266913 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`=26685486 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964497, 0.0395835266092014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26685486_09-09-2025_14_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26685494, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26685495, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26685496, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26685497, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26685498, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26685499, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26685500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26685501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26685502, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26685503, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26685504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26685505, '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 = 26686010 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': 3684502, 'mtr_portfolio_id': 26686010, 'created_at': datetime.datetime(2025, 9, 9, 14, 32, 59), 'result': '0.037577143146675714', 'result_long': None, 'result_double': None}] Qualite : 0.037577143146675714 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26686010 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686010_09-09-2025_14_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26686010 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_P26686010_09-09-2025_14_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686028, 'pht': 3726}}" where mtr_portfolio_id = 26686010 and dashboard_run_id = 2266913 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`=26686010 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964498, 0.037577143146675714, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686010_09-09-2025_14_32_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686021, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686026, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686027, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686028, '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 = 26686405 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': 3684562, 'mtr_portfolio_id': 26686405, 'created_at': datetime.datetime(2025, 9, 9, 14, 48, 58), 'result': '0.036924898408126974', 'result_long': None, 'result_double': None}] Qualite : 0.036924898408126974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26686405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686405_09-09-2025_14_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26686405 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_P26686405_09-09-2025_14_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686422, 'pht': 3726}}" where mtr_portfolio_id = 26686405 and dashboard_run_id = 2266913 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`=26686405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964499, 0.036924898408126974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686405_09-09-2025_14_48_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686411, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686413, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686416, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686418, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686419, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686421, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686422, '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 = 26686864 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': 3684620, 'mtr_portfolio_id': 26686864, 'created_at': datetime.datetime(2025, 9, 9, 15, 2, 57), 'result': '0.03268577124513389', 'result_long': None, 'result_double': None}] Qualite : 0.03268577124513389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26686864 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686864_09-09-2025_15_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26686864 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_P26686864_09-09-2025_15_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686881, 'pht': 3726}}" where mtr_portfolio_id = 26686864 and dashboard_run_id = 2266913 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`=26686864 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964500, 0.03268577124513389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26686864_09-09-2025_15_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26686870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26686871, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26686872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26686873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26686874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26686875, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26686876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26686877, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26686878, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26686879, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26686880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26686881, '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 = 26687278 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': 3684683, 'mtr_portfolio_id': 26687278, 'created_at': datetime.datetime(2025, 9, 9, 15, 20, 31), 'result': '0.08976896353271258', 'result_long': None, 'result_double': None}] Qualite : 0.08976896353271258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26687278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26687278_09-09-2025_15_20_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26687278 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_P26687278_09-09-2025_15_20_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687296, 'pht': 3726}}" where mtr_portfolio_id = 26687278 and dashboard_run_id = 2266913 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`=26687278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964501, 0.08976896353271258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26687278_09-09-2025_15_20_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687285, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687287, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687292, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687293, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687294, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687295, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687296, '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 = 26687736 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': 3684768, 'mtr_portfolio_id': 26687736, 'created_at': datetime.datetime(2025, 9, 9, 15, 33, 2), 'result': '0.05053483726011613', 'result_long': None, 'result_double': None}] Qualite : 0.05053483726011613 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26687736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26687736_09-09-2025_15_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26687736 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_P26687736_09-09-2025_15_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687758, 'pht': 3726}}" where mtr_portfolio_id = 26687736 and dashboard_run_id = 2266913 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`=26687736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964502, 0.05053483726011613, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26687736_09-09-2025_15_33_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26687747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26687748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26687749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26687750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26687751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26687752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26687753, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26687754, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26687755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26687756, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26687757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26687758, '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 = 26688236 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': 3684865, 'mtr_portfolio_id': 26688236, 'created_at': datetime.datetime(2025, 9, 9, 15, 51, 35), 'result': '0.052830028821233214', 'result_long': None, 'result_double': None}] Qualite : 0.052830028821233214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26688236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26688236_09-09-2025_15_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26688236 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_P26688236_09-09-2025_15_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688268, 'pht': 3726}}" where mtr_portfolio_id = 26688236 and dashboard_run_id = 2266913 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`=26688236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964503, 0.052830028821233214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26688236_09-09-2025_15_51_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688258, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688263, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688264, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688265, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688266, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688268, '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 = 26688635 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': 3684914, 'mtr_portfolio_id': 26688635, 'created_at': datetime.datetime(2025, 9, 9, 16, 3, 33), 'result': '0.08049922298721926', 'result_long': None, 'result_double': None}] Qualite : 0.08049922298721926 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26688635 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26688635_09-09-2025_16_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26688635 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_P26688635_09-09-2025_16_03_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688648, 'pht': 3726}}" where mtr_portfolio_id = 26688635 and dashboard_run_id = 2266913 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`=26688635 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964504, 0.08049922298721926, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26688635_09-09-2025_16_03_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26688637, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26688638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26688639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26688640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26688641, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26688642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26688643, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26688644, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26688645, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26688646, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26688647, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26688648, '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 = 26689024 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': 3684978, 'mtr_portfolio_id': 26689024, 'created_at': datetime.datetime(2025, 9, 9, 16, 21, 2), 'result': '0.02314060770729154', 'result_long': None, 'result_double': None}] Qualite : 0.02314060770729154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26689024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689024_09-09-2025_16_21_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26689024 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_P26689024_09-09-2025_16_21_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689039, 'pht': 3726}}" where mtr_portfolio_id = 26689024 and dashboard_run_id = 2266913 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`=26689024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964505, 0.02314060770729154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689024_09-09-2025_16_21_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689035, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689039, '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 = 26689540 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': 3685051, 'mtr_portfolio_id': 26689540, 'created_at': datetime.datetime(2025, 9, 9, 16, 33, 5), 'result': '0.04430583863608896', 'result_long': None, 'result_double': None}] Qualite : 0.04430583863608896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26689540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689540_09-09-2025_16_33_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26689540 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_P26689540_09-09-2025_16_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689553, 'pht': 3726}}" where mtr_portfolio_id = 26689540 and dashboard_run_id = 2266913 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`=26689540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964506, 0.04430583863608896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689540_09-09-2025_16_33_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 26689542, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689546, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689551, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689553, '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 = 26689736 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': 3685084, 'mtr_portfolio_id': 26689736, 'created_at': datetime.datetime(2025, 9, 9, 16, 49, 29), 'result': '0.04753645045684734', 'result_long': None, 'result_double': None}] Qualite : 0.04753645045684734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26689736 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689736_09-09-2025_16_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26689736 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_P26689736_09-09-2025_16_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26689772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689780, 'pht': 3726}}" where mtr_portfolio_id = 26689736 and dashboard_run_id = 2266913 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`=26689736 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964507, 0.04753645045684734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26689736_09-09-2025_16_49_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26689769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26689770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26689771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26689772, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26689773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26689774, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26689775, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26689776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26689777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26689778, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26689779, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26689780, '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 = 26690244 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': 3685155, 'mtr_portfolio_id': 26690244, 'created_at': datetime.datetime(2025, 9, 9, 17, 3, 36), 'result': '0.048734642124917085', 'result_long': None, 'result_double': None}] Qualite : 0.048734642124917085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26690244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26690244_09-09-2025_17_03_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26690244 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_P26690244_09-09-2025_17_03_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690259, 'pht': 3726}}" where mtr_portfolio_id = 26690244 and dashboard_run_id = 2266913 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`=26690244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964508, 0.048734642124917085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26690244_09-09-2025_17_03_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690249, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690250, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690251, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690256, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690257, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690259, '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 = 26690627 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': 3685235, 'mtr_portfolio_id': 26690627, 'created_at': datetime.datetime(2025, 9, 9, 17, 19, 29), 'result': '0.054621781587457174', 'result_long': None, 'result_double': None}] Qualite : 0.054621781587457174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26690627 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26690627_09-09-2025_17_19_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26690627 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_P26690627_09-09-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690642, 'pht': 3726}}" where mtr_portfolio_id = 26690627 and dashboard_run_id = 2266913 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`=26690627 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964510, 0.054621781587457174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26690627_09-09-2025_17_19_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26690631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26690632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26690633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26690634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26690635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26690636, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26690637, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26690638, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26690639, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26690640, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26690641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26690642, '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 = 26691103 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': 3685312, 'mtr_portfolio_id': 26691103, 'created_at': datetime.datetime(2025, 9, 9, 17, 53, 1), 'result': '0.04431004701341715', 'result_long': None, 'result_double': None}] Qualite : 0.04431004701341715 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26691103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26691103_09-09-2025_17_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26691103 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_P26691103_09-09-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26691104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26691105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26691107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26691108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26691110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26691111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26691113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26691115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26691116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26691118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26691120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26691121, 'pht': 3726}}" where mtr_portfolio_id = 26691103 and dashboard_run_id = 2266913 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`=26691103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964511, 0.04431004701341715, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26691103_09-09-2025_17_53_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26691104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26691105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26691107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26691108, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26691110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26691111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26691113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26691115, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26691116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26691118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26691120, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26691121, '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 = 26692001 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': 3685471, 'mtr_portfolio_id': 26692001, 'created_at': datetime.datetime(2025, 9, 9, 18, 19, 3), 'result': '0.03989588831380069', 'result_long': None, 'result_double': None}] Qualite : 0.03989588831380069 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26692001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26692001_09-09-2025_18_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26692001 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_P26692001_09-09-2025_18_19_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26692004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692015, 'pht': 3726}}" where mtr_portfolio_id = 26692001 and dashboard_run_id = 2266913 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`=26692001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964512, 0.03989588831380069, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26692001_09-09-2025_18_19_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26692004, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692006, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692009, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692010, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692012, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692013, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692015, '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 = 26692562 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': 3685513, 'mtr_portfolio_id': 26692562, 'created_at': datetime.datetime(2025, 9, 9, 18, 33, 3), 'result': '0.04486347403857612', 'result_long': None, 'result_double': None}] Qualite : 0.04486347403857612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26692562 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26692562_09-09-2025_18_33_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26692562 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_P26692562_09-09-2025_18_33_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26692570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692576, 'pht': 3726}}" where mtr_portfolio_id = 26692562 and dashboard_run_id = 2266913 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`=26692562 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964513, 0.04486347403857612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26692562_09-09-2025_18_33_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26692565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26692566, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26692567, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26692568, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26692569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26692570, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26692571, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26692572, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26692573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26692574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26692575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26692576, '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 = 26693122 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': 3685558, 'mtr_portfolio_id': 26693122, 'created_at': datetime.datetime(2025, 9, 9, 18, 51), 'result': '0.04640352287707937', 'result_long': None, 'result_double': None}] Qualite : 0.04640352287707937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26693122 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26693122_09-09-2025_18_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26693122 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_P26693122_09-09-2025_18_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693174, 'pht': 3726}}" where mtr_portfolio_id = 26693122 and dashboard_run_id = 2266913 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`=26693122 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964514, 0.04640352287707937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26693122_09-09-2025_18_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693169, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693170, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693171, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693172, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693174, '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 = 26693658 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': 3685613, 'mtr_portfolio_id': 26693658, 'created_at': datetime.datetime(2025, 9, 9, 19, 11), 'result': '0.050297145613780604', 'result_long': None, 'result_double': None}] Qualite : 0.050297145613780604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26693658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26693658_09-09-2025_19_11_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26693658 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_P26693658_09-09-2025_19_11_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693677, 'pht': 3726}}" where mtr_portfolio_id = 26693658 and dashboard_run_id = 2266913 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`=26693658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964515, 0.050297145613780604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26693658_09-09-2025_19_11_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26693665, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26693666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26693667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26693668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26693669, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26693670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26693671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26693672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26693673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26693674, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26693675, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26693677, '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 = 26694004 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': 3685684, 'mtr_portfolio_id': 26694004, 'created_at': datetime.datetime(2025, 9, 9, 19, 45, 3), 'result': '0.05744601206508723', 'result_long': None, 'result_double': None}] Qualite : 0.05744601206508723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26694004 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694004_09-09-2025_19_45_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26694004 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_P26694004_09-09-2025_19_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694026, 'pht': 3726}}" where mtr_portfolio_id = 26694004 and dashboard_run_id = 2266913 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`=26694004 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964516, 0.05744601206508723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694004_09-09-2025_19_45_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694015, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694019, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694020, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694022, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694023, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694026, '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 = 26694568 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': 3685763, 'mtr_portfolio_id': 26694568, 'created_at': datetime.datetime(2025, 9, 9, 19, 43, 1), 'result': '0.0324728289756867', 'result_long': None, 'result_double': None}] Qualite : 0.0324728289756867 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26694568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694568_09-09-2025_19_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26694568 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_P26694568_09-09-2025_19_43_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694588, 'pht': 3726}}" where mtr_portfolio_id = 26694568 and dashboard_run_id = 2266913 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`=26694568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964517, 0.0324728289756867, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694568_09-09-2025_19_43_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694579, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694583, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694584, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694585, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694587, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694588, '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 = 26694951 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': 3685844, 'mtr_portfolio_id': 26694951, 'created_at': datetime.datetime(2025, 9, 9, 19, 49, 31), 'result': '0.038220847071148', 'result_long': None, 'result_double': None}] Qualite : 0.038220847071148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26694951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694951_09-09-2025_19_49_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26694951 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_P26694951_09-09-2025_19_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694987, 'pht': 3726}}" where mtr_portfolio_id = 26694951 and dashboard_run_id = 2266913 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`=26694951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964519, 0.038220847071148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26694951_09-09-2025_19_49_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26694976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26694977, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26694978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26694979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26694980, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26694981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26694982, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26694983, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26694984, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26694985, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26694986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26694987, '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 = 26695382 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': 3685923, 'mtr_portfolio_id': 26695382, 'created_at': datetime.datetime(2025, 9, 9, 20, 4, 30), 'result': '0.03915423280592475', 'result_long': None, 'result_double': None}] Qualite : 0.03915423280592475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26695382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26695382_09-09-2025_20_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26695382 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_P26695382_09-09-2025_20_04_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695398, 'pht': 3726}}" where mtr_portfolio_id = 26695382 and dashboard_run_id = 2266913 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`=26695382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964520, 0.03915423280592475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26695382_09-09-2025_20_04_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695388, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695389, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695390, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695393, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695395, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695396, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695397, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695398, '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 = 26695824 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': 3686014, 'mtr_portfolio_id': 26695824, 'created_at': datetime.datetime(2025, 9, 9, 20, 19, 3), 'result': '0.05896243958454372', 'result_long': None, 'result_double': None}] Qualite : 0.05896243958454372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26695824 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26695824_09-09-2025_20_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26695824 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_P26695824_09-09-2025_20_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695853, 'pht': 3726}}" where mtr_portfolio_id = 26695824 and dashboard_run_id = 2266913 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`=26695824 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964521, 0.05896243958454372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26695824_09-09-2025_20_19_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26695841, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26695843, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26695844, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26695845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26695846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26695847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26695848, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26695849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26695850, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26695851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26695852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26695853, '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 = 26696415 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': 3686086, 'mtr_portfolio_id': 26696415, 'created_at': datetime.datetime(2025, 9, 9, 20, 33, 1), 'result': '0.04564360776324541', 'result_long': None, 'result_double': None}] Qualite : 0.04564360776324541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26696415 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26696415_09-09-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26696415 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_P26696415_09-09-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696434, 'pht': 3726}}" where mtr_portfolio_id = 26696415 and dashboard_run_id = 2266913 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`=26696415 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964522, 0.04564360776324541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26696415_09-09-2025_20_33_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696423, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696426, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696427, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696431, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696432, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696434, '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 = 26696906 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': 3686153, 'mtr_portfolio_id': 26696906, 'created_at': datetime.datetime(2025, 9, 9, 21, 3, 4), 'result': '0.058662203341910885', 'result_long': None, 'result_double': None}] Qualite : 0.058662203341910885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26696906 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26696906_09-09-2025_21_03_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26696906 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_P26696906_09-09-2025_21_03_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696927, 'pht': 3726}}" where mtr_portfolio_id = 26696906 and dashboard_run_id = 2266913 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`=26696906 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964523, 0.058662203341910885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26696906_09-09-2025_21_03_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26696915, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26696916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26696917, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26696918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26696919, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26696920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26696921, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26696922, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26696923, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26696924, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26696925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26696927, '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 = 26697537 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': 3686256, 'mtr_portfolio_id': 26697537, 'created_at': datetime.datetime(2025, 9, 9, 21, 21, 1), 'result': '0.03657481457618079', 'result_long': None, 'result_double': None}] Qualite : 0.03657481457618079 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26697537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26697537_09-09-2025_21_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26697537 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_P26697537_09-09-2025_21_21_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26697540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26697541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26697542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26697543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26697544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26697545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26697546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26697547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26697548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26697549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26697550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26697551, 'pht': 3726}}" where mtr_portfolio_id = 26697537 and dashboard_run_id = 2266913 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`=26697537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964524, 0.03657481457618079, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26697537_09-09-2025_21_21_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26697540, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26697541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26697542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26697543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26697544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26697545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26697546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26697547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26697548, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26697549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26697550, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26697551, '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 = 26698004 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': 3686307, 'mtr_portfolio_id': 26698004, 'created_at': datetime.datetime(2025, 9, 9, 21, 29), 'result': '0.049795524998659815', 'result_long': None, 'result_double': None}] Qualite : 0.049795524998659815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26698004 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26698004_09-09-2025_21_29_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26698004 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_P26698004_09-09-2025_21_29_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26698010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26698011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26698012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26698013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26698014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26698015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26698016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26698017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26698018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26698019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26698020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26698022, 'pht': 3726}}" where mtr_portfolio_id = 26698004 and dashboard_run_id = 2266911 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`=26698004 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (14964525, 0.049795524998659815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26698004_09-09-2025_21_29_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26698010, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26698011, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26698012, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26698013, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26698014, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26698015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26698016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26698017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26698018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26698019, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26698020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26698022, '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 (26665951,26666470,26666997,26667314,26668399,26668763,26669124,26669820,26670286,26670744,26671134,26671697,26672133,26672645,26673061,26674196,26674397,26674770,26678188,26678700,26679249,26679775,26680309,26681052,26681532,26682215,26682684,26683262,26684809,26685159,26685486,26686010,26686405,26686864,26687278,26687736,26688236,26688635,26689024,26689540,26689736,26690244,26690627,26691103,26692001,26692562,26693122,26693658,26694004,26694568,26694951,26695382,26695824,26696415,26696906,26697537,26698004) result : ((1382694087,), (1382694183,), (1382694245,), (1382694319,), (1382694895,), (1382694983,), (1382695070,), (1382695164,), (1382695818,), (1382695895,), (1382695984,), (1382696065,), (1382696130,), (1382696190,), (1382696400,), (1382696407,), (1382696438,), (1382696470,), (1382696837,), (1382696868,), (1382696928,), (1382696966,), (1382696999,), (1382697040,), (1382697100,), (1382697146,), (1382697174,), (1382697194,), (1382697215,), (1382697218,), (1382697224,), (1382697271,), (1382697272,), (1382697291,), (1382697326,), (1382697385,), (1382697470,), (1382697558,), (1382697652,), (1382698439,), (1382698441,), (1382698443,), (1382698446,), (1382698451,), (1382698455,), (1382698698,), (1382698753,), (1382698793,), (1382698825,), (1382698855,), (1382698894,), (1382698911,), (1382698928,), (1382698938,), (1382698948,), (1382698964,), (1382699012,), (1382699014,), (1382699017,), (1382699021,), (1382699030,), (1382699038,), (1382699054,), (1382699056,), (1382699058,), (1382699060,), (1382699061,), (1382699073,), (1382699077,), (1382699081,), (1382699083,), (1382699089,), (1382699095,), (1382699099,), (1382699104,), (1382699110,), (1382699281,), (1382699199,), (1382699230,), (1382699263,), (1382699321,), (1382699322,), (1382699324,), (1382699328,), (1382699395,), (1382699396,), (1382699398,), (1382699403,), (1382699429,), (1382699433,), (1382699438,), (1382699441,), (1382699466,), (1382699467,), (1382699468,), (1382699473,), (1382699477,), (1382699484,), (1382699612,), (1382699647,), (1382699675,), (1382699722,), (1382700012,), (1382700045,), (1382700074,), (1382700103,), (1382700433,), (1382700465,), (1382700502,), (1382700533,), (1382700741,), (1382700750,), (1382700754,), (1382700756,), (1382700958,), (1382700969,), (1382700971,), (1382700974,), (1382700978,), (1382700981,), (1382701248,), (1382701333,), (1382701237,), (1382701240,), (1382701241,), (1382701244,), (1382701310,), (1382701311,), (1382701313,), (1382701318,), (1382701321,), (1382701324,), (1382701330,), (1382701341,), (1382701347,), (1382701362,), (1382701364,), (1382701366,), (1382701369,), (1382701375,), (1382701408,), (1382701411,), (1382701412,), (1382701416,), (1382701419,), (1382701439,), (1382701441,), (1382701449,), (1382701453,), (1382701463,), (1382701520,), (1382701522,), (1382701525,), (1382701530,), (1382701549,), (1382701552,), (1382701555,), (1382701589,), (1382701591,), (1382701592,), (1382701595,), (1382701616,), (1382701617,), (1382701619,), (1382701623,), (1382701626,), (1382701631,), (1382701641,), (1382701642,), (1382701643,), (1382701645,), (1382701651,), (1382701663,), (1382701668,), (1382701673,), (1382701677,), (1382701680,), (1382701685,), (1382701689,), (1382701690,), (1382701692,), (1382701694,), (1382701696,), (1382701707,), (1382701710,), (1382701714,), (1382701716,), (1382701718,), (1382701720,), (1382701734,), (1382701741,), (1382701744,), (1382701747,), (1382701749,), (1382701751,), (1382701762,), (1382701769,), (1382701773,), (1382701777,), (1382701784,), (1382701755,), (1382701758,), (1382701791,), (1382701794,), (1382701798,), (1382701802,), (1382701805,), (1382701808,), (1382701828,), (1382701830,), (1382701832,), (1382701835,), (1382701841,), (1382701854,), (1382701856,), (1382701908,), (1382701922,), (1382701925,), (1382701929,), (1382701933,), (1382701960,), (1382701962,), (1382701966,), (1382701971,), (1382701975,), (1382702002,), (1382702004,), (1382702005,), (1382702007,), (1382702013,), (1382702035,), (1382702062,), (1382702067,), (1382702072,), (1382702076,), (1382702080,), (1382702087,), (1382702090,), (1382702092,), (1382702097,), (1382702101,), (1382702115,), (1382702119,), (1382702123,), (1382702126,), (1382702156,), (1382702160,), (1382702162,), (1382702165,), (1382702185,), (1382702187,), (1382702189,), (1382702192,), (1382702195,), (1382702218,), (1382702219,), (1382702230,), (1382702237,), (1382702241,), (1382702246,), (1382706399,), (1382706429,), (1382706431,), (1382706513,), (1382706515,), (1382706516,), (1382706519,), (1382706522,), (1382706544,), (1382706545,), (1382706548,), (1382706552,), (1382706575,), (1382706580,), (1382706585,), (1382706589,), (1382706595,), (1382706609,), (1382706615,), (1382706619,), (1382706636,), (1382706637,), (1382706638,), (1382706640,), (1382706645,), (1382706672,), (1382706674,), (1382706676,), (1382706680,), (1382706685,), (1382706700,), (1382706703,), (1382706706,), (1382706708,), (1382706735,), (1382706765,), (1382706769,), (1382706774,), (1382706805,), (1382706808,), (1382706810,), (1382706813,), (1382706872,), (1382706874,), (1382706876,), (1382706880,), (1382706885,), (1382706914,), (1382706915,), (1382706917,), (1382706920,), (1382706923,), (1382706940,), (1382706941,), (1382706943,), (1382706946,), (1382706980,), (1382706963,), (1382706965,), (1382706968,), (1382706971,), (1382706976,), (1382706990,), (1382706992,), (1382706995,), (1382706999,), (1382707003,), (1382707006,), (1382707022,), (1382707028,), (1382707029,), (1382707109,), (1382707112,), (1382707116,), (1382707120,), (1382707124,), (1382707146,), (1382707147,), (1382707148,), (1382707150,), (1382707155,), (1382707174,), (1382707397,), (1382707425,), (1382707452,), (1382707483,), (1382707513,), (1382707747,), (1382707773,), (1382707885,), (1382707887,), (1382707888,), (1382708041,), (1382708071,), (1382708103,), (1382708139,), (1382708321,), (1382708324,), (1382708327,), (1382708343,), (1382708345,), (1382708348,), (1382708372,), (1382708375,), (1382708378,), (1382708389,), (1382708419,), (1382708421,), (1382708423,), (1382708745,), (1382708775,), (1382708807,), (1382708837,), (1382708869,), (1382709572,), (1382709404,), (1382709461,), (1382709516,), (1382709816,), (1382709853,), (1382709878,), (1382710151,), (1382710173,), (1382710205,), (1382710216,), (1382710238,), (1382710240,), (1382710248,), (1382710250,), (1382710251,), (1382710254,), (1382710257,), (1382710261,), (1382710266,), (1382710391,), (1382710422,), (1382710454,), (1382710493,), (1382710527,), (1382710561,), (1382710684,), (1382710715,), (1382711170,), (1382711231,), (1382711643,), (1382711682,), (1382711742,), (1382711773,), (1382712106,), (1382712136,), (1382712141,), (1382712162,), (1382712216,), (1382712277,), (1382712279,), (1382712282,), (1382712286,), (1382712317,), (1382712333,), (1382712337,), (1382712342,), (1382712347,), (1382712352,), (1382712568,), (1382712599,), (1382712630,), (1382712663,), (1382712694,), (1382712729,), (1382712836,), (1382712861,), (1382712863,), (1382712865,), (1382712931,), (1382712965,), (1382712974,), (1382712986,), (1382713010,), (1382713049,), (1382713052,), (1382713058,), (1382713062,), (1382713064,), (1382713066,), (1382713103,), (1382713269,), (1382713304,), (1382713423,), (1382713077,), (1382713087,), (1382713094,), (1382713099,), (1382713102,), (1382713125,), (1382713159,), (1382713190,), (1382713231,), (1382713511,), (1382713541,), (1382713571,), (1382713878,), (1382713908,), (1382713938,), (1382713942,), (1382713946,), (1382713975,), (1382713977,), (1382713979,), (1382713982,), (1382713990,), (1382714291,), (1382714323,), (1382714353,), (1382714477,), (1382714478,), (1382714479,), (1382714481,), (1382714500,), (1382714501,), (1382714505,), (1382714510,), (1382714514,), (1382714517,), (1382714522,), (1382714532,), (1382714544,), (1382714549,), (1382714559,), (1382714561,), (1382714563,), (1382714566,), (1382714570,), (1382714598,), (1382714600,), (1382714602,), (1382714605,), (1382714632,), (1382714634,), (1382714637,), (1382714641,), (1382714673,), (1382714676,), (1382714679,), (1382714683,), (1382714686,), (1382714704,), (1382714707,), (1382714710,), (1382714744,), (1382714745,), (1382714746,), (1382714749,), (1382714804,), (1382714802,), (1382714803,), (1382714827,), (1382714830,), (1382714886,), (1382714887,), (1382714888,), (1382714892,), (1382714896,), (1382714924,), (1382714926,), (1382714928,), (1382714931,), (1382714935,), (1382714941,), (1382714965,), (1382714970,), (1382714975,), (1382714981,), (1382714985,), (1382714989,), (1382715003,), (1382715006,), (1382715007,), (1382715008,), (1382715013,), (1382715017,), (1382715027,), (1382715030,), (1382715034,), (1382715037,), (1382715047,), (1382715060,), (1382715074,), (1382715112,), (1382715115,), (1382715117,), (1382715120,), (1382715142,), (1382715144,), (1382715147,), (1382715150,), (1382715190,), (1382715192,), (1382715215,), (1382715218,), (1382715222,), (1382715228,), (1382715257,), (1382715263,), (1382715276,), (1382715299,), (1382715300,), (1382715301,), (1382715305,), (1382715333,), (1382715336,), (1382715338,), (1382715341,), (1382715346,), (1382715349,), (1382715363,), (1382715368,), (1382715373,), (1382715379,), (1382715383,), (1382715388,), (1382715393,), (1382715395,), (1382715414,), (1382715398,), (1382715401,), (1382715405,), (1382715408,), (1382715411,), (1382715449,), (1382715451,), (1382715453,), (1382715455,), (1382715459,), (1382715463,), (1382715485,), (1382715487,), (1382715488,), (1382715500,), (1382715513,), (1382715530,), (1382715533,), (1382715535,), (1382715567,), (1382715568,), (1382715569,), (1382715571,), (1382715591,), (1382715595,), (1382715600,), (1382715619,), (1382715620,), (1382715621,), (1382715633,), (1382715636,), (1382715639,), (1382715642,), (1382715649,), (1382715650,), (1382715659,), (1382715661,), (1382715663,), (1382715666,), (1382715681,), (1382715684,), (1382715689,), (1382715696,), (1382715702,), (1382715711,), (1382715713,), (1382715715,), (1382715728,), (1382715730,), (1382715742,), (1382715807,), (1382715810,), (1382715813,), (1382715815,), (1382716517,), (1382716576,), (1382716637,), (1382716691,), (1382716752,), (1382716895,), (1382716947,), (1382717004,), (1382717059,), (1382717386,), (1382718157,), (1382717203,), (1382717254,), (1382717293,), (1382717346,), (1382717714,), (1382717744,), (1382717775,), (1382717809,), (1382717841,), (1382717896,), (1382718081,), (1382718125,), (1382718295,), (1382718352,), (1382718631,), (1382718658,), (1382718687,), (1382718706,), (1382718707,), (1382718735,), (1382718769,), (1382718962,), (1382718993,), (1382719024,), (1382719081,), (1382719084,), (1382719087,), (1382719100,), (1382719105,), (1382719120,), (1382719154,), (1382719156,), (1382719160,), (1382719162,), (1382719164,), (1382719168,), (1382719186,), (1382719219,), (1382719225,), (1382719229,), (1382719233,), (1382719237,), (1382719245,), (1382719247,), (1382719251,), (1382719269,), (1382719272,), (1382719275,), (1382719279,), (1382719282,), (1382719292,), (1382719295,), (1382719300,), (1382719304,), (1382719313,), (1382719315,), (1382719318,), (1382719332,), (1382719335,), (1382719337,), (1382719339,), (1382719341,), (1382719353,), (1382719355,), (1382719358,), (1382719363,), (1382719366,), (1382719369,), (1382719385,), (1382719387,), (1382719389,), (1382719404,), (1382719405,), (1382719396,), (1382719397,), (1382719400,), (1382719401,), (1382719409,), (1382719410,), (1382719411,), (1382719460,), (1382719461,), (1382719462,), (1382719466,), (1382719470,), (1382719496,), (1382719499,), (1382719504,), (1382719509,), (1382719515,), (1382719520,), (1382719528,), (1382719531,), (1382719535,), (1382719552,), (1382719555,), (1382719560,), (1382719564,), (1382719568,), (1382719571,), (1382719590,), (1382719596,), (1382719604,), (1382719614,), (1382719616,), (1382719618,), (1382719680,), (1382719681,), (1382719683,), (1382719686,), (1382719692,), (1382719695,), (1382719698,), (1382719700,), (1382719706,), (1382719710,), (1382719714,), (1382719718,), (1382719722,), (1382719728,), (1382719732,), (1382719739,), (1382719741,), (1382719743,), (1382719745,), (1382719774,), (1382719779,), (1382719784,), (1382719788,), (1382719797,), (1382719812,), (1382719844,), (1382719846,), (1382719848,), (1382719854,), (1382719856,), (1382719858,), (1382719859,), (1382719860,), (1382719861,), (1382719870,), (1382719902,), (1382719904,), (1382719905,), (1382719909,), (1382719912,), (1382719936,), (1382719929,), (1382719930,), (1382719932,), (1382719934,), (1382719955,), (1382719958,), (1382719960,), (1382719963,), (1382719966,), (1382719977,), (1382719983,), (1382719987,), (1382719990,), (1382719993,), (1382720000,), (1382720007,), (1382720009,), (1382720013,), (1382720016,), (1382720019,), (1382720021,), (1382720033,), (1382720039,), (1382720043,), (1382720047,), (1382720055,), (1382720060,), (1382720063,), (1382720070,), (1382720077,), (1382720087,), (1382720090,), (1382720092,), (1382720093,), (1382720095,), (1382720097,), (1382720101,), (1382720108,), (1382720117,), (1382720174,), (1382720194,), (1382720196,), (1382720198,), (1382720200,), (1382720202,), (1382720207,), (1382720208,), (1382720210,), (1382720219,), (1382720240,), (1382720241,), (1382720242,), (1382720245,), (1382720248,), (1382720251,), (1382720267,), (1382720271,), (1382720322,), (1382720328,), (1382720330,), (1382720343,), (1382720385,), (1382720386,), (1382720389,), (1382720392,), (1382720397,), (1382720406,), (1382720412,), (1382720413,), (1382720414,), (1382720415,), (1382720418,), (1382720421,), (1382720429,), (1382720478,), (1382720464,), (1382720472,), (1382720475,), (1382720490,), (1382720494,), (1382720502,), (1382720507,), (1382720527,), (1382720554,), (1382720556,), (1382720559,), (1382720562,), (1382720564,), (1382720577,), (1382720579,), (1382720582,), (1382720611,), (1382720612,), (1382720613,), (1382720615,), (1382720620,), (1382720630,), (1382720632,), (1382720634,), (1382720638,), (1382720641,), (1382720645,), (1382720671,), (1382720687,), (1382720705,), (1382720719,), (1382720724,), (1382720728,), (1382720735,), (1382720739,), (1382720741,), (1382720753,), (1382720755,), (1382720758,), (1382720773,), (1382720777,), (1382720781,), (1382720803,), (1382720805,), (1382720809,), (1382720812,), (1382720816,), (1382720818,), (1382720830,), (1382720853,), (1382720882,), (1382720910,), (1382721214,), (1382721234,), (1382721263,), (1382721580,), (1382721604,), (1382721630,), (1382721655,), (1382721681,), (1382721706,), (1382721822,), (1382721851,), (1382721877,), (1382721902,), (1382721929,), (1382722069,), (1382722015,), (1382722043,), (1382722317,), (1382722344,), (1382722371,), (1382722396,), (1382722423,), (1382722787,), (1382722864,), (1382722914,), (1382722974,), (1382723027,), (1382723079,), (1382723162,), (1382723207,), (1382723267,), (1382723321,), (1382723449,), (1382723478,), (1382723505,), (1382723541,), (1382723569,), (1382723641,), (1382723642,), (1382723661,), (1382723664,), (1382723693,), (1382723695,), (1382723722,), (1382723723,), (1382723753,), (1382723756,), (1382723782,), (1382723785,), (1382723832,), (1382723864,), (1382723872,), (1382723902,), (1382723915,), (1382723919,), (1382723923,), (1382723924,), (1382723926,), (1382723930,), (1382723936,), (1382723947,), (1382723951,), (1382723969,), (1382727871,), (1382727904,), (1382727940,), (1382727941,), (1382727967,), (1382727970,), (1382727974,), (1382727995,), (1382728025,), (1382728028,), (1382728031,), (1382728035,), (1382728039,), (1382728057,), (1382728060,), (1382728063,), (1382728066,), (1382728070,), (1382728085,), (1382728088,), (1382728105,), (1382728107,), (1382728111,), (1382728137,), (1382728140,), (1382728142,), (1382728147,), (1382728151,), (1382728157,), (1382728159,), (1382728162,), (1382728166,), (1382728171,), (1382728174,), (1382728183,), (1382728179,), (1382728181,), (1382728200,), (1382728201,), (1382728203,), (1382728206,), (1382728209,), (1382728238,), (1382728244,), (1382728246,), (1382728251,), (1382728256,), (1382728260,), (1382728270,), (1382728274,), (1382728279,), (1382728284,), (1382728289,), (1382728294,), (1382728314,), (1382728317,), (1382728320,), (1382728338,), (1382728341,), (1382728342,), (1382728345,), (1382728347,), (1382728351,), (1382728371,), (1382728380,), (1382728382,), (1382728388,), (1382728393,), (1382728396,), (1382728409,), (1382728416,), (1382728420,), (1382728426,), (1382728478,), (1382728482,), (1382728487,), (1382728492,), (1382728496,), (1382728508,), (1382728510,), (1382728514,), (1382728516,), (1382728518,), (1382728520,), (1382728533,), (1382728543,), (1382728551,), (1382728555,), (1382728566,), (1382728569,), (1382728573,), (1382728578,), (1382728582,), (1382728586,), (1382728602,), (1382728606,), (1382728610,), (1382728614,), (1382728622,), (1382728626,), (1382728663,), (1382728666,), (1382728670,), (1382728674,), (1382728677,), (1382728699,), (1382728703,), (1382728708,), (1382728712,), (1382728717,), (1382728723,), (1382728759,), (1382728745,), (1382728751,), (1382728755,), (1382728779,), (1382728781,), (1382728783,), (1382728785,), (1382728788,), (1382728798,), (1382728801,), (1382728806,), (1382728809,), (1382728817,), (1382728822,), (1382728829,), (1382728836,), (1382728848,), (1382728852,), (1382728855,), (1382728870,), (1382728873,), (1382728916,), (1382728964,), (1382728967,), (1382729036,), (1382742279,), (1382747835,), (1382747925,), (1382748668,), (1382748729,), (1382748779,), (1382748811,), (1382749453,), (1382749539,), (1382749609,), (1382749675,), (1382749712,), (1382750004,), (1382750006,), (1382750009,), (1382750012,), (1382750031,), (1382750034,), (1382750038,), (1382750043,), (1382750060,), (1382750062,), (1382750065,), (1382750069,), (1382750074,), (1382750090,), (1382750092,), (1382750094,), (1382750097,), (1382750101,), (1382750106,), (1382750122,), (1382750124,), (1382750127,), (1382750131,), (1382750149,), (1382750151,), (1382750157,), (1382750163,), (1382750168,), (1382750186,), (1382750188,), (1382750191,), (1382750195,), (1382750198,), (1382750216,), (1382750221,), (1382750224,), (1382750228,), (1382750230,), (1382750243,), (1382750245,), (1382750247,), (1382750252,), (1382750257,), (1382750261,), (1382750276,), (1382750281,), (1382750286,), (1382750289,), (1382750293,), (1382750302,), (1382750305,), (1382750309,), (1382750314,), (1382750316,), (1382750320,), (1382750336,), (1382750339,), (1382750340,), (1382750345,), (1382750351,), (1382750354,), (1382750390,), (1382750373,), (1382750376,), (1382750379,), (1382750383,), (1382750386,), (1382750400,), (1382750402,), (1382750405,), (1382750409,), (1382750412,), (1382750449,), (1382750451,), (1382750454,), (1382750458,), (1382750478,), (1382750482,), (1382750487,), (1382750520,), (1382750523,), (1382750526,), (1382750530,), (1382750534,), (1382750545,), (1382750552,), (1382750555,), (1382750558,), (1382750560,), (1382750570,), (1382750574,), (1382750577,), (1382750581,), (1382750598,), (1382750600,), (1382750604,), (1382750639,), (1382750642,), (1382750646,), (1382750651,), (1382750658,), (1382750663,), (1382750676,), (1382750678,), (1382750682,), (1382750688,), (1382750704,), (1382750705,), (1382750707,), (1382750712,), (1382750715,), (1382750729,), (1382750731,), (1382750733,), (1382750739,), (1382750764,), (1382750767,), (1382750771,), (1382750774,), (1382750777,), (1382750798,), (1382750800,), (1382750802,), (1382750863,), (1382750872,), (1382750873,), (1382750878,), (1382750879,), (1382750883,), (1382750884,), (1382750887,), (1382750888,), (1382750898,), (1382750896,), (1382750924,), (1382750926,), (1382750929,), (1382750933,), (1382750975,), (1382750979,), (1382750983,), (1382750987,), (1382750992,), (1382751005,), (1382751010,), (1382751012,), (1382751033,), (1382751036,), (1382751078,), (1382751080,), (1382751108,), (1382751110,), (1382751114,), (1382751119,), (1382751208,), (1382751209,), (1382751211,), (1382751213,), (1382751231,), (1382751236,), (1382751241,), (1382751244,), (1382751249,), (1382751266,), (1382751269,), (1382751272,), (1382751276,), (1382751308,), (1382751310,), (1382751312,), (1382751315,), (1382751340,), (1382751342,), (1382751344,), (1382751348,), (1382751351,), (1382751357,), (1382751367,), (1382751368,), (1382751369,), (1382751372,), (1382751405,), (1382751407,), (1382751409,), (1382751422,), (1382751447,), (1382751449,), (1382751451,), (1382751454,), (1382751472,), (1382751638,), (1382751618,), (1382751625,), (1382751628,), (1382751632,), (1382751658,), (1382751662,), (1382751707,), (1382751710,), (1382751715,), (1382751719,), (1382751724,), (1382751737,), (1382751741,), (1382751745,), (1382751751,), (1382751755,), (1382751760,), (1382751783,), (1382751786,), (1382751790,), (1382751796,), (1382751856,), (1382751859,), (1382751861,), (1382752193,), (1382752197,), (1382752201,), (1382752208,), (1382752250,), (1382752253,), (1382752256,), (1382752283,), (1382752286,), (1382753295,), (1382753379,), (1382753470,), (1382753556,), (1382753653,), (1382753747,), (1382754098,), (1382754155,), (1382754193,), (1382754225,), (1382754679,), (1382754396,), (1382754458,), (1382754499,), (1382754540,), (1382754622,), (1382754916,), (1382754922,), (1382754939,), (1382754964,), (1382754967,), (1382755235,), (1382755269,), (1382755327,), (1382755781,), (1382755782,), (1382755783,), (1382755797,), (1382755830,), (1382755864,), (1382755944,), (1382755946,), (1382755975,), (1382756027,), (1382756073,), (1382756102,), (1382756279,), (1382756285,), (1382756292,), (1382756385,), (1382756389,), (1382756395,), (1382756399,), (1382756403,), (1382756407,), (1382756413,), (1382756415,), (1382756422,), (1382756424,), (1382756426,), (1382756430,), (1382756434,), (1382756440,), (1382756442,), (1382756444,), (1382756449,), (1382756452,), (1382756464,), (1382756466,), (1382756476,), (1382756480,), (1382756488,), (1382756568,), (1382756571,), (1382756574,), (1382756578,), (1382756658,), (1382756663,), (1382756664,), (1382756681,), (1382756683,), (1382756686,), (1382756691,), (1382756699,), (1382756723,), (1382756725,), (1382756729,), (1382756733,), (1382756736,), (1382756751,), (1382756753,), (1382756755,), (1382756796,), (1382756858,), (1382756782,), (1382756785,), (1382756787,), (1382756793,), (1382756813,), (1382756814,), (1382756816,), (1382756820,), (1382756824,), (1382756829,), (1382756847,), (1382756850,), (1382756855,), (1382756862,), (1382756866,), (1382756870,), (1382756873,), (1382756874,), (1382756875,), (1382756881,), (1382756884,), (1382756886,), (1382756889,), (1382756891,), (1382756899,), (1382756902,), (1382756917,), (1382756920,), (1382756923,), (1382756982,), (1382757014,), (1382757015,), (1382757051,), (1382757053,), (1382757055,), (1382757058,), (1382757073,), (1382757075,), (1382757076,), (1382757079,), (1382757083,), (1382757096,), (1382757098,), (1382757100,), (1382757105,), (1382757109,), (1382757140,), (1382757143,), (1382757144,), (1382757178,), (1382757179,), (1382757182,), (1382757185,), (1382757189,), (1382757192,), (1382757197,), (1382757198,), (1382757202,), (1382757205,), (1382757207,), (1382757209,), (1382757212,), (1382757218,), (1382757219,), (1382757220,), (1382757222,), (1382757241,), (1382757247,), (1382757248,), (1382757308,), (1382757277,), (1382757279,), (1382757283,), (1382757614,), (1382757646,), (1382757671,), (1382757675,), (1382757678,), (1382757956,), (1382757995,), (1382758025,), (1382758069,), (1382758431,), (1382758523,), (1382758553,), (1382758584,), (1382758760,), (1382758763,), (1382758790,), (1382758820,), (1382758853,), (1382758883,), (1382759223,), (1382759279,), (1382759331,), (1382759385,), (1382759785,), (1382759841,), (1382759896,), (1382759952,), (1382760007,), (1382760055,), (1382760160,), (1382760188,), (1382760220,), (1382760248,), (1382760368,), (1382760416,), (1382760760,), (1382760789,), (1382760796,), (1382760802,), (1382760805,), (1382760822,), (1382760825,), (1382760827,), (1382760831,), (1382760853,), (1382761116,), (1382761148,), (1382761180,), (1382761209,), (1382761393,), (1382761395,), (1382761397,), (1382761582,), (1382761583,), (1382761585,), (1382761589,), (1382761592,), (1382761595,), (1382761615,), (1382761623,), (1382761651,), (1382761683,), (1382761953,), (1382761978,), (1382761982,), (1382761985,), (1382761988,), (1382762094,), (1382762171,), (1382762020,), (1382762025,), (1382762054,), (1382762089,), (1382762091,), (1382762104,), (1382762113,), (1382762121,), (1382762143,), (1382762145,), (1382762147,), (1382762157,), (1382762162,), (1382762167,), (1382762169,), (1382762181,), (1382762184,), (1382762187,), (1382762192,), (1382762194,), (1382762196,), (1382762200,), (1382762216,), (1382762219,), (1382762221,), (1382762247,), (1382762251,), (1382762259,), (1382762285,), (1382762291,), (1382762294,), (1382762297,), (1382762300,), (1382762308,), (1382762309,), (1382762310,), (1382762314,), (1382762335,), (1382762339,), (1382762342,), (1382762347,), (1382762351,), (1382762354,), (1382762365,), (1382762367,), (1382762370,), (1382762374,), (1382762376,), (1382762379,), (1382762398,), (1382762400,), (1382762403,), (1382762406,), (1382762417,), (1382762419,), (1382762422,), (1382762425,), (1382762428,), (1382762431,), (1382762466,), (1382762474,), (1382762481,), (1382762484,), (1382762503,), (1382762532,), (1382762565,), (1382762596,), (1382762632,), (1382762691,), (1382763694,), (1382763746,), (1382763795,), (1382764061,), (1382764062,), (1382764114,), (1382764117,), (1382764164,), (1382764170,), (1382764229,), (1382764250,), (1382764295,), (1382764331,), (1382764554,), (1382764456,), (1382764458,), (1382764489,), (1382764517,), (1382764544,), (1382764639,), (1382764640,), (1382764641,), (1382764644,), (1382764648,), (1382764662,), (1382764663,), (1382764665,), (1382764667,), (1382764671,), (1382764673,), (1382764682,), (1382764684,), (1382764686,), (1382764688,), (1382764704,), (1382764706,), (1382764708,), (1382764740,), (1382764743,), (1382764745,), (1382764765,), (1382764770,), (1382764774,), (1382764779,), (1382764784,), (1382764787,), (1382764793,), (1382764796,), (1382764813,), (1382764817,), (1382764820,), (1382764846,), (1382764872,), (1382764874,), (1382764876,), (1382764913,), (1382764915,), (1382764917,), (1382764922,), (1382764925,), (1382764936,), (1382764938,), (1382764941,), (1382764943,), (1382764945,), (1382764985,), (1382764987,), (1382765008,), (1382765041,), (1382765044,), (1382765048,), (1382765088,), (1382765136,), (1382765082,), (1382765086,), (1382765109,), (1382765110,), (1382765114,), (1382765119,), (1382765123,), (1382765126,), (1382765145,), (1382765147,), (1382765149,), (1382765151,), (1382765167,), (1382765170,), (1382765173,), (1382765177,), (1382765181,), (1382765203,), (1382765206,), (1382765229,), (1382765232,), (1382765235,), (1382765264,), (1382765269,), (1382765270,), (1382765272,), (1382765276,), (1382765298,), (1382765306,), (1382765308,), (1382765311,), (1382765316,), (1382765343,), (1382765347,), (1382765349,), (1382765352,), (1382765357,), (1382765367,), (1382765368,), (1382765369,), (1382765372,), (1382765374,), (1382765407,), (1382765469,), (1382771656,), (1382771653,), (1382771654,), (1382771678,), (1382771681,), (1382771698,), (1382771719,), (1382771723,), (1382771727,), (1382771759,), (1382771763,), (1382771783,), (1382771785,), (1382771788,), (1382771792,), (1382771795,), (1382771814,), (1382771816,), (1382771818,), (1382771821,), (1382771836,), (1382771839,), (1382771840,), (1382771842,), (1382771846,), (1382771852,), (1382771888,), (1382771890,), (1382771892,), (1382771896,), (1382771900,), (1382771924,), (1382771927,), (1382771930,), (1382771934,), (1382771937,), (1382771957,), (1382771959,), (1382771961,), (1382771963,), (1382771967,), (1382771971,), (1382771978,), (1382771981,), (1382771984,), (1382771987,), (1382772030,), (1382772031,), (1382772033,), (1382772056,), (1382772059,), (1382772062,), (1382772069,), (1382772070,), (1382772072,), (1382772074,), (1382772083,), (1382772089,), (1382772092,), (1382772096,), (1382772126,), (1382772179,), (1382772113,), (1382772116,), (1382772118,), (1382772120,), (1382772124,), (1382772136,), (1382772139,), (1382772142,), (1382772145,), (1382772149,), (1382772153,), (1382772168,), (1382772171,), (1382772174,), (1382772177,), (1382772189,), (1382772191,), (1382772194,), (1382772198,), (1382772201,), (1382772204,), (1382772210,), (1382772211,), (1382772214,), (1382772217,), (1382772220,), (1382772234,), (1382772236,), (1382772242,), (1382772256,), (1382772265,), (1382772268,), (1382772299,), (1382772302,), (1382772304,), (1382772307,), (1382772310,), (1382772312,), (1382772342,), (1382772343,), (1382772346,), (1382772348,), (1382772350,), (1382772352,), (1382772359,), (1382772361,), (1382772364,), (1382772367,), (1382772369,), (1382772374,), (1382772377,), (1382772382,), (1382772389,), (1382772395,), (1382772399,), (1382772417,), (1382772419,), (1382772421,), (1382772424,), (1382772429,), (1382772442,), (1382772445,), (1382772463,), (1382772469,), (1382772475,), (1382772480,), (1382772518,), (1382772521,), (1382772523,), (1382772526,), (1382772541,), (1382772544,), (1382772550,), (1382772554,), (1382772559,), (1382772561,), (1382772567,), (1382772568,), (1382772571,), (1382772573,), (1382772581,), (1382772582,), (1382772585,), (1382772586,), (1382772588,), (1382772589,), (1382772592,), (1382772593,), (1382772596,), (1382772597,), (1382772620,), (1382772627,), (1382772635,), (1382772662,), (1382773257,), (1382773133,), (1382773195,), (1382775718,), (1382775770,), (1382776031,), (1382776092,), (1382776176,), (1382776854,), (1382776899,), (1382777110,), (1382777111,), (1382777113,), (1382777116,), (1382777120,), (1382777124,), (1382777146,), (1382777150,), (1382777153,), (1382777155,), (1382777174,), (1382777176,), (1382777180,), (1382777186,), (1382777273,), (1382777310,), (1382777312,), (1382777313,), (1382777344,), (1382777347,), (1382777349,), (1382777354,), (1382777358,), (1382777380,), (1382777384,), (1382777389,), (1382777394,), (1382777399,), (1382777404,), (1382777413,), (1382777414,), (1382777416,), (1382777425,), (1382777429,), (1382777438,), (1382777455,), (1382777523,), (1382777579,), (1382777474,), (1382777477,), (1382777494,), (1382777502,), (1382777513,), (1382777531,), (1382777537,), (1382777543,), (1382777549,), (1382777554,), (1382777562,), (1382777574,), (1382777575,), (1382777577,), (1382777588,), (1382777591,), (1382777594,), (1382777604,), (1382777606,), (1382777610,), (1382777651,), (1382777653,), (1382777692,), (1382777693,), (1382777694,), (1382777698,), (1382777702,), (1382777809,), (1382777812,), (1382777814,), (1382777817,), (1382777844,), (1382777847,), (1382777849,), (1382777852,), (1382777856,), (1382777890,), (1382777891,), (1382777894,), (1382777900,), (1382777907,), (1382777911,), (1382777916,), (1382777918,), (1382777923,), (1382777975,), (1382777978,), (1382778054,), (1382778057,), (1382778081,), (1382778112,), (1382778114,), (1382778115,), (1382778164,), (1382778157,), (1382778161,), (1382778197,), (1382778200,), (1382778230,), (1382778232,), (1382778234,), (1382778236,), (1382778239,), (1382778275,), (1382778277,), (1382778279,), (1382778282,), (1382778285,), (1382778289,), (1382778298,), (1382778300,), (1382778306,), (1382778312,), (1382778324,), (1382778330,), (1382778334,), (1382778338,), (1382778343,), (1382778348,), (1382778365,), (1382778369,), (1382778371,), (1382778387,), (1382778388,), (1382778391,), (1382778395,), (1382778401,), (1382778405,), (1382778418,), (1382778420,), (1382778423,), (1382778437,), (1382778439,), (1382778442,), (1382778444,), (1382778446,), (1382778457,), (1382778460,), (1382778462,), (1382778465,), (1382778469,), (1382778495,), (1382778497,), (1382778498,), (1382778504,), (1382778508,), (1382778540,), (1382778544,), (1382778548,), (1382778553,), (1382778556,), (1382778558,), (1382778587,), (1382778590,), (1382778595,), (1382778598,), (1382778600,), (1382778602,), (1382778612,), (1382778616,), (1382778620,), (1382778624,), (1382778626,), (1382778631,), (1382778634,), (1382778642,), (1382778646,), (1382778650,), (1382778655,), (1382778669,), (1382778671,), (1382778673,), (1382778677,), (1382778681,), (1382778701,), (1382778705,), (1382778709,), (1382778712,), (1382778716,), (1382778721,), (1382778763,), (1382778828,), (1382778751,), (1382778756,), (1382778758,), (1382778760,), (1382778775,), (1382778783,), (1382778787,), (1382778791,), (1382778795,), (1382778803,), (1382778809,), (1382778818,), (1382778822,), (1382778826,), (1382778835,), (1382778838,), (1382778841,), (1382778847,), (1382778857,), (1382778858,), (1382778860,), (1382778864,), (1382778867,), (1382778870,), (1382778892,), (1382778894,), (1382778896,), (1382778899,), (1382778901,), (1382778903,), (1382778937,), (1382778943,), (1382778950,), (1382778958,), (1382778974,), (1382778996,), (1382779004,), (1382779008,), (1382779012,), (1382779014,), (1382779018,), (1382779023,), (1382779038,), (1382779043,), (1382779047,), (1382779052,), (1382779057,), (1382779059,), (1382779092,), (1382779097,), (1382779101,), (1382779105,), (1382779107,), (1382779110,), (1382779115,), (1382779117,), (1382779119,), (1382779122,), (1382779125,), (1382779128,), (1382779140,), (1382779144,), (1382779148,), (1382779152,), (1382779156,), (1382779160,), (1382779170,), (1382779172,), (1382779174,), (1382779176,), (1382779179,), (1382779182,), (1382779204,), (1382779207,), (1382779210,), (1382779214,), (1382779220,), (1382779225,), (1382779235,), (1382779238,), (1382779241,), (1382779244,), (1382779247,), (1382779250,), (1382779259,), (1382779264,), (1382779269,), (1382779272,), (1382779274,), (1382779277,), (1382779306,), (1382779308,), (1382779315,), (1382779321,), (1382779325,), (1382779330,), (1382779338,), (1382779350,), (1382779363,), (1382779365,), (1382779367,), (1382779371,), (1382779388,), (1382779396,), (1382779401,), (1382779415,), (1382779417,), (1382779419,), (1382779380,), (1382779382,), (1382779385,), (1382779426,), (1382779430,), (1382779434,), (1382779435,), (1382779436,), (1382779438,), (1382779442,), (1382779444,), (1382779446,), (1382779449,), (1382779451,), (1382779463,), (1382779465,), (1382779468,), (1382779472,), (1382779475,), (1382779479,), (1382779487,), (1382779488,), (1382779489,), (1382779491,), (1382779505,), (1382779510,), (1382779514,), (1382779519,), (1382779524,), (1382779526,), (1382779542,), (1382779544,), (1382779546,), (1382779556,), (1382779557,), (1382779561,), (1382779564,), (1382779567,), (1382779575,), (1382779582,), (1382779584,), (1382779605,), (1382779609,), (1382779612,), (1382779617,), (1382779621,), (1382779631,), (1382779634,), (1382779637,), (1382779641,), (1382779666,), (1382779668,), (1382779670,), (1382779695,), (1382779696,), (1382779697,), (1382779701,), (1382779735,), (1382779738,), (1382779741,), (1382779748,), (1382779754,), (1382779758,), (1382779768,), (1382779775,), (1382779779,), (1382779801,), (1382779804,), (1382779807,), (1382779810,), (1382779813,), (1382779816,), (1382779819,), (1382779822,), (1382779824,), (1382779827,), (1382779831,), (1382779885,), (1382779950,), (1382779860,), (1382779864,), (1382779869,), (1382779876,), (1382779881,), (1382779898,), (1382779900,), (1382779902,), (1382779904,), (1382779907,), (1382779910,), (1382779923,), (1382779937,), (1382779943,), (1382779948,), (1382779955,), (1382779957,), (1382779959,), (1382779963,), (1382779965,), (1382779968,), (1382779979,), (1382779983,), (1382779986,), (1382779989,), (1382779992,), (1382780004,), (1382780015,), (1382780016,), (1382780018,), (1382780020,), (1382780022,), (1382780034,), (1382780038,), (1382780042,), (1382780045,), (1382780053,), (1382780057,), (1382780061,), (1382780063,), (1382780065,), (1382780067,), (1382780071,), (1382780074,), (1382780083,), (1382780088,), (1382780091,), (1382780094,), (1382780097,), (1382780106,), (1382780121,), (1382780126,), (1382780131,), (1382780135,), (1382780140,), (1382780144,), (1382780152,), (1382780156,), (1382780159,), (1382780165,), (1382780168,), (1382780187,), (1382780188,), (1382780190,), (1382780195,), (1382780201,), (1382780221,), (1382780223,), (1382780227,), (1382780231,), (1382780236,), (1382780240,), (1382780265,), (1382780266,), (1382780267,), (1382780269,), (1382780270,), (1382780277,), (1382780279,), (1382780285,), (1382780287,), (1382780289,), (1382780299,), (1382780302,), (1382780305,), (1382780308,), (1382780312,), (1382780317,), (1382780333,), (1382780337,), (1382780339,), (1382780342,), (1382780344,), (1382780376,), (1382780374,), (1382780456,), (1382780458,), (1382780460,), (1382780462,), (1382780473,), (1382780475,), (1382780476,), (1382780480,), (1382780484,), (1382780489,), (1382780509,), (1382780510,), (1382780512,), (1382780519,), (1382780530,), (1382780538,), (1382780561,), (1382780563,), (1382780566,), (1382780569,), (1382780574,), (1382780576,), (1382780581,), (1382780584,), (1382780588,), (1382780592,), (1382780603,), (1382780604,), (1382780608,), (1382780609,), (1382780613,), (1382780614,), (1382780617,), (1382780618,), (1382780620,), (1382780621,), (1382780622,), (1382780623,), (1382780627,), (1382780635,), (1382780639,), (1382780643,), (1382780646,), (1382780648,), (1382780655,), (1382780659,), (1382780662,), (1382780667,), (1382780706,), (1382780713,), (1382780717,), (1382780723,), (1382780726,), (1382780729,), (1382780737,), (1382780741,), (1382780750,), (1382780765,), (1382780773,), (1382780775,), (1382780778,), (1382780785,), (1382780790,), (1382780795,), (1382780813,), (1382780815,), (1382780819,), (1382780823,), (1382780826,), (1382780829,), (1382780831,), (1382780837,), (1382780841,), (1382780843,), (1382780853,), (1382780855,), (1382780858,), (1382780861,), (1382780866,), (1382780870,), (1382780920,), (1382780921,), (1382780984,), (1382780990,), (1382780991,), (1382780993,), (1382780994,), (1382780915,), (1382780917,), (1382780918,), (1382780919,), (1382780926,), (1382780929,), (1382780932,), (1382780935,), (1382780938,), (1382780940,), (1382780960,), (1382780970,), (1382780974,), (1382780978,), (1382780981,), (1382781005,), (1382781016,), (1382781026,), (1382781034,), (1382781039,), (1382781040,), (1382781045,), (1382781047,), (1382781051,), (1382781054,), (1382781057,), (1382781070,), (1382781072,), (1382781074,), (1382781076,), (1382781078,), (1382781080,), (1382781087,), (1382781091,), (1382781094,), (1382781096,), (1382781106,), (1382781111,), (1382781115,), (1382781119,), (1382781122,), (1382781125,), (1382781147,), (1382781151,), (1382781155,), (1382781160,), (1382781187,), (1382781189,), (1382781192,), (1382781197,), (1382781201,), (1382781205,), (1382781213,), (1382781214,), (1382781217,), (1382781220,), (1382781224,), (1382781228,), (1382781234,), (1382781235,), (1382781241,), (1382781285,), (1382781287,), (1382781289,), (1382781291,), (1382781297,), (1382781303,), (1382781322,), (1382781330,), (1382781334,), (1382781337,), (1382781341,), (1382781344,), (1382781354,), (1382781358,), (1382781361,), (1382781364,), (1382781367,), (1382781369,), (1382781377,), (1382781381,), (1382781386,), (1382781390,), (1382781394,), (1382781449,), (1382781440,), (1382781444,), (1382781446,), (1382781476,), (1382781486,), (1382781491,), (1382781494,), (1382781497,), (1382781501,), (1382781511,), (1382781513,), (1382781515,), (1382781519,), (1382781523,), (1382781542,), (1382781543,), (1382781545,), (1382781547,), (1382781552,), (1382781555,), (1382781565,), (1382781570,), (1382781572,), (1382781574,), (1382781581,), (1382781586,), (1382781589,), (1382781591,), (1382781593,), (1382781598,), (1382781619,), (1382781622,), (1382781625,), (1382781627,), (1382781629,), (1382781632,), (1382781642,), (1382781648,), (1382781652,), (1382781654,), (1382781662,), (1382781667,), (1382781672,), (1382781674,), (1382781678,), (1382781682,), (1382781687,), (1382781690,), (1382781696,), (1382781701,), (1382781709,), (1382781718,), (1382781719,), (1382781723,), (1382781724,), (1382781733,), (1382781736,), (1382781739,), (1382781741,), (1382781744,), (1382781746,), (1382781747,), (1382781748,), (1382781759,), (1382781767,), (1382781838,), (1382781846,), (1382781868,), (1382781874,), (1382781883,), (1382781895,), (1382781914,), (1382781917,), (1382781930,), (1382782047,), (1382782075,), (1382782077,), (1382782080,), (1382782082,), (1382782084,), (1382782087,), (1382782121,), (1382782124,), (1382782127,), (1382782131,), (1382782149,), (1382782151,), (1382782153,), (1382782156,), (1382782158,), (1382782162,), (1382782188,), (1382782190,), (1382782195,), (1382782201,), (1382782206,), (1382782210,), (1382782219,), (1382782220,), (1382782223,), (1382782225,), (1382782238,), (1382782239,), (1382782244,), (1382782245,), (1382782249,), (1382782250,), (1382782253,), (1382782254,), (1382782258,), (1382782261,), (1382782262,), (1382782263,), (1382782276,), (1382782279,), (1382782282,), (1382782285,), (1382782287,), (1382782290,), (1382782298,), (1382782303,), (1382782308,), (1382782312,), (1382782323,), (1382782328,), (1382782339,), (1382782342,), (1382782346,), (1382782350,), (1382782354,), (1382782358,), (1382782364,), (1382782366,), (1382782368,), (1382782375,), (1382782379,), (1382782382,), (1382782386,), (1382782399,), (1382782403,), (1382782406,), (1382782413,), (1382782420,), (1382782425,), (1382782452,), (1382782439,), (1382782441,), (1382782443,), (1382782448,), (1382782471,), (1382782475,), (1382782479,), (1382782482,), (1382782485,), (1382782487,), (1382782525,), (1382782527,), (1382782529,), (1382782533,), (1382782537,), (1382782556,), (1382782558,), (1382782563,), (1382782567,), (1382782571,), (1382782573,), (1382782575,), (1382782576,), (1382782578,), (1382782603,), (1382782613,), (1382782617,), (1382782627,), (1382782631,), (1382782633,), (1382782654,), (1382782655,), (1382782657,), (1382782662,), (1382782685,), (1382782688,), (1382782690,), (1382782692,), (1382782694,), (1382782712,), (1382782713,), (1382782715,), (1382782718,), (1382782722,), (1382782748,), (1382782780,), (1382782786,), (1382782790,), (1382782796,), (1382782800,), (1382782803,), (1382782831,), (1382782834,), (1382782837,), (1382782839,), (1382782841,), (1382782857,), (1382782860,), (1382782862,), (1382782865,), (1382782869,), (1382782898,), (1382782901,), (1382782904,), (1382782908,), (1382782911,), (1382782913,), (1382782915,), (1382782916,), (1382782921,), (1382782933,), (1382782937,), (1382782939,), (1382782946,), (1382782948,), (1382782950,), (1382782976,), (1382782965,), (1382782968,), (1382782971,), (1382782974,), (1382782980,), (1382782982,), (1382782987,), (1382782992,), (1382782997,), (1382783005,), (1382783020,), (1382783024,), (1382783025,), (1382783028,), (1382783044,), (1382783046,), (1382783048,), (1382783050,), (1382783052,), (1382783054,), (1382783064,), (1382783066,), (1382783067,), (1382783071,), (1382783074,), (1382783080,), (1382783082,), (1382783084,), (1382783089,), (1382783111,), (1382783118,), (1382783121,), (1382783142,), (1382783145,), (1382783151,), (1382783159,), (1382783163,), (1382783165,), (1382783190,), (1382783193,), (1382783195,), (1382783198,), (1382783202,), (1382783203,), (1382783208,), (1382783210,), (1382783212,), (1382783214,), (1382783215,), (1382783223,), (1382783225,), (1382783237,), (1382783240,), (1382783242,), (1382783245,), (1382783260,), (1382783262,), (1382783264,), (1382783266,), (1382783267,), (1382783268,), (1382783277,), (1382783281,), (1382783284,), (1382783287,), (1382783289,), (1382783298,), (1382783307,), (1382783310,), (1382783312,), (1382783316,), (1382783322,), (1382783325,), (1382783329,), (1382783352,), (1382783358,), (1382783362,), (1382783367,), (1382783370,), (1382783374,), (1382783393,), (1382783386,), (1382783388,), (1382783389,), (1382783392,), (1382783409,), (1382783412,), (1382783414,), (1382783420,), (1382783423,), (1382783434,), (1382783437,), (1382783442,), (1382783446,), (1382783449,), (1382783462,), (1382783464,), (1382783466,), (1382783470,), (1382783472,), (1382783474,), (1382783479,), (1382783483,), (1382783484,), (1382783514,), (1382783542,), (1382783543,), (1382783579,), (1382783587,), (1382783603,), (1382783604,), (1382783606,), (1382783610,), (1382783615,), (1382783621,), (1382783633,), (1382783635,), (1382783636,), (1382783644,), (1382783681,), (1382783683,), (1382783685,), (1382783690,), (1382783784,), (1382783788,), (1382783792,), (1382783794,), (1382783798,), (1382783800,), (1382783816,), (1382783819,), (1382783822,), (1382783826,), (1382783859,), (1382783861,), (1382783878,), (1382783882,), (1382783901,), (1382783917,), (1382783923,), (1382783925,), (1382783928,), (1382783931,), (1382783946,), (1382783951,), (1382783960,), (1382783979,), (1382784033,), (1382783974,), (1382783977,), (1382784002,), (1382784004,), (1382784008,), (1382784012,), (1382784016,), (1382784021,), (1382784030,), (1382784031,), (1382784051,), (1382784055,), (1382784059,), (1382784063,), (1382784066,), (1382784070,), (1382784071,), (1382784073,), (1382784077,), (1382784081,), (1382784084,), (1382784103,), (1382784105,), (1382784107,), (1382784111,), (1382784116,), (1382784133,), (1382784136,), (1382784139,), (1382784144,), (1382784149,), (1382784159,), (1382784164,), (1382784168,), (1382784173,), (1382784193,), (1382784195,), (1382784199,), (1382784204,), (1382784207,), (1382784210,), (1382784226,), (1382784230,), (1382784233,), (1382784236,), (1382784239,), (1382784241,), (1382784244,), (1382784246,), (1382784247,), (1382784249,), (1382784264,), (1382784266,), (1382784270,), (1382784273,), (1382784276,), (1382784299,), (1382784300,), (1382784301,), (1382784305,), (1382784311,), (1382784312,), (1382784322,), (1382784323,), (1382784326,), (1382784327,), (1382784334,), (1382784335,), (1382784337,), (1382784339,), (1382784340,), (1382784341,), (1382784343,), (1382784344,), (1382784355,), (1382784358,), (1382784361,), (1382784364,), (1382784368,), (1382784370,), (1382784371,), (1382784374,), (1382784376,), (1382784991,), (1382785244,), (1382785247,), (1382785249,), (1382785341,), (1382785365,), (1382785388,), (1382785430,), (1382785473,), (1382785515,), (1382785783,), (1382785830,), (1382785877,), (1382785923,), (1382786291,), (1382786335,), (1382786384,), (1382786427,), (1382786471,), (1382786799,), (1382786847,), (1382786896,), (1382786941,), (1382786987,), (1382787147,), (1382787196,), (1382787245,), (1382787293,), (1382787342,), (1382788009,), (1382788098,), (1382788193,), (1382788280,), (1382788365,), (1382788438,), (1382788708,), (1382788732,), (1382788777,), (1382788833,), (1382789030,), (1382789079,), (1382789122,), (1382789163,), (1382789209,), (1382789281,), (1382789473,), (1382789519,), (1382789570,), (1382789632,), (1382789876,), (1382789903,), (1382789935,), (1382789960,), (1382789982,), (1382790005,), (1382790158,), (1382790181,), (1382790218,), (1382790262,), (1382790808,), (1382790870,), (1382790945,), (1382791041,), (1382791132,), (1382791221,), (1382791563,), (1382791609,), (1382791635,), (1382791665,), (1382791692,), (1382792013,), (1382792058,), (1382792101,), (1382792131,), (1382792153,), (1382792164,), (1382792208,), (1382792221,), (1382792251,), (1382792293,), (1382792327,), (1382792490,), (1382792559,), (1382792619,), (1382792669,), (1382793170,), (1382792873,), (1382792921,), (1382792990,), (1382793058,), (1382793114,), (1382793323,), (1382793355,), (1382793398,), (1382793446,), (1382793498,), (1382793737,), (1382793768,), (1382793793,), (1382793818,), (1382793841,), (1382793865,), (1382794020,), (1382794043,), (1382794064,), (1382794087,), (1382794110,), (1382794269,), (1382794272,), (1382794276,), (1382794279,), (1382794282,), (1382794381,), (1382794406,), (1382794478,), (1382794523,), (1382794563,), (1382794611,), (1382794812,), (1382794845,), (1382794905,), (1382794949,), (1382795312,), (1382795359,), (1382795412,), (1382795463,), (1382795507,), (1382795903,), (1382795951,), (1382796010,), (1382796060,), (1382796085,), (1382796109,), (1382796183,), (1382796206,), (1382796246,), (1382796294,), (1382796338,), (1382796446,), (1382796468,), (1382796474,), (1382796498,), (1382796510,), (1382796552,), (1382796747,), (1382796772,), (1382796787,), (1382796789,), (1382796798,), (1382796824,), (1382796873,), (1382796874,), (1382796895,), (1382796897,), (1382796906,), (1382796907,), (1382796924,), (1382796929,), (1382796953,), (1382796962,), (1382796984,), (1382796990,), (1382797094,), (1382797143,), (1382797188,), (1382797232,), (1382797274,), (1382797318,), (1382797468,), (1382797521,), (1382797732,), (1382797733,), (1382797779,), (1382797780,), (1382797827,), (1382797829,), (1382797880,), (1382797886,), (1382797930,), (1382797933,), (1382798076,), (1382798116,), (1382798161,), (1382798208,), (1382798246,), (1382798268,), (1382798643,), (1382798429,), (1382798469,), (1382798512,), (1382798557,), (1382798599,), (1382798872,), (1382798906,), (1382798935,), (1382798964,), (1382798988,), (1382799000,), (1382799003,), (1382799007,), (1382799019,), (1382799042,), (1382799233,), (1382799256,), (1382799272,), (1382799279,), (1382799286,), (1382799310,), (1382799364,), (1382799376,), (1382799383,), (1382799386,), (1382799389,), (1382799393,), (1382799398,), (1382799405,), (1382799408,), (1382799414,), (1382799442,), (1382799443,), (1382799444,), (1382799445,), (1382799446,), (1382799447,), (1382799454,), (1382799455,), (1382799459,), (1382799462,), (1382799466,), (1382799470,), (1382799473,), (1382799475,), (1382799477,), (1382799479,), (1382799482,), (1382799484,), (1382799494,), (1382799499,), (1382799501,), (1382799504,), (1382799507,), (1382799510,), (1382799517,), (1382799519,), (1382799521,), (1382799528,), (1382799529,), (1382799532,), (1382799533,), (1382799541,), (1382799542,), (1382799549,), (1382799550,), (1382799557,), (1382799566,), (1382799573,), (1382799577,), (1382799580,), (1382799610,), (1382799612,), (1382799615,), (1382799619,), (1382799622,), (1382799644,), (1382799654,), (1382799658,), (1382799661,), (1382799663,), (1382799666,), (1382799680,), (1382799682,), (1382799685,), (1382799688,), (1382799690,), (1382799720,), (1382799723,), (1382799726,), (1382799729,), (1382799732,), (1382799734,), (1382799737,), (1382799738,), (1382799742,), (1382799744,), (1382799755,), (1382799758,), (1382799763,), (1382799765,), (1382799768,), (1382799771,), (1382799810,), (1382799865,), (1382799870,), (1382799871,), (1382799872,), (1382799873,), (1382799875,), (1382799795,), (1382799798,), (1382799800,), (1382799804,), (1382799809,), (1382799816,), (1382799820,), (1382799823,), (1382799829,), (1382799838,), (1382799840,), (1382799850,), (1382799851,), (1382799855,), (1382799858,), (1382799862,), (1382799885,), (1382799888,), (1382799895,), (1382799906,), (1382799907,), (1382799910,), (1382799914,), (1382799918,), (1382799921,), (1382799924,), (1382799925,), (1382799938,), (1382799941,), (1382799943,), (1382799949,), (1382799972,), (1382799976,), (1382799981,), (1382799984,), (1382799987,), (1382799994,), (1382800001,), (1382800004,), (1382800007,), (1382800015,), (1382800017,), (1382800027,), (1382800029,), (1382800031,), (1382800036,), (1382800052,), (1382800054,), (1382800059,), (1382800063,), (1382800067,), (1382800077,), (1382800079,), (1382800081,), (1382800087,), (1382800090,), (1382800099,), (1382800100,), (1382800102,), (1382800106,), (1382800110,), (1382800113,), (1382800126,), (1382800129,), (1382800138,), (1382800190,), (1382800216,), (1382800242,), (1382800268,), (1382800292,), (1382800314,), (1382800625,), (1382800652,), (1382800678,), (1382800698,), (1382800702,), (1382800978,), (1382801140,), (1382801189,), (1382801236,), (1382801270,), (1382801296,), (1382801322,), (1382801568,), (1382801899,), (1382801923,), (1382802970,), (1382802975,), (1382802980,), (1382800770,), (1382800808,), (1382800848,), (1382800891,), (1382800935,), (1382801435,), (1382801489,), (1382801520,), (1382801546,), (1382801564,), (1382801581,), (1382801604,), (1382801625,), (1382801650,), (1382801680,), (1382801703,), (1382801776,), (1382801781,), (1382801783,), (1382801787,), (1382801789,), (1382801791,), (1382801801,), (1382801803,), (1382801806,), (1382801809,), (1382801812,), (1382801815,), (1382801827,), (1382801835,), (1382801857,), (1382801877,), (1382802102,), (1382802130,), (1382802155,), (1382802180,), (1382802204,), (1382802227,), (1382802315,), (1382802336,), (1382802357,), (1382802378,), (1382802407,), (1382802447,), (1382802527,), (1382802528,), (1382802555,), (1382802557,), (1382802582,), (1382802583,), (1382802606,), (1382802608,), (1382802632,), (1382802635,), (1382802659,), (1382802664,), (1382802758,), (1382802783,), (1382802808,), (1382802831,), (1382802851,), (1382802875,), (1382802964,), (1382802987,), (1382802998,), (1382803031,), (1382803060,), (1382803086,), (1382803174,), (1382803193,), (1382803197,), (1382803206,), (1382803231,), (1382803251,), (1382803292,), (1382803295,), (1382803299,), (1382803302,), (1382803303,), (1382803305,), (1382803322,), (1382803324,), (1382803329,), (1382803332,), (1382803336,), (1382803338,), (1382803346,), (1382803350,), (1382803361,), (1382803378,), (1382803390,), (1382803399,), (1382803409,), (1382803417,), (1382803422,), (1382803424,), (1382803427,), (1382803432,), (1382803450,), (1382803453,), (1382803458,), (1382803460,), (1382803469,), (1382803473,), (1382803505,), (1382803506,), (1382803642,), (1382803644,), (1382803645,), (1382803649,), (1382803722,), (1382803723,), (1382803750,), (1382803822,), (1382803826,), (1382804347,), (1382804350,), (1382804354,), (1382804357,), (1382804361,), (1382804366,), (1382804387,), (1382803490,), (1382803491,), (1382803492,), (1382803499,), (1382803539,), (1382803541,), (1382803543,), (1382803544,), (1382803546,), (1382803549,), (1382803559,), (1382803562,), (1382803566,), (1382803567,), (1382803569,), (1382803571,), (1382803579,), (1382803582,), (1382803585,), (1382803591,), (1382803598,), (1382803600,), (1382803602,), (1382803603,), (1382803606,), (1382803612,), (1382803615,), (1382803618,), (1382803634,), (1382803640,), (1382803659,), (1382803661,), (1382803663,), (1382803664,), (1382803667,), (1382803672,), (1382803702,), (1382803703,), (1382803706,), (1382803707,), (1382803710,), (1382803711,), (1382803713,), (1382803714,), (1382803718,), (1382803719,), (1382803731,), (1382803734,), (1382803737,), (1382803741,), (1382803744,), (1382803756,), (1382803759,), (1382803762,), (1382803765,), (1382803767,), (1382803769,), (1382803772,), (1382803774,), (1382803792,), (1382803796,), (1382803800,), (1382803802,), (1382803809,), (1382803812,), (1382803818,), (1382803820,), (1382803842,), (1382803845,), (1382803848,), (1382803852,), (1382803856,), (1382803858,), (1382803863,), (1382803866,), (1382803871,), (1382803876,), (1382803879,), (1382803882,), (1382803889,), (1382803893,), (1382803902,), (1382803904,), (1382803906,), (1382803908,), (1382803916,), (1382803918,), (1382803925,), (1382803926,), (1382803927,), (1382803928,), (1382803939,), (1382803942,), (1382803946,), (1382803948,), (1382803952,), (1382803963,), (1382803976,), (1382803978,), (1382803980,), (1382804007,), (1382804012,), (1382804014,), (1382804017,), (1382804020,), (1382804023,), (1382804047,), (1382804051,), (1382804112,), (1382804113,), (1382804115,), (1382804116,), (1382804211,), (1382804213,), (1382804215,), (1382804217,), (1382804221,), (1382804307,), (1382804342,), (1382803970,), (1382803972,), (1382803974,), (1382803990,), (1382803991,), (1382803993,), (1382803997,), (1382803999,), (1382804001,), (1382804041,), (1382804042,), (1382804044,), (1382804045,), (1382804059,), (1382804061,), (1382804063,), (1382804065,), (1382804069,), (1382804078,), (1382804093,), (1382804094,), (1382804096,), (1382804097,), (1382804101,), (1382804103,), (1382804109,), (1382804111,), (1382804128,), (1382804130,), (1382804131,), (1382804132,), (1382804133,), (1382804137,), (1382804150,), (1382804154,), (1382804158,), (1382804168,), (1382804171,), (1382804174,), (1382804180,), (1382804182,), (1382804186,), (1382804190,), (1382804196,), (1382804200,), (1382804209,), (1382804229,), (1382804230,), (1382804232,), (1382804234,), (1382804242,), (1382804256,), (1382804286,), (1382804289,), (1382804291,), (1382804292,), (1382804303,), (1382804322,), (1382804330,), (1382804334,), (1382804337,), (1382804339,), (1382804376,), (1382804377,), (1382804378,), (1382804379,), (1382804382,), (1382804399,), (1382804400,), (1382804408,), (1382804409,), (1382804414,), (1382804415,), (1382804420,), (1382804423,), (1382804425,), (1382804427,), (1382804431,), (1382804432,), (1382804437,), (1382804440,), (1382804443,), (1382804447,), (1382804457,), (1382804460,), (1382804462,), (1382804466,), (1382804469,), (1382804490,), (1382804541,), (1382804483,), (1382804484,), (1382804486,), (1382804504,), (1382804507,), (1382804511,), (1382804517,), (1382804520,), (1382804522,), (1382804536,), (1382804538,), (1382804561,), (1382804562,), (1382804566,), (1382804568,), (1382804571,), (1382804574,), (1382804576,), (1382804578,), (1382804580,), (1382804581,), (1382804594,), (1382804595,), (1382804599,), (1382804602,), (1382804604,), (1382804614,), (1382804615,), (1382804620,), (1382804631,), (1382804641,), (1382804673,), (1382804676,), (1382804679,), (1382804684,), (1382804688,), (1382804693,), (1382804707,), (1382804716,), (1382804718,), (1382804723,), (1382804746,), (1382804749,), (1382804751,), (1382804756,), (1382804760,), (1382804779,), (1382804788,), (1382804791,), (1382804794,), (1382804796,), (1382804799,), (1382804808,), (1382804811,), (1382804816,), (1382804818,), (1382804821,), (1382804827,), (1382804835,), (1382804839,), (1382804843,), (1382804846,), (1382804858,), (1382804859,), (1382804865,), (1382804867,), (1382804869,), (1382804870,), (1382804879,), (1382804880,), (1382804884,), (1382804885,), (1382804890,), (1382804891,), (1382804894,), (1382804896,), (1382804897,), (1382804899,), (1382804900,), (1382804902,), (1382804962,), (1382804989,), (1382805016,), (1382805041,), (1382805065,), (1382805090,), (1382805389,), (1382805417,), (1382805444,), (1382805457,), (1382805461,), (1382805465,), (1382805476,), (1382805495,), (1382805520,), (1382805543,), (1382805716,), (1382806289,), (1382805644,), (1382805668,), (1382805675,), (1382805684,), (1382805708,), (1382805822,), (1382805845,), (1382805877,), (1382805901,), (1382805923,), (1382805948,), (1382806020,), (1382806043,), (1382806071,), (1382806095,), (1382806120,), (1382806144,), (1382806237,), (1382806263,), (1382806389,), (1382806390,), (1382806415,), (1382806416,), (1382806442,), (1382806447,), (1382806467,), (1382806470,), (1382806494,), (1382806498,), (1382806522,), (1382806524,), (1382806673,), (1382806732,), (1382806784,), (1382806807,), (1382807029,), (1382807090,), (1382807148,), (1382807196,), (1382807222,), (1382807262,), (1382807481,), (1382807506,), (1382807535,), (1382807562,), (1382807589,), (1382807624,), (1382807702,), (1382807707,), (1382807708,), (1382807710,), (1382807720,), (1382807723,), (1382807726,), (1382807728,), (1382807742,), (1382807770,), (1382807862,), (1382807884,), (1382807913,), (1382807941,), (1382807968,), (1382808047,), (1382808078,), (1382808089,), (1382808104,), (1382808129,), (1382808139,), (1382808178,), (1382808182,), (1382808186,), (1382808191,), (1382808196,), (1382808222,), (1382808225,), (1382808228,), (1382808232,), (1382808234,), (1382808253,), (1382808255,), (1382808257,), (1382808260,), (1382808264,), (1382808289,), (1382808290,), (1382808295,), (1382808298,), (1382808301,), (1382808303,), (1382808305,), (1382808312,), (1382808314,), (1382808325,), (1382808330,), (1382808334,), (1382808336,), (1382808338,), (1382808383,), (1382808359,), (1382808370,), (1382808374,), (1382808378,), (1382808381,), (1382808386,), (1382808388,), (1382808391,), (1382808397,), (1382808430,), (1382808432,), (1382808434,), (1382808437,), (1382808440,), (1382808443,), (1382808453,), (1382808456,), (1382808459,), (1382808462,), (1382808465,), (1382808488,), (1382808492,), (1382808496,), (1382808500,), (1382808503,), (1382808543,), (1382808546,), (1382808547,), (1382808551,), (1382808554,), (1382808556,), (1382808571,), (1382808579,), (1382808588,), (1382808594,), (1382808611,), (1382808613,), (1382808615,), (1382808619,), (1382808625,), (1382808629,), (1382808654,), (1382808655,), (1382808657,), (1382808660,), (1382808663,), (1382808665,), (1382808671,), (1382808673,), (1382808677,), (1382808680,), (1382808685,), (1382808686,), (1382808688,), (1382808690,), (1382808698,), (1382808700,), (1382808704,), (1382808705,), (1382808712,), (1382808714,), (1382808717,), (1382808721,), (1382808724,), (1382808727,), (1382808748,), (1382808758,), (1382808762,), (1382808766,), (1382808770,), (1382808774,), (1382808787,), (1382808788,), (1382808797,), (1382808804,), (1382808807,), (1382808811,), (1382808817,), (1382808820,), (1382808823,), (1382808824,), (1382808826,), (1382808830,), (1382808845,), (1382808848,), (1382808850,), (1382808922,), (1382808904,), (1382808911,), (1382808914,), (1382808918,), (1382808939,), (1382808945,), (1382808957,), (1382808968,), (1382808978,), (1382808979,), (1382808980,), (1382808983,), (1382808985,), (1382808989,), (1382809011,), (1382809012,), (1382809017,), (1382809019,), (1382809022,), (1382809025,), (1382809030,), (1382809037,), (1382809040,), (1382809051,), (1382809052,), (1382809056,), (1382809057,), (1382809059,), (1382809060,), (1382809073,), (1382809076,), (1382809080,), (1382809084,), (1382809086,), (1382809092,), (1382809097,), (1382809102,), (1382809107,), (1382809111,), (1382809114,), (1382809119,), (1382809123,), (1382809125,), (1382809127,), (1382809131,), (1382809140,), (1382809143,), (1382809145,), (1382809154,), (1382809161,), (1382809164,), (1382809167,), (1382809255,), (1382810680,), (1382810634,), (1382811176,), (1382811221,), (1382811264,), (1382811710,), (1382811753,), (1382811796,), (1382812101,), (1382812125,), (1382812147,), (1382812549,), (1382812582,), (1382812633,), (1382812767,), (1382812792,), (1382812814,), (1382812837,), (1382812863,), (1382812971,), (1382812994,), (1382812999,), (1382813025,), (1382813034,), (1382813052,), (1382813082,), (1382813092,), (1382813093,), (1382813115,), (1382813119,), (1382813122,), (1382813154,), (1382813155,), (1382813164,), (1382813167,), (1382813169,), (1382813197,), (1382813200,), (1382813203,), (1382813207,), (1382813220,), (1382813225,), (1382813228,), (1382813258,), (1382813310,), (1382813241,), (1382813243,), (1382813246,), (1382813251,), (1382813255,), (1382813269,), (1382813272,), (1382813277,), (1382813281,), (1382813285,), (1382813288,), (1382813295,), (1382813298,), (1382813302,), (1382813305,), (1382813308,), (1382813314,), (1382813316,), (1382813319,), (1382813326,), (1382813331,), (1382813336,), (1382813340,), (1382813343,), (1382813347,), (1382813350,), (1382813352,), (1382813356,), (1382813360,), (1382813364,), (1382813375,), (1382813379,), (1382813383,), (1382813385,), (1382813405,), (1382813415,), (1382813421,), (1382813424,), (1382813427,), (1382813430,), (1382813432,), (1382813434,), (1382813436,), (1382813439,), (1382813467,), (1382813470,), (1382813472,), (1382813474,), (1382813475,), (1382813476,), (1382813481,), (1382813484,), (1382813492,), (1382813493,), (1382813500,), (1382813501,), (1382813504,), (1382813505,), (1382813508,), (1382813509,), (1382813515,), (1382813522,), (1382813529,), (1382813532,), (1382813535,), (1382813540,), (1382813543,), (1382813547,), (1382813551,), (1382813556,), (1382813560,), (1382813564,), (1382813566,), (1382813576,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'09092025': {'nb_upload': 74, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([26698004]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] map_info['map_portfolio_photo'] : {26698004: [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515, 1382813509, 1382813508, 1382813505, 1382813504, 1382813501, 1382813500, 1382813493, 1382813492, 1382813484, 1382813481, 1382813476, 1382813475, 1382813474, 1382813472, 1382813470, 1382813467, 1382813439, 1382813436, 1382813434, 1382813432, 1382813430, 1382813427, 1382813424, 1382813421, 1382813415, 1382813405, 1382813385, 1382813383, 1382813379, 1382813375, 1382813364, 1382813360, 1382813356, 1382813352, 1382813350, 1382813347, 1382813343, 1382813340, 1382813336, 1382813331, 1382813326, 1382813319, 1382813316, 1382813314, 1382813308, 1382813305, 1382813302, 1382813298, 1382813295, 1382813288, 1382813285, 1382813281, 1382813277, 1382813272, 1382813269, 1382813255, 1382813251, 1382813246, 1382813243, 1382813241]} final : True mtd_id 4302 list_pids : [1382813576, 1382813566, 1382813564, 1382813560, 1382813556, 1382813551, 1382813547, 1382813543, 1382813540, 1382813535, 1382813532, 1382813529, 1382813522, 1382813515] Looping around the photos to save general results len do output : 1 /26698004Didn'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, '3686307') ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307') ('4302', None, None, None, None, None, None, None, '3686307') ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 15 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, '26698004', 'None', None, None, None, None, '3686307'), ('4302', '26698004', '1382813576', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813566', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813564', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813560', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813556', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813551', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813547', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813543', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813540', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813535', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813532', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813529', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813522', None, None, None, None, None, '3686307'), ('4302', '26698004', '1382813515', None, None, None, None, None, '3686307')] time used for this insertion : 0.031121015548706055 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.178821086883545 time spend to save output : 0.03142356872558594 total time spend for step 5 : 8.21024465560913 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 (3686307) 2.42user 2.71system 0:20.36elapsed 25%CPU (0avgtext+0avgdata 162256maxresident)k 768inputs+16968outputs (15major+77317minor)pagefaults 0swaps