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 : 326579 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 (4315807) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4315807) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943959 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4315807'] with mtr_portfolio_ids : ['29943959'] and first list_photo_ids : [] new path : /proc/326579/ Name: python3 Umask: 0002 State: R (running) Tgid: 326579 Ngid: 0 Pid: 326579 PPid: 326577 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 326579 NSpid: 326579 NSpgid: 326034 NSsid: 326034 VmPeak: 1113360 kB VmSize: 1113360 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 104820 kB VmRSS: 104820 kB RssAnon: 66300 kB RssFile: 38520 kB RssShmem: 0 kB VmData: 872088 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 612 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: 45 nonvoluntary_ctxt_switches: 157 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '326579', 'Ngid': '0', 'Pid': '326579', 'PPid': '326577', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '326579', 'NSpid': '326579', 'NSpgid': '326034', 'NSsid': '326034', 'VmPeak': '1113360 kB', 'VmSize': '1113360 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '104820 kB', 'VmRSS': '104820 kB', 'RssAnon': '66300 kB', 'RssFile': '38520 kB', 'RssShmem': '0 kB', 'VmData': '872088 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '612 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': '45', 'nonvoluntary_ctxt_switches': '157'} ('datou_batch_current', '326579', '1113360', '0', '1113360', '872088', '104820', b'', 'marlene', '4315807') 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 (29943959) 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 (4315807 ) ) 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 (29943959) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1402485480, 'portfolio_id': 29943959}, {'photo_id': 1402485463, 'portfolio_id': 29943959}, {'photo_id': 1402485461, 'portfolio_id': 29943959}, {'photo_id': 1402485459, 'portfolio_id': 29943959}, {'photo_id': 1402485457, 'portfolio_id': 29943959}, {'photo_id': 1402485453, 'portfolio_id': 29943959}, {'photo_id': 1402485451, 'portfolio_id': 29943959}, {'photo_id': 1402485448, 'portfolio_id': 29943959}, {'photo_id': 1402485445, 'portfolio_id': 29943959}, {'photo_id': 1402485426, 'portfolio_id': 29943959}, {'photo_id': 1402485418, 'portfolio_id': 29943959}, {'photo_id': 1402485417, 'portfolio_id': 29943959}, {'photo_id': 1402485415, 'portfolio_id': 29943959}, {'photo_id': 1402485411, 'portfolio_id': 29943959}, {'photo_id': 1402485410, 'portfolio_id': 29943959}, {'photo_id': 1402485407, 'portfolio_id': 29943959}, {'photo_id': 1402485403, 'portfolio_id': 29943959}, {'photo_id': 1402485400, 'portfolio_id': 29943959}, {'photo_id': 1402485398, 'portfolio_id': 29943959}, {'photo_id': 1402485397, 'portfolio_id': 29943959}, {'photo_id': 1402485395, 'portfolio_id': 29943959}, {'photo_id': 1402485393, 'portfolio_id': 29943959}, {'photo_id': 1402485387, 'portfolio_id': 29943959}, {'photo_id': 1402485385, 'portfolio_id': 29943959}, {'photo_id': 1402485383, 'portfolio_id': 29943959}, {'photo_id': 1402485381, 'portfolio_id': 29943959}, {'photo_id': 1402485379, 'portfolio_id': 29943959}, {'photo_id': 1402485369, 'portfolio_id': 29943959}, {'photo_id': 1402485367, 'portfolio_id': 29943959}, {'photo_id': 1402485365, 'portfolio_id': 29943959}, {'photo_id': 1402485360, 'portfolio_id': 29943959}, {'photo_id': 1402485358, 'portfolio_id': 29943959}, {'photo_id': 1402485356, 'portfolio_id': 29943959}, {'photo_id': 1402485350, 'portfolio_id': 29943959}, {'photo_id': 1402485317, 'portfolio_id': 29943959}] map_portfolio_id_photo_id: {29943959: [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317]} ##### 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.017528533935546875 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Tue Jan 6 05:34:27 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 (29943959) 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 : 29943959 get user id for portfolio 29943959 get sub ptf for main ptf 29943959, type 3726 and hashtags ['kraft', 'autre_refus', 'plastique', 'flou', 'environnement', 'papier', 'mal_croppe', 'cartonnette', 'Carton_brun', 'Teint_Dans_La_Masse', 'metal', 'Carton_gris'] 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`=29943959 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','plastique','flou','environnement','papier','mal_croppe','cartonnette','Carton_brun','Teint_Dans_La_Masse','metal','Carton_gris')) 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`=29943959 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','plastique','flou','environnement','papier','mal_croppe','cartonnette','Carton_brun','Teint_Dans_La_Masse','metal','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29943959, 'sub_port_id': 29943961, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488756, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'Carton_brun': {'main_port_id': 29943959, 'sub_port_id': 29943962, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488757, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'kraft': {'main_port_id': 29943959, 'sub_port_id': 29943963, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488758, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'plastique': {'main_port_id': 29943959, 'sub_port_id': 29943964, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488759, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'cartonnette': {'main_port_id': 29943959, 'sub_port_id': 29943965, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488760, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'Carton_gris': {'main_port_id': 29943959, 'sub_port_id': 29943966, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488761, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'metal': {'main_port_id': 29943959, 'sub_port_id': 29943967, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488762, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'autre_refus': {'main_port_id': 29943959, 'sub_port_id': 29943968, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488763, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'mal_croppe': {'main_port_id': 29943959, 'sub_port_id': 29943969, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488764, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'environnement': {'main_port_id': 29943959, 'sub_port_id': 29943970, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488765, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'papier': {'main_port_id': 29943959, 'sub_port_id': 29943971, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488766, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 29943959, 'sub_port_id': 29943972, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488767, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943961 , 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=29943959 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 (29943961) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943962 , 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=29943959 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 (29943962) result : ((1402485375,), (1402485405,), (1402485408,), (1402485441,), (1402485442,), (1402485507,), (1402485508,), (1402485509,), (1402485510,), (1402486132,), (1402486133,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943963 , 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=29943959 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 (29943963) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943964 , 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=29943959 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 (29943964) result : ((1402485406,), (1402485409,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943965 , 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=29943959 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 (29943965) result : ((1402485374,), (1402485439,), (1402485440,), (1402485469,), (1402486127,), (1402486128,), (1402486129,), (1402486130,), (1402486131,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943966 , 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=29943959 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 (29943966) result : ((1402485433,), (1402485434,), (1402485506,), (1402486123,), (1402486124,), (1402486125,), (1402486126,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943967 , 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=29943959 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 (29943967) result : ((1402485511,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943968 , 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=29943959 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 (29943968) result : ((1402485373,), (1402485404,), (1402485438,), (1402486119,), (1402486120,), (1402486121,), (1402486122,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943969 , 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=29943959 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 (29943969) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943970 , 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=29943959 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 (29943970) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943971 , 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=29943959 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 (29943971) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29943972 , 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=29943959 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 (29943972) result : ((1402485401,), (1402485402,), (1402485432,), (1402485436,), (1402485437,), (1402485468,), (1402485504,), (1402485505,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29943959) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,)) 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 (1402485400) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=29943959 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','plastique','flou','environnement','papier','mal_croppe','cartonnette','Carton_brun','Teint_Dans_La_Masse','metal','Carton_gris')) 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`=29943959 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','autre_refus','plastique','flou','environnement','papier','mal_croppe','cartonnette','Carton_brun','Teint_Dans_La_Masse','metal','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 29943959, 'sub_port_id': 29943973, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488768, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'Carton_brun': {'main_port_id': 29943959, 'sub_port_id': 29943974, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488769, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'kraft': {'main_port_id': 29943959, 'sub_port_id': 29943975, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488770, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'plastique': {'main_port_id': 29943959, 'sub_port_id': 29943976, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488771, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'cartonnette': {'main_port_id': 29943959, 'sub_port_id': 29943977, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488772, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'Carton_gris': {'main_port_id': 29943959, 'sub_port_id': 29943978, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488773, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'metal': {'main_port_id': 29943959, 'sub_port_id': 29943979, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488774, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'autre_refus': {'main_port_id': 29943959, 'sub_port_id': 29943980, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488775, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'mal_croppe': {'main_port_id': 29943959, 'sub_port_id': 29943981, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488776, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'environnement': {'main_port_id': 29943959, 'sub_port_id': 29943982, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488777, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'papier': {'main_port_id': 29943959, 'sub_port_id': 29943983, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488778, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 8, 59), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 29943959, 'sub_port_id': 29943984, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20488779, 'last_updated_at': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_desc': datetime.datetime(2026, 1, 5, 5, 16, 58), 'last_updated_at_asc': datetime.datetime(2026, 1, 5, 5, 8, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943973,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943961 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943974,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943962 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943975,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943963 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943976,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943964 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943977,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943965 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943978,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943966 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943979,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943967 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943980,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943968 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943981,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943969 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943982,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943970 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943983,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943971 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29943984,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29943972 lien utilise dans velours : https://marlene.fotonower.com/velours/29943973,29943974,29943975,29943976,29943977,29943978,29943979,29943980,29943981,29943982,29943983,29943984?tags=flou,Carton_brun,kraft,plastique,cartonnette,Carton_gris,metal,autre_refus,mal_croppe,environnement,papier,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29943959]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] map_info['map_portfolio_photo'] : {29943959: [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317]} final : False mtd_id 4302 list_pids : [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] Looping around the photos to save general results len do output : 1 /29943959. 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, '4315807') ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807') 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, '29943959', "{'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972}", None, None, None, None, '4315807'), ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807')] time used for this insertion : 0.029299497604370117 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5930681228637695 time spend to save output : 0.02955794334411621 total time spend for step 1 : 0.6226260662078857 step2:final Tue Jan 6 05:34: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 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 (29943959) 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 29943959 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1402485350,1402485317,1402485360,1402485358,1402485356,1402485369,1402485367,1402485365,1402485411,1402485387,1402485385,1402485410,1402485383,1402485407,1402485381,1402485403,1402485400,1402485379,1402485398,1402485397,1402485395,1402485393,1402485418,1402485417,1402485415,1402485453,1402485426,1402485451,1402485448,1402485445,1402485463,1402485461,1402485459,1402485457,1402485480); 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([29943959]) Inside saveOutput : final : False verbose : True original output for save of step final : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} new output for save of step final : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] map_info['map_portfolio_photo'] : {29943959: [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317]} final : False mtd_id 4302 list_pids : [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] Looping around the photos to save general results len do output : 35 /1402485480.Didn't retrieve data . /1402485463.Didn't retrieve data . /1402485461.Didn't retrieve data . /1402485459.Didn't retrieve data . /1402485457.Didn't retrieve data . /1402485453.Didn't retrieve data . /1402485451.Didn't retrieve data . /1402485448.Didn't retrieve data . /1402485445.Didn't retrieve data . /1402485426.Didn't retrieve data . /1402485418.Didn't retrieve data . /1402485417.Didn't retrieve data . /1402485415.Didn't retrieve data . /1402485411.Didn't retrieve data . /1402485410.Didn't retrieve data . /1402485407.Didn't retrieve data . /1402485403.Didn't retrieve data . /1402485400.Didn't retrieve data . /1402485398.Didn't retrieve data . /1402485397.Didn't retrieve data . /1402485395.Didn't retrieve data . /1402485393.Didn't retrieve data . /1402485387.Didn't retrieve data . /1402485385.Didn't retrieve data . /1402485383.Didn't retrieve data . /1402485381.Didn't retrieve data . /1402485379.Didn't retrieve data . /1402485369.Didn't retrieve data . /1402485367.Didn't retrieve data . /1402485365.Didn't retrieve data . /1402485360.Didn't retrieve data . /1402485358.Didn't retrieve data . /1402485356.Didn't retrieve data . /1402485350.Didn't retrieve data . /1402485317.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, '4315807') ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807') 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', '29943959', '1402485480', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485463', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485461', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485459', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485457', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485453', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485451', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485448', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485445', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485426', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485418', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485417', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485415', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485411', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485410', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485407', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485403', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485400', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485398', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485397', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485395', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485393', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485387', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485385', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485383', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485381', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485379', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485369', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485367', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485365', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485360', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485358', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485356', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485350', '0.05384510005075696', None, None, None, None, '4315807'), ('4302', '29943959', '1402485317', '0.05384510005075696', None, None, None, None, '4315807')] time used for this insertion : 0.028255701065063477 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07949638366699219 time spend to save output : 0.029115676879882812 total time spend for step 2 : 0.108612060546875 step3:velours_tree Tue Jan 6 05:34: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 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 : {29943959: [{'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972}]} input_args_next_step : {29943959: ()} output_args : {29943959: [{'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972}]} args : 29943959 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29943959) 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([29943959]) 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.28222227096557617 time spend to save output : 5.4836273193359375e-05 total time spend for step 3 : 0.28227710723876953 step4:send_mail_cod Tue Jan 6 05:34: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 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 : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} input_args_next_step : {1402485480: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485480 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485463 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485461 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485459 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485457 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485453 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485451 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485448 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485445 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485426 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485418 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485417 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485415 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485411 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485410 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485407 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485403 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485400 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485398 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485397 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485395 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485393 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485387 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485385 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485383 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485381 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485379 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485369 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485367 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485365 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485360 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485358 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485356 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485350 depend.output_id : 0 input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ()} output_args : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',)} args : 1402485317 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 : {29943959: [{'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972}]} input_args_next_step : {1402485480: ('0.05384510005075696',), 1402485463: ('0.05384510005075696',), 1402485461: ('0.05384510005075696',), 1402485459: ('0.05384510005075696',), 1402485457: ('0.05384510005075696',), 1402485453: ('0.05384510005075696',), 1402485451: ('0.05384510005075696',), 1402485448: ('0.05384510005075696',), 1402485445: ('0.05384510005075696',), 1402485426: ('0.05384510005075696',), 1402485418: ('0.05384510005075696',), 1402485417: ('0.05384510005075696',), 1402485415: ('0.05384510005075696',), 1402485411: ('0.05384510005075696',), 1402485410: ('0.05384510005075696',), 1402485407: ('0.05384510005075696',), 1402485403: ('0.05384510005075696',), 1402485400: ('0.05384510005075696',), 1402485398: ('0.05384510005075696',), 1402485397: ('0.05384510005075696',), 1402485395: ('0.05384510005075696',), 1402485393: ('0.05384510005075696',), 1402485387: ('0.05384510005075696',), 1402485385: ('0.05384510005075696',), 1402485383: ('0.05384510005075696',), 1402485381: ('0.05384510005075696',), 1402485379: ('0.05384510005075696',), 1402485369: ('0.05384510005075696',), 1402485367: ('0.05384510005075696',), 1402485365: ('0.05384510005075696',), 1402485360: ('0.05384510005075696',), 1402485358: ('0.05384510005075696',), 1402485356: ('0.05384510005075696',), 1402485350: ('0.05384510005075696',), 1402485317: ('0.05384510005075696',), 29943959: ()} output_args : {29943959: [{'flou': 29943961, 'Carton_brun': 29943962, 'kraft': 29943963, 'plastique': 29943964, 'cartonnette': 29943965, 'Carton_gris': 29943966, 'metal': 29943967, 'autre_refus': 29943968, 'mal_croppe': 29943969, 'environnement': 29943970, 'papier': 29943971, 'Teint_Dans_La_Masse': 29943972}]} args : 29943959 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.05384510005075696',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29943959) 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 (1402485480,1402485463,1402485461,1402485459,1402485457,1402485453,1402485451,1402485448,1402485445,1402485426,1402485418,1402485417,1402485415,1402485411,1402485410,1402485407,1402485403,1402485400,1402485398,1402485397,1402485395,1402485393,1402485387,1402485385,1402485383,1402485381,1402485379,1402485369,1402485367,1402485365,1402485360,1402485358,1402485356,1402485350,1402485317) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1402485317 begin to download photo : 1402485379 begin to download photo : 1402485398 begin to download photo : 1402485418 begin to download photo : 1402485461 download finish for photo 1402485317 begin to download photo : 1402485350 download finish for photo 1402485461 begin to download photo : 1402485463 download finish for photo 1402485418 begin to download photo : 1402485426 download finish for photo 1402485379 begin to download photo : 1402485381 download finish for photo 1402485398 begin to download photo : 1402485400 download finish for photo 1402485463 begin to download photo : 1402485480 download finish for photo 1402485426 begin to download photo : 1402485445 download finish for photo 1402485350 begin to download photo : 1402485356 download finish for photo 1402485400 begin to download photo : 1402485403 download finish for photo 1402485381 begin to download photo : 1402485383 download finish for photo 1402485356 begin to download photo : 1402485358 download finish for photo 1402485480 download finish for photo 1402485445 begin to download photo : 1402485448 download finish for photo 1402485403 begin to download photo : 1402485407 download finish for photo 1402485383 begin to download photo : 1402485385 download finish for photo 1402485448 begin to download photo : 1402485451 download finish for photo 1402485358 begin to download photo : 1402485360 download finish for photo 1402485407 begin to download photo : 1402485410 download finish for photo 1402485451 begin to download photo : 1402485453 download finish for photo 1402485385 begin to download photo : 1402485387 download finish for photo 1402485360 begin to download photo : 1402485365 download finish for photo 1402485410 begin to download photo : 1402485411 download finish for photo 1402485387 begin to download photo : 1402485393 download finish for photo 1402485453 begin to download photo : 1402485457 download finish for photo 1402485365 begin to download photo : 1402485367 download finish for photo 1402485393 begin to download photo : 1402485395 download finish for photo 1402485457 begin to download photo : 1402485459 download finish for photo 1402485411 begin to download photo : 1402485415 download finish for photo 1402485367 begin to download photo : 1402485369 download finish for photo 1402485395 begin to download photo : 1402485397 download finish for photo 1402485459 download finish for photo 1402485415 begin to download photo : 1402485417 download finish for photo 1402485369 download finish for photo 1402485417 download finish for photo 1402485397 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette299439611767674070/ imagette299439631767674070/ length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P29943959_06-01-2026_05_34_30.pdf 29943961 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=29943961 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299439611767674070 29943963 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=29943963 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299439631767674070 29943964 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=29943964 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485406: '1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665050_0.png', 1402485409: '1767586286_422290_1402485369_559fac51646fbb17185d6685879a9e42_rle_crop_4090665094_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/cdadf5fd6a28d94eacaed812b47c2117_91077072.png change filename to text .imagette299439641767674070/ imagette299439641767674070/1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665050_0.png.png imagette299439641767674070/1767586286_422290_1402485369_559fac51646fbb17185d6685879a9e42_rle_crop_4090665094_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/460da839bd4e6906af7d1985f578ee30_9963866.png imagette299439641767674070 29943965 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=29943965 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485374: '1767586147_417771_1402485358_dec392b3d2e1428e7a5057f70b910098_rle_crop_4090664940_0.png', 1402485439: '1767586405_427915_1402485395_ae2d1d0a1a0c82a6509cc1648197e5b7_rle_crop_4090665281_0.png', 1402485440: '1767586405_427915_1402485393_b7157275bf3d578667dfa41544eecc94_rle_crop_4090665290_0.png', 1402485469: '1767586506_432720_1402485445_b042fdee38bc8e155d8d3a3965cabd5c_rle_crop_4090665336_0.png', 1402486127: '1767588066_508864_1402485407_f9c4f8a75b68ddf763dedc7627dcfaab_rle_crop_4090670941_0.png', 1402486128: '1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671138_0.png', 1402486129: '1767588066_508864_1402485398_d373f692da40ec561842b83e1ff4b48a_rle_crop_4090671164_0.png', 1402486130: '1767588066_508864_1402485383_52471e9ebed06c90894f01972936caa2_rle_crop_4090671189_0.png', 1402486131: '1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671196_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/7c1c40066a78a6b612f0086e3319e903_43598682.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/305629c3024ac3786bb93c18d9f337e7_52643511.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0f04f97e929066ca83096857034b7c26_7958694.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/efbaeee77fcbc4e81c17cbbbe49f52a1_92075194.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6617f16d3b29ab3dcfc696bd3789ae03_58270431.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d587ef458bd4c924467c8a81225bc8fb_25401668.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/10fe46fbc82c9a54bc111d986fd52041_47068321.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/6617f16d3b29ab3dcfc696bd3789ae03_29405225.png change filename to text .imagette299439651767674070/ imagette299439651767674070/1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671196_0.png.png imagette299439651767674070/1767586506_432720_1402485445_b042fdee38bc8e155d8d3a3965cabd5c_rle_crop_4090665336_0.png.png imagette299439651767674070/1767588066_508864_1402485398_d373f692da40ec561842b83e1ff4b48a_rle_crop_4090671164_0.png.png imagette299439651767674070/1767588066_508864_1402485383_52471e9ebed06c90894f01972936caa2_rle_crop_4090671189_0.png.png imagette299439651767674070/1767586405_427915_1402485393_b7157275bf3d578667dfa41544eecc94_rle_crop_4090665290_0.png.png imagette299439651767674070/1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671138_0.png.png imagette299439651767674070/1767586147_417771_1402485358_dec392b3d2e1428e7a5057f70b910098_rle_crop_4090664940_0.png.png imagette299439651767674070/1767588066_508864_1402485407_f9c4f8a75b68ddf763dedc7627dcfaab_rle_crop_4090670941_0.png.png imagette299439651767674070/1767586405_427915_1402485395_ae2d1d0a1a0c82a6509cc1648197e5b7_rle_crop_4090665281_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/d587ef458bd4c924467c8a81225bc8fb_95852453.png imagette299439651767674070 29943967 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=29943967 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485511: '1767586647_439614_1402485461_ceda24bce06f02e789ec66f6f45a7a18_rle_crop_4090665620_0.png'} change filename to text .imagette299439671767674071/ imagette299439671767674071/1767586647_439614_1402485461_ceda24bce06f02e789ec66f6f45a7a18_rle_crop_4090665620_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a4c66e0963f5acf8b08269a869c3277f_18649496.png imagette299439671767674071 29943968 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=29943968 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485373: '1767586147_417771_1402485358_dec392b3d2e1428e7a5057f70b910098_rle_crop_4090664941_0.png', 1402485404: '1767586266_421044_1402485367_59eccca6998ab6ec3f500a9ba09e49be_rle_crop_4090665030_0.png', 1402485438: '1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665260_0.png', 1402486119: '1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671141_0.png', 1402486120: '1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671139_0.png', 1402486121: '1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671199_0.png', 1402486122: '1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671197_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ff10527eecdb5ba59f2a09b6f54f9cc7_54504776.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/0fe52d0712e326343e40ad7baa5418e4_94973821.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/62b5e2a2669c64c9baa94433a5f253f8_4775536.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b8993ed0b5e58ac8176f61937e3fa885_77222953.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/db3b9683002e03163a8c2f263c7fdcbe_16422261.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/b8993ed0b5e58ac8176f61937e3fa885_71377837.png change filename to text .imagette299439681767674071/ imagette299439681767674071/1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671141_0.png.png imagette299439681767674071/1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665260_0.png.png imagette299439681767674071/1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671197_0.png.png imagette299439681767674071/1767586266_421044_1402485367_59eccca6998ab6ec3f500a9ba09e49be_rle_crop_4090665030_0.png.png imagette299439681767674071/1767588066_508864_1402485381_3082d972d44175272890e494206a3591_rle_crop_4090671199_0.png.png imagette299439681767674071/1767586147_417771_1402485358_dec392b3d2e1428e7a5057f70b910098_rle_crop_4090664941_0.png.png imagette299439681767674071/1767588066_508864_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555_rle_crop_4090671139_0.png.png imagette299439691767674072/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/db3b9683002e03163a8c2f263c7fdcbe_16748274.png imagette299439681767674071 29943969 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=29943969 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette299439691767674072 29943962 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=29943962 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485375: '1767586147_417771_1402485356_822d50e072de160671be5497a8b741bb_rle_crop_4090664957_0.png', 1402485405: '1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665052_0.png', 1402485408: '1767586286_422290_1402485369_559fac51646fbb17185d6685879a9e42_rle_crop_4090665087_0.png', 1402485441: '1767586405_427915_1402485395_ae2d1d0a1a0c82a6509cc1648197e5b7_rle_crop_4090665280_0.png', 1402485442: '1767586405_427915_1402485393_b7157275bf3d578667dfa41544eecc94_rle_crop_4090665295_0.png', 1402485507: '1767586647_439614_1402485461_ceda24bce06f02e789ec66f6f45a7a18_rle_crop_4090665623_0.png', 1402485508: '1767586647_439614_1402485459_6cce505dd77193ee8c0122b880fdd730_rle_crop_4090665643_0.png', 1402485509: '1767586647_439614_1402485459_6cce505dd77193ee8c0122b880fdd730_rle_crop_4090665639_0.png', 1402485510: '1767586647_439614_1402485457_d309d5c97914cc701591f66f25af6bc3_rle_crop_4090665654_0.png', 1402486132: '1767588066_508864_1402485410_f8ad07e59ad255e3fa39c622a2d250d9_rle_crop_4090670929_0.png', 1402486133: '1767588066_508864_1402485385_045936c4aaf8618f7f24e81929125c10_rle_crop_4090671177_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f45b7a94465821b4a947ce5a2dadce51_16357342.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ee70165ed91763f43f347cf879192cee_31734314.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/8444caf48cae1e544c72f0c00f63c203_48882252.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/f0249a3dbd7200366edb51a921acdf0b_86077505.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/35b5de2644a6faedf48aa606c9bd5919_88160891.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/c2696f3b9b7b2f2d4bd6d4618342e3fa_93653620.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/1a3b7a8e56867a8fa31a1a887e945471_94984971.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/89d261982cef2100efaa7d84adf525ed_86645301.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/efc0a02d321f0c65b94f881b2246e5fc_36096640.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bb5fc641d3686a3e20e02d3339b34e5e_40142051.png change filename to text .imagette299439621767674072/ imagette299439621767674072/1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665052_0.png.png imagette299439621767674072/1767586647_439614_1402485459_6cce505dd77193ee8c0122b880fdd730_rle_crop_4090665643_0.png.png imagette299439621767674072/1767586405_427915_1402485395_ae2d1d0a1a0c82a6509cc1648197e5b7_rle_crop_4090665280_0.png.png imagette299439621767674072/1767586647_439614_1402485457_d309d5c97914cc701591f66f25af6bc3_rle_crop_4090665654_0.png.png imagette299439621767674072/1767588066_508864_1402485410_f8ad07e59ad255e3fa39c622a2d250d9_rle_crop_4090670929_0.png.png imagette299439621767674072/1767586647_439614_1402485461_ceda24bce06f02e789ec66f6f45a7a18_rle_crop_4090665623_0.png.png imagette299439621767674072/1767588066_508864_1402485385_045936c4aaf8618f7f24e81929125c10_rle_crop_4090671177_0.png.png imagette299439621767674072/1767586286_422290_1402485369_559fac51646fbb17185d6685879a9e42_rle_crop_4090665087_0.png.png imagette299439621767674072/1767586647_439614_1402485459_6cce505dd77193ee8c0122b880fdd730_rle_crop_4090665639_0.png.png imagette299439621767674072/1767586405_427915_1402485393_b7157275bf3d578667dfa41544eecc94_rle_crop_4090665295_0.png.png imagette299439621767674072/1767586147_417771_1402485356_822d50e072de160671be5497a8b741bb_rle_crop_4090664957_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/bb5fc641d3686a3e20e02d3339b34e5e_60856477.png imagette299439621767674072 29943966 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=29943966 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485433: '1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665145_0.png', 1402485434: '1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665142_0.png', 1402485506: '1767586647_439614_1402485480_858e1c2d8832077b09ef9fa7ab829bc1_rle_crop_4090665613_0.png', 1402486123: '1767588066_508864_1402485410_f8ad07e59ad255e3fa39c622a2d250d9_rle_crop_4090670926_0.png', 1402486124: '1767588066_508864_1402485407_f9c4f8a75b68ddf763dedc7627dcfaab_rle_crop_4090670943_0.png', 1402486125: '1767588066_508864_1402485385_045936c4aaf8618f7f24e81929125c10_rle_crop_4090671174_0.png', 1402486126: '1767588066_508864_1402485383_52471e9ebed06c90894f01972936caa2_rle_crop_4090671191_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/460d12489722026f8adcafbd483a1473_73870511.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ca6c8e7f48149f34d15336cc7cf1170c_22931525.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/631209116f379eb5b8e57a0794600a80_25415032.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/72f260a4667a56c93f6de6591803f535_64680345.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a371b2a1f3c72153546931bf4b6b2fe3_25038480.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/72f260a4667a56c93f6de6591803f535_70498312.png change filename to text .imagette299439661767674073/ imagette299439661767674073/1767588066_508864_1402485407_f9c4f8a75b68ddf763dedc7627dcfaab_rle_crop_4090670943_0.png.png imagette299439661767674073/1767588066_508864_1402485385_045936c4aaf8618f7f24e81929125c10_rle_crop_4090671174_0.png.png imagette299439661767674073/1767586647_439614_1402485480_858e1c2d8832077b09ef9fa7ab829bc1_rle_crop_4090665613_0.png.png imagette299439661767674073/1767588066_508864_1402485410_f8ad07e59ad255e3fa39c622a2d250d9_rle_crop_4090670926_0.png.png imagette299439661767674073/1767588066_508864_1402485383_52471e9ebed06c90894f01972936caa2_rle_crop_4090671191_0.png.png imagette299439661767674073/1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665142_0.png.png imagette299439661767674073/1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665145_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/a371b2a1f3c72153546931bf4b6b2fe3_3262205.png imagette299439661767674073 29943972 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=29943972 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1402485401: '1767586266_421044_1402485367_59eccca6998ab6ec3f500a9ba09e49be_rle_crop_4090665033_0.png', 1402485402: '1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665047_0.png', 1402485432: '1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665152_0.png', 1402485436: '1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665256_0.png', 1402485437: '1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665261_0.png', 1402485468: '1767586506_432720_1402485451_6adf0d7cc40c14a79e0547ae0bf626b0_rle_crop_4090665328_0.png', 1402485504: '1767586647_439614_1402485480_858e1c2d8832077b09ef9fa7ab829bc1_rle_crop_4090665608_0.png', 1402485505: '1767586647_439614_1402485457_d309d5c97914cc701591f66f25af6bc3_rle_crop_4090665657_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/776d0f492ebf812d45d7b6c68316a123_72693975.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/713b565faff3b0d4289aa08a19716bf5_10757164.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/8a0975fbf1c14981a145be248feece8b_51113260.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/55e9bd9f0003fce190b106804172af1d_15570753.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/60d8c2343c9c9e353fd627bcc5880582_54785679.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/e39fff56614d3056d78c2d6b76ac1ad5_4932547.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/4b203b17139c0304ea36bfcffa77c11b_78035321.png change filename to text .imagette299439721767674074/ imagette299439721767674074/1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665256_0.png.png imagette299439721767674074/1767586647_439614_1402485457_d309d5c97914cc701591f66f25af6bc3_rle_crop_4090665657_0.png.png imagette299439721767674074/1767586387_427443_1402485417_08f4a0c74ce48307699b825548f96c4d_rle_crop_4090665152_0.png.png imagette299439721767674074/1767586266_421044_1402485365_8e3945355b6aae5834f9477b4f1ce1bf_rle_crop_4090665047_0.png.png imagette299439721767674074/1767586266_421044_1402485367_59eccca6998ab6ec3f500a9ba09e49be_rle_crop_4090665033_0.png.png imagette299439721767674074/1767586506_432720_1402485451_6adf0d7cc40c14a79e0547ae0bf626b0_rle_crop_4090665328_0.png.png imagette299439721767674074/1767586647_439614_1402485480_858e1c2d8832077b09ef9fa7ab829bc1_rle_crop_4090665608_0.png.png imagette299439721767674074/1767586405_427915_1402485418_7c27432f7d33d15c15dac05ac6ed6948_rle_crop_4090665261_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/34074275b19ac19ab6891d9f64f52ef3_76788259.png imagette299439721767674074 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29943959 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29943973,29943974,29943975,29943976,29943977,29943978,29943979,29943980,29943981,29943982,29943983,29943984?tags=flou,Carton_brun,kraft,plastique,cartonnette,Carton_gris,metal,autre_refus,mal_croppe,environnement,papier,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1402485480] : ('0.05384510005075696',) no score found for photo 1402485480 We are sending mail with results at report@fotonower.com args[1402485463] : ('0.05384510005075696',) no score found for photo 1402485463 We are sending mail with results at report@fotonower.com args[1402485461] : ('0.05384510005075696',) no score found for photo 1402485461 We are sending mail with results at report@fotonower.com args[1402485459] : ('0.05384510005075696',) no score found for photo 1402485459 We are sending mail with results at report@fotonower.com args[1402485457] : ('0.05384510005075696',) no score found for photo 1402485457 We are sending mail with results at report@fotonower.com args[1402485453] : ('0.05384510005075696',) no score found for photo 1402485453 We are sending mail with results at report@fotonower.com args[1402485451] : ('0.05384510005075696',) no score found for photo 1402485451 We are sending mail with results at report@fotonower.com args[1402485448] : ('0.05384510005075696',) no score found for photo 1402485448 We are sending mail with results at report@fotonower.com args[1402485445] : ('0.05384510005075696',) no score found for photo 1402485445 We are sending mail with results at report@fotonower.com args[1402485426] : ('0.05384510005075696',) no score found for photo 1402485426 We are sending mail with results at report@fotonower.com args[1402485418] : ('0.05384510005075696',) no score found for photo 1402485418 We are sending mail with results at report@fotonower.com args[1402485417] : ('0.05384510005075696',) no score found for photo 1402485417 We are sending mail with results at report@fotonower.com args[1402485415] : ('0.05384510005075696',) no score found for photo 1402485415 We are sending mail with results at report@fotonower.com args[1402485411] : ('0.05384510005075696',) no score found for photo 1402485411 We are sending mail with results at report@fotonower.com args[1402485410] : ('0.05384510005075696',) no score found for photo 1402485410 We are sending mail with results at report@fotonower.com args[1402485407] : ('0.05384510005075696',) no score found for photo 1402485407 We are sending mail with results at report@fotonower.com args[1402485403] : ('0.05384510005075696',) no score found for photo 1402485403 We are sending mail with results at report@fotonower.com args[1402485400] : ('0.05384510005075696',) no score found for photo 1402485400 We are sending mail with results at report@fotonower.com args[1402485398] : ('0.05384510005075696',) no score found for photo 1402485398 We are sending mail with results at report@fotonower.com args[1402485397] : ('0.05384510005075696',) no score found for photo 1402485397 We are sending mail with results at report@fotonower.com args[1402485395] : ('0.05384510005075696',) no score found for photo 1402485395 We are sending mail with results at report@fotonower.com args[1402485393] : ('0.05384510005075696',) no score found for photo 1402485393 We are sending mail with results at report@fotonower.com args[1402485387] : ('0.05384510005075696',) no score found for photo 1402485387 We are sending mail with results at report@fotonower.com args[1402485385] : ('0.05384510005075696',) no score found for photo 1402485385 We are sending mail with results at report@fotonower.com args[1402485383] : ('0.05384510005075696',) no score found for photo 1402485383 We are sending mail with results at report@fotonower.com args[1402485381] : ('0.05384510005075696',) no score found for photo 1402485381 We are sending mail with results at report@fotonower.com args[1402485379] : ('0.05384510005075696',) no score found for photo 1402485379 We are sending mail with results at report@fotonower.com args[1402485369] : ('0.05384510005075696',) no score found for photo 1402485369 We are sending mail with results at report@fotonower.com args[1402485367] : ('0.05384510005075696',) no score found for photo 1402485367 We are sending mail with results at report@fotonower.com args[1402485365] : ('0.05384510005075696',) no score found for photo 1402485365 We are sending mail with results at report@fotonower.com args[1402485360] : ('0.05384510005075696',) no score found for photo 1402485360 We are sending mail with results at report@fotonower.com args[1402485358] : ('0.05384510005075696',) no score found for photo 1402485358 We are sending mail with results at report@fotonower.com args[1402485356] : ('0.05384510005075696',) no score found for photo 1402485356 We are sending mail with results at report@fotonower.com args[1402485350] : ('0.05384510005075696',) no score found for photo 1402485350 We are sending mail with results at report@fotonower.com args[1402485317] : ('0.05384510005075696',) no score found for photo 1402485317 We are sending mail with results at report@fotonower.com refus_total : 0.05384510005075696 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=29943959 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_P29943959_06-01-2026_05_34_30.pdf results_Auto_P29943959_06-01-2026_05_34_30.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.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','29943959','results_Auto_P29943959_06-01-2026_05_34_30.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf','pdf','','0.36','0.05384510005075696') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29943959]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] map_info['map_portfolio_photo'] : {29943959: [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317]} final : False mtd_id 4302 list_pids : [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] 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, '4315807') ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807') 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', '29943959', '1402485480', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807')] time used for this insertion : 0.019315719604492188 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.824992895126343 time spend to save output : 0.0196988582611084 total time spend for step 4 : 8.844691753387451 step5:split_time_score Tue Jan 6 05:34:37 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 : ['29943959'] 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 : [('29943959',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29943959) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1402485461: {'path': 'temp/1767674068_326579_1402485461_ceda24bce06f02e789ec66f6f45a7a18.jpg', 'extension': 'jpg'}, 1402485463: {'path': 'temp/1767674068_326579_1402485463_1202a104468f46beac8251018e5fd91d.jpg', 'extension': 'jpg'}, 1402485480: {'path': 'temp/1767674068_326579_1402485480_858e1c2d8832077b09ef9fa7ab829bc1.jpg', 'extension': 'jpg'}, 1402485418: {'path': 'temp/1767674068_326579_1402485418_7c27432f7d33d15c15dac05ac6ed6948.jpg', 'extension': 'jpg'}, 1402485426: {'path': 'temp/1767674068_326579_1402485426_d85ce7565279e2ab982d979506ec60a9.jpg', 'extension': 'jpg'}, 1402485445: {'path': 'temp/1767674068_326579_1402485445_b042fdee38bc8e155d8d3a3965cabd5c.jpg', 'extension': 'jpg'}, 1402485448: {'path': 'temp/1767674068_326579_1402485448_150b9f13c6ba842c11b3a1512b4b6ac4.jpg', 'extension': 'jpg'}, 1402485451: {'path': 'temp/1767674068_326579_1402485451_6adf0d7cc40c14a79e0547ae0bf626b0.jpg', 'extension': 'jpg'}, 1402485453: {'path': 'temp/1767674068_326579_1402485453_923226fc854561baa692b4d8fd30de83.jpg', 'extension': 'jpg'}, 1402485457: {'path': 'temp/1767674068_326579_1402485457_d309d5c97914cc701591f66f25af6bc3.jpg', 'extension': 'jpg'}, 1402485459: {'path': 'temp/1767674068_326579_1402485459_6cce505dd77193ee8c0122b880fdd730.jpg', 'extension': 'jpg'}, 1402485317: {'path': 'temp/1767674068_326579_1402485317_3399de3f94a48f3fa346f6936bff5c51.jpg', 'extension': 'jpg'}, 1402485350: {'path': 'temp/1767674068_326579_1402485350_ef104ffa6b1e67f4dcd2dbcf4e68fed7.jpg', 'extension': 'jpg'}, 1402485356: {'path': 'temp/1767674068_326579_1402485356_822d50e072de160671be5497a8b741bb.jpg', 'extension': 'jpg'}, 1402485358: {'path': 'temp/1767674068_326579_1402485358_dec392b3d2e1428e7a5057f70b910098.jpg', 'extension': 'jpg'}, 1402485360: {'path': 'temp/1767674068_326579_1402485360_3d770adbf56aed0e8cfd5187634b37d4.jpg', 'extension': 'jpg'}, 1402485365: {'path': 'temp/1767674068_326579_1402485365_8e3945355b6aae5834f9477b4f1ce1bf.jpg', 'extension': 'jpg'}, 1402485367: {'path': 'temp/1767674068_326579_1402485367_59eccca6998ab6ec3f500a9ba09e49be.jpg', 'extension': 'jpg'}, 1402485369: {'path': 'temp/1767674068_326579_1402485369_559fac51646fbb17185d6685879a9e42.jpg', 'extension': 'jpg'}, 1402485398: {'path': 'temp/1767674068_326579_1402485398_d373f692da40ec561842b83e1ff4b48a.jpg', 'extension': 'jpg'}, 1402485400: {'path': 'temp/1767674068_326579_1402485400_73baa579911db8b65401f37beb45cc1c.jpg', 'extension': 'jpg'}, 1402485403: {'path': 'temp/1767674068_326579_1402485403_28c1d29fb70b3bc3d1d4eb3e5a77c555.jpg', 'extension': 'jpg'}, 1402485407: {'path': 'temp/1767674068_326579_1402485407_f9c4f8a75b68ddf763dedc7627dcfaab.jpg', 'extension': 'jpg'}, 1402485410: {'path': 'temp/1767674068_326579_1402485410_f8ad07e59ad255e3fa39c622a2d250d9.jpg', 'extension': 'jpg'}, 1402485411: {'path': 'temp/1767674068_326579_1402485411_a61068cb0c808de7dd5c425874709a55.jpg', 'extension': 'jpg'}, 1402485415: {'path': 'temp/1767674068_326579_1402485415_ad36508b0351c3cbcc9d113852f1c16c.jpg', 'extension': 'jpg'}, 1402485417: {'path': 'temp/1767674068_326579_1402485417_08f4a0c74ce48307699b825548f96c4d.jpg', 'extension': 'jpg'}, 1402485379: {'path': 'temp/1767674068_326579_1402485379_d4854468f48ef1626a2e48ba34e9e4e6.jpg', 'extension': 'jpg'}, 1402485381: {'path': 'temp/1767674068_326579_1402485381_3082d972d44175272890e494206a3591.jpg', 'extension': 'jpg'}, 1402485383: {'path': 'temp/1767674068_326579_1402485383_52471e9ebed06c90894f01972936caa2.jpg', 'extension': 'jpg'}, 1402485385: {'path': 'temp/1767674068_326579_1402485385_045936c4aaf8618f7f24e81929125c10.jpg', 'extension': 'jpg'}, 1402485387: {'path': 'temp/1767674068_326579_1402485387_728196b91218300dace06061e1a046f9.jpg', 'extension': 'jpg'}, 1402485393: {'path': 'temp/1767674068_326579_1402485393_b7157275bf3d578667dfa41544eecc94.jpg', 'extension': 'jpg'}, 1402485395: {'path': 'temp/1767674068_326579_1402485395_ae2d1d0a1a0c82a6509cc1648197e5b7.jpg', 'extension': 'jpg'}, 1402485397: {'path': 'temp/1767674068_326579_1402485397_7e6142a92371f138708d61dd18024f28.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 = 29943959; (('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 = 29943959 group by h (('05', 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=29943959 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 (29943959) 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 (29943959) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05012026 29943959 Nombre de photos uploadées : 35 / 23040 (0%) 05012026 29943959 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 05012026 29943959 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1402485350, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/ef104ffa6b1e67f4dcd2dbcf4e68fed7.jpg', 'username': None, 'uploaded_at': 1767586033, 'text': 'image_05012026_05_00_14_10190.jpg'}, {'photo_id': 1402485317, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3399de3f94a48f3fa346f6936bff5c51.jpg', 'username': None, 'uploaded_at': 1767585848, 'text': 'image_05012026_05_03_25_10136.jpg'}, {'photo_id': 1402485360, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/3d770adbf56aed0e8cfd5187634b37d4.jpg', 'username': None, 'uploaded_at': 1767586087, 'text': 'image_05012026_05_06_55_10136.jpg'}, {'photo_id': 1402485358, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2026/1/5/dec392b3d2e1428e7a5057f70b910098.jpg', 'username': None, 'uploaded_at': 1767586087, 'text': 'image_05012026_05_07_14_009125m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001600027084350586 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29943959, '2026-01-05' ) 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-05' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2841756,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.2513570785522461 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= 2841756 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29943959, 'dashboard_result_id': 19066481, '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_P29943959_05-01-2026_05_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944115, 'dashboard_result_id': 19066482, '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_P29944115_05-01-2026_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944510, 'dashboard_result_id': 19066483, '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_P29944510_05-01-2026_05_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29944916, 'dashboard_result_id': 19066484, '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_P29944916_05-01-2026_06_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945305, 'dashboard_result_id': 19066485, '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_P29945305_05-01-2026_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29945724, 'dashboard_result_id': 19066486, '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_P29945724_05-01-2026_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946229, 'dashboard_result_id': 19066487, '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_P29946229_05-01-2026_06_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29946669, 'dashboard_result_id': 19066488, '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_P29946669_05-01-2026_07_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947066, 'dashboard_result_id': 19066489, '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_P29947066_05-01-2026_07_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29947777, 'dashboard_result_id': 19066490, '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_P29947777_05-01-2026_07_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29948502, 'dashboard_result_id': 19066491, '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_P29948502_05-01-2026_07_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949018, 'dashboard_result_id': 19066492, '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_P29949018_05-01-2026_08_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29949468, 'dashboard_result_id': 19066493, '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_P29949468_05-01-2026_08_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950325, 'dashboard_result_id': 19066494, '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_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29950757, 'dashboard_result_id': 19066495, '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_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29951361, 'dashboard_result_id': 19066496, '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_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29952807, 'dashboard_result_id': 19066497, '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_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953273, 'dashboard_result_id': 19066498, '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_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29953685, 'dashboard_result_id': 19066499, '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_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954426, 'dashboard_result_id': 19066500, '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_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954814, 'dashboard_result_id': 19066501, '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_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29954934, 'dashboard_result_id': 19066502, '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_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29955397, 'dashboard_result_id': 19066503, '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_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956118, 'dashboard_result_id': 19066504, '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_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29956847, 'dashboard_result_id': 19066505, '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_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29957432, 'dashboard_result_id': 19066506, '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_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29958094, 'dashboard_result_id': 19066507, '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_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960855, 'dashboard_result_id': 19066508, '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_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29960983, 'dashboard_result_id': 19066509, '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_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29961530, 'dashboard_result_id': 19066510, '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_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962056, 'dashboard_result_id': 19066511, '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_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29962633, 'dashboard_result_id': 19066512, '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_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963242, 'dashboard_result_id': 19066513, '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_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29963903, 'dashboard_result_id': 19066514, '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_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29964465, 'dashboard_result_id': 19066515, '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_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965338, 'dashboard_result_id': 19066516, '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_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29965614, 'dashboard_result_id': 19066517, '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_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966302, 'dashboard_result_id': 19066518, '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_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29966600, 'dashboard_result_id': 19066519, '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_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29967529, 'dashboard_result_id': 19066520, '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_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29968800, 'dashboard_result_id': 19066521, '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_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969245, 'dashboard_result_id': 19066522, '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_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29969805, 'dashboard_result_id': 19066523, '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_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970253, 'dashboard_result_id': 19066524, '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_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29970794, 'dashboard_result_id': 19066525, '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_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29971778, 'dashboard_result_id': 19066526, '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_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972238, 'dashboard_result_id': 19066527, '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_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29972838, 'dashboard_result_id': 19066528, '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_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29973318, 'dashboard_result_id': 19066529, '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_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974015, 'dashboard_result_id': 19066530, '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_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}"}, {'dashboat_entry_day': 2841756, 'dashboard_run_id': 2854788, 'mtr_portfolio_id': 29974521, 'dashboard_result_id': 19066531, '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_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 = 29943959 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': 4315807, 'mtr_portfolio_id': 29943959, 'created_at': datetime.datetime(2026, 1, 6, 5, 34, 28), 'result': '0.05384510005075696', 'result_long': None, 'result_double': None}] Qualite : 0.05384510005075696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29943959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29943959 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_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, 'pht': 3726}}" where mtr_portfolio_id = 29943959 and dashboard_run_id = 2854788 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`=29943959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066481, 0.05384510005075696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29943959_06-01-2026_05_34_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29943961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29943962, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29943963, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29943964, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29943965, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29943966, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29943967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29943968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29943969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29943970, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29943971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29943972, '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 = 29944115 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': 4310320, 'mtr_portfolio_id': 29944115, 'created_at': datetime.datetime(2026, 1, 5, 5, 32, 58), 'result': '0.0843515128079324', 'result_long': None, 'result_double': None}] Qualite : 0.0843515128079324 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_05-01-2026_05_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944115 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_P29944115_05-01-2026_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, 'pht': 3726}}" where mtr_portfolio_id = 29944115 and dashboard_run_id = 2854788 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`=29944115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066482, 0.0843515128079324, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944115_05-01-2026_05_32_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944120, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944122, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944123, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944126, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944127, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944128, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944129, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944130, '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 = 29944510 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': 4310377, 'mtr_portfolio_id': 29944510, 'created_at': datetime.datetime(2026, 1, 5, 5, 48, 59), 'result': '0.050137888976629796', 'result_long': None, 'result_double': None}] Qualite : 0.050137888976629796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_05-01-2026_05_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944510 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_P29944510_05-01-2026_05_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, 'pht': 3726}}" where mtr_portfolio_id = 29944510 and dashboard_run_id = 2854788 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`=29944510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066483, 0.050137888976629796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944510_05-01-2026_05_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944516, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944518, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944520, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944522, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944526, '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 = 29944916 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': 4310550, 'mtr_portfolio_id': 29944916, 'created_at': datetime.datetime(2026, 1, 5, 6, 3, 1), 'result': '0.043262271647210845', 'result_long': None, 'result_double': None}] Qualite : 0.043262271647210845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29944916 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_05-01-2026_06_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29944916 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_P29944916_05-01-2026_06_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, 'pht': 3726}}" where mtr_portfolio_id = 29944916 and dashboard_run_id = 2854788 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`=29944916 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066484, 0.043262271647210845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29944916_05-01-2026_06_03_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29944923, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29944924, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29944925, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29944926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29944927, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29944928, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29944929, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29944930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29944931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29944932, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29944933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29944934, '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 = 29945305 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': 4310623, 'mtr_portfolio_id': 29945305, 'created_at': datetime.datetime(2026, 1, 5, 6, 16, 59), 'result': '0.04846174494036705', 'result_long': None, 'result_double': None}] Qualite : 0.04846174494036705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_05-01-2026_06_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945305 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_P29945305_05-01-2026_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, 'pht': 3726}}" where mtr_portfolio_id = 29945305 and dashboard_run_id = 2854788 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`=29945305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066485, 0.04846174494036705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945305_05-01-2026_06_17_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945313, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945316, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945317, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945318, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945320, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945321, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945323, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945324, '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 = 29945724 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': 4310682, 'mtr_portfolio_id': 29945724, 'created_at': datetime.datetime(2026, 1, 5, 6, 32, 59), 'result': '0.05111697065488731', 'result_long': None, 'result_double': None}] Qualite : 0.05111697065488731 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29945724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_05-01-2026_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29945724 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_P29945724_05-01-2026_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, 'pht': 3726}}" where mtr_portfolio_id = 29945724 and dashboard_run_id = 2854788 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`=29945724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066486, 0.05111697065488731, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29945724_05-01-2026_06_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29945750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29945751, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29945752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29945753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29945754, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29945755, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29945756, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29945757, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29945758, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29945759, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29945760, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29945761, '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 = 29946229 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': 4310769, 'mtr_portfolio_id': 29946229, 'created_at': datetime.datetime(2026, 1, 5, 6, 46, 58), 'result': '0.04533792421898797', 'result_long': None, 'result_double': None}] Qualite : 0.04533792421898797 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_05-01-2026_06_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946229 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_P29946229_05-01-2026_06_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, 'pht': 3726}}" where mtr_portfolio_id = 29946229 and dashboard_run_id = 2854788 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`=29946229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066487, 0.04533792421898797, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946229_05-01-2026_06_46_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946262, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946263, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946264, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946265, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946266, '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 = 29946669 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': 4310837, 'mtr_portfolio_id': 29946669, 'created_at': datetime.datetime(2026, 1, 5, 7, 5), 'result': '0.04606458331418779', 'result_long': None, 'result_double': None}] Qualite : 0.04606458331418779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29946669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_05-01-2026_07_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29946669 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_P29946669_05-01-2026_07_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, 'pht': 3726}}" where mtr_portfolio_id = 29946669 and dashboard_run_id = 2854788 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`=29946669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066488, 0.04606458331418779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29946669_05-01-2026_07_05_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29946670, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29946671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29946672, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29946673, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29946674, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29946676, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29946677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29946678, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29946680, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29946681, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29946683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29946684, '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 = 29947066 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': 4310904, 'mtr_portfolio_id': 29947066, 'created_at': datetime.datetime(2026, 1, 5, 7, 16, 57), 'result': '0.06499040591203736', 'result_long': None, 'result_double': None}] Qualite : 0.06499040591203736 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947066 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_05-01-2026_07_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947066 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_P29947066_05-01-2026_07_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, 'pht': 3726}}" where mtr_portfolio_id = 29947066 and dashboard_run_id = 2854788 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`=29947066 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066489, 0.06499040591203736, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947066_05-01-2026_07_16_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947099, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947104, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947105, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947106, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29947107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947108, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947109, '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 = 29947777 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': 4310995, 'mtr_portfolio_id': 29947777, 'created_at': datetime.datetime(2026, 1, 5, 7, 33), 'result': '0.0514469632968614', 'result_long': None, 'result_double': None}] Qualite : 0.0514469632968614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29947777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_05-01-2026_07_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29947777 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_P29947777_05-01-2026_07_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, 'pht': 3726}}" where mtr_portfolio_id = 29947777 and dashboard_run_id = 2854788 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`=29947777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066490, 0.0514469632968614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29947777_05-01-2026_07_33_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29947829, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29947830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29947831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29947832, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29947833, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29947834, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29947835, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29947836, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29947837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29947838, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29947839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29947840, '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 = 29948502 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': 4311081, 'mtr_portfolio_id': 29948502, 'created_at': datetime.datetime(2026, 1, 5, 7, 48, 57), 'result': '0.05922426196368682', 'result_long': None, 'result_double': None}] Qualite : 0.05922426196368682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29948502 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_05-01-2026_07_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29948502 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_P29948502_05-01-2026_07_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, 'pht': 3726}}" where mtr_portfolio_id = 29948502 and dashboard_run_id = 2854788 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`=29948502 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066491, 0.05922426196368682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29948502_05-01-2026_07_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29948513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29948514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29948515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29948516, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29948517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29948518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29948519, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29948520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29948521, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29948522, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29948523, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29948524, '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 = 29949018 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': 4311144, 'mtr_portfolio_id': 29949018, 'created_at': datetime.datetime(2026, 1, 5, 8, 2, 59), 'result': '0.07859955402706653', 'result_long': None, 'result_double': None}] Qualite : 0.07859955402706653 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949018 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_05-01-2026_08_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949018 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_P29949018_05-01-2026_08_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, 'pht': 3726}}" where mtr_portfolio_id = 29949018 and dashboard_run_id = 2854788 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`=29949018 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066492, 0.07859955402706653, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949018_05-01-2026_08_03_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29949033, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949034, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949035, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949036, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949038, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949039, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949040, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949043, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949044, '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 = 29949468 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': 4311226, 'mtr_portfolio_id': 29949468, 'created_at': datetime.datetime(2026, 1, 5, 8, 19, 2), 'result': '0.09116677988664726', 'result_long': None, 'result_double': None}] Qualite : 0.09116677988664726 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29949468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_05-01-2026_08_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29949468 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_P29949468_05-01-2026_08_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, 'pht': 3726}}" where mtr_portfolio_id = 29949468 and dashboard_run_id = 2854788 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`=29949468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066493, 0.09116677988664726, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29949468_05-01-2026_08_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29949508, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29949509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29949510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29949511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29949512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29949513, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29949514, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29949515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29949516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29949517, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29949518, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29949519, '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 = 29950325 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': 4311331, 'mtr_portfolio_id': 29950325, 'created_at': datetime.datetime(2026, 1, 5, 8, 33), 'result': '0.04653106942541076', 'result_long': None, 'result_double': None}] Qualite : 0.04653106942541076 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950325 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_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, 'pht': 3726}}" where mtr_portfolio_id = 29950325 and dashboard_run_id = 2854788 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`=29950325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066494, 0.04653106942541076, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950325_05-01-2026_08_33_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950347, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950349, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950353, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950354, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950356, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950358, '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 = 29950757 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': 4311392, 'mtr_portfolio_id': 29950757, 'created_at': datetime.datetime(2026, 1, 5, 8, 47, 1), 'result': '0.043373108390970305', 'result_long': None, 'result_double': None}] Qualite : 0.043373108390970305 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29950757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29950757 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_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, 'pht': 3726}}" where mtr_portfolio_id = 29950757 and dashboard_run_id = 2854788 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`=29950757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066495, 0.043373108390970305, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29950757_05-01-2026_08_47_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29950823, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29950824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29950825, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29950826, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29950827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29950828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29950829, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29950830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29950831, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29950832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29950833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29950834, '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 = 29951361 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': 4311457, 'mtr_portfolio_id': 29951361, 'created_at': datetime.datetime(2026, 1, 5, 9, 4, 58), 'result': '0.0386307863035533', 'result_long': None, 'result_double': None}] Qualite : 0.0386307863035533 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29951361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29951361 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_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, 'pht': 3726}}" where mtr_portfolio_id = 29951361 and dashboard_run_id = 2854788 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`=29951361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066496, 0.0386307863035533, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29951361_05-01-2026_09_04_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29951375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29951376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29951377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29951378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29951379, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29951380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29951381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29951382, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29951383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29951384, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29951385, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29951386, '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 = 29952807 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': 4311658, 'mtr_portfolio_id': 29952807, 'created_at': datetime.datetime(2026, 1, 5, 9, 48, 58), 'result': '0.06468573672836482', 'result_long': None, 'result_double': None}] Qualite : 0.06468573672836482 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29952807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29952807 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_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, 'pht': 3726}}" where mtr_portfolio_id = 29952807 and dashboard_run_id = 2854788 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`=29952807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066497, 0.06468573672836482, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29952807_05-01-2026_09_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29952813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29952814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29952815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29952816, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29952817, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29952818, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29952819, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29952820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29952821, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29952822, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29952823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29952824, '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 = 29953273 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': 4311724, 'mtr_portfolio_id': 29953273, 'created_at': datetime.datetime(2026, 1, 5, 10, 2, 59), 'result': '0.07982134297555156', 'result_long': None, 'result_double': None}] Qualite : 0.07982134297555156 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953273 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953273 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_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, 'pht': 3726}}" where mtr_portfolio_id = 29953273 and dashboard_run_id = 2854788 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`=29953273 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066498, 0.07982134297555156, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953273_05-01-2026_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953279, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953280, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953282, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953283, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953284, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953286, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953288, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953289, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953290, '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 = 29953685 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': 4311809, 'mtr_portfolio_id': 29953685, 'created_at': datetime.datetime(2026, 1, 5, 10, 23, 30), 'result': '0.05405124228547581', 'result_long': None, 'result_double': None}] Qualite : 0.05405124228547581 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29953685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29953685 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_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, 'pht': 3726}}" where mtr_portfolio_id = 29953685 and dashboard_run_id = 2854788 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`=29953685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066499, 0.05405124228547581, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29953685_05-01-2026_10_23_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29953701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29953702, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29953703, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29953704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29953705, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29953706, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29953707, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29953708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29953709, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29953710, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29953711, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29953712, '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 = 29954426 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': 4311901, 'mtr_portfolio_id': 29954426, 'created_at': datetime.datetime(2026, 1, 5, 10, 42, 58), 'result': '0.01918446194793869', 'result_long': None, 'result_double': None}] Qualite : 0.01918446194793869 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954426 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954426 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_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, 'pht': 3726}}" where mtr_portfolio_id = 29954426 and dashboard_run_id = 2854788 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`=29954426 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066500, 0.01918446194793869, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954426_05-01-2026_10_42_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954432, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954434, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954435, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954436, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954437, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954441, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954443, '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 = 29954814 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': 4311955, 'mtr_portfolio_id': 29954814, 'created_at': datetime.datetime(2026, 1, 5, 10, 49), 'result': '0.09890785260505598', 'result_long': None, 'result_double': None}] Qualite : 0.09890785260505598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954814 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954814 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_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, 'pht': 3726}}" where mtr_portfolio_id = 29954814 and dashboard_run_id = 2854788 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`=29954814 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066501, 0.09890785260505598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954814_05-01-2026_10_49_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29954816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954822, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954827, '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 = 29954934 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': 4311967, 'mtr_portfolio_id': 29954934, 'created_at': datetime.datetime(2026, 1, 5, 11, 4, 59), 'result': '0.05168220414843044', 'result_long': None, 'result_double': None}] Qualite : 0.05168220414843044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29954934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29954934 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_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, 'pht': 3726}}" where mtr_portfolio_id = 29954934 and dashboard_run_id = 2854788 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`=29954934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066502, 0.05168220414843044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29954934_05-01-2026_11_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29954981, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29954982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29954983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29954984, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29954985, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29954986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29954987, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29954988, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29954989, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29954990, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29954991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29954992, '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 = 29955397 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': 4312044, 'mtr_portfolio_id': 29955397, 'created_at': datetime.datetime(2026, 1, 5, 11, 19), 'result': '0.04133004570797239', 'result_long': None, 'result_double': None}] Qualite : 0.04133004570797239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29955397 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29955397 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_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, 'pht': 3726}}" where mtr_portfolio_id = 29955397 and dashboard_run_id = 2854788 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`=29955397 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066503, 0.04133004570797239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29955397_05-01-2026_11_19_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29955446, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29955447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29955448, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29955449, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29955450, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29955451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29955452, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29955453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29955454, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29955455, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29955456, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29955457, '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 = 29956118 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': 4312149, 'mtr_portfolio_id': 29956118, 'created_at': datetime.datetime(2026, 1, 5, 11, 33), 'result': '0.05365704149694868', 'result_long': None, 'result_double': None}] Qualite : 0.05365704149694868 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956118 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956118 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_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, 'pht': 3726}}" where mtr_portfolio_id = 29956118 and dashboard_run_id = 2854788 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`=29956118 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066504, 0.05365704149694868, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956118_05-01-2026_11_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29956147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956148, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956149, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956150, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956151, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956153, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956154, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956155, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956156, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956157, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956158, '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 = 29956847 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': 4312228, 'mtr_portfolio_id': 29956847, 'created_at': datetime.datetime(2026, 1, 5, 11, 47), 'result': '0.07127038646889426', 'result_long': None, 'result_double': None}] Qualite : 0.07127038646889426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29956847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29956847 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_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, 'pht': 3726}}" where mtr_portfolio_id = 29956847 and dashboard_run_id = 2854788 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`=29956847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066505, 0.07127038646889426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29956847_05-01-2026_11_47_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29956885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29956886, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29956887, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29956889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29956890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29956891, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29956892, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29956893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29956894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29956895, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29956896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29956897, '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 = 29957432 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': 4312315, 'mtr_portfolio_id': 29957432, 'created_at': datetime.datetime(2026, 1, 5, 12, 4, 59), 'result': '0.05982975275156936', 'result_long': None, 'result_double': None}] Qualite : 0.05982975275156936 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29957432 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29957432 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_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, 'pht': 3726}}" where mtr_portfolio_id = 29957432 and dashboard_run_id = 2854788 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`=29957432 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066506, 0.05982975275156936, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29957432_05-01-2026_12_04_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29957495, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29957496, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29957497, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29957499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29957500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29957501, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29957503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29957504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29957506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29957507, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29957508, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29957510, '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 = 29958094 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': 4312417, 'mtr_portfolio_id': 29958094, 'created_at': datetime.datetime(2026, 1, 5, 13, 59, 59), 'result': '0.04262591151383469', 'result_long': None, 'result_double': None}] Qualite : 0.04262591151383469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29958094 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29958094 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_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, 'pht': 3726}}" where mtr_portfolio_id = 29958094 and dashboard_run_id = 2854788 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`=29958094 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066507, 0.04262591151383469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29958094_05-01-2026_13_59_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29958136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29958137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29958138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29958139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29958140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29958141, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29958142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29958143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29958144, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29958145, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29958146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29958147, '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 = 29960855 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': 4312828, 'mtr_portfolio_id': 29960855, 'created_at': datetime.datetime(2026, 1, 5, 14, 33, 31), 'result': '0.030757062596739368', 'result_long': None, 'result_double': None}] Qualite : 0.030757062596739368 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960855 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960855 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_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, 'pht': 3726}}" where mtr_portfolio_id = 29960855 and dashboard_run_id = 2854788 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`=29960855 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066508, 0.030757062596739368, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960855_05-01-2026_14_33_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960859, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960860, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29960862, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960863, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29960865, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29960867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29960868, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960869, '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 = 29960983 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': 4312848, 'mtr_portfolio_id': 29960983, 'created_at': datetime.datetime(2026, 1, 5, 14, 48, 59), 'result': '0.04244303511780725', 'result_long': None, 'result_double': None}] Qualite : 0.04244303511780725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29960983 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29960983 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_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, 'pht': 3726}}" where mtr_portfolio_id = 29960983 and dashboard_run_id = 2854788 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`=29960983 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066509, 0.04244303511780725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29960983_05-01-2026_14_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29960991, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29960992, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29960993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29960994, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29960995, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29960996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29960997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29960998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29960999, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961000, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961002, '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 = 29961530 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': 4312905, 'mtr_portfolio_id': 29961530, 'created_at': datetime.datetime(2026, 1, 5, 15, 2, 57), 'result': '0.05295398452168998', 'result_long': None, 'result_double': None}] Qualite : 0.05295398452168998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29961530 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29961530 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_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, 'pht': 3726}}" where mtr_portfolio_id = 29961530 and dashboard_run_id = 2854788 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`=29961530 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066510, 0.05295398452168998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29961530_05-01-2026_15_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29961562, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29961563, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29961564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29961565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29961566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29961567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29961568, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29961569, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29961570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29961571, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29961572, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29961573, '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 = 29962056 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': 4312997, 'mtr_portfolio_id': 29962056, 'created_at': datetime.datetime(2026, 1, 5, 15, 19, 1), 'result': '0.047886006302563455', 'result_long': None, 'result_double': None}] Qualite : 0.047886006302563455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962056 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962056 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_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, 'pht': 3726}}" where mtr_portfolio_id = 29962056 and dashboard_run_id = 2854788 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`=29962056 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066511, 0.047886006302563455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962056_05-01-2026_15_19_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962063, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962064, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962066, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962069, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962074, '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 = 29962633 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': 4313071, 'mtr_portfolio_id': 29962633, 'created_at': datetime.datetime(2026, 1, 5, 15, 33, 28), 'result': '0.07801896453803274', 'result_long': None, 'result_double': None}] Qualite : 0.07801896453803274 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29962633 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29962633 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_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, 'pht': 3726}}" where mtr_portfolio_id = 29962633 and dashboard_run_id = 2854788 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`=29962633 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066512, 0.07801896453803274, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29962633_05-01-2026_15_33_28.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29962673, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29962675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29962676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29962677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29962678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29962679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29962680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29962681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29962682, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29962683, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29962684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29962685, '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 = 29963242 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': 4313183, 'mtr_portfolio_id': 29963242, 'created_at': datetime.datetime(2026, 1, 5, 15, 47), 'result': '0.038629008989771285', 'result_long': None, 'result_double': None}] Qualite : 0.038629008989771285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963242 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963242 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_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, 'pht': 3726}}" where mtr_portfolio_id = 29963242 and dashboard_run_id = 2854788 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`=29963242 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066513, 0.038629008989771285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963242_05-01-2026_15_47_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963251, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963252, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963253, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963255, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963256, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963258, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963260, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963262, '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 = 29963903 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': 4313288, 'mtr_portfolio_id': 29963903, 'created_at': datetime.datetime(2026, 1, 5, 16, 4, 58), 'result': '0.042139324199180435', 'result_long': None, 'result_double': None}] Qualite : 0.042139324199180435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29963903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29963903 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_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, 'pht': 3726}}" where mtr_portfolio_id = 29963903 and dashboard_run_id = 2854788 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`=29963903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066514, 0.042139324199180435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29963903_05-01-2026_16_04_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29963971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29963972, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29963973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29963974, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29963975, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29963976, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29963977, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29963978, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29963979, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29963980, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29963981, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29963982, '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 = 29964465 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': 4313357, 'mtr_portfolio_id': 29964465, 'created_at': datetime.datetime(2026, 1, 5, 16, 20, 59), 'result': '0.0313593482758096', 'result_long': None, 'result_double': None}] Qualite : 0.0313593482758096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29964465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29964465 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_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, 'pht': 3726}}" where mtr_portfolio_id = 29964465 and dashboard_run_id = 2854788 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`=29964465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066515, 0.0313593482758096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29964465_05-01-2026_16_20_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29964498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29964499, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29964500, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29964501, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29964503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29964504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29964505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29964507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29964508, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29964509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29964510, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29964511, '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 = 29965338 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': 4313447, 'mtr_portfolio_id': 29965338, 'created_at': datetime.datetime(2026, 1, 5, 16, 33), 'result': '0.028700200112077474', 'result_long': None, 'result_double': None}] Qualite : 0.028700200112077474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965338 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965338 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_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, 'pht': 3726}}" where mtr_portfolio_id = 29965338 and dashboard_run_id = 2854788 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`=29965338 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066516, 0.028700200112077474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965338_05-01-2026_16_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965347, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965348, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965350, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965351, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965353, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29965354, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965356, '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 = 29965614 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': 4313481, 'mtr_portfolio_id': 29965614, 'created_at': datetime.datetime(2026, 1, 5, 16, 46, 59), 'result': '0.056224880897965984', 'result_long': None, 'result_double': None}] Qualite : 0.056224880897965984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29965614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29965614 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_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, 'pht': 3726}}" where mtr_portfolio_id = 29965614 and dashboard_run_id = 2854788 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`=29965614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066517, 0.056224880897965984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29965614_05-01-2026_16_47_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29965632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29965633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29965634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29965635, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29965636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29965637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29965638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29965639, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29965640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29965641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29965642, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29965644, '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 = 29966302 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': 4313590, 'mtr_portfolio_id': 29966302, 'created_at': datetime.datetime(2026, 1, 5, 17, 4, 57), 'result': '0.04261782288135194', 'result_long': None, 'result_double': None}] Qualite : 0.04261782288135194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966302 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966302 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_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, 'pht': 3726}}" where mtr_portfolio_id = 29966302 and dashboard_run_id = 2854788 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`=29966302 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066518, 0.04261782288135194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966302_05-01-2026_17_04_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966310, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966312, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966314, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966317, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966320, '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 = 29966600 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': 4313658, 'mtr_portfolio_id': 29966600, 'created_at': datetime.datetime(2026, 1, 5, 17, 18, 59), 'result': '0.05678738688889863', 'result_long': None, 'result_double': None}] Qualite : 0.05678738688889863 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29966600 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29966600 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_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, 'pht': 3726}}" where mtr_portfolio_id = 29966600 and dashboard_run_id = 2854788 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`=29966600 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066519, 0.05678738688889863, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29966600_05-01-2026_17_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29966620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29966621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29966622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29966623, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29966624, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29966625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29966626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29966627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29966628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29966629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29966630, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29966631, '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 = 29967529 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': 4313749, 'mtr_portfolio_id': 29967529, 'created_at': datetime.datetime(2026, 1, 5, 18, 2, 59), 'result': '0.05107611619208426', 'result_long': None, 'result_double': None}] Qualite : 0.05107611619208426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29967529 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29967529 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_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, 'pht': 3726}}" where mtr_portfolio_id = 29967529 and dashboard_run_id = 2854788 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`=29967529 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066520, 0.05107611619208426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29967529_05-01-2026_18_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29967543, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29967544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29967545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29967546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29967547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29967548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29967549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29967550, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29967551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29967552, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29967553, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29967554, '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 = 29968800 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': 4313934, 'mtr_portfolio_id': 29968800, 'created_at': datetime.datetime(2026, 1, 5, 18, 18, 59), 'result': '0.040104352059711634', 'result_long': None, 'result_double': None}] Qualite : 0.040104352059711634 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29968800 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29968800 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_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, 'pht': 3726}}" where mtr_portfolio_id = 29968800 and dashboard_run_id = 2854788 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`=29968800 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066521, 0.040104352059711634, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29968800_05-01-2026_18_18_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29968813, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29968814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29968815, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29968816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29968817, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29968818, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29968819, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29968820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29968821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29968822, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29968823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29968824, '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 = 29969245 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': 4313983, 'mtr_portfolio_id': 29969245, 'created_at': datetime.datetime(2026, 1, 5, 18, 35, 31), 'result': '0.04345417299819999', 'result_long': None, 'result_double': None}] Qualite : 0.04345417299819999 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969245 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969245 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_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, 'pht': 3726}}" where mtr_portfolio_id = 29969245 and dashboard_run_id = 2854788 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`=29969245 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066522, 0.04345417299819999, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969245_05-01-2026_18_35_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29969260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969261, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969262, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969264, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969269, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969271, '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 = 29969805 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': 4314062, 'mtr_portfolio_id': 29969805, 'created_at': datetime.datetime(2026, 1, 5, 18, 48, 58), 'result': '0.054164265602348854', 'result_long': None, 'result_double': None}] Qualite : 0.054164265602348854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29969805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29969805 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_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, 'pht': 3726}}" where mtr_portfolio_id = 29969805 and dashboard_run_id = 2854788 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`=29969805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066523, 0.054164265602348854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29969805_05-01-2026_18_48_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29969809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29969811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29969812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29969813, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29969814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29969815, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29969816, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29969817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29969818, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29969819, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29969820, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29969821, '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 = 29970253 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': 4314126, 'mtr_portfolio_id': 29970253, 'created_at': datetime.datetime(2026, 1, 5, 19, 4, 32), 'result': '0.06883433269304322', 'result_long': None, 'result_double': None}] Qualite : 0.06883433269304322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970253 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_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, 'pht': 3726}}" where mtr_portfolio_id = 29970253 and dashboard_run_id = 2854788 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`=29970253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066524, 0.06883433269304322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970253_05-01-2026_19_04_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970267, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970273, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970274, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970276, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970277, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970278, '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 = 29970794 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': 4314225, 'mtr_portfolio_id': 29970794, 'created_at': datetime.datetime(2026, 1, 5, 19, 21), 'result': '0.049395863605624785', 'result_long': None, 'result_double': None}] Qualite : 0.049395863605624785 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29970794 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29970794 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_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, 'pht': 3726}}" where mtr_portfolio_id = 29970794 and dashboard_run_id = 2854788 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`=29970794 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066525, 0.049395863605624785, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29970794_05-01-2026_19_21_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29970858, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29970859, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29970860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29970861, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29970862, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29970863, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29970864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29970865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29970866, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29970867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29970868, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29970869, '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 = 29971778 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': 4314331, 'mtr_portfolio_id': 29971778, 'created_at': datetime.datetime(2026, 1, 5, 19, 35, 1), 'result': '0.07742001470540334', 'result_long': None, 'result_double': None}] Qualite : 0.07742001470540334 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29971778 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29971778 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_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, 'pht': 3726}}" where mtr_portfolio_id = 29971778 and dashboard_run_id = 2854788 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`=29971778 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066526, 0.07742001470540334, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29971778_05-01-2026_19_35_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29971792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29971793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29971794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29971795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29971796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29971797, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29971798, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29971799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29971800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29971801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29971802, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29971803, '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 = 29972238 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': 4314390, 'mtr_portfolio_id': 29972238, 'created_at': datetime.datetime(2026, 1, 5, 19, 48, 58), 'result': '0.05431054080522053', 'result_long': None, 'result_double': None}] Qualite : 0.05431054080522053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972238 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972238 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_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, 'pht': 3726}}" where mtr_portfolio_id = 29972238 and dashboard_run_id = 2854788 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`=29972238 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066527, 0.05431054080522053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972238_05-01-2026_19_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29972274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972276, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972278, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972279, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972280, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972281, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972283, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972284, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972285, '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 = 29972838 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': 4314475, 'mtr_portfolio_id': 29972838, 'created_at': datetime.datetime(2026, 1, 5, 20, 3, 1), 'result': '0.0943261041865002', 'result_long': None, 'result_double': None}] Qualite : 0.0943261041865002 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29972838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29972838 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_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, 'pht': 3726}}" where mtr_portfolio_id = 29972838 and dashboard_run_id = 2854788 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`=29972838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066528, 0.0943261041865002, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29972838_05-01-2026_20_03_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29972878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29972879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29972880, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29972881, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29972882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29972883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29972884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29972885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29972886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29972887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29972888, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29972889, '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 = 29973318 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': 4314580, 'mtr_portfolio_id': 29973318, 'created_at': datetime.datetime(2026, 1, 5, 20, 18, 58), 'result': '0.08693156689325693', 'result_long': None, 'result_double': None}] Qualite : 0.08693156689325693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29973318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29973318 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_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, 'pht': 3726}}" where mtr_portfolio_id = 29973318 and dashboard_run_id = 2854788 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`=29973318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066529, 0.08693156689325693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29973318_05-01-2026_20_18_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29973343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29973344, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29973345, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29973346, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29973347, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29973348, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29973349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29973350, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29973351, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29973352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29973353, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29973354, '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 = 29974015 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': 4314664, 'mtr_portfolio_id': 29974015, 'created_at': datetime.datetime(2026, 1, 5, 20, 35, 1), 'result': '0.06277445335624905', 'result_long': None, 'result_double': None}] Qualite : 0.06277445335624905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974015 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_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, 'pht': 3726}}" where mtr_portfolio_id = 29974015 and dashboard_run_id = 2854788 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`=29974015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066530, 0.06277445335624905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974015_05-01-2026_20_35_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974054, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974058, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974059, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974060, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974061, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974062, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974063, '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 = 29974521 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': 4314726, 'mtr_portfolio_id': 29974521, 'created_at': datetime.datetime(2026, 1, 5, 20, 43), 'result': '0.05910077247593011', 'result_long': None, 'result_double': None}] Qualite : 0.05910077247593011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29974521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29974521 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_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, 'pht': 3726}}" where mtr_portfolio_id = 29974521 and dashboard_run_id = 2854788 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`=29974521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (19066531, 0.05910077247593011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29974521_05-01-2026_20_43_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29974543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29974544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29974546, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29974547, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29974548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29974549, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29974550, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29974551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29974553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29974554, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29974556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29974557, '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 (29943959,29944115,29944510,29944916,29945305,29945724,29946229,29946669,29947066,29947777,29948502,29949018,29949468,29950325,29950757,29951361,29952807,29953273,29953685,29954426,29954814,29954934,29955397,29956118,29956847,29957432,29958094,29960855,29960983,29961530,29962056,29962633,29963242,29963903,29964465,29965338,29965614,29966302,29966600,29967529,29968800,29969245,29969805,29970253,29970794,29971778,29972238,29972838,29973318,29974015,29974521) result : ((1402485317,), (1402485350,), (1402485356,), (1402485358,), (1402485360,), (1402485365,), (1402485367,), (1402485369,), (1402485379,), (1402485381,), (1402485383,), (1402485385,), (1402485387,), (1402485393,), (1402485395,), (1402485397,), (1402485398,), (1402485400,), (1402485403,), (1402485407,), (1402485410,), (1402485411,), (1402485415,), (1402485417,), (1402485418,), (1402485426,), (1402485445,), (1402485448,), (1402485451,), (1402485453,), (1402485457,), (1402485459,), (1402485461,), (1402485463,), (1402485480,), (1402485476,), (1402485478,), (1402485487,), (1402485490,), (1402485493,), (1402485496,), (1402485515,), (1402485516,), (1402485524,), (1402485525,), (1402485527,), (1402485529,), (1402485531,), (1402485552,), (1402485554,), (1402485556,), (1402485558,), (1402485560,), (1402485564,), (1402485566,), (1402485568,), (1402485570,), (1402485572,), (1402485585,), (1402485588,), (1402485590,), (1402485592,), (1402485607,), (1402485610,), (1402485612,), (1402485615,), (1402485618,), (1402485670,), (1402485673,), (1402485676,), (1402485679,), (1402485682,), (1402485691,), (1402485693,), (1402485695,), (1402485718,), (1402485721,), (1402485723,), (1402485725,), (1402485727,), (1402485729,), (1402485732,), (1402485734,), (1402485738,), (1402485740,), (1402485744,), (1402485746,), (1402485783,), (1402485785,), (1402485787,), (1402485866,), (1402485854,), (1402485855,), (1402485858,), (1402485861,), (1402485863,), (1402485893,), (1402485894,), (1402485909,), (1402485916,), (1402485941,), (1402485944,), (1402485946,), (1402485948,), (1402485965,), (1402485967,), (1402485969,), (1402485972,), (1402485975,), (1402485979,), (1402485981,), (1402485984,), (1402485986,), (1402485989,), (1402485991,), (1402486010,), (1402486012,), (1402486014,), (1402486017,), (1402486028,), (1402486030,), (1402486032,), (1402486035,), (1402486037,), (1402486050,), (1402486051,), (1402486053,), (1402486055,), (1402486058,), (1402486061,), (1402486065,), (1402486066,), (1402486068,), (1402486070,), (1402486094,), (1402486096,), (1402486105,), (1402486107,), (1402486110,), (1402486113,), (1402486115,), (1402486143,), (1402486151,), (1402486154,), (1402486157,), (1402486164,), (1402486165,), (1402486167,), (1402486170,), (1402486187,), (1402486189,), (1402486190,), (1402486193,), (1402486201,), (1402486204,), (1402486206,), (1402486209,), (1402486212,), (1402486253,), (1402486241,), (1402486243,), (1402486246,), (1402486249,), (1402486251,), (1402486256,), (1402486257,), (1402486259,), (1402486287,), (1402486290,), (1402486292,), (1402486294,), (1402486296,), (1402486303,), (1402486304,), (1402486306,), (1402486308,), (1402486310,), (1402486312,), (1402486321,), (1402486323,), (1402486325,), (1402486326,), (1402486332,), (1402486334,), (1402486336,), (1402486359,), (1402486362,), (1402486364,), (1402486366,), (1402486371,), (1402486373,), (1402486375,), (1402486377,), (1402486397,), (1402486404,), (1402486412,), (1402486418,), (1402486430,), (1402486431,), (1402486434,), (1402486447,), (1402486449,), (1402486452,), (1402486459,), (1402486461,), (1402486463,), (1402486465,), (1402486467,), (1402486586,), (1402486619,), (1402486652,), (1402486685,), (1402487074,), (1402487110,), (1402487149,), (1402487181,), (1402487582,), (1402487511,), (1402487547,), (1402488017,), (1402488055,), (1402488067,), (1402488069,), (1402488072,), (1402488241,), (1402488247,), (1402488249,), (1402488269,), (1402488351,), (1402488352,), (1402488354,), (1402488375,), (1402488377,), (1402488379,), (1402488382,), (1402488387,), (1402488411,), (1402488413,), (1402488415,), (1402488418,), (1402488430,), (1402488432,), (1402488434,), (1402488437,), (1402488441,), (1402488458,), (1402488460,), (1402488462,), (1402488465,), (1402488469,), (1402488490,), (1402488491,), (1402488493,), (1402488516,), (1402488522,), (1402488524,), (1402488527,), (1402488531,), (1402488540,), (1402488542,), (1402488544,), (1402488547,), (1402488551,), (1402488562,), (1402488564,), (1402488566,), (1402488568,), (1402488590,), (1402488591,), (1402488592,), (1402488593,), (1402488597,), (1402488627,), (1402488629,), (1402488632,), (1402488634,), (1402488637,), (1402488640,), (1402488653,), (1402488655,), (1402488658,), (1402488695,), (1402488688,), (1402488690,), (1402488692,), (1402488713,), (1402488715,), (1402488717,), (1402488720,), (1402488725,), (1402488742,), (1402488744,), (1402488746,), (1402488761,), (1402488763,), (1402488765,), (1402488799,), (1402488801,), (1402488803,), (1402488806,), (1402488825,), (1402488826,), (1402488829,), (1402488832,), (1402488860,), (1402488865,), (1402488866,), (1402488868,), (1402488883,), (1402488884,), (1402488896,), (1402488898,), (1402488900,), (1402488903,), (1402488906,), (1402488930,), (1402488931,), (1402488933,), (1402488936,), (1402488940,), (1402488961,), (1402488963,), (1402488965,), (1402488980,), (1402488981,), (1402488983,), (1402489011,), (1402489013,), (1402489016,), (1402489018,), (1402489022,), (1402489031,), (1402489033,), (1402489035,), (1402489037,), (1402489040,), (1402489064,), (1402489066,), (1402489068,), (1402489071,), (1402489075,), (1402489078,), (1402489098,), (1402489095,), (1402489096,), (1402489130,), (1402489132,), (1402489134,), (1402489137,), (1402489160,), (1402489164,), (1402489168,), (1402489192,), (1402489196,), (1402489200,), (1402489205,), (1402489209,), (1402489215,), (1402489217,), (1402489219,), (1402489222,), (1402489236,), (1402489238,), (1402489241,), (1402489274,), (1402489276,), (1402489278,), (1402489281,), (1402489284,), (1402489297,), (1402489299,), (1402489301,), (1402489304,), (1402489316,), (1402489318,), (1402489320,), (1402489323,), (1402489344,), (1402489346,), (1402489349,), (1402489372,), (1402489373,), (1402489376,), (1402489380,), (1402489383,), (1402489385,), (1402489407,), (1402489409,), (1402489411,), (1402489414,), (1402489433,), (1402489434,), (1402489436,), (1402489440,), (1402489472,), (1402489474,), (1402489475,), (1402489492,), (1402489493,), (1402489497,), (1402489499,), (1402489537,), (1402489531,), (1402489554,), (1402489557,), (1402489561,), (1402489565,), (1402489569,), (1402489572,), (1402489581,), (1402489585,), (1402489589,), (1402489593,), (1402489607,), (1402489609,), (1402489611,), (1402489635,), (1402489637,), (1402489640,), (1402489643,), (1402489646,), (1402489656,), (1402489658,), (1402489660,), (1402489664,), (1402489666,), (1402489698,), (1402489701,), (1402489704,), (1402489707,), (1402489710,), (1402489720,), (1402489722,), (1402489724,), (1402489747,), (1402489748,), (1402489750,), (1402489753,), (1402489756,), (1402489778,), (1402489780,), (1402489782,), (1402489785,), (1402489812,), (1402489814,), (1402489816,), (1402489830,), (1402489833,), (1402489834,), (1402489837,), (1402489841,), (1402489856,), (1402489858,), (1402489861,), (1402489864,), (1402489867,), (1402489869,), (1402489889,), (1402489893,), (1402489897,), (1402489899,), (1402489905,), (1402490102,), (1402490169,), (1402490237,), (1402491055,), (1402491844,), (1402491861,), (1402491867,), (1402491038,), (1402491044,), (1402491052,), (1402491053,), (1402491054,), (1402491319,), (1402491493,), (1402491605,), (1402491637,), (1402491668,), (1402491669,), (1402491876,), (1402491879,), (1402491882,), (1402491885,), (1402491888,), (1402491908,), (1402491910,), (1402491913,), (1402491916,), (1402491999,), (1402492001,), (1402492004,), (1402492085,), (1402492093,), (1402492100,), (1402492103,), (1402492126,), (1402492130,), (1402492140,), (1402492158,), (1402492181,), (1402492184,), (1402492186,), (1402492276,), (1402492278,), (1402492280,), (1402492283,), (1402492290,), (1402492317,), (1402492320,), (1402492322,), (1402492324,), (1402492328,), (1402492344,), (1402492345,), (1402492346,), (1402492535,), (1402492544,), (1402492558,), (1402492561,), (1402492572,), (1402492613,), (1402492615,), (1402492618,), (1402492620,), (1402492623,), (1402492671,), (1402492672,), (1402492676,), (1402492679,), (1402492806,), (1402492812,), (1402492823,), (1402492829,), (1402492874,), (1402492865,), (1402492867,), (1402492871,), (1402493029,), (1402493036,), (1402493044,), (1402493050,), (1402493056,), (1402493060,), (1402493092,), (1402493094,), (1402493097,), (1402493100,), (1402493144,), (1402493152,), (1402493329,), (1402493341,), (1402493344,), (1402493348,), (1402493352,), (1402493365,), (1402493389,), (1402493392,), (1402493398,), (1402493403,), (1402493406,), (1402493441,), (1402493446,), (1402493452,), (1402493479,), (1402493482,), (1402493486,), (1402493546,), (1402493548,), (1402493551,), (1402493553,), (1402493557,), (1402493561,), (1402493573,), (1402493575,), (1402493577,), (1402493583,), (1402493587,), (1402493631,), (1402493836,), (1402493844,), (1402493846,), (1402493907,), (1402493893,), (1402493894,), (1402493897,), (1402493901,), (1402493904,), (1402493929,), (1402493932,), (1402493936,), (1402493942,), (1402493945,), (1402493957,), (1402493959,), (1402493963,), (1402493966,), (1402493975,), (1402493996,), (1402493997,), (1402494000,), (1402494003,), (1402494007,), (1402494023,), (1402494024,), (1402494027,), (1402494028,), (1402494049,), (1402494050,), (1402494052,), (1402494054,), (1402494059,), (1402494078,), (1402494079,), (1402494112,), (1402494113,), (1402494115,), (1402494118,), (1402494122,), (1402494146,), (1402494147,), (1402494149,), (1402494152,), (1402494156,), (1402494159,), (1402494175,), (1402494177,), (1402494179,), (1402494182,), (1402494199,), (1402494202,), (1402494204,), (1402494208,), (1402494211,), (1402494213,), (1402494224,), (1402494234,), (1402494237,), (1402494239,), (1402494242,), (1402494245,), (1402494248,), (1402494273,), (1402494274,), (1402494276,), (1402494278,), (1402494281,), (1402494305,), (1402494307,), (1402494310,), (1402494330,), (1402494332,), (1402494335,), (1402494337,), (1402494342,), (1402494388,), (1402494374,), (1402494376,), (1402494378,), (1402494381,), (1402494385,), (1402494406,), (1402494409,), (1402494412,), (1402494502,), (1402494504,), (1402494506,), (1402494528,), (1402494530,), (1402494535,), (1402494539,), (1402494543,), (1402494560,), (1402494562,), (1402494566,), (1402494569,), (1402494572,), (1402494575,), (1402494589,), (1402494593,), (1402494597,), (1402494600,), (1402494605,), (1402494610,), (1402494617,), (1402494619,), (1402494621,), (1402494648,), (1402494650,), (1402494652,), (1402494665,), (1402494667,), (1402494669,), (1402494672,), (1402494677,), (1402494684,), (1402494720,), (1402494722,), (1402494724,), (1402494754,), (1402494757,), (1402494761,), (1402494766,), (1402494781,), (1402494785,), (1402494793,), (1402494803,), (1402494812,), (1402494815,), (1402494835,), (1402494836,), (1402494838,), (1402494841,), (1402494845,), (1402494872,), (1402494874,), (1402494876,), (1402494879,), (1402495031,), (1402495034,), (1402495039,), (1402495074,), (1402495107,), (1402495136,), (1402495250,), (1402495771,), (1402495464,), (1402495527,), (1402495592,), (1402495656,), (1402495724,), (1402496160,), (1402496207,), (1402496214,), (1402496507,), (1402496532,), (1402496559,), (1402496564,), (1402497026,), (1402497047,), (1402497068,), (1402497091,), (1402497096,), (1402497132,), (1402497135,), (1402497138,), (1402497227,), (1402497247,), (1402497250,), (1402497253,), (1402497260,), (1402497342,), (1402497347,), (1402497351,), (1402497356,), (1402497360,), (1402497363,), (1402497465,), (1402497467,), (1402497476,), (1402497482,), (1402497511,), (1402497513,), (1402497943,), (1402497826,), (1402497926,), (1402497927,), (1402498177,), (1402498179,), (1402498206,), (1402498305,), (1402498308,), (1402498310,), (1402498314,), (1402498402,), (1402498413,), (1402498449,), (1402498451,), (1402498454,), (1402498460,), (1402498467,), (1402498521,), (1402498524,), (1402498526,), (1402498529,), (1402498562,), (1402498582,), (1402498585,), (1402498589,), (1402498593,), (1402498598,), (1402498609,), (1402498611,), (1402498614,), (1402498617,), (1402498620,), (1402498624,), (1402498635,), (1402498636,), (1402498639,), (1402498686,), (1402498689,), (1402498693,), (1402498695,), (1402498709,), (1402498712,), (1402498715,), (1402498718,), (1402498721,), (1402498724,), (1402498813,), (1402498815,), (1402498820,), (1402498824,), (1402498854,), (1402498850,), (1402498851,), (1402498962,), (1402498968,), (1402498982,), (1402498999,), (1402499002,), (1402499005,), (1402499140,), (1402499162,), (1402499177,), (1402499196,), (1402499238,), (1402499244,), (1402499248,), (1402499252,), (1402499255,), (1402499259,), (1402499404,), (1402499456,), (1402499464,), (1402499481,), (1402499484,), (1402499488,), (1402499515,), (1402499517,), (1402499526,), (1402499530,), (1402499563,), (1402499581,), (1402499582,), (1402499584,), (1402499586,), (1402499589,), (1402499592,), (1402499597,), (1402499616,), (1402499618,), (1402499621,), (1402499625,), (1402499636,), (1402499652,), (1402499733,), (1402499734,), (1402499752,), (1402499814,), (1402499815,), (1402499817,), (1402499821,), (1402499826,), (1402499829,), (1402499895,), (1402499961,), (1402500024,), (1402500091,), (1402500159,), (1402500167,), (1402500174,), (1402500176,), (1402500177,), (1402500178,), (1402500184,), (1402500199,), (1402500217,), (1402500245,), (1402500251,), (1402500253,), (1402500257,), (1402500260,), (1402500282,), (1402500284,), (1402500286,), (1402500304,), (1402500333,), (1402500335,), (1402500337,), (1402500347,), (1402500361,), (1402500410,), (1402500404,), (1402500406,), (1402500440,), (1402500442,), (1402500444,), (1402500446,), (1402500451,), (1402500453,), (1402500476,), (1402500478,), (1402500479,), (1402500484,), (1402500585,), (1402500586,), (1402500588,), (1402500592,), (1402500595,), (1402500599,), (1402500607,), (1402500619,), (1402500621,), (1402500648,), (1402500650,), (1402500653,), (1402500838,), (1402500932,), (1402500940,), (1402500943,), (1402500972,), (1402500975,), (1402501014,), (1402501016,), (1402501019,), (1402501042,), (1402501046,), (1402501048,), (1402501051,), (1402501056,), (1402501080,), (1402501082,), (1402501084,), (1402501087,), (1402501091,), (1402501093,), (1402501109,), (1402501111,), (1402501114,), (1402501116,), (1402501120,), (1402501138,), (1402501140,), (1402501143,), (1402501457,), (1402501494,), (1402501527,), (1402501560,), (1402501786,), (1402501788,), (1402501790,), (1402501792,), (1402501797,), (1402505288,), (1402505289,), (1402505290,), (1402505306,), (1402505308,), (1402505309,), (1402505312,), (1402505316,), (1402505319,), (1402505325,), (1402505329,), (1402505330,), (1402505344,), (1402505346,), (1402505348,), (1402505349,), (1402505377,), (1402505379,), (1402505380,), (1402505383,), (1402505400,), (1402505401,), (1402505402,), (1402505983,), (1402506015,), (1402506305,), (1402506306,), (1402506307,), (1402506652,), (1402506653,), (1402506654,), (1402506655,), (1402506668,), (1402506669,), (1402506671,), (1402506673,), (1402506676,), (1402506728,), (1402506833,), (1402506720,), (1402506721,), (1402506722,), (1402506723,), (1402506726,), (1402506781,), (1402506788,), (1402506803,), (1402506805,), (1402506808,), (1402506814,), (1402506822,), (1402506824,), (1402506827,), (1402506843,), (1402506844,), (1402506846,), (1402506848,), (1402506850,), (1402506908,), (1402506943,), (1402506974,), (1402507004,), (1402507035,), (1402507092,), (1402507240,), (1402507273,), (1402507324,), (1402507326,), (1402507328,), (1402507330,), (1402507333,), (1402507348,), (1402507350,), (1402507352,), (1402507354,), (1402507358,), (1402507359,), (1402507372,), (1402507374,), (1402507376,), (1402507378,), (1402507419,), (1402507421,), (1402507442,), (1402507444,), (1402507446,), (1402507448,), (1402507499,), (1402507503,), (1402507505,), (1402507507,), (1402507510,), (1402507525,), (1402507526,), (1402507528,), (1402507530,), (1402507534,), (1402507537,), (1402507564,), (1402507566,), (1402507568,), (1402507570,), (1402507692,), (1402507729,), (1402507764,), (1402507798,), (1402507937,), (1402507938,), (1402507973,), (1402507977,), (1402508008,), (1402508013,), (1402508698,), (1402508759,), (1402508801,), (1402508836,), (1402508614,), (1402508647,), (1402509235,), (1402509267,), (1402509341,), (1402509473,), (1402509475,), (1402509477,), (1402509478,), (1402509483,), (1402509725,), (1402509742,), (1402510307,), (1402510308,), (1402510410,), (1402510412,), (1402510429,), (1402510432,), (1402511321,), (1402511318,), (1402511319,), (1402511353,), (1402511355,), (1402511356,), (1402511357,), (1402511360,), (1402511415,), (1402511418,), (1402511420,), (1402511522,), (1402511962,), (1402511727,), (1402511990,), (1402511997,), (1402512001,), (1402512004,), (1402512011,), (1402512031,), (1402512089,), (1402512110,), (1402512112,), (1402512114,), (1402512116,), (1402512120,), (1402512173,), (1402512151,), (1402512152,), (1402512161,), (1402512165,), (1402512194,), (1402512195,), (1402512196,), (1402512198,), (1402512388,), (1402512389,), (1402512390,), (1402512413,), (1402512414,), (1402512415,), (1402512417,), (1402512422,), (1402512438,), (1402512439,), (1402512441,), (1402512443,), (1402512447,), (1402512464,), (1402512467,), (1402512472,), (1402512476,), (1402512480,), (1402512483,), (1402512496,), (1402512497,), (1402512498,), (1402512499,), (1402512501,), (1402512521,), (1402512523,), (1402512529,), (1402512534,), (1402512536,), (1402512580,), (1402512582,), (1402512583,), (1402512611,), (1402512614,), (1402512616,), (1402512619,), (1402512623,), (1402512641,), (1402512642,), (1402512645,), (1402512646,), (1402512664,), (1402512665,), (1402512668,), (1402512671,), (1402512675,), (1402512699,), (1402512701,), (1402512704,), (1402512707,), (1402512745,), (1402512780,), (1402512816,), (1402512850,), (1402512994,), (1402513029,), (1402513064,), (1402513264,), (1402513265,), (1402513291,), (1402513296,), (1402513235,), (1402513237,), (1402513257,), (1402513263,), (1402513282,), (1402513284,), (1402513288,), (1402513310,), (1402513311,), (1402513313,), (1402513316,), (1402513320,), (1402513325,), (1402513804,), (1402513805,), (1402513808,), (1402514081,), (1402514083,), (1402514085,), (1402514088,), (1402514103,), (1402514105,), (1402514107,), (1402514109,), (1402514137,), (1402514140,), (1402514155,), (1402514176,), (1402514187,), (1402514257,), (1402514261,), (1402514267,), (1402514270,), (1402514280,), (1402514313,), (1402514314,), (1402514316,), (1402514319,), (1402514349,), (1402514351,), (1402514353,), (1402514354,), (1402514822,), (1402514826,), (1402514844,), (1402515059,), (1402515080,), (1402515081,), (1402515139,), (1402515140,), (1402515142,), (1402515143,), (1402515182,), (1402515307,), (1402515175,), (1402515177,), (1402515178,), (1402515179,), (1402515235,), (1402515267,), (1402515285,), (1402515288,), (1402515291,), (1402515296,), (1402515301,), (1402515304,), (1402515313,), (1402515333,), (1402515367,), (1402515758,), (1402515760,), (1402515762,), (1402515763,), (1402515776,), (1402515807,), (1402516043,), (1402516062,), (1402516065,), (1402516066,), (1402516197,), (1402516232,), (1402516516,), (1402516519,), (1402516531,), (1402516541,), (1402516547,), (1402516570,), (1402516576,), (1402516579,), (1402516584,), (1402516651,), (1402516655,), (1402516659,), (1402516684,), (1402516720,), (1402517027,), (1402517028,), (1402517032,), (1402517256,), (1402517257,), (1402517260,), (1402517266,), (1402517297,), (1402517553,), (1402517602,), (1402517646,), (1402517689,), (1402517749,), (1402517756,), (1402517758,), (1402517802,), (1402517805,), (1402517807,), (1402517808,), (1402517809,), (1402517810,), (1402517999,), (1402518022,), (1402518025,), (1402518048,), (1402518051,), (1402518061,), (1402518157,), (1402518127,), (1402518154,), (1402518176,), (1402518177,), (1402518180,), (1402518181,), (1402518185,), (1402518213,), (1402518215,), (1402518219,), (1402518221,), (1402518225,), (1402518247,), (1402518250,), (1402518252,), (1402518255,), (1402518299,), (1402518301,), (1402518302,), (1402518325,), (1402518331,), (1402518339,), (1402518344,), (1402518350,), (1402518392,), (1402518399,), (1402518418,), (1402518425,), (1402518429,), (1402518431,), (1402518436,), (1402518438,), (1402518443,), (1402518446,), (1402518455,), (1402518459,), (1402518461,), (1402518463,), (1402518526,), (1402518541,), (1402518546,), (1402518556,), (1402518559,), (1402518889,), (1402518890,), (1402518891,), (1402518892,), (1402518895,), (1402518914,), (1402518951,), (1402518959,), (1402518960,), (1402518961,), (1402518963,), (1402518983,), (1402519054,), (1402519061,), (1402519064,), (1402519066,), (1402519068,), (1402519109,), (1402519110,), (1402519111,), (1402519113,), (1402519117,), (1402519313,), (1402519346,), (1402519380,), (1402519414,), (1402519561,), (1402519550,), (1402519552,), (1402519554,), (1402519584,), (1402519585,), (1402519587,), (1402519591,), (1402519599,), (1402519619,), (1402519621,), (1402519622,), (1402519624,), (1402519628,), (1402519874,), (1402519878,), (1402519901,), (1402519903,), (1402519907,), (1402519995,), (1402519997,), (1402520001,), (1402520003,), (1402520007,), (1402520042,), (1402520045,), (1402520049,), (1402520051,), (1402520054,), (1402520057,), (1402520070,), (1402520071,), (1402520079,), (1402520106,), (1402520109,), (1402520112,), (1402520121,), (1402520126,), (1402520284,), (1402520285,), (1402520294,), (1402520302,), (1402520425,), (1402520458,), (1402520489,), (1402520606,), (1402520610,), (1402520612,), (1402520617,), (1402520620,), (1402520623,), (1402520634,), (1402520636,), (1402520637,), (1402520640,), (1402520645,), (1402520647,), (1402520658,), (1402520660,), (1402520661,), (1402520720,), (1402520722,), (1402520723,), (1402520726,), (1402520731,), (1402520918,), (1402520962,), (1402521002,), (1402521046,), (1402521084,), (1402521089,), (1402521159,), (1402521166,), (1402521175,), (1402521261,), (1402521262,), (1402521288,), (1402521291,), (1402521252,), (1402521254,), (1402521255,), (1402521260,), (1402521269,), (1402521273,), (1402521277,), (1402521282,), (1402521302,), (1402521303,), (1402521306,), (1402521309,), (1402521341,), (1402521343,), (1402521347,), (1402521351,), (1402521680,), (1402521714,), (1402521747,), (1402521785,), (1402521821,), (1402521852,), (1402522360,), (1402522370,), (1402522652,), (1402522654,), (1402522656,), (1402522675,), (1402522713,), (1402522749,), (1402522913,), (1402522977,), (1402523042,), (1402523072,), (1402523091,), (1402523234,), (1402523236,), (1402523238,), (1402523241,), (1402523314,), (1402523319,), (1402523326,), (1402523333,), (1402523337,), (1402523364,), (1402523368,), (1402523387,), (1402523391,), (1402528187,), (1402532830,), (1402532842,), (1402532843,), (1402532846,), (1402532847,), (1402532850,), (1402532863,), (1402532864,), (1402532866,), (1402532867,), (1402532898,), (1402532899,), (1402532901,), (1402532918,), (1402532979,), (1402532980,), (1402532982,), (1402532983,), (1402532987,), (1402533140,), (1402533163,), (1402533166,), (1402533168,), (1402533170,), (1402533173,), (1402533211,), (1402533213,), (1402533218,), (1402533333,), (1402533336,), (1402533342,), (1402533349,), (1402533327,), (1402533329,), (1402533331,), (1402533350,), (1402533351,), (1402533353,), (1402533355,), (1402533357,), (1402533368,), (1402533369,), (1402533445,), (1402533925,), (1402534235,), (1402534258,), (1402534438,), (1402534439,), (1402534440,), (1402534441,), (1402534444,), (1402534458,), (1402534461,), (1402534463,), (1402534467,), (1402534471,), (1402534502,), (1402534514,), (1402534530,), (1402534532,), (1402534534,), (1402534536,), (1402534539,), (1402534678,), (1402534711,), (1402534739,), (1402534741,), (1402534745,), (1402534765,), (1402534767,), (1402534768,), (1402534770,), (1402534774,), (1402534866,), (1402534862,), (1402534864,), (1402534901,), (1402534902,), (1402534903,), (1402534904,), (1402534906,), (1402534927,), (1402534928,), (1402534929,), (1402534951,), (1402534953,), (1402534954,), (1402534956,), (1402534958,), (1402534986,), (1402534987,), (1402534988,), (1402534989,), (1402534992,), (1402535071,), (1402535072,), (1402535074,), (1402535075,), (1402535100,), (1402535101,), (1402535103,), (1402535104,), (1402535132,), (1402535139,), (1402535143,), (1402535147,), (1402535154,), (1402535198,), (1402535200,), (1402535201,), (1402535220,), (1402535226,), (1402535252,), (1402535253,), (1402535254,), (1402535256,), (1402535288,), (1402535289,), (1402535291,), (1402535292,), (1402535309,), (1402535314,), (1402535318,), (1402535338,), (1402535341,), (1402535345,), (1402535372,), (1402535377,), (1402535379,), (1402535382,), (1402535385,), (1402535397,), (1402535409,), (1402535417,), (1402535432,), (1402535902,), (1402535865,), (1402536532,), (1402536606,), (1402536680,), (1402536736,), (1402536794,), (1402536840,), (1402537186,), (1402537187,), (1402537190,), (1402537197,), (1402537235,), (1402537549,), (1402537583,), (1402537601,), (1402537633,), (1402537635,), (1402537639,), (1402537696,), (1402537899,), (1402537907,), (1402537911,), (1402537920,), (1402537945,), (1402537948,), (1402537965,), (1402537967,), (1402537970,), (1402537990,), (1402537992,), (1402537996,), (1402538029,), (1402538031,), (1402538035,), (1402538055,), (1402538060,), (1402538163,), (1402538212,), (1402538216,), (1402538219,), (1402538222,), (1402538244,), (1402538246,), (1402538250,), (1402538253,), (1402538256,), (1402538272,), (1402538319,), (1402538330,), (1402538340,), (1402538353,), (1402538354,), (1402538355,), (1402538405,), (1402538406,), (1402538413,), (1402538476,), (1402538501,), (1402538502,), (1402538524,), (1402538526,), (1402538529,), (1402538578,), (1402538570,), (1402538571,), (1402538572,), (1402538574,), (1402538598,), (1402538600,), (1402538602,), (1402538637,), (1402538639,), (1402538642,), (1402538645,), (1402538689,), (1402538691,), (1402538696,), (1402538697,), (1402538703,), (1402538726,), (1402538728,), (1402538730,), (1402538733,), (1402538761,), (1402538763,), (1402538765,), (1402538769,), (1402538772,), (1402538834,), (1402538836,), (1402538842,), (1402538845,), (1402538850,), (1402538869,), (1402538870,), (1402538872,), (1402538874,), (1402538878,), (1402538910,), (1402538912,), (1402538915,), (1402538939,), (1402538940,), (1402538944,), (1402538947,), (1402538951,), (1402538955,), (1402538981,), (1402538986,), (1402538990,), (1402539007,), (1402539008,), (1402539027,), (1402539030,), (1402539036,), (1402539087,), (1402539104,), (1402539112,), (1402539123,), (1402539131,), (1402539134,), (1402539166,), (1402539172,), (1402539208,), (1402539211,), (1402539215,), (1402539217,), (1402539255,), (1402539246,), (1402539248,), (1402539249,), (1402539250,), (1402539253,), (1402539393,), (1402539396,), (1402539405,), (1402539441,), (1402539444,), (1402539446,), (1402539459,), (1402539463,), (1402539545,), (1402539547,), (1402539550,), (1402539552,), (1402539556,), (1402539565,), (1402539649,), (1402539654,), (1402539656,), (1402539679,), (1402539864,), (1402539871,), (1402539872,), (1402539873,), (1402540018,), (1402540058,), (1402540146,), (1402540220,), (1402540290,), (1402540369,), (1402540372,), (1402540373,), (1402540377,), (1402540382,), (1402540389,), (1402540443,), (1402540445,), (1402540453,), (1402540538,), (1402540539,), (1402540567,), (1402540570,), (1402540629,), (1402540630,), (1402540733,), (1402540772,), (1402540801,), (1402540818,), (1402540825,), (1402540898,), (1402540902,), (1402540913,), (1402540917,), (1402540930,), (1402540942,), (1402541159,), (1402541157,), (1402541158,), (1402541431,), (1402541547,), (1402541548,), (1402541549,), (1402541753,), (1402541836,), (1402541839,), (1402541862,), (1402541864,), (1402541866,), (1402541868,), (1402541947,), (1402541955,), (1402541968,), (1402541975,), (1402542075,), (1402542079,), (1402542082,), (1402542100,), (1402542105,), (1402542108,), (1402542109,), (1402542183,), (1402542184,), (1402542209,), (1402542216,), (1402542223,), (1402542225,), (1402542163,), (1402542164,), (1402542167,), (1402542168,), (1402542171,), (1402542172,), (1402542175,), (1402542176,), (1402542179,), (1402542180,), (1402542185,), (1402542186,), (1402542187,), (1402542191,), (1402542194,), (1402542198,), (1402542244,), (1402542276,), (1402542315,), (1402542317,), (1402542319,), (1402542321,), (1402542324,), (1402542328,), (1402542343,), (1402542355,), (1402542360,), (1402542364,), (1402542369,), (1402542373,), (1402542382,), (1402542384,), (1402542411,), (1402542420,), (1402542428,), (1402542431,), (1402542436,), (1402542500,), (1402542536,), (1402542568,), (1402542578,), (1402542777,), (1402542820,), (1402542999,), (1402543001,), (1402543004,), (1402543007,), (1402543011,), (1402543015,), (1402543031,), (1402543032,), (1402543034,), (1402543038,), (1402543044,), (1402543048,), (1402543074,), (1402543075,), (1402543076,), (1402543077,), (1402544566,), (1402544619,), (1402544620,), (1402544632,), (1402544666,), (1402544699,), (1402544895,), (1402544897,), (1402544907,), (1402544913,), (1402544929,), (1402544934,), (1402544941,), (1402544943,), (1402545453,), (1402545451,), (1402545452,), (1402545463,), (1402545464,), (1402545466,), (1402545476,), (1402545477,), (1402545489,), (1402545490,), (1402545492,), (1402545494,), (1402545496,), (1402545503,), (1402545504,), (1402545505,), (1402545507,), (1402545520,), (1402545521,), (1402545522,), (1402545527,), (1402545624,), (1402545625,), (1402545626,), (1402545628,), (1402545631,), (1402545656,), (1402545657,), (1402545658,), (1402545659,), (1402545670,), (1402545671,), (1402545672,), (1402545687,), (1402545691,), (1402545706,), (1402545708,), (1402545711,), (1402545713,), (1402545723,), (1402545726,), (1402545728,), (1402545731,), (1402545740,), (1402545742,), (1402545765,), (1402545767,), (1402545769,), (1402545771,), (1402545773,), (1402545774,), (1402545778,), (1402545779,), (1402545780,), (1402545781,), (1402545784,), (1402545786,), (1402545788,), (1402545790,), (1402545799,), (1402545800,), (1402545801,), (1402545803,), (1402545806,), (1402545808,), (1402545849,), (1402545850,), (1402545851,), (1402545864,), (1402545869,), (1402545935,), (1402545959,), (1402546032,), (1402546033,), (1402546034,), (1402546036,), (1402546058,), (1402546059,), (1402546060,), (1402546062,), (1402546070,), (1402546071,), (1402546072,), (1402546075,), (1402546078,), (1402546124,), (1402546125,), (1402546126,), (1402546133,), (1402546134,), (1402546135,), (1402546137,), (1402546141,), (1402546153,), (1402546154,), (1402546156,), (1402546158,), (1402546160,), (1402546162,), (1402546168,), (1402546169,), (1402546170,), (1402546186,), (1402546187,), (1402546189,), (1402546191,), (1402546194,), (1402546284,), (1402546295,), (1402546297,), (1402546300,), (1402546303,), (1402546306,), (1402546772,), (1402548246,), (1402546653,), (1402546689,), (1402546723,), (1402547732,), (1402547806,), (1402547836,), (1402547897,), (1402547964,), (1402548028,), (1402548191,), (1402548192,), (1402548215,), (1402548428,), (1402548500,), (1402548568,), (1402548630,), (1402548692,), (1402549108,), (1402549121,), (1402549538,), (1402549553,), (1402549572,), (1402549573,), (1402549576,), (1402549646,), (1402549647,), (1402549648,), (1402549649,), (1402549651,), (1402549668,), (1402549669,), (1402549670,), (1402549672,), (1402549687,), (1402550046,), (1402550075,), (1402550106,), (1402550139,), (1402550486,), (1402550597,), (1402550703,), (1402551470,), (1402551480,), (1402551512,), (1402551524,), (1402551580,), (1402552128,), (1402552194,), (1402552263,), (1402552339,), (1402552416,), (1402552454,), (1402552592,), (1402552593,), (1402552598,), (1402552603,), (1402552612,), (1402552614,), (1402552646,), (1402552865,), (1402552887,), (1402552889,), (1402552893,), (1402552927,), (1402552950,), (1402552990,), (1402553006,), (1402553010,), (1402553011,), (1402553013,), (1402553085,), (1402553086,), (1402553087,), (1402553089,), (1402553094,), (1402553123,), (1402553358,), (1402553249,), (1402553250,), (1402553262,), (1402553300,), (1402553341,), (1402553397,), (1402553398,), (1402553437,), (1402553446,), (1402553451,), (1402553459,), (1402553461,), (1402553463,), (1402553482,), (1402553484,), (1402553485,), (1402553488,), (1402553490,), (1402553492,), (1402553657,), (1402553694,), (1402553727,), (1402553794,), (1402553795,), (1402553797,), (1402553801,), (1402553803,), (1402553805,), (1402553819,), (1402553820,), (1402553821,), (1402553839,), (1402553841,), (1402553843,), (1402553845,), (1402553847,), (1402553968,), (1402553970,), (1402553974,), (1402553982,), (1402553988,), (1402554044,), (1402554046,), (1402554049,), (1402554084,), (1402554085,), (1402554086,), (1402554088,), (1402554157,), (1402554189,), (1402554222,), (1402554253,), (1402554293,), (1402554495,), (1402554499,), (1402554502,), (1402554510,), (1402554519,), (1402554573,), (1402554580,), (1402554592,), (1402554655,), (1402554657,), (1402554659,), (1402554662,), (1402554665,), (1402554668,), (1402554688,), (1402554692,), (1402557263,), (1402557244,), (1402557259,), (1402557260,), (1402557262,), (1402557270,), (1402557271,), (1402557272,), (1402557273,), (1402557294,), (1402557310,), (1402557312,), (1402557314,), (1402557316,), (1402557319,), (1402557337,), (1402557339,), (1402557341,), (1402557344,), (1402557368,), (1402557370,), (1402557373,), (1402557375,), (1402557379,), (1402557406,), (1402557408,), (1402557409,), (1402557424,), (1402557426,), (1402557428,), (1402557431,), (1402557435,), (1402557459,), (1402557460,), (1402557462,), (1402557464,), (1402557466,), (1402557478,), (1402557479,), (1402557481,), (1402557482,), (1402557485,), (1402557503,), (1402557504,), (1402557505,), (1402557508,), (1402557511,), (1402557514,), (1402557531,), (1402557533,), (1402557534,), (1402557535,), (1402557536,), (1402557539,), (1402557565,), (1402557566,), (1402557567,), (1402557570,), (1402557573,), (1402557575,), (1402557585,), (1402557587,), (1402557588,), (1402557638,), (1402557629,), (1402557630,), (1402557631,), (1402557633,), (1402557637,), (1402557651,), (1402557652,), (1402557653,), (1402557673,), (1402557679,), (1402557686,), (1402557688,), (1402557719,), (1402557720,), (1402557722,), (1402557741,), (1402557744,), (1402557746,), (1402557749,), (1402557759,), (1402557761,), (1402557764,), (1402557767,), (1402557770,), (1402557803,), (1402557804,), (1402557806,), (1402557808,), (1402557810,), (1402557811,), (1402557817,), (1402557819,), (1402557820,), (1402557824,), (1402557826,), (1402557828,), (1402557847,), (1402557849,), (1402557851,), (1402557854,), (1402557858,), (1402557861,), (1402557873,), (1402557875,), (1402557878,), (1402557879,), (1402557883,), (1402557902,), (1402557903,), (1402557904,), (1402557906,), (1402557910,), (1402557920,), (1402557921,), (1402557923,), (1402557925,), (1402557928,), (1402557931,), (1402557954,), (1402557956,), (1402557958,), (1402557982,), (1402558040,), (1402558041,), (1402558042,), (1402558043,), (1402558046,), (1402558049,), (1402558078,), (1402558088,), (1402558089,), (1402558090,), (1402558092,), (1402558127,), (1402558178,), (1402558123,), (1402558154,), (1402558162,), (1402558164,), (1402558173,), (1402558176,), (1402558203,), (1402558206,), (1402558208,), (1402558210,), (1402558228,), (1402558383,), (1402558391,), (1402558394,), (1402558396,), (1402558399,), (1402558414,), (1402558416,), (1402558418,), (1402558432,), (1402558434,), (1402558435,), (1402558437,), (1402558441,), (1402558459,), (1402558460,), (1402558461,), (1402558463,), (1402558501,), (1402558520,), (1402558521,), (1402558523,), (1402558525,), (1402558527,), (1402558529,), (1402558551,), (1402558553,), (1402558556,), (1402558559,), (1402558562,), (1402558574,), (1402558577,), (1402558578,), (1402558581,), (1402558584,), (1402558586,), (1402558604,), (1402558614,), (1402558624,), (1402558626,), (1402558627,), (1402558629,), (1402558658,), (1402558666,), (1402558674,), (1402558677,), (1402558681,), (1402558684,), (1402558719,), (1402558721,), (1402558723,), (1402558874,), (1402558876,), (1402558879,), (1402558882,), (1402558885,), (1402558887,), (1402558920,), (1402558907,), (1402558909,), (1402558912,), (1402558914,), (1402558918,), (1402558930,), (1402558936,), (1402558938,), (1402558941,), (1402558943,), (1402558967,), (1402558969,), (1402558972,), (1402558974,), (1402558977,), (1402558979,), (1402558993,), (1402558994,), (1402558996,), (1402558999,), (1402559003,), (1402559011,), (1402559041,), (1402559043,), (1402559046,), (1402559048,), (1402559051,), (1402559063,), (1402559065,), (1402559067,), (1402559070,), (1402559073,), (1402559095,), (1402559096,), (1402559098,), (1402559101,), (1402559103,), (1402559105,), (1402559110,), (1402559112,), (1402559114,), (1402559117,), (1402559119,), (1402559122,), (1402559182,), (1402559191,), (1402559201,), (1402559205,), (1402559222,), (1402559228,), (1402559318,), (1402559319,), (1402559320,), (1402559322,), (1402559326,), (1402559348,), (1402559349,), (1402559350,), (1402559368,), (1402559370,), (1402559372,), (1402559375,), (1402559379,), (1402559406,), (1402559408,), (1402559415,), (1402559418,), (1402559420,), (1402559423,), (1402560138,), (1402560198,), (1402560236,), (1402560289,), (1402560495,), (1402560529,), (1402560532,), (1402560778,), (1402561784,), (1402560541,), (1402560546,), (1402560599,), (1402560684,), (1402561475,), (1402561508,), (1402561573,), (1402561613,), (1402561660,), (1402561676,), (1402561691,), (1402561709,), (1402561718,), (1402561741,), (1402561919,), (1402561925,), (1402561928,), (1402561940,), (1402562227,), (1402562262,), (1402562295,), (1402562337,), (1402562372,), (1402562405,), (1402562661,), (1402562663,), (1402562673,), (1402562679,), (1402562717,), (1402562899,), (1402562900,), (1402562901,), (1402562903,), (1402562938,), (1402562974,), (1402563068,), (1402563115,), (1402563580,), (1402563620,), (1402563654,), (1402563656,), (1402563870,), (1402563900,), (1402563918,), (1402564036,), (1402564151,), (1402564688,), (1402564691,), (1402564693,), (1402564718,), (1402564724,), (1402565136,), (1402565138,), (1402565140,), (1402565145,), (1402565153,), (1402565220,), (1402565258,), (1402565259,), (1402565260,), (1402565261,), (1402565264,), (1402565271,), (1402565274,), (1402565276,), (1402565278,), (1402565403,), (1402565407,), (1402565428,), (1402565495,), (1402565500,), (1402565503,), (1402565520,), (1402565522,), (1402565525,), (1402565527,), (1402565531,), (1402565565,), (1402565549,), (1402565554,), (1402565557,), (1402565560,), (1402565562,), (1402565578,), (1402565580,), (1402565606,), (1402565608,), (1402565610,), (1402565613,), (1402565617,), (1402565619,), (1402565642,), (1402565650,), (1402565653,), (1402565655,), (1402565658,), (1402565856,), (1402565892,), (1402565926,), (1402565960,), (1402565996,), (1402565997,), (1402565998,), (1402565999,), (1402566001,), (1402566037,), (1402566040,), (1402566044,), (1402566051,), (1402566068,), (1402566071,), (1402566078,), (1402566079,), (1402566080,), (1402566081,), (1402566094,), (1402566096,), (1402566099,), (1402566121,), (1402566123,), (1402566318,), (1402566355,), (1402566390,), (1402566424,), (1402566460,), (1402566686,), (1402566689,), (1402566727,), (1402566736,), (1402566740,), (1402566841,), (1402566842,), (1402566843,), (1402566845,), (1402566873,), (1402566883,), (1402566885,), (1402566887,), (1402566890,), (1402566893,), (1402566903,), (1402566904,), (1402566905,), (1402566924,), (1402566927,), (1402566928,), (1402566929,), (1402566934,), (1402567073,), (1402567228,), (1402566951,), (1402566952,), (1402566978,), (1402567065,), (1402567070,), (1402567104,), (1402567106,), (1402567107,), (1402567111,), (1402567114,), (1402567116,), (1402567220,), (1402567224,), (1402567263,), (1402567265,), (1402567270,), (1402567274,), (1402567278,), (1402567305,), (1402567464,), (1402567470,), (1402567482,), (1402567488,), (1402567491,), (1402567515,), (1402567517,), (1402567519,), (1402567522,), (1402567525,), (1402567526,), (1402567532,), (1402567534,), (1402567536,), (1402567538,), (1402567543,), (1402567550,), (1402567553,), (1402567617,), (1402567619,), (1402567620,), (1402567622,), (1402567648,), (1402567651,), (1402567654,), (1402567663,), (1402567667,), (1402567693,), (1402567707,), (1402567710,), (1402567713,), (1402567715,), (1402567717,), (1402567733,), (1402567735,), (1402567737,), (1402567740,), (1402567743,), (1402567746,), (1402567763,), (1402567764,), (1402567765,), (1402567766,), (1402567768,), (1402567771,), (1402567774,), (1402567777,), (1402567786,), (1402567787,), (1402567788,), (1402567790,), (1402567793,), (1402567795,), (1402567806,), (1402567809,), (1402567813,), (1402567849,), (1402567850,), (1402567853,), (1402567856,), (1402567859,), (1402567902,), (1402567905,), (1402567911,), (1402567914,), (1402567915,), (1402567916,), (1402567875,), (1402567878,), (1402567895,), (1402567899,), (1402567917,), (1402567919,), (1402567921,), (1402567953,), (1402567954,), (1402567955,), (1402567957,), (1402567959,), (1402568137,), (1402568140,), (1402568142,), (1402568145,), (1402568148,), (1402568159,), (1402568161,), (1402568164,), (1402568171,), (1402568216,), (1402568219,), (1402568222,), (1402568225,), (1402568227,), (1402568229,), (1402568235,), (1402568236,), (1402568237,), (1402568238,), (1402568243,), (1402568245,), (1402568247,), (1402568266,), (1402568268,), (1402568270,), (1402568273,), (1402568276,), (1402568278,), (1402568321,), (1402568326,), (1402568330,), (1402568333,), (1402568364,), (1402568352,), (1402568355,), (1402568357,), (1402568360,), (1402568501,), (1402568534,), (1402568567,), (1402568602,), (1402568636,), (1402569311,), (1402569354,), (1402569446,), (1402569683,), (1402569716,), (1402569749,), (1402569781,), (1402569793,), (1402569795,), (1402569943,), (1402569957,), (1402569961,), (1402569964,), (1402569967,), (1402569986,), (1402569988,), (1402569991,), (1402569994,), (1402569997,), (1402569999,), (1402570010,), (1402570011,), (1402570012,), (1402570016,), (1402570019,), (1402570021,), (1402570024,), (1402570027,), (1402570029,), (1402570048,), (1402570050,), (1402570052,), (1402570055,), (1402570059,), (1402570060,), (1402570068,), (1402570070,), (1402570072,), (1402570075,), (1402570125,), (1402570127,), (1402570144,), (1402570156,), (1402570170,), (1402570196,), (1402570198,), (1402570200,), (1402570203,), (1402570206,), (1402570262,), (1402570265,), (1402570269,), (1402570272,), (1402570275,), (1402570277,), (1402570282,), (1402570283,), (1402570296,), (1402570308,), (1402570335,), (1402570375,), (1402570411,), (1402570458,), (1402570488,), (1402570504,), (1402570512,), (1402570514,), (1402570518,), (1402570646,), (1402570679,), (1402570685,), (1402570946,), (1402570977,), (1402570978,), (1402570979,), (1402570892,), (1402570926,), (1402570931,), (1402570935,), (1402570939,), (1402571066,), (1402571072,), (1402571088,), (1402571091,), (1402571094,), (1402571130,), (1402571132,), (1402571134,), (1402571209,), (1402571221,), (1402571223,), (1402571226,), (1402571230,), (1402571531,), (1402571545,), (1402571547,), (1402571550,), (1402571554,), (1402571555,), (1402571566,), (1402571568,), (1402571582,), (1402571588,), (1402571620,), (1402571623,), (1402571624,), (1402571628,), (1402571631,), (1402571633,), (1402571638,), (1402571639,), (1402571640,), (1402571641,), (1402571646,), (1402571649,), (1402571653,), (1402571663,), (1402571671,), (1402571673,), (1402571726,), (1402571755,), (1402571757,), (1402571879,), (1402571881,), (1402571883,), (1402571886,), (1402571890,), (1402571938,), (1402571941,), (1402571944,), (1402571947,), (1402571969,), (1402572003,), (1402572028,), (1402572029,), (1402572030,), (1402572032,), (1402572034,), (1402572040,), (1402572175,), (1402572176,), (1402572181,), (1402572185,), (1402572195,), (1402572211,), (1402572220,), (1402572223,), (1402572225,), (1402572228,), (1402572231,), (1402572234,), (1402572263,), (1402572265,), (1402572268,), (1402572271,), (1402572297,), (1402572367,), (1402572293,), (1402572295,), (1402572351,), (1402572353,), (1402572355,), (1402572358,), (1402572361,), (1402572363,), (1402572369,), (1402572371,), (1402572373,), (1402572375,), (1402572413,), (1402572415,), (1402572416,), (1402572418,), (1402572421,), (1402572441,), (1402572443,), (1402572446,), (1402572447,), (1402572464,), (1402572467,), (1402572469,), (1402572472,), (1402572475,), (1402572478,), (1402572482,), (1402572483,), (1402572525,), (1402572531,), (1402572534,), (1402572537,), (1402572540,), (1402572543,), (1402572564,), (1402572571,), (1402572594,), (1402572596,), (1402572602,), (1402572605,), (1402572635,), (1402572642,), (1402572644,), (1402572647,), (1402572690,), (1402572702,), (1402572712,), (1402572721,), (1402572736,), (1402572757,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05012026': {'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([29943959]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] map_info['map_portfolio_photo'] : {29943959: [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317]} final : True mtd_id 4302 list_pids : [1402485480, 1402485463, 1402485461, 1402485459, 1402485457, 1402485453, 1402485451, 1402485448, 1402485445, 1402485426, 1402485418, 1402485417, 1402485415, 1402485411, 1402485410, 1402485407, 1402485403, 1402485400, 1402485398, 1402485397, 1402485395, 1402485393, 1402485387, 1402485385, 1402485383, 1402485381, 1402485379, 1402485369, 1402485367, 1402485365, 1402485360, 1402485358, 1402485356, 1402485350, 1402485317] Looping around the photos to save general results len do output : 1 /29943959Didn'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, '4315807') ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807') ('4302', None, None, None, None, None, None, None, '4315807') ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807') 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, '29943959', 'None', None, None, None, None, '4315807'), ('4302', '29943959', '1402485480', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485463', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485461', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485459', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485457', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485453', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485451', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485448', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485445', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485426', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485418', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485417', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485415', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485411', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485410', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485407', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485403', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485400', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485398', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485397', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485395', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485393', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485387', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485385', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485383', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485381', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485379', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485369', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485367', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485365', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485360', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485358', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485356', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485350', None, None, None, None, None, '4315807'), ('4302', '29943959', '1402485317', None, None, None, None, None, '4315807')] time used for this insertion : 0.023195981979370117 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.555028438568115 time spend to save output : 0.023623943328857422 total time spend for step 5 : 5.578652381896973 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 (4315807) 3.08user 2.43system 0:18.52elapsed 29%CPU (0avgtext+0avgdata 173652maxresident)k 1128inputs+25720outputs (0major+85227minor)pagefaults 0swaps