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 : 2127620 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 (4327438) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4327438) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050347 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4327438'] with mtr_portfolio_ids : ['30050347'] and first list_photo_ids : [] new path : /proc/2127620/ Name: python3 Umask: 0002 State: R (running) Tgid: 2127620 Ngid: 0 Pid: 2127620 PPid: 2127619 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2127620 NSpid: 2127620 NSpgid: 2127022 NSsid: 2127022 VmPeak: 1113372 kB VmSize: 1113372 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105280 kB VmRSS: 105280 kB RssAnon: 66320 kB RssFile: 38960 kB RssShmem: 0 kB VmData: 872100 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 560 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: 43 nonvoluntary_ctxt_switches: 118 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2127620', 'Ngid': '0', 'Pid': '2127620', 'PPid': '2127619', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2127620', 'NSpid': '2127620', 'NSpgid': '2127022', 'NSsid': '2127022', 'VmPeak': '1113372 kB', 'VmSize': '1113372 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105280 kB', 'VmRSS': '105280 kB', 'RssAnon': '66320 kB', 'RssFile': '38960 kB', 'RssShmem': '0 kB', 'VmData': '872100 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '560 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': '43', 'nonvoluntary_ctxt_switches': '118'} ('datou_batch_current', '2127620', '1113372', '0', '1113372', '872100', '105280', b'', 'marlene', '4327438') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (30050347) 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 (4327438 ) ) 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 (30050347) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402937796, 'portfolio_id': 30050347}, {'photo_id': 1402937593, 'portfolio_id': 30050347}, {'photo_id': 1402937592, 'portfolio_id': 30050347}, {'photo_id': 1402937591, 'portfolio_id': 30050347}, {'photo_id': 1402937589, 'portfolio_id': 30050347}, {'photo_id': 1402937535, 'portfolio_id': 30050347}, {'photo_id': 1402937534, 'portfolio_id': 30050347}, {'photo_id': 1402937526, 'portfolio_id': 30050347}, {'photo_id': 1402937525, 'portfolio_id': 30050347}, {'photo_id': 1402937523, 'portfolio_id': 30050347}, {'photo_id': 1402937521, 'portfolio_id': 30050347}, {'photo_id': 1402937097, 'portfolio_id': 30050347}, {'photo_id': 1402937061, 'portfolio_id': 30050347}, {'photo_id': 1402936663, 'portfolio_id': 30050347}, {'photo_id': 1402936631, 'portfolio_id': 30050347}, {'photo_id': 1402936598, 'portfolio_id': 30050347}, {'photo_id': 1402936287, 'portfolio_id': 30050347}, {'photo_id': 1402936285, 'portfolio_id': 30050347}, {'photo_id': 1402935894, 'portfolio_id': 30050347}, {'photo_id': 1402935874, 'portfolio_id': 30050347}, {'photo_id': 1402935871, 'portfolio_id': 30050347}, {'photo_id': 1402935858, 'portfolio_id': 30050347}, {'photo_id': 1402935843, 'portfolio_id': 30050347}, {'photo_id': 1402935842, 'portfolio_id': 30050347}, {'photo_id': 1402935840, 'portfolio_id': 30050347}, {'photo_id': 1402935810, 'portfolio_id': 30050347}, {'photo_id': 1402935679, 'portfolio_id': 30050347}, {'photo_id': 1402935665, 'portfolio_id': 30050347}, {'photo_id': 1402935572, 'portfolio_id': 30050347}, {'photo_id': 1402935568, 'portfolio_id': 30050347}, {'photo_id': 1402935566, 'portfolio_id': 30050347}, {'photo_id': 1402935549, 'portfolio_id': 30050347}, {'photo_id': 1402935541, 'portfolio_id': 30050347}, {'photo_id': 1402935327, 'portfolio_id': 30050347}, {'photo_id': 1402935294, 'portfolio_id': 30050347}] map_portfolio_id_photo_id: {30050347: [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294]} ##### 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.020158052444458008 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Fri Jan 9 05:42:28 2026 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 (30050347) 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 : 30050347 get user id for portfolio 30050347 get sub ptf for main ptf 30050347, type 3726 and hashtags ['flou', 'plastique', 'Teint_Dans_La_Masse', 'papier', 'mal_croppe', 'Carton_brun', 'kraft', 'metal', 'Carton_gris', 'environnement', 'cartonnette', 'autre_refus'] 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`=30050347 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','plastique','Teint_Dans_La_Masse','papier','mal_croppe','Carton_brun','kraft','metal','Carton_gris','environnement','cartonnette','autre_refus')) 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`=30050347 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','plastique','Teint_Dans_La_Masse','papier','mal_croppe','Carton_brun','kraft','metal','Carton_gris','environnement','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 30050347, 'sub_port_id': 30050394, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572344, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'Carton_brun': {'main_port_id': 30050347, 'sub_port_id': 30050396, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572345, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'papier': {'main_port_id': 30050347, 'sub_port_id': 30050397, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572346, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'kraft': {'main_port_id': 30050347, 'sub_port_id': 30050398, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572347, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'mal_croppe': {'main_port_id': 30050347, 'sub_port_id': 30050400, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572348, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'autre_refus': {'main_port_id': 30050347, 'sub_port_id': 30050401, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572349, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'metal': {'main_port_id': 30050347, 'sub_port_id': 30050403, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572350, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'environnement': {'main_port_id': 30050347, 'sub_port_id': 30050404, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572351, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'flou': {'main_port_id': 30050347, 'sub_port_id': 30050405, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572352, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'plastique': {'main_port_id': 30050347, 'sub_port_id': 30050407, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572353, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 30050347, 'sub_port_id': 30050408, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572354, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}, 'cartonnette': {'main_port_id': 30050347, 'sub_port_id': 30050410, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572355, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050394 , 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=30050347 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 (30050394) result : ((1402936743,), (1402937501,), (1402937502,), (1402937503,), (1402937653,), (1402937678,), (1402937801,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050396 , 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=30050347 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 (30050396) result : ((1402936752,), (1402937000,), (1402937002,), (1402937004,), (1402937006,), (1402937008,), (1402937010,), (1402937508,), (1402937545,), (1402937546,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050397 , 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=30050347 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 (30050397) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050398 , 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=30050347 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 (30050398) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050400 , 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=30050347 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 (30050400) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050401 , 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=30050347 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 (30050401) result : ((1402935720,), (1402935722,), (1402935724,), (1402936984,), (1402937498,), (1402937809,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050403 , 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=30050347 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 (30050403) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050404 , 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=30050347 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 (30050404) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050405 , 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=30050347 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 (30050405) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050407 , 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=30050347 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 (30050407) result : ((1402935756,), (1402937679,), (1402937680,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050408 , 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=30050347 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 (30050408) result : ((1402936976,), (1402937493,), (1402937512,), (1402937513,), (1402937514,), (1402937515,), (1402937516,), (1402937542,), (1402937644,), (1402937676,), (1402937677,), (1402937799,), (1402937800,), (1402946548,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 30050410 , 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=30050347 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 (30050410) result : ((1402935742,), (1402935744,), (1402935746,), (1402935748,), (1402937504,), (1402937505,), (1402937506,), (1402937517,), (1402937518,), (1402937590,), (1402937663,), (1402937665,), (1402937802,), (1402937803,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (30050347) result : ((1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=30050347 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','plastique','Teint_Dans_La_Masse','papier','mal_croppe','Carton_brun','kraft','metal','Carton_gris','environnement','cartonnette','autre_refus')) 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`=30050347 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','plastique','Teint_Dans_La_Masse','papier','mal_croppe','Carton_brun','kraft','metal','Carton_gris','environnement','cartonnette','autre_refus')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 30050347, 'sub_port_id': 30050420, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572373, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'Carton_brun': {'main_port_id': 30050347, 'sub_port_id': 30050421, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572374, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'papier': {'main_port_id': 30050347, 'sub_port_id': 30050422, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572375, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'kraft': {'main_port_id': 30050347, 'sub_port_id': 30050423, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572376, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'mal_croppe': {'main_port_id': 30050347, 'sub_port_id': 30050424, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572377, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'autre_refus': {'main_port_id': 30050347, 'sub_port_id': 30050425, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572378, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'metal': {'main_port_id': 30050347, 'sub_port_id': 30050426, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572379, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'environnement': {'main_port_id': 30050347, 'sub_port_id': 30050427, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572380, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'flou': {'main_port_id': 30050347, 'sub_port_id': 30050428, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572381, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'plastique': {'main_port_id': 30050347, 'sub_port_id': 30050429, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572382, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 30050347, 'sub_port_id': 30050430, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572383, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 19, 29), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}, 'cartonnette': {'main_port_id': 30050347, 'sub_port_id': 30050431, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20572384, 'last_updated_at': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_desc': datetime.datetime(2026, 1, 8, 8, 33), 'last_updated_at_asc': datetime.datetime(2026, 1, 8, 8, 19, 29)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050394 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050396 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050397 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050398 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050400 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050401 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050403 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050404 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050405 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050430,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 30050431,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 30050410 lien utilise dans velours : https://marlene.fotonower.com/velours/30050420,30050421,30050422,30050423,30050424,30050425,30050426,30050427,30050428,30050429,30050430,30050431?tags=Carton_gris,Carton_brun,papier,kraft,mal_croppe,autre_refus,metal,environnement,flou,plastique,Teint_Dans_La_Masse,cartonnette After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30050347]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] map_info['map_portfolio_photo'] : {30050347: [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294]} final : False mtd_id 4302 list_pids : [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] Looping around the photos to save general results len do output : 1 /30050347. 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, '4327438') ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '30050347', "{'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410}", None, None, None, None, '4327438'), ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438')] time used for this insertion : 0.021853208541870117 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.869739294052124 time spend to save output : 0.022491931915283203 total time spend for step 1 : 1.8922312259674072 step2:final Fri Jan 9 05:42:30 2026 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 (30050347) 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 30050347 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402935327,1402935294,1402935572,1402935568,1402935566,1402935549,1402935541,1402935679,1402935665,1402935843,1402935842,1402935840,1402935810,1402935894,1402935874,1402935871,1402935858,1402936287,1402936663,1402936285,1402936631,1402936598,1402937097,1402937061,1402937526,1402937525,1402937523,1402937521,1402937535,1402937534,1402937593,1402937592,1402937591,1402937589,1402937796); 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([30050347]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} new output for save of step final : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] map_info['map_portfolio_photo'] : {30050347: [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294]} final : False mtd_id 4302 list_pids : [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] Looping around the photos to save general results len do output : 35 /1402937796.Didn't retrieve data . /1402937593.Didn't retrieve data . /1402937592.Didn't retrieve data . /1402937591.Didn't retrieve data . /1402937589.Didn't retrieve data . /1402937535.Didn't retrieve data . /1402937534.Didn't retrieve data . /1402937526.Didn't retrieve data . /1402937525.Didn't retrieve data . /1402937523.Didn't retrieve data . /1402937521.Didn't retrieve data . /1402937097.Didn't retrieve data . /1402937061.Didn't retrieve data . /1402936663.Didn't retrieve data . /1402936631.Didn't retrieve data . /1402936598.Didn't retrieve data . /1402936287.Didn't retrieve data . /1402936285.Didn't retrieve data . /1402935894.Didn't retrieve data . /1402935874.Didn't retrieve data . /1402935871.Didn't retrieve data . /1402935858.Didn't retrieve data . /1402935843.Didn't retrieve data . /1402935842.Didn't retrieve data . /1402935840.Didn't retrieve data . /1402935810.Didn't retrieve data . /1402935679.Didn't retrieve data . /1402935665.Didn't retrieve data . /1402935572.Didn't retrieve data . /1402935568.Didn't retrieve data . /1402935566.Didn't retrieve data . /1402935549.Didn't retrieve data . /1402935541.Didn't retrieve data . /1402935327.Didn't retrieve data . /1402935294.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, '4327438') ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 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', '30050347', '1402937796', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937593', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937592', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937591', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937589', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937535', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937534', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937526', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937525', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937523', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937521', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937097', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402937061', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402936663', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402936631', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402936598', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402936287', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402936285', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935894', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935874', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935871', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935858', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935843', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935842', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935840', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935810', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935679', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935665', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935572', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935568', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935566', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935549', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935541', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935327', '0.0761617187915905', None, None, None, None, '4327438'), ('4302', '30050347', '1402935294', '0.0761617187915905', None, None, None, None, '4327438')] time used for this insertion : 0.025072097778320312 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08261442184448242 time spend to save output : 0.026120424270629883 total time spend for step 2 : 0.1087348461151123 step3:velours_tree Fri Jan 9 05:42:30 2026 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 : {30050347: [{'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410}]} input_args_next_step : {30050347: ()} output_args : {30050347: [{'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410}]} args : 30050347 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 : ({'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30050347) 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([30050347]) 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.30355334281921387 time spend to save output : 9.846687316894531e-05 total time spend for step 3 : 0.3036518096923828 step4:send_mail_cod Fri Jan 9 05:42:30 2026 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 : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} input_args_next_step : {1402937796: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937796 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937593 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937592 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937591 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937589 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937535 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937534 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937526 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937525 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937523 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937521 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937097 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402937061 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402936663 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402936631 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402936598 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402936287 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402936285 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935894 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935874 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935871 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935858 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935843 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935842 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935840 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935810 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935679 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935665 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935572 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935568 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935566 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935549 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935541 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935327 depend.output_id : 0 input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ()} output_args : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',)} args : 1402935294 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 : {30050347: [{'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410}]} input_args_next_step : {1402937796: ('0.0761617187915905',), 1402937593: ('0.0761617187915905',), 1402937592: ('0.0761617187915905',), 1402937591: ('0.0761617187915905',), 1402937589: ('0.0761617187915905',), 1402937535: ('0.0761617187915905',), 1402937534: ('0.0761617187915905',), 1402937526: ('0.0761617187915905',), 1402937525: ('0.0761617187915905',), 1402937523: ('0.0761617187915905',), 1402937521: ('0.0761617187915905',), 1402937097: ('0.0761617187915905',), 1402937061: ('0.0761617187915905',), 1402936663: ('0.0761617187915905',), 1402936631: ('0.0761617187915905',), 1402936598: ('0.0761617187915905',), 1402936287: ('0.0761617187915905',), 1402936285: ('0.0761617187915905',), 1402935894: ('0.0761617187915905',), 1402935874: ('0.0761617187915905',), 1402935871: ('0.0761617187915905',), 1402935858: ('0.0761617187915905',), 1402935843: ('0.0761617187915905',), 1402935842: ('0.0761617187915905',), 1402935840: ('0.0761617187915905',), 1402935810: ('0.0761617187915905',), 1402935679: ('0.0761617187915905',), 1402935665: ('0.0761617187915905',), 1402935572: ('0.0761617187915905',), 1402935568: ('0.0761617187915905',), 1402935566: ('0.0761617187915905',), 1402935549: ('0.0761617187915905',), 1402935541: ('0.0761617187915905',), 1402935327: ('0.0761617187915905',), 1402935294: ('0.0761617187915905',), 30050347: ()} output_args : {30050347: [{'Carton_gris': 30050394, 'Carton_brun': 30050396, 'papier': 30050397, 'kraft': 30050398, 'mal_croppe': 30050400, 'autre_refus': 30050401, 'metal': 30050403, 'environnement': 30050404, 'flou': 30050405, 'plastique': 30050407, 'Teint_Dans_La_Masse': 30050408, 'cartonnette': 30050410}]} args : 30050347 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 :36, first value : ('0.0761617187915905',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30050347) 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_view ph WHERE photo_id IN (1402937796,1402937593,1402937592,1402937591,1402937589,1402937535,1402937534,1402937526,1402937525,1402937523,1402937521,1402937097,1402937061,1402936663,1402936631,1402936598,1402936287,1402936285,1402935894,1402935874,1402935871,1402935858,1402935843,1402935842,1402935840,1402935810,1402935679,1402935665,1402935572,1402935568,1402935566,1402935549,1402935541,1402935327,1402935294) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402935294 begin to download photo : 1402935679 begin to download photo : 1402935894 begin to download photo : 1402937521 begin to download photo : 1402937592 download finish for photo 1402935294 begin to download photo : 1402935327 download finish for photo 1402935679 begin to download photo : 1402935810 download finish for photo 1402935894 begin to download photo : 1402936285 download finish for photo 1402937521 begin to download photo : 1402937523 download finish for photo 1402937592 begin to download photo : 1402937593 download finish for photo 1402935810 begin to download photo : 1402935840 download finish for photo 1402935327 begin to download photo : 1402935541 download finish for photo 1402937523 begin to download photo : 1402937525 download finish for photo 1402937593 begin to download photo : 1402937796 download finish for photo 1402936285 begin to download photo : 1402936287 download finish for photo 1402935840 begin to download photo : 1402935842 download finish for photo 1402937525 begin to download photo : 1402937526 download finish for photo 1402935541 begin to download photo : 1402935549 download finish for photo 1402937796 download finish for photo 1402936287 begin to download photo : 1402936598 download finish for photo 1402935842 begin to download photo : 1402935843 download finish for photo 1402935549 begin to download photo : 1402935566 download finish for photo 1402937526 begin to download photo : 1402937534 download finish for photo 1402936598 begin to download photo : 1402936631 download finish for photo 1402935843 begin to download photo : 1402935858 download finish for photo 1402937534 begin to download photo : 1402937535 download finish for photo 1402935566 begin to download photo : 1402935568 download finish for photo 1402936631 begin to download photo : 1402936663 download finish for photo 1402935568 begin to download photo : 1402935572 download finish for photo 1402935858 begin to download photo : 1402935871 download finish for photo 1402937535 begin to download photo : 1402937589 download finish for photo 1402936663 begin to download photo : 1402937061 download finish for photo 1402935572 begin to download photo : 1402935665 download finish for photo 1402935871 begin to download photo : 1402935874 download finish for photo 1402937589 begin to download photo : 1402937591 download finish for photo 1402937061 begin to download photo : 1402937097 download finish for photo 1402935665 download finish for photo 1402935874 download finish for photo 1402937591 download finish for photo 1402937097 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette300503981767933752/ imagette300504001767933752/ length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P30050347_09-01-2026_05_42_32.pdf 30050398 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050398 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300503981767933752 30050400 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050400 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300504001767933752 30050401 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050401 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402935720: '1767856767_2211317_1402935566_371a8abd1b9afedba598795b83ce9f7b_rle_crop_4093748557_0.png', 1402935722: '1767856767_2211317_1402935566_371a8abd1b9afedba598795b83ce9f7b_rle_crop_4093748562_0.png', 1402935724: '1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748585_0.png', 1402936984: '1767857006_2222806_1402935874_c7864b25616708633eba1cc82e438423_rle_crop_4093752602_0.png', 1402937498: '1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752770_0.png', 1402937809: '1767857486_2246279_1402937535_99b6a40bf580401ec7d707afb6f60540_rle_crop_4093754934_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/1a615fc950fea2b86c99f656d32832df_20694637.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/21af0d02eaa4f3aafa3f4b5c523ddceb_90435384.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e16a2544d9236eda7c0d24e7c5164034_2662907.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/faa27071e347ceb422f04d2698640dcd_1256842.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/20fced97d615059271dc9426c6c118e4_2997448.png change filename to text .imagette300504011767933752/ imagette300504011767933752/1767857486_2246279_1402937535_99b6a40bf580401ec7d707afb6f60540_rle_crop_4093754934_0.png.png imagette300504011767933752/1767857006_2222806_1402935874_c7864b25616708633eba1cc82e438423_rle_crop_4093752602_0.png.png imagette300504011767933752/1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752770_0.png.png imagette300504011767933752/1767856767_2211317_1402935566_371a8abd1b9afedba598795b83ce9f7b_rle_crop_4093748562_0.png.png imagette300504011767933752/1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748585_0.png.png imagette300504011767933752/1767856767_2211317_1402935566_371a8abd1b9afedba598795b83ce9f7b_rle_crop_4093748557_0.png.png imagette300504031767933752/ imagette300504051767933752/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/afd005a82866ca5b763bb09be3c2f4a3_10894808.png imagette300504011767933752 30050403 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050403 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300504031767933752 30050405 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050405 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette300504051767933752 30050407 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402935756: '1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748586_0.png', 1402937679: '1767857366_2240544_1402937592_429d197751975ec2527f3df31f591ecd_rle_crop_4093754768_0.png', 1402937680: '1767857366_2240544_1402937589_bd3e8abeccc505de17bc182999d1f55d_rle_crop_4093754802_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/a97d59f8f3cd36db0e576373f8de0d31_79216953.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/847ec97cea290d20301029ae00844ce4_25505981.png change filename to text .imagette300504071767933752/ imagette300504071767933752/1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748586_0.png.png imagette300504071767933752/1767857366_2240544_1402937592_429d197751975ec2527f3df31f591ecd_rle_crop_4093754768_0.png.png imagette300504071767933752/1767857366_2240544_1402937589_bd3e8abeccc505de17bc182999d1f55d_rle_crop_4093754802_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/20a56e851e4f9f5951ded909127feed3_50844467.png imagette300504071767933752 30050410 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402935742: '1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748567_0.png', 1402935744: '1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748568_0.png', 1402935746: '1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748566_0.png', 1402935748: '1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748581_0.png', 1402937504: '1767857108_2227952_1402935572_0b81028a606ebbd940155a48a0985afa_rle_crop_4093752754_0.png', 1402937505: '1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752775_0.png', 1402937506: '1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752794_0.png', 1402937517: '1767857126_2228378_1402936631_1a1d1482c27dd4c404ba688b4225c2fa_rle_crop_4093752932_0.png', 1402937518: '1767857126_2228378_1402936285_4f2b7b58525ff20eea9f4eb7c4810b98_rle_crop_4093752985_0.png', 1402937590: '1767857247_2234535_1402937526_3118819674f111fef6e7039ba63b7703_rle_crop_4093754217_0.png', 1402937663: '1767857347_2240178_1402937525_ae55e11c5c626b3755bacb7bce93a8b9_rle_crop_4093754630_0.png', 1402937665: '1767857347_2240178_1402937521_7a7e6953378548c51e0d522f9ac822f7_rle_crop_4093754649_0.png', 1402937802: '1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754879_0.png', 1402937803: '1767857468_2245730_1402937534_c16c6801ae321e0b2045269dece5b7d9_rle_crop_4093754903_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e97b4f83fab9825a434a77b374655bf0_80540278.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/f19016b053b37343afef8f6b5f353859_16437097.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/ef84a5390a7b1d0f0f015ad02611c321_90968720.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c70217b90dea17ddf70ed3c7f9e0122d_45605139.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/223610048f18cb3ef4be20f811305a6f_70228812.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/4f825ba1ee17fde4e64ee44e8910622d_16449621.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/ba21bdf79cf85e21ca59f91469af7d08_49599697.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8b4a3c6dcb8a8e5821668cee06c47071_90617051.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8b4a3c6dcb8a8e5821668cee06c47071_86554616.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/1de1ed79ef789159f225b70fce95b7c2_23474062.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/84d3105c666959ef27ee47d0b2505adf_20181140.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/a3b8e573904cb041257ab548160cbf97_10789178.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8655f95811defbab2dd33fe89945ab05_3954979.png change filename to text .imagette300504101767933753/ imagette300504101767933753/1767857108_2227952_1402935572_0b81028a606ebbd940155a48a0985afa_rle_crop_4093752754_0.png.png imagette300504101767933753/1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748567_0.png.png imagette300504101767933753/1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752775_0.png.png imagette300504101767933753/1767857347_2240178_1402937525_ae55e11c5c626b3755bacb7bce93a8b9_rle_crop_4093754630_0.png.png imagette300504101767933753/1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752794_0.png.png imagette300504101767933753/1767857347_2240178_1402937521_7a7e6953378548c51e0d522f9ac822f7_rle_crop_4093754649_0.png.png imagette300504101767933753/1767857247_2234535_1402937526_3118819674f111fef6e7039ba63b7703_rle_crop_4093754217_0.png.png imagette300504101767933753/1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754879_0.png.png imagette300504101767933753/1767856767_2211317_1402935541_2ad651e336b877b81e28129358d26397_rle_crop_4093748581_0.png.png imagette300504101767933753/1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748566_0.png.png imagette300504101767933753/1767857126_2228378_1402936631_1a1d1482c27dd4c404ba688b4225c2fa_rle_crop_4093752932_0.png.png imagette300504101767933753/1767857126_2228378_1402936285_4f2b7b58525ff20eea9f4eb7c4810b98_rle_crop_4093752985_0.png.png imagette300504101767933753/1767857468_2245730_1402937534_c16c6801ae321e0b2045269dece5b7d9_rle_crop_4093754903_0.png.png imagette300504101767933753/1767856767_2211317_1402935549_6b43e02381aee7876487e48c580fbdf6_rle_crop_4093748568_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/d2fd8213591e212a3538019afcc711cb_71000782.png imagette300504101767933753 30050394 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050394 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402936743: '1767856987_2222410_1402935665_1238468f862137ec818c624bf36cf2e5_rle_crop_4093752457_0.png', 1402937501: '1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752769_0.png', 1402937502: '1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752782_0.png', 1402937503: '1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752788_0.png', 1402937653: '1767857347_2240178_1402937523_61bfd8fa1c711851832576661083e17e_rle_crop_4093754639_0.png', 1402937678: '1767857366_2240544_1402937589_bd3e8abeccc505de17bc182999d1f55d_rle_crop_4093754794_0.png', 1402937801: '1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754880_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/d4a0a71be8f306ad1dc0b605f3b418f0_66436258.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/dca72ef473558a64f05ed2170244cb8a_7000105.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/37e9ca4100ccd11550046cd7de604c0c_78940071.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c84064e9b87e9a3cf6b637679ae5a24a_58409790.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c4c4a4d23e7b955847660a3fe6f739dc_76959338.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/acc1d9750cbc4e94223c3fc6006c451e_69133757.png change filename to text .imagette300503941767933754/ imagette300503941767933754/1767857366_2240544_1402937589_bd3e8abeccc505de17bc182999d1f55d_rle_crop_4093754794_0.png.png imagette300503941767933754/1767856987_2222410_1402935665_1238468f862137ec818c624bf36cf2e5_rle_crop_4093752457_0.png.png imagette300503941767933754/1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752788_0.png.png imagette300503941767933754/1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752782_0.png.png imagette300503941767933754/1767857347_2240178_1402937523_61bfd8fa1c711851832576661083e17e_rle_crop_4093754639_0.png.png imagette300503941767933754/1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754880_0.png.png imagette300503941767933754/1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752769_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/324a2fac68f740e938cee8ece3995cec_38428404.png imagette300503941767933754 30050396 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050396 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402936752: '1767856987_2222410_1402935665_1238468f862137ec818c624bf36cf2e5_rle_crop_4093752458_0.png', 1402937000: '1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752586_0.png', 1402937002: '1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752585_0.png', 1402937004: '1767857006_2222806_1402935874_c7864b25616708633eba1cc82e438423_rle_crop_4093752600_0.png', 1402937006: '1767857006_2222806_1402935871_68e2dfe5c7cdae1d31db4132751f44d7_rle_crop_4093752611_0.png', 1402937008: '1767857006_2222806_1402935858_be55ab539e549e20ad8d09134411be23_rle_crop_4093752622_0.png', 1402937010: '1767857006_2222806_1402935858_be55ab539e549e20ad8d09134411be23_rle_crop_4093752621_0.png', 1402937508: '1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752790_0.png', 1402937545: '1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753850_0.png', 1402937546: '1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753849_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/0d5eb89caf44fd7faa2daf46baa10581_32630380.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/fa3c31bcf9095ca3c4ffbb5bf66e6ac3_78736220.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/70d1b11c9828744f5ea3d73ad5c2acdb_2893130.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c58694740a53adae2a0add6475188e63_14666360.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/659225613dea5e83ebf20d1ceddc3b40_65080246.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/f9866bd9aee8a054077caee5073fc8b2_49308692.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/68d3f2aa55d0bd649028e496ead7e400_46747178.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/d97dbd27e3aec00dc2668043d61b2d8a_25361291.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/fa3c31bcf9095ca3c4ffbb5bf66e6ac3_11767040.png change filename to text .imagette300503961767933755/ imagette300503961767933755/1767857006_2222806_1402935874_c7864b25616708633eba1cc82e438423_rle_crop_4093752600_0.png.png imagette300503961767933755/1767857006_2222806_1402935871_68e2dfe5c7cdae1d31db4132751f44d7_rle_crop_4093752611_0.png.png imagette300503961767933755/1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753850_0.png.png imagette300503961767933755/1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753849_0.png.png imagette300503961767933755/1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752586_0.png.png imagette300503961767933755/1767857108_2227952_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5_rle_crop_4093752790_0.png.png imagette300503961767933755/1767856987_2222410_1402935665_1238468f862137ec818c624bf36cf2e5_rle_crop_4093752458_0.png.png imagette300503961767933755/1767857006_2222806_1402935858_be55ab539e549e20ad8d09134411be23_rle_crop_4093752622_0.png.png imagette300503961767933755/1767857006_2222806_1402935858_be55ab539e549e20ad8d09134411be23_rle_crop_4093752621_0.png.png imagette300503961767933755/1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752585_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/70d1b11c9828744f5ea3d73ad5c2acdb_13461734.png imagette300503961767933755 30050408 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402936976: '1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752592_0.png', 1402937493: '1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752772_0.png', 1402937512: '1767857126_2228378_1402936631_1a1d1482c27dd4c404ba688b4225c2fa_rle_crop_4093752931_0.png', 1402937513: '1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752967_0.png', 1402937514: '1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752970_0.png', 1402937515: '1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752964_0.png', 1402937516: '1767857126_2228378_1402936285_4f2b7b58525ff20eea9f4eb7c4810b98_rle_crop_4093752984_0.png', 1402937542: '1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753856_0.png', 1402937644: '1767857347_2240178_1402937525_ae55e11c5c626b3755bacb7bce93a8b9_rle_crop_4093754631_0.png', 1402937676: '1767857366_2240544_1402937592_429d197751975ec2527f3df31f591ecd_rle_crop_4093754773_0.png', 1402937677: '1767857366_2240544_1402937591_1827039a44c7b371dc6d74803bc2ca18_rle_crop_4093754784_0.png', 1402937799: '1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754884_0.png', 1402937800: '1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754883_0.png', 1402946548: '1767860485_2388505_1402935894_62bcf18538572f34bd734ebd711d5527_rle_crop_4093812295_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c7e7836bb9e21318e03091c9c62557c4_31092128.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e90165ef88b6d86c13a860a29e4138b2_82459931.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e7ee49db567190064bae776db1ed5624_1962510.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c8117cfcf04066bba9d796c3d8e2a317_80254441.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/6477e88b34ebaa13ed4f47ed0f923004_86709371.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/1ac71b73ebcd331e85210135da74abeb_55356921.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/e7ee49db567190064bae776db1ed5624_94862008.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/c7e7836bb9e21318e03091c9c62557c4_24157837.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/2bcdf89784533622952bfdf9e8db9eed_57739611.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/05502792a35e16aa7ab50abd9d40b856_75941851.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/7866000f537df24a9e2de4caab71d3bd_50126717.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/761a735a0a0b5e4ac5d1c35eec4d966b_86225088.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/8ce1cf90a43fadb63bfbd9029e60e63f_21806531.png change filename to text .imagette300504081767933756/ imagette300504081767933756/1767857366_2240544_1402937591_1827039a44c7b371dc6d74803bc2ca18_rle_crop_4093754784_0.png.png imagette300504081767933756/1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754883_0.png.png imagette300504081767933756/1767857006_2222806_1402936287_22789e12f7658abd508295873772a1c4_rle_crop_4093752592_0.png.png imagette300504081767933756/1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752967_0.png.png imagette300504081767933756/1767857468_2245730_1402937593_cd308b96588be840106c4774d98232e4_rle_crop_4093754884_0.png.png imagette300504081767933756/1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752964_0.png.png imagette300504081767933756/1767857126_2228378_1402936285_4f2b7b58525ff20eea9f4eb7c4810b98_rle_crop_4093752984_0.png.png imagette300504081767933756/1767857225_2234092_1402936663_1c9d415de444bf7844205cd2e5c75ec8_rle_crop_4093753856_0.png.png imagette300504081767933756/1767857347_2240178_1402937525_ae55e11c5c626b3755bacb7bce93a8b9_rle_crop_4093754631_0.png.png imagette300504081767933756/1767857366_2240544_1402937592_429d197751975ec2527f3df31f591ecd_rle_crop_4093754773_0.png.png imagette300504081767933756/1767857126_2228378_1402936631_1a1d1482c27dd4c404ba688b4225c2fa_rle_crop_4093752931_0.png.png imagette300504081767933756/1767860485_2388505_1402935894_62bcf18538572f34bd734ebd711d5527_rle_crop_4093812295_0.png.png imagette300504081767933756/1767857108_2227952_1402935327_4551e7be6d9b2d100169b01b7dc0255b_rle_crop_4093752772_0.png.png imagette300504081767933756/1767857126_2228378_1402936598_dcb8913973ea3173e265b60b90ad50f5_rle_crop_4093752970_0.png.png wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/b0d1a4e3d080fe3119891070d5e94aa6_39940993.png imagette300504081767933756 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=30050347 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/30050420,30050421,30050422,30050423,30050424,30050425,30050426,30050427,30050428,30050429,30050430,30050431?tags=Carton_gris,Carton_brun,papier,kraft,mal_croppe,autre_refus,metal,environnement,flou,plastique,Teint_Dans_La_Masse,cartonnette your option no_mail is active, we will not send the real mail to your client args[1402937796] : ('0.0761617187915905',) no score found for photo 1402937796 We are sending mail with results at report@fotonower.com args[1402937593] : ('0.0761617187915905',) no score found for photo 1402937593 We are sending mail with results at report@fotonower.com args[1402937592] : ('0.0761617187915905',) no score found for photo 1402937592 We are sending mail with results at report@fotonower.com args[1402937591] : ('0.0761617187915905',) no score found for photo 1402937591 We are sending mail with results at report@fotonower.com args[1402937589] : ('0.0761617187915905',) no score found for photo 1402937589 We are sending mail with results at report@fotonower.com args[1402937535] : ('0.0761617187915905',) no score found for photo 1402937535 We are sending mail with results at report@fotonower.com args[1402937534] : ('0.0761617187915905',) no score found for photo 1402937534 We are sending mail with results at report@fotonower.com args[1402937526] : ('0.0761617187915905',) no score found for photo 1402937526 We are sending mail with results at report@fotonower.com args[1402937525] : ('0.0761617187915905',) no score found for photo 1402937525 We are sending mail with results at report@fotonower.com args[1402937523] : ('0.0761617187915905',) no score found for photo 1402937523 We are sending mail with results at report@fotonower.com args[1402937521] : ('0.0761617187915905',) no score found for photo 1402937521 We are sending mail with results at report@fotonower.com args[1402937097] : ('0.0761617187915905',) no score found for photo 1402937097 We are sending mail with results at report@fotonower.com args[1402937061] : ('0.0761617187915905',) no score found for photo 1402937061 We are sending mail with results at report@fotonower.com args[1402936663] : ('0.0761617187915905',) no score found for photo 1402936663 We are sending mail with results at report@fotonower.com args[1402936631] : ('0.0761617187915905',) no score found for photo 1402936631 We are sending mail with results at report@fotonower.com args[1402936598] : ('0.0761617187915905',) no score found for photo 1402936598 We are sending mail with results at report@fotonower.com args[1402936287] : ('0.0761617187915905',) no score found for photo 1402936287 We are sending mail with results at report@fotonower.com args[1402936285] : ('0.0761617187915905',) no score found for photo 1402936285 We are sending mail with results at report@fotonower.com args[1402935894] : ('0.0761617187915905',) no score found for photo 1402935894 We are sending mail with results at report@fotonower.com args[1402935874] : ('0.0761617187915905',) no score found for photo 1402935874 We are sending mail with results at report@fotonower.com args[1402935871] : ('0.0761617187915905',) no score found for photo 1402935871 We are sending mail with results at report@fotonower.com args[1402935858] : ('0.0761617187915905',) no score found for photo 1402935858 We are sending mail with results at report@fotonower.com args[1402935843] : ('0.0761617187915905',) no score found for photo 1402935843 We are sending mail with results at report@fotonower.com args[1402935842] : ('0.0761617187915905',) no score found for photo 1402935842 We are sending mail with results at report@fotonower.com args[1402935840] : ('0.0761617187915905',) no score found for photo 1402935840 We are sending mail with results at report@fotonower.com args[1402935810] : ('0.0761617187915905',) no score found for photo 1402935810 We are sending mail with results at report@fotonower.com args[1402935679] : ('0.0761617187915905',) no score found for photo 1402935679 We are sending mail with results at report@fotonower.com args[1402935665] : ('0.0761617187915905',) no score found for photo 1402935665 We are sending mail with results at report@fotonower.com args[1402935572] : ('0.0761617187915905',) no score found for photo 1402935572 We are sending mail with results at report@fotonower.com args[1402935568] : ('0.0761617187915905',) no score found for photo 1402935568 We are sending mail with results at report@fotonower.com args[1402935566] : ('0.0761617187915905',) no score found for photo 1402935566 We are sending mail with results at report@fotonower.com args[1402935549] : ('0.0761617187915905',) no score found for photo 1402935549 We are sending mail with results at report@fotonower.com args[1402935541] : ('0.0761617187915905',) no score found for photo 1402935541 We are sending mail with results at report@fotonower.com args[1402935327] : ('0.0761617187915905',) no score found for photo 1402935327 We are sending mail with results at report@fotonower.com args[1402935294] : ('0.0761617187915905',) no score found for photo 1402935294 We are sending mail with results at report@fotonower.com refus_total : 0.0761617187915905 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050347 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_P30050347_09-01-2026_05_42_32.pdf results_Auto_P30050347_09-01-2026_05_42_32.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050347_09-01-2026_05_42_32.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','30050347','results_Auto_P30050347_09-01-2026_05_42_32.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050347_09-01-2026_05_42_32.pdf','pdf','','0.39','0.0761617187915905') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30050347]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] map_info['map_portfolio_photo'] : {30050347: [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294]} final : False mtd_id 4302 list_pids : [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] 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, '4327438') ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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', '30050347', '1402937796', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438')] time used for this insertion : 0.019834518432617188 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.539803266525269 time spend to save output : 0.02018141746520996 total time spend for step 4 : 9.559984683990479 step5:split_time_score Fri Jan 9 05:42:40 2026 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 : ['30050347'] 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 : [('30050347',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (30050347) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402937592: {'path': 'temp/1767933750_2127620_1402937592_429d197751975ec2527f3df31f591ecd.jpg', 'extension': 'jpg'}, 1402937593: {'path': 'temp/1767933750_2127620_1402937593_cd308b96588be840106c4774d98232e4.jpg', 'extension': 'jpg'}, 1402937796: {'path': 'temp/1767933750_2127620_1402937796_3762511c143f9f179b55fd8162c60861.jpg', 'extension': 'jpg'}, 1402935294: {'path': 'temp/1767933750_2127620_1402935294_3f6e505b449aa4cc7b1a76cb7d8379a5.jpg', 'extension': 'jpg'}, 1402935327: {'path': 'temp/1767933750_2127620_1402935327_4551e7be6d9b2d100169b01b7dc0255b.jpg', 'extension': 'jpg'}, 1402935541: {'path': 'temp/1767933750_2127620_1402935541_2ad651e336b877b81e28129358d26397.jpg', 'extension': 'jpg'}, 1402935549: {'path': 'temp/1767933750_2127620_1402935549_6b43e02381aee7876487e48c580fbdf6.jpg', 'extension': 'jpg'}, 1402935566: {'path': 'temp/1767933750_2127620_1402935566_371a8abd1b9afedba598795b83ce9f7b.jpg', 'extension': 'jpg'}, 1402935568: {'path': 'temp/1767933750_2127620_1402935568_5a3d2b9d53e81be10eefcd5d008c8640.jpg', 'extension': 'jpg'}, 1402935572: {'path': 'temp/1767933750_2127620_1402935572_0b81028a606ebbd940155a48a0985afa.jpg', 'extension': 'jpg'}, 1402935665: {'path': 'temp/1767933750_2127620_1402935665_1238468f862137ec818c624bf36cf2e5.jpg', 'extension': 'jpg'}, 1402935679: {'path': 'temp/1767933750_2127620_1402935679_d9a452b972c8c8be6decfb5b29f652a1.jpg', 'extension': 'jpg'}, 1402935810: {'path': 'temp/1767933750_2127620_1402935810_644bf94f036ebcfe182869c56a78d8f1.jpg', 'extension': 'jpg'}, 1402935840: {'path': 'temp/1767933750_2127620_1402935840_038b8f5c5bf1f6cea262eb60f82bd43a.jpg', 'extension': 'jpg'}, 1402935842: {'path': 'temp/1767933750_2127620_1402935842_24a7a07a07ceea8ff3bec1050f5bc84b.jpg', 'extension': 'jpg'}, 1402935843: {'path': 'temp/1767933750_2127620_1402935843_8495c1fc2c4bd704da2238b352cb7ce0.jpg', 'extension': 'jpg'}, 1402935858: {'path': 'temp/1767933750_2127620_1402935858_be55ab539e549e20ad8d09134411be23.jpg', 'extension': 'jpg'}, 1402935871: {'path': 'temp/1767933750_2127620_1402935871_68e2dfe5c7cdae1d31db4132751f44d7.jpg', 'extension': 'jpg'}, 1402935874: {'path': 'temp/1767933750_2127620_1402935874_c7864b25616708633eba1cc82e438423.jpg', 'extension': 'jpg'}, 1402937521: {'path': 'temp/1767933750_2127620_1402937521_7a7e6953378548c51e0d522f9ac822f7.jpg', 'extension': 'jpg'}, 1402937523: {'path': 'temp/1767933750_2127620_1402937523_61bfd8fa1c711851832576661083e17e.jpg', 'extension': 'jpg'}, 1402937525: {'path': 'temp/1767933750_2127620_1402937525_ae55e11c5c626b3755bacb7bce93a8b9.jpg', 'extension': 'jpg'}, 1402937526: {'path': 'temp/1767933750_2127620_1402937526_3118819674f111fef6e7039ba63b7703.jpg', 'extension': 'jpg'}, 1402937534: {'path': 'temp/1767933750_2127620_1402937534_c16c6801ae321e0b2045269dece5b7d9.jpg', 'extension': 'jpg'}, 1402937535: {'path': 'temp/1767933750_2127620_1402937535_99b6a40bf580401ec7d707afb6f60540.jpg', 'extension': 'jpg'}, 1402937589: {'path': 'temp/1767933750_2127620_1402937589_bd3e8abeccc505de17bc182999d1f55d.jpg', 'extension': 'jpg'}, 1402937591: {'path': 'temp/1767933750_2127620_1402937591_1827039a44c7b371dc6d74803bc2ca18.jpg', 'extension': 'jpg'}, 1402935894: {'path': 'temp/1767933750_2127620_1402935894_62bcf18538572f34bd734ebd711d5527.jpg', 'extension': 'jpg'}, 1402936285: {'path': 'temp/1767933750_2127620_1402936285_4f2b7b58525ff20eea9f4eb7c4810b98.jpg', 'extension': 'jpg'}, 1402936287: {'path': 'temp/1767933750_2127620_1402936287_22789e12f7658abd508295873772a1c4.jpg', 'extension': 'jpg'}, 1402936598: {'path': 'temp/1767933750_2127620_1402936598_dcb8913973ea3173e265b60b90ad50f5.jpg', 'extension': 'jpg'}, 1402936631: {'path': 'temp/1767933750_2127620_1402936631_1a1d1482c27dd4c404ba688b4225c2fa.jpg', 'extension': 'jpg'}, 1402936663: {'path': 'temp/1767933750_2127620_1402936663_1c9d415de444bf7844205cd2e5c75ec8.jpg', 'extension': 'jpg'}, 1402937061: {'path': 'temp/1767933750_2127620_1402937061_3f2b5b8e327003310422c159718f8687.jpg', 'extension': 'jpg'}, 1402937097: {'path': 'temp/1767933750_2127620_1402937097_6019befd5f97c0f72f751d0ced09ff82.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 = 30050347; (('arc_en_ciel_jrm_bis',), ('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 30050347 group by h (('08', 35),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=30050347 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 (30050347) 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 (30050347) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 08012026 30050347 Nombre de photos uploadées : 35 / 23040 (0%) 08012026 30050347 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 08012026 30050347 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1402935327, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/4551e7be6d9b2d100169b01b7dc0255b.jpg', 'username': None, 'uploaded_at': 1767856627, 'text': 'image_08012026_08_16_13_010143m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402935294, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/3f6e505b449aa4cc7b1a76cb7d8379a5.jpg', 'username': None, 'uploaded_at': 1767856627, 'text': 'image_08012026_08_16_43_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1402935572, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/0b81028a606ebbd940155a48a0985afa.jpg', 'username': None, 'uploaded_at': 1767856688, 'text': 'image_08012026_08_16_54_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1402935568, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/8/5a3d2b9d53e81be10eefcd5d008c8640.jpg', 'username': None, 'uploaded_at': 1767856688, 'text': 'image_08012026_08_17_04_010144m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 4.5299530029296875e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015666484832763672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 30050347, '2026-01-08' ) 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 = '2026-01-08' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2862001,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23885607719421387 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= 2862001 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30036903, 'dashboard_result_id': 19164046, '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_P30036903_09-01-2026_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30037586, 'dashboard_result_id': 19164047, '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_P30037586_09-01-2026_05_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30038001, 'dashboard_result_id': 19164048, '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_P30038001_09-01-2026_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30038537, 'dashboard_result_id': 19164049, '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_P30038537_09-01-2026_05_35_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30039434, 'dashboard_result_id': 19164050, '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_P30039434_09-01-2026_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30039737, 'dashboard_result_id': 19164051, '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_P30039737_09-01-2026_05_36_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30040160, 'dashboard_result_id': 19164052, '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_P30040160_09-01-2026_05_36_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30040716, 'dashboard_result_id': 19164053, '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_P30040716_09-01-2026_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30041273, 'dashboard_result_id': 19164054, '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_P30041273_09-01-2026_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30041712, 'dashboard_result_id': 19164055, '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_P30041712_09-01-2026_05_37_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30042456, 'dashboard_result_id': 19164056, '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_P30042456_09-01-2026_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30042747, 'dashboard_result_id': 19164057, '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_P30042747_09-01-2026_05_38_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30043088, 'dashboard_result_id': 19164058, '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_P30043088_09-01-2026_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30043466, 'dashboard_result_id': 19164059, '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_P30043466_09-01-2026_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30044048, 'dashboard_result_id': 19164060, '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_P30044048_09-01-2026_05_38_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30044344, 'dashboard_result_id': 19164061, '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_P30044344_09-01-2026_05_39_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30044503, 'dashboard_result_id': 19164062, '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_P30044503_09-01-2026_05_39_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30044839, 'dashboard_result_id': 19164063, '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_P30044839_09-01-2026_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30045159, 'dashboard_result_id': 19164064, '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_P30045159_09-01-2026_05_40_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30045650, 'dashboard_result_id': 19164065, '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_P30045650_09-01-2026_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045665, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30046151, 'dashboard_result_id': 19164066, '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_P30046151_09-01-2026_05_40_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30046168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046179, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30046571, 'dashboard_result_id': 19164067, '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_P30046571_09-01-2026_05_41_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046594, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30046867, 'dashboard_result_id': 19164068, '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_P30046867_09-01-2026_05_41_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30046927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046938, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30047850, 'dashboard_result_id': 19164069, '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_P30047850_09-01-2026_05_41_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30047896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30047897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30047898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30047899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30047900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30047901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30047902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30047903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30047904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30047905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30047906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30047907, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30048566, 'dashboard_result_id': 19164070, '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_P30048566_09-01-2026_05_41_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30048595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30048596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30048597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30048598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30048599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30048600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30048601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30048602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30048603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30048604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30048605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30048606, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30049157, 'dashboard_result_id': 19164071, '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_P30049157_09-01-2026_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049192, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30049630, 'dashboard_result_id': 19164072, '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_P30049630_08-01-2026_08_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049649, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30050347, 'dashboard_result_id': 19164073, '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_P30050347_08-01-2026_08_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30050403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050410, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30050937, 'dashboard_result_id': 19164074, '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_P30050937_08-01-2026_08_47_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30050946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050957, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30051431, 'dashboard_result_id': 19164075, '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_P30051431_08-01-2026_09_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30051438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30051439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30051440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30051441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30051442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30051443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30051444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30051445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30051447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30051448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30051449, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30053296, 'dashboard_result_id': 19164076, '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_P30053296_08-01-2026_09_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30053298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053309, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30053698, 'dashboard_result_id': 19164077, '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_P30053698_08-01-2026_10_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30053716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053721, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053724, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30054326, 'dashboard_result_id': 19164078, '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_P30054326_08-01-2026_10_24_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30054333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30054334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30054335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30054336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30054337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30054338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30054339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30054340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30054341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30054342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30054343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30054344, 'pht': 3726}}"}, {'dashboat_entry_day': 2862001, 'dashboard_run_id': 2871649, 'mtr_portfolio_id': 30055242, 'dashboard_result_id': 19164079, '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_P30055242_08-01-2026_10_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30055272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30055273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30055274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30055276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30055277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30055278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30055279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30055280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30055281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30055282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30055283, '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 = 30036903 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': 4327411, 'mtr_portfolio_id': 30036903, 'created_at': datetime.datetime(2026, 1, 9, 5, 34, 29), 'result': '0.06871250728973884', 'result_long': None, 'result_double': None}] Qualite : 0.06871250728973884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30036903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_09-01-2026_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30036903 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_P30036903_09-01-2026_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, 'pht': 3726}}" where mtr_portfolio_id = 30036903 and dashboard_run_id = 2871764 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`=30036903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164046, 0.06871250728973884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30036903_09-01-2026_05_34_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30036912, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30036913, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30036914, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30036915, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30036916, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30036917, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30036918, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30036919, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30036920, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30036921, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30036922, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30036923, '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 = 30037586 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': 4327412, 'mtr_portfolio_id': 30037586, 'created_at': datetime.datetime(2026, 1, 9, 5, 34, 58), 'result': '0.0539534013235237', 'result_long': None, 'result_double': None}] Qualite : 0.0539534013235237 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30037586 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_09-01-2026_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30037586 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_P30037586_09-01-2026_05_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, 'pht': 3726}}" where mtr_portfolio_id = 30037586 and dashboard_run_id = 2871764 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`=30037586 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164047, 0.0539534013235237, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30037586_09-01-2026_05_35_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30037611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30037612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30037613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30037614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30037615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30037616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30037617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30037618, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30037619, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30037620, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30037621, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30037622, '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 = 30038001 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': 4327413, 'mtr_portfolio_id': 30038001, 'created_at': datetime.datetime(2026, 1, 9, 5, 35, 33), 'result': '0.07741325345557129', 'result_long': None, 'result_double': None}] Qualite : 0.07741325345557129 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30038001 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_09-01-2026_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30038001 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_P30038001_09-01-2026_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, 'pht': 3726}}" where mtr_portfolio_id = 30038001 and dashboard_run_id = 2871764 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`=30038001 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164048, 0.07741325345557129, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038001_09-01-2026_05_35_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038043, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30038044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038047, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038051, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038053, '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 = 30038537 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': 4327414, 'mtr_portfolio_id': 30038537, 'created_at': datetime.datetime(2026, 1, 9, 5, 35, 29), 'result': '0.05022671274871275', 'result_long': None, 'result_double': None}] Qualite : 0.05022671274871275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30038537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_09-01-2026_05_35_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30038537 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_P30038537_09-01-2026_05_35_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, 'pht': 3726}}" where mtr_portfolio_id = 30038537 and dashboard_run_id = 2871764 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`=30038537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164049, 0.05022671274871275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30038537_09-01-2026_05_35_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30038541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30038542, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30038543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30038544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30038545, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30038546, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30038547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30038548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30038549, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30038550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30038551, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30038552, '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 = 30039434 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': 4327415, 'mtr_portfolio_id': 30039434, 'created_at': datetime.datetime(2026, 1, 9, 5, 35, 59), 'result': '0.028992247467064528', 'result_long': None, 'result_double': None}] Qualite : 0.028992247467064528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30039434 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_09-01-2026_05_36_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30039434 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_P30039434_09-01-2026_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, 'pht': 3726}}" where mtr_portfolio_id = 30039434 and dashboard_run_id = 2871764 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`=30039434 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164050, 0.028992247467064528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039434_09-01-2026_05_36_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039436, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039440, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039441, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039442, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039443, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039447, '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 = 30039737 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': 4327416, 'mtr_portfolio_id': 30039737, 'created_at': datetime.datetime(2026, 1, 9, 5, 36, 8), 'result': '0.048594545782612845', 'result_long': None, 'result_double': None}] Qualite : 0.048594545782612845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30039737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_09-01-2026_05_36_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30039737 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_P30039737_09-01-2026_05_36_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, 'pht': 3726}}" where mtr_portfolio_id = 30039737 and dashboard_run_id = 2871764 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`=30039737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164051, 0.048594545782612845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30039737_09-01-2026_05_36_12.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30039742, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30039743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30039744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30039745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30039746, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30039747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30039748, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30039749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30039750, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30039751, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30039752, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30039753, '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 = 30040160 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': 4327417, 'mtr_portfolio_id': 30040160, 'created_at': datetime.datetime(2026, 1, 9, 5, 36, 32), 'result': '0.06999961021432982', 'result_long': None, 'result_double': None}] Qualite : 0.06999961021432982 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30040160 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_09-01-2026_05_36_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30040160 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_P30040160_09-01-2026_05_36_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, 'pht': 3726}}" where mtr_portfolio_id = 30040160 and dashboard_run_id = 2871764 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`=30040160 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164052, 0.06999961021432982, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040160_09-01-2026_05_36_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040175, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040179, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040180, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040181, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040182, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040183, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040186, '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 = 30040716 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': 4327418, 'mtr_portfolio_id': 30040716, 'created_at': datetime.datetime(2026, 1, 9, 5, 36, 32), 'result': '0.03615319747985001', 'result_long': None, 'result_double': None}] Qualite : 0.03615319747985001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30040716 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_09-01-2026_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30040716 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_P30040716_09-01-2026_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, 'pht': 3726}}" where mtr_portfolio_id = 30040716 and dashboard_run_id = 2871764 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`=30040716 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164053, 0.03615319747985001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30040716_09-01-2026_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30040724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30040725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30040726, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30040727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30040729, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30040730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30040731, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30040732, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30040733, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30040734, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30040735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30040736, '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 = 30041273 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': 4327419, 'mtr_portfolio_id': 30041273, 'created_at': datetime.datetime(2026, 1, 9, 5, 37), 'result': '0.04843369147822856', 'result_long': None, 'result_double': None}] Qualite : 0.04843369147822856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30041273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_09-01-2026_05_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30041273 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_P30041273_09-01-2026_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, 'pht': 3726}}" where mtr_portfolio_id = 30041273 and dashboard_run_id = 2871764 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`=30041273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164054, 0.04843369147822856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041273_09-01-2026_05_37_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041275, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041276, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041278, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041281, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041284, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041287, '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 = 30041712 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': 4327420, 'mtr_portfolio_id': 30041712, 'created_at': datetime.datetime(2026, 1, 9, 5, 37, 33), 'result': '0.044652971684297924', 'result_long': None, 'result_double': None}] Qualite : 0.044652971684297924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30041712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_09-01-2026_05_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30041712 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_P30041712_09-01-2026_05_37_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, 'pht': 3726}}" where mtr_portfolio_id = 30041712 and dashboard_run_id = 2871764 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`=30041712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164055, 0.044652971684297924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30041712_09-01-2026_05_37_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30041716, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30041717, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30041718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30041719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30041720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30041721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30041722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30041723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30041724, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30041725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30041726, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30041727, '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 = 30042456 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': 4327421, 'mtr_portfolio_id': 30042456, 'created_at': datetime.datetime(2026, 1, 9, 5, 37, 30), 'result': '0.0671013251172225', 'result_long': None, 'result_double': None}] Qualite : 0.0671013251172225 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30042456 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_09-01-2026_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30042456 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_P30042456_09-01-2026_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, 'pht': 3726}}" where mtr_portfolio_id = 30042456 and dashboard_run_id = 2871764 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`=30042456 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164056, 0.0671013251172225, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042456_09-01-2026_05_37_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042457, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042458, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042459, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042460, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042461, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042463, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042464, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30042466, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042468, '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 = 30042747 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': 4327422, 'mtr_portfolio_id': 30042747, 'created_at': datetime.datetime(2026, 1, 9, 5, 37, 59), 'result': '0.05816014421448015', 'result_long': None, 'result_double': None}] Qualite : 0.05816014421448015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30042747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_09-01-2026_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30042747 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_P30042747_09-01-2026_05_38_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, 'pht': 3726}}" where mtr_portfolio_id = 30042747 and dashboard_run_id = 2871764 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`=30042747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164057, 0.05816014421448015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30042747_09-01-2026_05_38_03.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30042790, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30042791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30042792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30042793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30042794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30042795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30042796, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30042797, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30042798, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30042799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30042800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30042801, '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 = 30043088 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': 4327423, 'mtr_portfolio_id': 30043088, 'created_at': datetime.datetime(2026, 1, 9, 5, 38, 32), 'result': '0.06952259603594349', 'result_long': None, 'result_double': None}] Qualite : 0.06952259603594349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30043088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_09-01-2026_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30043088 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_P30043088_09-01-2026_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, 'pht': 3726}}" where mtr_portfolio_id = 30043088 and dashboard_run_id = 2871764 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`=30043088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164058, 0.06952259603594349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043088_09-01-2026_05_38_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043094, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043095, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043096, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043098, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043099, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043101, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043102, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043103, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043104, '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 = 30043466 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': 4327424, 'mtr_portfolio_id': 30043466, 'created_at': datetime.datetime(2026, 1, 9, 5, 38, 30), 'result': '0.058902176979433334', 'result_long': None, 'result_double': None}] Qualite : 0.058902176979433334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30043466 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_09-01-2026_05_38_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30043466 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_P30043466_09-01-2026_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, 'pht': 3726}}" where mtr_portfolio_id = 30043466 and dashboard_run_id = 2871764 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`=30043466 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164059, 0.058902176979433334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30043466_09-01-2026_05_38_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30043473, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30043474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30043475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30043476, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30043477, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30043478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30043479, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30043480, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30043481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30043482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30043483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30043484, '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 = 30044048 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': 4327425, 'mtr_portfolio_id': 30044048, 'created_at': datetime.datetime(2026, 1, 9, 5, 38, 58), 'result': '0.04001361171079726', 'result_long': None, 'result_double': None}] Qualite : 0.04001361171079726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044048 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_09-01-2026_05_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044048 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_P30044048_09-01-2026_05_38_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, 'pht': 3726}}" where mtr_portfolio_id = 30044048 and dashboard_run_id = 2871764 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`=30044048 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164060, 0.04001361171079726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044048_09-01-2026_05_38_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044052, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044055, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044056, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044060, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044061, '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 = 30044344 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': 4327426, 'mtr_portfolio_id': 30044344, 'created_at': datetime.datetime(2026, 1, 9, 5, 39, 32), 'result': '0.05903016019162093', 'result_long': None, 'result_double': None}] Qualite : 0.05903016019162093 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_09-01-2026_05_39_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044344 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_P30044344_09-01-2026_05_39_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, 'pht': 3726}}" where mtr_portfolio_id = 30044344 and dashboard_run_id = 2871764 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`=30044344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164061, 0.05903016019162093, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044344_09-01-2026_05_39_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044350, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044351, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044354, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044355, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044356, '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 = 30044503 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': 4327427, 'mtr_portfolio_id': 30044503, 'created_at': datetime.datetime(2026, 1, 9, 5, 39, 29), 'result': '0.049131397205996866', 'result_long': None, 'result_double': None}] Qualite : 0.049131397205996866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_09-01-2026_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044503 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_P30044503_09-01-2026_05_39_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, 'pht': 3726}}" where mtr_portfolio_id = 30044503 and dashboard_run_id = 2871764 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`=30044503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164062, 0.049131397205996866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044503_09-01-2026_05_39_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30044507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044510, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044511, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044513, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044515, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044518, '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 = 30044839 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': 4327428, 'mtr_portfolio_id': 30044839, 'created_at': datetime.datetime(2026, 1, 9, 5, 39, 59), 'result': '0.07103465913969388', 'result_long': None, 'result_double': None}] Qualite : 0.07103465913969388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30044839 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_09-01-2026_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30044839 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_P30044839_09-01-2026_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, 'pht': 3726}}" where mtr_portfolio_id = 30044839 and dashboard_run_id = 2871764 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`=30044839 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164063, 0.07103465913969388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30044839_09-01-2026_05_40_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30044843, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30044844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30044845, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30044846, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30044847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30044848, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30044849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30044850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30044851, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30044852, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30044853, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30044854, '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 = 30045159 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': 4327429, 'mtr_portfolio_id': 30045159, 'created_at': datetime.datetime(2026, 1, 9, 5, 40, 27), 'result': '0.07077929687832918', 'result_long': None, 'result_double': None}] Qualite : 0.07077929687832918 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30045159 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_09-01-2026_05_40_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30045159 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_P30045159_09-01-2026_05_40_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, 'pht': 3726}}" where mtr_portfolio_id = 30045159 and dashboard_run_id = 2871764 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`=30045159 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164064, 0.07077929687832918, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045159_09-01-2026_05_40_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045166, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045167, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045172, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045173, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045175, '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 = 30045650 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': 4327430, 'mtr_portfolio_id': 30045650, 'created_at': datetime.datetime(2026, 1, 9, 5, 40, 31), 'result': '0.0545393511037417', 'result_long': None, 'result_double': None}] Qualite : 0.0545393511037417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30045650 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045650_09-01-2026_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30045650 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_P30045650_09-01-2026_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045665, 'pht': 3726}}" where mtr_portfolio_id = 30045650 and dashboard_run_id = 2871764 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`=30045650 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164065, 0.0545393511037417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30045650_09-01-2026_05_40_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30045654, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30045655, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30045656, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30045657, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30045658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30045659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30045660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30045661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30045662, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30045663, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30045664, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30045665, '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 = 30046151 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': 4327431, 'mtr_portfolio_id': 30046151, 'created_at': datetime.datetime(2026, 1, 9, 5, 40, 42), 'result': '0.05492814624300563', 'result_long': None, 'result_double': None}] Qualite : 0.05492814624300563 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30046151 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046151_09-01-2026_05_40_45.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30046151 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_P30046151_09-01-2026_05_40_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30046168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046179, 'pht': 3726}}" where mtr_portfolio_id = 30046151 and dashboard_run_id = 2871764 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`=30046151 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164066, 0.05492814624300563, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046151_09-01-2026_05_40_45.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30046168, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046169, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046171, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046172, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046174, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046175, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046176, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046177, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046178, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046179, '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 = 30046571 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': 4327432, 'mtr_portfolio_id': 30046571, 'created_at': datetime.datetime(2026, 1, 9, 5, 41, 2), 'result': '0.05387800724804057', 'result_long': None, 'result_double': None}] Qualite : 0.05387800724804057 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30046571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046571_09-01-2026_05_41_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30046571 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_P30046571_09-01-2026_05_41_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046594, 'pht': 3726}}" where mtr_portfolio_id = 30046571 and dashboard_run_id = 2871764 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`=30046571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164067, 0.05387800724804057, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046571_09-01-2026_05_41_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046584, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046585, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046586, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30046587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046588, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046589, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046590, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046592, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046593, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046594, '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 = 30046867 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': 4327433, 'mtr_portfolio_id': 30046867, 'created_at': datetime.datetime(2026, 1, 9, 5, 41, 8), 'result': '0.055165909268426724', 'result_long': None, 'result_double': None}] Qualite : 0.055165909268426724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30046867 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046867_09-01-2026_05_41_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30046867 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_P30046867_09-01-2026_05_41_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30046927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046938, 'pht': 3726}}" where mtr_portfolio_id = 30046867 and dashboard_run_id = 2871764 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`=30046867 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164068, 0.055165909268426724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30046867_09-01-2026_05_41_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 30046927, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30046928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30046929, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30046930, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30046931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30046932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30046933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30046934, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30046935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30046936, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30046937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30046938, '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 = 30047850 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': 4327434, 'mtr_portfolio_id': 30047850, 'created_at': datetime.datetime(2026, 1, 9, 5, 41, 33), 'result': '0.0653767409132676', 'result_long': None, 'result_double': None}] Qualite : 0.0653767409132676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30047850 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30047850_09-01-2026_05_41_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30047850 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_P30047850_09-01-2026_05_41_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30047896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30047897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30047898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30047899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30047900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30047901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30047902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30047903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30047904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30047905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30047906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30047907, 'pht': 3726}}" where mtr_portfolio_id = 30047850 and dashboard_run_id = 2871764 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`=30047850 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164069, 0.0653767409132676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30047850_09-01-2026_05_41_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30047896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30047897, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30047898, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30047899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30047900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30047901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30047902, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30047903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30047904, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30047905, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30047906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30047907, '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 = 30048566 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': 4327435, 'mtr_portfolio_id': 30048566, 'created_at': datetime.datetime(2026, 1, 9, 5, 41, 28), 'result': '0.07037659856821955', 'result_long': None, 'result_double': None}] Qualite : 0.07037659856821955 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30048566 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30048566_09-01-2026_05_41_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30048566 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_P30048566_09-01-2026_05_41_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30048595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30048596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30048597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30048598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30048599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30048600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30048601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30048602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30048603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30048604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30048605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30048606, 'pht': 3726}}" where mtr_portfolio_id = 30048566 and dashboard_run_id = 2871764 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`=30048566 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164070, 0.07037659856821955, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30048566_09-01-2026_05_41_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30048595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30048596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30048597, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30048598, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30048599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30048600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30048601, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30048602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30048603, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30048604, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30048605, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30048606, '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 = 30049157 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': 4327436, 'mtr_portfolio_id': 30049157, 'created_at': datetime.datetime(2026, 1, 9, 5, 42), 'result': '0.0663592228482483', 'result_long': None, 'result_double': None}] Qualite : 0.0663592228482483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30049157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30049157_09-01-2026_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30049157 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_P30049157_09-01-2026_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049192, 'pht': 3726}}" where mtr_portfolio_id = 30049157 and dashboard_run_id = 2871764 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`=30049157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164071, 0.0663592228482483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30049157_09-01-2026_05_42_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049181, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049182, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049183, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049184, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049186, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049188, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049189, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049190, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049192, '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 = 30049630 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': 4327437, 'mtr_portfolio_id': 30049630, 'created_at': datetime.datetime(2026, 1, 9, 5, 42, 31), 'result': '0.060739337313388396', 'result_long': None, 'result_double': None}] Qualite : 0.060739337313388396 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30049630 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30049630_09-01-2026_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30049630 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_P30049630_09-01-2026_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049649, 'pht': 3726}}" where mtr_portfolio_id = 30049630 and dashboard_run_id = 2871764 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`=30049630 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164072, 0.060739337313388396, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30049630_09-01-2026_05_42_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30049638, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30049639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30049640, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30049641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30049642, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30049643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30049644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30049645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30049646, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30049647, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30049648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30049649, '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 = 30050347 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': 4327438, 'mtr_portfolio_id': 30050347, 'created_at': datetime.datetime(2026, 1, 9, 5, 42, 30), 'result': '0.0761617187915905', 'result_long': None, 'result_double': None}] Qualite : 0.0761617187915905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30050347 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050347_09-01-2026_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30050347 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_P30050347_09-01-2026_05_42_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30050403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050410, 'pht': 3726}}" where mtr_portfolio_id = 30050347 and dashboard_run_id = 2871764 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`=30050347 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164073, 0.0761617187915905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050347_09-01-2026_05_42_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050397, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050400, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050401, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30050403, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050404, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050405, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050410, '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 = 30050937 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': 4326272, 'mtr_portfolio_id': 30050937, 'created_at': datetime.datetime(2026, 1, 8, 8, 47, 34), 'result': '0.054745906186659116', 'result_long': None, 'result_double': None}] Qualite : 0.054745906186659116 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30050937 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050937_08-01-2026_08_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30050937 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_P30050937_08-01-2026_08_47_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30050946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050957, 'pht': 3726}}" where mtr_portfolio_id = 30050937 and dashboard_run_id = 2871764 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`=30050937 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164074, 0.054745906186659116, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30050937_08-01-2026_08_47_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30050946, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30050947, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30050948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30050949, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30050950, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30050951, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30050952, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30050953, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30050954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30050955, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30050956, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30050957, '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 = 30051431 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': 4326338, 'mtr_portfolio_id': 30051431, 'created_at': datetime.datetime(2026, 1, 8, 9, 12, 59), 'result': '0.04214103733013798', 'result_long': None, 'result_double': None}] Qualite : 0.04214103733013798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30051431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30051431_08-01-2026_09_12_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30051431 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_P30051431_08-01-2026_09_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30051438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30051439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30051440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30051441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30051442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30051443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30051444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30051445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30051447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30051448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30051449, 'pht': 3726}}" where mtr_portfolio_id = 30051431 and dashboard_run_id = 2871764 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`=30051431 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164075, 0.04214103733013798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30051431_08-01-2026_09_12_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 30051438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30051439, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30051440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30051441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30051442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30051443, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30051444, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30051445, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30051447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30051448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30051449, '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 = 30053296 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': 4326533, 'mtr_portfolio_id': 30053296, 'created_at': datetime.datetime(2026, 1, 8, 9, 48, 58), 'result': '0.062495907766000953', 'result_long': None, 'result_double': None}] Qualite : 0.062495907766000953 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30053296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30053296_08-01-2026_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30053296 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_P30053296_08-01-2026_09_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30053298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053309, 'pht': 3726}}" where mtr_portfolio_id = 30053296 and dashboard_run_id = 2871764 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`=30053296 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164076, 0.062495907766000953, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30053296_08-01-2026_09_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 30053298, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053299, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053301, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053302, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053303, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053304, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053307, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053308, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053309, '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 = 30053698 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': 4326582, 'mtr_portfolio_id': 30053698, 'created_at': datetime.datetime(2026, 1, 8, 10, 3), 'result': '0.06807720272377774', 'result_long': None, 'result_double': None}] Qualite : 0.06807720272377774 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30053698 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30053698_08-01-2026_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30053698 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_P30053698_08-01-2026_10_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30053716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053721, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053724, 'pht': 3726}}" where mtr_portfolio_id = 30053698 and dashboard_run_id = 2871764 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`=30053698 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164077, 0.06807720272377774, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30053698_08-01-2026_10_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30053712, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30053713, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30053714, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30053715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30053716, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30053718, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30053719, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30053720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30053721, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30053722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30053723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30053724, '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 = 30054326 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': 4326722, 'mtr_portfolio_id': 30054326, 'created_at': datetime.datetime(2026, 1, 8, 10, 24, 58), 'result': '0.07654335443484378', 'result_long': None, 'result_double': None}] Qualite : 0.07654335443484378 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30054326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30054326_08-01-2026_10_24_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30054326 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_P30054326_08-01-2026_10_24_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30054333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30054334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30054335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30054336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30054337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30054338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30054339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30054340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30054341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30054342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30054343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30054344, 'pht': 3726}}" where mtr_portfolio_id = 30054326 and dashboard_run_id = 2871764 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`=30054326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164078, 0.07654335443484378, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30054326_08-01-2026_10_24_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30054333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30054334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30054335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30054336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30054337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30054338, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30054339, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30054340, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30054341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30054342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30054343, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30054344, '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 = 30055242 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': 4326806, 'mtr_portfolio_id': 30055242, 'created_at': datetime.datetime(2026, 1, 8, 10, 32, 57), 'result': '0.09369707359486082', 'result_long': None, 'result_double': None}] Qualite : 0.09369707359486082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 30055242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30055242_08-01-2026_10_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 30055242 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_P30055242_08-01-2026_10_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30055272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30055273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30055274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30055276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30055277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30055278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30055279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30055280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30055281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30055282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30055283, 'pht': 3726}}" where mtr_portfolio_id = 30055242 and dashboard_run_id = 2871764 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`=30055242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19164079, 0.09369707359486082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P30055242_08-01-2026_10_32_57.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 30055272, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 30055273, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 30055274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 30055275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 30055276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 30055277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 30055278, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 30055279, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 30055280, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 30055281, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 30055282, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 30055283, '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 (30036903,30037586,30038001,30038537,30039434,30039737,30040160,30040716,30041273,30041712,30042456,30042747,30043088,30043466,30044048,30044344,30044503,30044839,30045159,30045650,30046151,30046571,30046867,30047850,30048566,30049157,30049630,30050347,30050937,30051431,30053296,30053698,30054326,30055242) result : ((1402888984,), (1402888993,), (1402889225,), (1402889226,), (1402889227,), (1402889229,), (1402889231,), (1402889418,), (1402889430,), (1402889432,), (1402889433,), (1402889435,), (1402889438,), (1402889647,), (1402889680,), (1402889714,), (1402889745,), (1402889965,), (1402889996,), (1402890030,), (1402890065,), (1402890726,), (1402890831,), (1402890942,), (1402891041,), (1402891107,), (1402891311,), (1402891313,), (1402891315,), (1402891317,), (1402891589,), (1402891590,), (1402891592,), (1402891595,), (1402891598,), (1402891629,), (1402892139,), (1402892141,), (1402892404,), (1402892427,), (1402892459,), (1402892467,), (1402892477,), (1402892482,), (1402892489,), (1402892491,), (1402892494,), (1402892495,), (1402892499,), (1402892525,), (1402892526,), (1402892529,), (1402892533,), (1402892534,), (1402892548,), (1402892550,), (1402892552,), (1402892555,), (1402892557,), (1402892558,), (1402892571,), (1402892572,), (1402892573,), (1402892574,), (1402892583,), (1402892603,), (1402892622,), (1402892624,), (1402892638,), (1402892641,), (1402892646,), (1402892649,), (1402892651,), (1402892802,), (1402892775,), (1402892787,), (1402892789,), (1402892799,), (1402892818,), (1402892853,), (1402892887,), (1402892919,), (1402892955,), (1402892989,), (1402893129,), (1402893164,), (1402893195,), (1402893301,), (1402893303,), (1402893304,), (1402893306,), (1402893310,), (1402893332,), (1402893360,), (1402893362,), (1402893365,), (1402893377,), (1402893380,), (1402893716,), (1402893717,), (1402893720,), (1402893721,), (1402893724,), (1402893784,), (1402893818,), (1402893851,), (1402893888,), (1402893889,), (1402893890,), (1402893893,), (1402893895,), (1402893897,), (1402893931,), (1402893932,), (1402893933,), (1402893934,), (1402893936,), (1402893943,), (1402893944,), (1402893945,), (1402893946,), (1402893962,), (1402893963,), (1402893964,), (1402893965,), (1402893968,), (1402893970,), (1402893989,), (1402893990,), (1402893991,), (1402893992,), (1402894007,), (1402894009,), (1402894033,), (1402894035,), (1402894064,), (1402894065,), (1402894066,), (1402894067,), (1402894099,), (1402894101,), (1402894103,), (1402894200,), (1402894202,), (1402894261,), (1402894292,), (1402894192,), (1402894193,), (1402894195,), (1402894198,), (1402894331,), (1402894336,), (1402894337,), (1402894339,), (1402894342,), (1402894344,), (1402894389,), (1402894401,), (1402894402,), (1402894404,), (1402894407,), (1402894410,), (1402894423,), (1402894424,), (1402894425,), (1402894426,), (1402894427,), (1402894428,), (1402894430,), (1402894432,), (1402894443,), (1402894446,), (1402894449,), (1402894452,), (1402894455,), (1402894471,), (1402894473,), (1402894476,), (1402894481,), (1402894583,), (1402894635,), (1402894680,), (1402894723,), (1402894759,), (1402894796,), (1402895056,), (1402895087,), (1402895119,), (1402895152,), (1402895334,), (1402895335,), (1402895336,), (1402895652,), (1402895653,), (1402895655,), (1402895656,), (1402895686,), (1402895687,), (1402895688,), (1402895691,), (1402895811,), (1402895801,), (1402895804,), (1402895807,), (1402895854,), (1402895855,), (1402895856,), (1402895858,), (1402895869,), (1402895890,), (1402895923,), (1402895956,), (1402896029,), (1402896036,), (1402896040,), (1402896041,), (1402896044,), (1402896046,), (1402896057,), (1402896058,), (1402896060,), (1402896062,), (1402896077,), (1402896079,), (1402896097,), (1402896098,), (1402896281,), (1402896286,), (1402896298,), (1402896300,), (1402896303,), (1402896307,), (1402896310,), (1402896316,), (1402896317,), (1402896809,), (1402896856,), (1402899397,), (1402898574,), (1402899285,), (1402900077,), (1402900078,), (1402900598,), (1402900630,), (1402900808,), (1402900809,), (1402900816,), (1402900839,), (1402900841,), (1402900851,), (1402900852,), (1402900853,), (1402900854,), (1402900868,), (1402900869,), (1402900870,), (1402900880,), (1402900881,), (1402900882,), (1402900885,), (1402900888,), (1402900891,), (1402900900,), (1402900901,), (1402900902,), (1402900903,), (1402900905,), (1402900913,), (1402900914,), (1402900916,), (1402900943,), (1402900939,), (1402900940,), (1402900942,), (1402900951,), (1402900952,), (1402900953,), (1402900955,), (1402900982,), (1402900983,), (1402900984,), (1402900986,), (1402900989,), (1402900990,), (1402900996,), (1402901000,), (1402901002,), (1402901006,), (1402901029,), (1402901030,), (1402901031,), (1402901033,), (1402901041,), (1402901042,), (1402901043,), (1402901045,), (1402901061,), (1402901062,), (1402901064,), (1402901066,), (1402901069,), (1402901075,), (1402901076,), (1402901077,), (1402901079,), (1402901082,), (1402901084,), (1402901089,), (1402901096,), (1402901098,), (1402901100,), (1402901101,), (1402901104,), (1402901107,), (1402901117,), (1402901118,), (1402901120,), (1402901130,), (1402901131,), (1402901132,), (1402901134,), (1402901138,), (1402901140,), (1402901145,), (1402901146,), (1402901147,), (1402901149,), (1402901153,), (1402901164,), (1402901165,), (1402901166,), (1402901182,), (1402901186,), (1402901190,), (1402901194,), (1402901198,), (1402901200,), (1402901214,), (1402901206,), (1402901209,), (1402901212,), (1402901225,), (1402901226,), (1402901227,), (1402901229,), (1402901233,), (1402901236,), (1402901364,), (1402901462,), (1402901557,), (1402901653,), (1402901749,), (1402901773,), (1402901784,), (1402901829,), (1402901952,), (1402902009,), (1402902073,), (1402902254,), (1402902288,), (1402902322,), (1402902556,), (1402902557,), (1402902558,), (1402902560,), (1402902768,), (1402902799,), (1402902809,), (1402902822,), (1402902849,), (1402902852,), (1402902858,), (1402902860,), (1402902863,), (1402902864,), (1402902998,), (1402903033,), (1402903069,), (1402903494,), (1402903529,), (1402903562,), (1402903601,), (1402903634,), (1402903706,), (1402903708,), (1402903710,), (1402903824,), (1402903923,), (1402904035,), (1402904725,), (1402904726,), (1402904749,), (1402904861,), (1402904933,), (1402905233,), (1402905267,), (1402905301,), (1402905337,), (1402905377,), (1402905412,), (1402905568,), (1402905601,), (1402905634,), (1402905669,), (1402905812,), (1402905849,), (1402905883,), (1402905917,), (1402905955,), (1402906205,), (1402906225,), (1402906227,), (1402906228,), (1402906230,), (1402906231,), (1402906243,), (1402906245,), (1402906246,), (1402906248,), (1402906285,), (1402906650,), (1402906646,), (1402906647,), (1402906648,), (1402906828,), (1402906829,), (1402906831,), (1402906832,), (1402906834,), (1402906836,), (1402906846,), (1402906847,), (1402906848,), (1402906850,), (1402906852,), (1402906859,), (1402906860,), (1402906861,), (1402906862,), (1402906864,), (1402906865,), (1402906891,), (1402906892,), (1402906893,), (1402906895,), (1402906897,), (1402906905,), (1402906906,), (1402906907,), (1402906909,), (1402906912,), (1402906924,), (1402906925,), (1402906926,), (1402906928,), (1402906931,), (1402906937,), (1402906938,), (1402906939,), (1402906941,), (1402906943,), (1402906945,), (1402906948,), (1402906949,), (1402906950,), (1402906954,), (1402906955,), (1402907003,), (1402907004,), (1402907006,), (1402907008,), (1402907022,), (1402907023,), (1402907024,), (1402907026,), (1402907035,), (1402907037,), (1402907045,), (1402907046,), (1402907049,), (1402907050,), (1402907072,), (1402907073,), (1402907074,), (1402907076,), (1402907084,), (1402907085,), (1402907087,), (1402907088,), (1402907092,), (1402907113,), (1402907114,), (1402907116,), (1402907139,), (1402907136,), (1402907163,), (1402907164,), (1402907166,), (1402907167,), (1402907170,), (1402907171,), (1402907176,), (1402907177,), (1402907178,), (1402907180,), (1402907182,), (1402907184,), (1402907194,), (1402907211,), (1402907212,), (1402907246,), (1402907247,), (1402907248,), (1402907260,), (1402907276,), (1402907277,), (1402907279,), (1402907292,), (1402907293,), (1402907295,), (1402907296,), (1402907305,), (1402907306,), (1402907307,), (1402907319,), (1402907343,), (1402907344,), (1402907345,), (1402907347,), (1402907365,), (1402907401,), (1402907402,), (1402907403,), (1402907404,), (1402907406,), (1402907428,), (1402907429,), (1402907430,), (1402907431,), (1402907446,), (1402907447,), (1402907450,), (1402907451,), (1402907453,), (1402907455,), (1402907462,), (1402907461,), (1402907483,), (1402907484,), (1402907485,), (1402907486,), (1402907505,), (1402907506,), (1402907507,), (1402907509,), (1402907521,), (1402907523,), (1402907524,), (1402907526,), (1402907529,), (1402907553,), (1402907555,), (1402907556,), (1402907558,), (1402907568,), (1402907569,), (1402907570,), (1402907571,), (1402907593,), (1402907594,), (1402907595,), (1402907596,), (1402907599,), (1402907602,), (1402907611,), (1402907613,), (1402907614,), (1402907616,), (1402907618,), (1402907620,), (1402907631,), (1402907632,), (1402907633,), (1402907638,), (1402907642,), (1402907643,), (1402907645,), (1402907649,), (1402907651,), (1402907652,), (1402907657,), (1402907658,), (1402907659,), (1402907661,), (1402907664,), (1402907670,), (1402907671,), (1402907673,), (1402907675,), (1402907681,), (1402907684,), (1402907714,), (1402907715,), (1402907717,), (1402907725,), (1402907736,), (1402907739,), (1402907742,), (1402907745,), (1402907747,), (1402908489,), (1402908425,), (1402908488,), (1402908720,), (1402908806,), (1402908899,), (1402908918,), (1402909140,), (1402909182,), (1402909216,), (1402910280,), (1402910036,), (1402910102,), (1402910169,), (1402911055,), (1402911126,), (1402911165,), (1402911167,), (1402911395,), (1402911461,), (1402911516,), (1402911560,), (1402911598,), (1402911633,), (1402911800,), (1402911801,), (1402911820,), (1402911957,), (1402911976,), (1402911987,), (1402912004,), (1402912006,), (1402912016,), (1402912018,), (1402912021,), (1402912024,), (1402912056,), (1402912059,), (1402912062,), (1402912066,), (1402912070,), (1402912079,), (1402912082,), (1402912086,), (1402912091,), (1402912094,), (1402912097,), (1402912115,), (1402912117,), (1402912119,), (1402912121,), (1402912974,), (1402912976,), (1402913001,), (1402913390,), (1402913393,), (1402913396,), (1402913400,), (1402913405,), (1402913407,), (1402913419,), (1402913421,), (1402913440,), (1402913442,), (1402913443,), (1402913444,), (1402913445,), (1402913447,), (1402913480,), (1402913484,), (1402913486,), (1402913488,), (1402913503,), (1402913505,), (1402913508,), (1402913512,), (1402913524,), (1402913527,), (1402913551,), (1402913553,), (1402913556,), (1402913562,), (1402913564,), (1402913567,), (1402913569,), (1402913541,), (1402913543,), (1402913549,), (1402913576,), (1402913577,), (1402913579,), (1402913581,), (1402913584,), (1402913595,), (1402913596,), (1402913597,), (1402913599,), (1402913603,), (1402913606,), (1402913617,), (1402913618,), (1402913619,), (1402913621,), (1402913652,), (1402913653,), (1402913654,), (1402913656,), (1402913660,), (1402913663,), (1402913673,), (1402913674,), (1402913675,), (1402913697,), (1402913698,), (1402913699,), (1402913701,), (1402913704,), (1402913706,), (1402913717,), (1402913718,), (1402913719,), (1402913721,), (1402913723,), (1402913725,), (1402913745,), (1402913753,), (1402913759,), (1402913762,), (1402913764,), (1402913767,), (1402913769,), (1402913771,), (1402913773,), (1402913775,), (1402913793,), (1402913794,), (1402913795,), (1402913796,), (1402913799,), (1402913834,), (1402913836,), (1402913838,), (1402913888,), (1402913889,), (1402913928,), (1402913929,), (1402913931,), (1402913932,), (1402913936,), (1402913939,), (1402913951,), (1402913952,), (1402913953,), (1402913954,), (1402913957,), (1402913959,), (1402913985,), (1402913988,), (1402913990,), (1402914018,), (1402914008,), (1402914009,), (1402914010,), (1402914012,), (1402914016,), (1402914038,), (1402914039,), (1402914040,), (1402914041,), (1402914044,), (1402914048,), (1402914060,), (1402914061,), (1402914063,), (1402914067,), (1402914070,), (1402914076,), (1402914082,), (1402914084,), (1402914086,), (1402914088,), (1402914093,), (1402914097,), (1402914100,), (1402914103,), (1402914106,), (1402914110,), (1402914116,), (1402914117,), (1402914119,), (1402914121,), (1402914162,), (1402914171,), (1402914178,), (1402914195,), (1402914197,), (1402914198,), (1402914200,), (1402914202,), (1402914205,), (1402914218,), (1402914220,), (1402914227,), (1402914236,), (1402914241,), (1402914243,), (1402914254,), (1402914255,), (1402914256,), (1402914258,), (1402914288,), (1402914289,), (1402914290,), (1402914292,), (1402914296,), (1402914299,), (1402915971,), (1402915937,), (1402916305,), (1402916307,), (1402916309,), (1402916920,), (1402916922,), (1402916944,), (1402916946,), (1402916948,), (1402916949,), (1402916951,), (1402916961,), (1402916963,), (1402916964,), (1402916967,), (1402916970,), (1402916982,), (1402916984,), (1402916995,), (1402917007,), (1402917014,), (1402917044,), (1402917043,), (1402917105,), (1402917133,), (1402917134,), (1402917174,), (1402917175,), (1402917176,), (1402917177,), (1402917181,), (1402917194,), (1402917195,), (1402917197,), (1402917199,), (1402917201,), (1402917204,), (1402917219,), (1402917220,), (1402917221,), (1402917224,), (1402917239,), (1402917241,), (1402917245,), (1402917246,), (1402917249,), (1402917261,), (1402917277,), (1402917282,), (1402917284,), (1402917286,), (1402917298,), (1402917299,), (1402917302,), (1402917304,), (1402917306,), (1402917307,), (1402917315,), (1402917318,), (1402917319,), (1402917320,), (1402917323,), (1402917326,), (1402917329,), (1402917339,), (1402917340,), (1402917341,), (1402917343,), (1402917369,), (1402917370,), (1402917372,), (1402917373,), (1402917376,), (1402917385,), (1402917386,), (1402917387,), (1402917388,), (1402917390,), (1402917393,), (1402917428,), (1402917429,), (1402917430,), (1402917431,), (1402917441,), (1402917442,), (1402917443,), (1402917445,), (1402917449,), (1402917450,), (1402917476,), (1402917477,), (1402917479,), (1402917481,), (1402917484,), (1402917486,), (1402917489,), (1402917491,), (1402917494,), (1402917496,), (1402917519,), (1402917520,), (1402917522,), (1402917523,), (1402917527,), (1402917529,), (1402917536,), (1402917538,), (1402917542,), (1402917546,), (1402917550,), (1402917554,), (1402917559,), (1402917560,), (1402917561,), (1402917562,), (1402917563,), (1402917566,), (1402917569,), (1402917571,), (1402917574,), (1402917590,), (1402917591,), (1402917592,), (1402917593,), (1402917595,), (1402917632,), (1402917623,), (1402917626,), (1402917627,), (1402917628,), (1402917630,), (1402917648,), (1402917649,), (1402917651,), (1402917669,), (1402917671,), (1402917673,), (1402917675,), (1402917677,), (1402917679,), (1402917688,), (1402917690,), (1402917692,), (1402917694,), (1402917697,), (1402917698,), (1402917712,), (1402917717,), (1402917720,), (1402917723,), (1402917732,), (1402917734,), (1402917735,), (1402917738,), (1402917742,), (1402917744,), (1402917757,), (1402917758,), (1402917761,), (1402917762,), (1402917773,), (1402917801,), (1402917802,), (1402917803,), (1402917806,), (1402917809,), (1402917812,), (1402917822,), (1402917833,), (1402917834,), (1402917835,), (1402917836,), (1402917837,), (1402917840,), (1402917843,), (1402917846,), (1402917858,), (1402917859,), (1402917860,), (1402917873,), (1402917874,), (1402917877,), (1402917879,), (1402917882,), (1402917885,), (1402917891,), (1402917892,), (1402917893,), (1402917894,), (1402917907,), (1402917908,), (1402917910,), (1402917912,), (1402917914,), (1402918187,), (1402918260,), (1402918325,), (1402918390,), (1402918460,), (1402919450,), (1402919256,), (1402919323,), (1402919381,), (1402919414,), (1402920025,), (1402920074,), (1402920112,), (1402920146,), (1402920201,), (1402920266,), (1402920694,), (1402920697,), (1402920700,), (1402920760,), (1402920799,), (1402920805,), (1402920863,), (1402920867,), (1402920868,), (1402920869,), (1402920870,), (1402920871,), (1402920874,), (1402920876,), (1402920878,), (1402921109,), (1402921142,), (1402921177,), (1402921217,), (1402921253,), (1402921641,), (1402921675,), (1402921883,), (1402921898,), (1402921899,), (1402921916,), (1402921947,), (1402921950,), (1402921996,), (1402921997,), (1402921999,), (1402922000,), (1402922011,), (1402922019,), (1402922030,), (1402922033,), (1402922035,), (1402922038,), (1402922041,), (1402922052,), (1402922061,), (1402922071,), (1402922077,), (1402922080,), (1402922101,), (1402922103,), (1402922105,), (1402922107,), (1402922125,), (1402922127,), (1402922128,), (1402922129,), (1402922138,), (1402922142,), (1402922149,), (1402922151,), (1402922152,), (1402922155,), (1402922157,), (1402922158,), (1402922170,), (1402922171,), (1402922172,), (1402922173,), (1402922175,), (1402922177,), (1402922180,), (1402922183,), (1402922185,), (1402922187,), (1402922199,), (1402922200,), (1402922202,), (1402922204,), (1402922207,), (1402922233,), (1402922229,), (1402922230,), (1402922231,), (1402922244,), (1402922245,), (1402922247,), (1402922248,), (1402922252,), (1402922254,), (1402922267,), (1402922269,), (1402922271,), (1402922274,), (1402922277,), (1402922280,), (1402922293,), (1402922294,), (1402922296,), (1402922319,), (1402922322,), (1402922323,), (1402922326,), (1402922330,), (1402922332,), (1402922352,), (1402922356,), (1402922357,), (1402922360,), (1402922363,), (1402922365,), (1402922381,), (1402922385,), (1402922387,), (1402922425,), (1402922427,), (1402922428,), (1402922430,), (1402922432,), (1402922434,), (1402922438,), (1402922439,), (1402922440,), (1402922451,), (1402922452,), (1402922454,), (1402922456,), (1402922458,), (1402922481,), (1402922489,), (1402922497,), (1402922500,), (1402922518,), (1402922525,), (1402922527,), (1402922529,), (1402922531,), (1402922534,), (1402922550,), (1402922558,), (1402922560,), (1402922562,), (1402922566,), (1402922568,), (1402922576,), (1402922578,), (1402922580,), (1402922583,), (1402922631,), (1402922632,), (1402922634,), (1402922636,), (1402922638,), (1402922640,), (1402922654,), (1402922658,), (1402922661,), (1402922688,), (1402922678,), (1402922680,), (1402922682,), (1402922685,), (1402922687,), (1402922697,), (1402922699,), (1402922702,), (1402922705,), (1402922708,), (1402922711,), (1402922759,), (1402922762,), (1402922764,), (1402922767,), (1402922769,), (1402922770,), (1402922773,), (1402922775,), (1402922777,), (1402922779,), (1402922786,), (1402922788,), (1402922790,), (1402922814,), (1402922816,), (1402922818,), (1402922821,), (1402922825,), (1402922855,), (1402922858,), (1402922861,), (1402922864,), (1402922871,), (1402922873,), (1402922875,), (1402922877,), (1402922880,), (1402922903,), (1402922904,), (1402922923,), (1402922924,), (1402922925,), (1402922927,), (1402922930,), (1402922944,), (1402922945,), (1402922946,), (1402922947,), (1402922951,), (1402922954,), (1402922961,), (1402922962,), (1402922963,), (1402923057,), (1402923078,), (1402923101,), (1402923096,), (1402923098,), (1402923134,), (1402923135,), (1402923137,), (1402923140,), (1402923143,), (1402923162,), (1402923359,), (1402923360,), (1402923363,), (1402923365,), (1402923382,), (1402923384,), (1402923386,), (1402923388,), (1402923389,), (1402923404,), (1402923414,), (1402923427,), (1402923459,), (1402923874,), (1402923909,), (1402924485,), (1402924486,), (1402924487,), (1402924488,), (1402923865,), (1402923867,), (1402923870,), (1402923872,), (1402924340,), (1402924346,), (1402924378,), (1402924389,), (1402924401,), (1402924403,), (1402924455,), (1402924458,), (1402924461,), (1402924464,), (1402924466,), (1402924469,), (1402924497,), (1402924500,), (1402924503,), (1402924506,), (1402924508,), (1402924583,), (1402925156,), (1402925159,), (1402925209,), (1402925255,), (1402925323,), (1402925325,), (1402925327,), (1402925329,), (1402925338,), (1402925340,), (1402925453,), (1402925455,), (1402925457,), (1402925459,), (1402925480,), (1402925482,), (1402925484,), (1402925485,), (1402925616,), (1402925618,), (1402925621,), (1402925623,), (1402925627,), (1402925684,), (1402925713,), (1402925716,), (1402925782,), (1402925791,), (1402925801,), (1402925968,), (1402925969,), (1402925970,), (1402925985,), (1402925987,), (1402925999,), (1402926030,), (1402926148,), (1402926160,), (1402926178,), (1402926180,), (1402926352,), (1402926353,), (1402926356,), (1402926358,), (1402926385,), (1402926377,), (1402926378,), (1402926380,), (1402926381,), (1402926556,), (1402926586,), (1402926588,), (1402926590,), (1402926633,), (1402926634,), (1402926635,), (1402926637,), (1402926771,), (1402926772,), (1402926782,), (1402926869,), (1402927921,), (1402927976,), (1402928005,), (1402928029,), (1402928093,), (1402928099,), (1402928105,), (1402928540,), (1402929179,), (1402929180,), (1402929261,), (1402929266,), (1402929268,), (1402929288,), (1402929324,), (1402929461,), (1402929287,), (1402929315,), (1402929316,), (1402929317,), (1402929320,), (1402929322,), (1402929333,), (1402929334,), (1402929339,), (1402929345,), (1402929351,), (1402929361,), (1402929383,), (1402929384,), (1402929396,), (1402929427,), (1402929494,), (1402929497,), (1402929500,), (1402929510,), (1402929532,), (1402929557,), (1402929770,), (1402929771,), (1402929772,), (1402929803,), (1402930015,), (1402930016,), (1402930018,), (1402930019,), (1402930139,), (1402930140,), (1402930173,), (1402930174,), (1402930198,), (1402930199,), (1402930201,), (1402930539,), (1402930860,), (1402931068,), (1402931205,), (1402931208,), (1402931209,), (1402931359,), (1402931467,), (1402931468,), (1402931526,), (1402931644,), (1402931726,), (1402931750,), (1402931752,), (1402931790,), (1402931791,), (1402931794,), (1402931810,), (1402931813,), (1402931882,), (1402931884,), (1402931886,), (1402931890,), (1402931895,), (1402931898,), (1402931901,), (1402931903,), (1402931946,), (1402931913,), (1402931924,), (1402931935,), (1402931939,), (1402931986,), (1402931989,), (1402931992,), (1402932387,), (1402932417,), (1402932476,), (1402932525,), (1402932564,), (1402932624,), (1402932782,), (1402932825,), (1402932962,), (1402933008,), (1402933525,), (1402933565,), (1402934054,), (1402934090,), (1402934548,), (1402934551,), (1402934553,), (1402934644,), (1402934647,), (1402934677,), (1402934678,), (1402934679,), (1402934759,), (1402934908,), (1402934974,), (1402935070,), (1402935141,), (1402935359,), (1402935294,), (1402935327,), (1402935541,), (1402935549,), (1402935566,), (1402935568,), (1402935572,), (1402935665,), (1402935679,), (1402935810,), (1402935840,), (1402935842,), (1402935843,), (1402935858,), (1402935871,), (1402935874,), (1402935894,), (1402936285,), (1402936287,), (1402936598,), (1402936631,), (1402936663,), (1402937061,), (1402937097,), (1402937521,), (1402937523,), (1402937525,), (1402937526,), (1402937534,), (1402937535,), (1402937589,), (1402937591,), (1402937592,), (1402937593,), (1402937796,), (1402937810,), (1402937811,), (1402937822,), (1402937823,), (1402937824,), (1402937827,), (1402937837,), (1402937838,), (1402937848,), (1402937849,), (1402937851,), (1402937854,), (1402937868,), (1402937869,), (1402937871,), (1402937975,), (1402937984,), (1402937993,), (1402938059,), (1402938061,), (1402938353,), (1402938379,), (1402938380,), (1402938387,), (1402938676,), (1402938678,), (1402938679,), (1402938681,), (1402938693,), (1402938694,), (1402938695,), (1402938697,), (1402938732,), (1402938739,), (1402938740,), (1402938772,), (1402938776,), (1402938870,), (1402938902,), (1402938954,), (1402938981,), (1402938991,), (1402938996,), (1402939017,), (1402939018,), (1402939019,), (1402939112,), (1402939114,), (1402939115,), (1402939170,), (1402939171,), (1402939228,), (1402939224,), (1402939225,), (1402939227,), (1402939247,), (1402939265,), (1402939267,), (1402939269,), (1402939291,), (1402939292,), (1402939300,), (1402939331,), (1402939704,), (1402939715,), (1402939734,), (1402939739,), (1402939743,), (1402939746,), (1402939899,), (1402939918,), (1402939948,), (1402939996,), (1402939997,), (1402939998,), (1402940000,), (1402940004,), (1402940006,), (1402940024,), (1402940025,), (1402940026,), (1402940105,), (1402940191,), (1402940261,), (1402940358,), (1402940419,), (1402940423,), (1402940469,), (1402940509,), (1402940528,), (1402940551,), (1402940554,), (1402940556,), (1402940565,), (1402940605,), (1402940638,), (1402940671,), (1402940701,), (1402940854,), (1402940858,), (1402940860,), (1402941136,), (1402941157,), (1402941168,), (1402941415,), (1402941416,), (1402941417,), (1402941419,), (1402941430,), (1402941432,), (1402941434,), (1402941969,), (1402942008,), (1402942062,), (1402942109,), (1402942142,), (1402942177,), (1402942334,), (1402945014,), (1402946993,), (1402947019,), (1402947021,), (1402947024,), (1402947035,), (1402947036,), (1402947037,), (1402947040,), (1402947043,), (1402947045,), (1402947061,), (1402947062,), (1402947063,), (1402947121,), (1402947123,), (1402947125,), (1402947126,), (1402947139,), (1402947162,), (1402947163,), (1402947166,), (1402947168,), (1402947238,), (1402947239,), (1402947240,), (1402947242,), (1402947359,), (1402947361,), (1402947363,), (1402947366,), (1402947370,), (1402947410,), (1402947452,), (1402947455,), (1402947458,), (1402947498,), (1402947500,), (1402947502,), (1402947505,), (1402947508,), (1402947524,), (1402947555,), (1402947556,), (1402947557,), (1402947571,), (1402947573,), (1402947575,), (1402947578,), (1402947581,), (1402947586,), (1402947931,), (1402947973,), (1402948037,), (1402948062,), (1402948194,), (1402948181,), (1402948183,), (1402948186,), (1402948189,), (1402948192,), (1402948204,), (1402948205,), (1402948208,), (1402948210,), (1402948234,), (1402948236,), (1402948238,), (1402948258,), (1402948378,), (1402948380,), (1402948382,), (1402948385,), (1402948389,), (1402948392,), (1402948409,), (1402948411,), (1402948414,), (1402948417,), (1402948420,), (1402948423,), (1402948431,), (1402948433,), (1402948435,), (1402948437,), (1402948484,), (1402948486,), (1402948489,), (1402948493,), (1402948495,), (1402948497,), (1402948508,), (1402948509,), (1402948511,), (1402948514,), (1402948517,), (1402948519,), (1402948541,), (1402948543,), (1402948546,), (1402948548,), (1402948551,), (1402948554,), (1402948585,), (1402948587,), (1402948588,), (1402948590,), (1402948592,), (1402948595,), (1402948606,), (1402948608,), (1402948611,), (1402948613,), (1402948614,), (1402948615,), (1402948692,), (1402948694,), (1402948714,), (1402948715,), (1402948716,), (1402948717,), (1402948720,), (1402948722,), (1402948725,), (1402948728,), (1402948734,), (1402948741,), (1402948814,), (1402948815,), (1402948816,), (1402948817,), (1402948818,), (1402948825,), (1402948830,), (1402948831,), (1402948855,), (1402948857,), (1402948889,), (1402948894,), (1402948907,), (1402948946,), (1402948982,), (1402949380,), (1402950752,), (1402950796,), (1402950853,), (1402951197,), (1402951214,), (1402951223,), (1402951225,), (1402951229,), (1402951239,), (1402951569,), (1402951578,), (1402951580,), (1402951582,), (1402951586,), (1402951612,), (1402951752,), (1402951754,), (1402951756,), (1402951758,), (1402951899,), (1402951915,), (1402951917,), (1402951921,), (1402951925,), (1402951961,), (1402951976,), (1402951988,), (1402952134,), (1402952136,), (1402952139,), (1402952141,), (1402952160,), (1402952163,), (1402952324,), (1402952326,), (1402952329,), (1402952415,), (1402952450,), (1402952468,), (1402952470,), (1402952473,), (1402952476,), (1402952520,), (1402952527,), (1402952531,), (1402952626,), (1402952628,), (1402952629,), (1402952632,), (1402952663,), (1402952691,), (1402952744,), (1402952753,), (1402952766,), (1402953871,), (1402953982,), (1402952967,), (1402953803,), (1402953837,), (1402953977,), (1402953978,), (1402953979,), (1402954299,), (1402954300,), (1402954301,), (1402954302,), (1402954305,), (1402954362,), (1402954365,), (1402954366,), (1402954534,), (1402954536,), (1402954551,), (1402954618,), (1402954679,), (1402954746,), (1402954881,), (1402954889,), (1402954892,), (1402954965,), (1402954967,), (1402954969,), (1402954972,), (1402955088,), (1402955099,), (1402955103,), (1402955371,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'08012026': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([30050347]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] map_info['map_portfolio_photo'] : {30050347: [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294]} final : True mtd_id 4302 list_pids : [1402937796, 1402937593, 1402937592, 1402937591, 1402937589, 1402937535, 1402937534, 1402937526, 1402937525, 1402937523, 1402937521, 1402937097, 1402937061, 1402936663, 1402936631, 1402936598, 1402936287, 1402936285, 1402935894, 1402935874, 1402935871, 1402935858, 1402935843, 1402935842, 1402935840, 1402935810, 1402935679, 1402935665, 1402935572, 1402935568, 1402935566, 1402935549, 1402935541, 1402935327, 1402935294] Looping around the photos to save general results len do output : 1 /30050347Didn'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, '4327438') ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438') ('4302', None, None, None, None, None, None, None, '4327438') ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '30050347', 'None', None, None, None, None, '4327438'), ('4302', '30050347', '1402937796', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937593', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937592', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937591', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937589', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937535', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937534', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937526', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937525', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937523', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937521', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937097', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402937061', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936663', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936631', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936598', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936287', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402936285', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935894', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935874', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935871', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935858', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935843', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935842', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935840', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935810', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935679', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935665', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935572', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935568', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935566', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935549', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935541', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935327', None, None, None, None, None, '4327438'), ('4302', '30050347', '1402935294', None, None, None, None, None, '4327438')] time used for this insertion : 0.02241802215576172 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.9862775802612305 time spend to save output : 0.02278614044189453 total time spend for step 5 : 3.009063720703125 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 (4327438) 2.92user 2.09system 0:17.61elapsed 28%CPU (0avgtext+0avgdata 168820maxresident)k 712inputs+26528outputs (7major+83303minor)pagefaults 0swaps