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 : 278804 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 (4279146) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4279146) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730301 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4279146'] with mtr_portfolio_ids : ['29730301'] and first list_photo_ids : [] new path : /proc/278804/ Name: python3 Umask: 0002 State: R (running) Tgid: 278804 Ngid: 0 Pid: 278804 PPid: 278803 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 278804 NSpid: 278804 NSpgid: 277364 NSsid: 277364 VmPeak: 1113364 kB VmSize: 1113364 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 106000 kB VmRSS: 106000 kB RssAnon: 66300 kB RssFile: 39700 kB RssShmem: 0 kB VmData: 872092 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 620 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 43 nonvoluntary_ctxt_switches: 94 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '278804', 'Ngid': '0', 'Pid': '278804', 'PPid': '278803', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '278804', 'NSpid': '278804', 'NSpgid': '277364', 'NSsid': '277364', 'VmPeak': '1113364 kB', 'VmSize': '1113364 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '106000 kB', 'VmRSS': '106000 kB', 'RssAnon': '66300 kB', 'RssFile': '39700 kB', 'RssShmem': '0 kB', 'VmData': '872092 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '620 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '43', 'nonvoluntary_ctxt_switches': '94'} ('datou_batch_current', '278804', '1113364', '0', '1113364', '872092', '106000', b'', 'marlene', '4279146') 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 (29730301) 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 (4279146 ) ) 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 (29730301) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1401174098, 'portfolio_id': 29730301}, {'photo_id': 1401174068, 'portfolio_id': 29730301}, {'photo_id': 1401174064, 'portfolio_id': 29730301}, {'photo_id': 1401174062, 'portfolio_id': 29730301}, {'photo_id': 1401174060, 'portfolio_id': 29730301}, {'photo_id': 1401174045, 'portfolio_id': 29730301}, {'photo_id': 1401174042, 'portfolio_id': 29730301}, {'photo_id': 1401174040, 'portfolio_id': 29730301}, {'photo_id': 1401174038, 'portfolio_id': 29730301}, {'photo_id': 1401174035, 'portfolio_id': 29730301}, {'photo_id': 1401174007, 'portfolio_id': 29730301}, {'photo_id': 1401174004, 'portfolio_id': 29730301}, {'photo_id': 1401174000, 'portfolio_id': 29730301}, {'photo_id': 1401173996, 'portfolio_id': 29730301}, {'photo_id': 1401173979, 'portfolio_id': 29730301}, {'photo_id': 1401173975, 'portfolio_id': 29730301}, {'photo_id': 1401173972, 'portfolio_id': 29730301}, {'photo_id': 1401173971, 'portfolio_id': 29730301}, {'photo_id': 1401173969, 'portfolio_id': 29730301}, {'photo_id': 1401173838, 'portfolio_id': 29730301}, {'photo_id': 1401173801, 'portfolio_id': 29730301}, {'photo_id': 1401173781, 'portfolio_id': 29730301}, {'photo_id': 1401173779, 'portfolio_id': 29730301}, {'photo_id': 1401173776, 'portfolio_id': 29730301}, {'photo_id': 1401173760, 'portfolio_id': 29730301}, {'photo_id': 1401173756, 'portfolio_id': 29730301}, {'photo_id': 1401173753, 'portfolio_id': 29730301}, {'photo_id': 1401173750, 'portfolio_id': 29730301}, {'photo_id': 1401173747, 'portfolio_id': 29730301}, {'photo_id': 1401173687, 'portfolio_id': 29730301}, {'photo_id': 1401173684, 'portfolio_id': 29730301}, {'photo_id': 1401173466, 'portfolio_id': 29730301}, {'photo_id': 1401171836, 'portfolio_id': 29730301}] map_portfolio_id_photo_id: {29730301: [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836]} ##### 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.017531871795654297 #### 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 Sat Dec 27 05:46:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29730301) 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 : 29730301 get user id for portfolio 29730301 get sub ptf for main ptf 29730301, type 3726 and hashtags ['kraft', 'papier', 'plastique', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun', 'Carton_gris', 'mal_croppe', 'cartonnette', 'metal', 'environnement', 'flou'] 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`=29730301 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','Carton_gris','mal_croppe','cartonnette','metal','environnement','flou')) 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`=29730301 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','Carton_gris','mal_croppe','cartonnette','metal','environnement','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29730301, 'sub_port_id': 29730302, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316401, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'plastique': {'main_port_id': 29730301, 'sub_port_id': 29730303, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316402, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'kraft': {'main_port_id': 29730301, 'sub_port_id': 29730304, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316403, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'metal': {'main_port_id': 29730301, 'sub_port_id': 29730305, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316404, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'papier': {'main_port_id': 29730301, 'sub_port_id': 29730306, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316405, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'autre_refus': {'main_port_id': 29730301, 'sub_port_id': 29730307, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316406, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'cartonnette': {'main_port_id': 29730301, 'sub_port_id': 29730308, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316407, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 29730301, 'sub_port_id': 29730309, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316408, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'environnement': {'main_port_id': 29730301, 'sub_port_id': 29730310, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316409, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'flou': {'main_port_id': 29730301, 'sub_port_id': 29730311, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316410, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'mal_croppe': {'main_port_id': 29730301, 'sub_port_id': 29730312, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316411, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}, 'Carton_brun': {'main_port_id': 29730301, 'sub_port_id': 29730313, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316412, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 6, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29730302 , 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=29730301 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 (29730302) result : ((1401174080,), (1401174809,), (1401174810,), (1401174811,), (1401175342,), (1401175343,), (1401175344,), (1401175808,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730303 , 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=29730301 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 (29730303) result : ((1401174018,), (1401174030,), (1401174032,), (1401174820,), (1401175347,), (1401175580,), (1401175811,), (1401175812,), (1401175813,), (1401175814,), (1401175873,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730304 , 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=29730301 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 (29730304) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730305 , 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=29730301 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 (29730305) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730306 , 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=29730301 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 (29730306) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730307 , 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=29730301 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 (29730307) result : ((1401174026,), (1401174027,), (1401175340,), (1401175341,), (1401175807,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730308 , 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=29730301 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 (29730308) result : ((1401174028,), (1401174029,), (1401174812,), (1401174813,), (1401174814,), (1401175345,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730309 , 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=29730301 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 (29730309) result : ((1401174013,), (1401174023,), (1401174025,), (1401174078,), (1401174288,), (1401174290,), (1401174806,), (1401175577,), (1401175805,), (1401175806,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730310 , 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=29730301 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 (29730310) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730311 , 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=29730301 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 (29730311) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730312 , 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=29730301 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 (29730312) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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 29730313 , 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=29730301 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 (29730313) result : ((1401174014,), (1401174015,), (1401174016,), (1401174816,), (1401174818,), (1401175346,), (1401175578,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29730301) result : ((1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,)) 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 (1401174000) 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`=29730301 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','Carton_gris','mal_croppe','cartonnette','metal','environnement','flou')) 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`=29730301 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','papier','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','Carton_gris','mal_croppe','cartonnette','metal','environnement','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_gris': {'main_port_id': 29730301, 'sub_port_id': 29730314, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316413, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'plastique': {'main_port_id': 29730301, 'sub_port_id': 29730315, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316414, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'kraft': {'main_port_id': 29730301, 'sub_port_id': 29730316, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316415, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'metal': {'main_port_id': 29730301, 'sub_port_id': 29730317, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316416, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'papier': {'main_port_id': 29730301, 'sub_port_id': 29730318, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316417, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'autre_refus': {'main_port_id': 29730301, 'sub_port_id': 29730319, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316418, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'cartonnette': {'main_port_id': 29730301, 'sub_port_id': 29730320, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316419, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 29730301, 'sub_port_id': 29730321, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316420, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'environnement': {'main_port_id': 29730301, 'sub_port_id': 29730322, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316421, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'flou': {'main_port_id': 29730301, 'sub_port_id': 29730323, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316422, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'mal_croppe': {'main_port_id': 29730301, 'sub_port_id': 29730324, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316423, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}, 'Carton_brun': {'main_port_id': 29730301, 'sub_port_id': 29730325, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20316424, 'last_updated_at': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_desc': datetime.datetime(2025, 12, 26, 21, 16, 57), 'last_updated_at_asc': datetime.datetime(2025, 12, 26, 21, 7, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730314,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730302 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730315,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730303 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730316,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730304 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730317,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730305 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730318,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730306 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730319,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730307 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730320,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730308 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730321,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730309 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730322,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730310 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730323,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730311 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730324,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730312 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29730325,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29730313 lien utilise dans velours : https://marlene.fotonower.com/velours/29730314,29730315,29730316,29730317,29730318,29730319,29730320,29730321,29730322,29730323,29730324,29730325?tags=Carton_gris,plastique,kraft,metal,papier,autre_refus,cartonnette,Teint_Dans_La_Masse,environnement,flou,mal_croppe,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29730301]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] map_info['map_portfolio_photo'] : {29730301: [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836]} final : False mtd_id 4302 list_pids : [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] Looping around the photos to save general results len do output : 1 /29730301. 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, '4279146') ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29730301', "{'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313}", None, None, None, None, '4279146'), ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146')] time used for this insertion : 0.019733667373657227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5572679042816162 time spend to save output : 0.020168542861938477 total time spend for step 1 : 0.5774364471435547 step2:final Sat Dec 27 05:46:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29730301) 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 29730301 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1401171836,1401173466,1401173687,1401173684,1401173760,1401173756,1401173753,1401173750,1401173747,1401173838,1401173801,1401173781,1401173779,1401173776,1401173979,1401173975,1401173972,1401173971,1401173969,1401174007,1401174004,1401174000,1401173996,1401174045,1401174042,1401174040,1401174038,1401174035,1401174068,1401174064,1401174062,1401174060,1401174098); 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([29730301]) Inside saveOutput : final : False verbose : True original output for save of step final : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} new output for save of step final : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] map_info['map_portfolio_photo'] : {29730301: [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836]} final : False mtd_id 4302 list_pids : [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] Looping around the photos to save general results len do output : 33 /1401174098.Didn't retrieve data . /1401174068.Didn't retrieve data . /1401174064.Didn't retrieve data . /1401174062.Didn't retrieve data . /1401174060.Didn't retrieve data . /1401174045.Didn't retrieve data . /1401174042.Didn't retrieve data . /1401174040.Didn't retrieve data . /1401174038.Didn't retrieve data . /1401174035.Didn't retrieve data . /1401174007.Didn't retrieve data . /1401174004.Didn't retrieve data . /1401174000.Didn't retrieve data . /1401173996.Didn't retrieve data . /1401173979.Didn't retrieve data . /1401173975.Didn't retrieve data . /1401173972.Didn't retrieve data . /1401173971.Didn't retrieve data . /1401173969.Didn't retrieve data . /1401173838.Didn't retrieve data . /1401173801.Didn't retrieve data . /1401173781.Didn't retrieve data . /1401173779.Didn't retrieve data . /1401173776.Didn't retrieve data . /1401173760.Didn't retrieve data . /1401173756.Didn't retrieve data . /1401173753.Didn't retrieve data . /1401173750.Didn't retrieve data . /1401173747.Didn't retrieve data . /1401173687.Didn't retrieve data . /1401173684.Didn't retrieve data . /1401173466.Didn't retrieve data . /1401171836.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, '4279146') ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '29730301', '1401174098', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174068', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174064', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174062', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174060', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174045', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174042', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174040', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174038', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174035', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174007', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174004', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401174000', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173996', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173979', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173975', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173972', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173971', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173969', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173838', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173801', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173781', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173779', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173776', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173760', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173756', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173753', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173750', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173747', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173687', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173684', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401173466', '0.036039471010163845', None, None, None, None, '4279146'), ('4302', '29730301', '1401171836', '0.036039471010163845', None, None, None, None, '4279146')] time used for this insertion : 0.01763916015625 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07895851135253906 time spend to save output : 0.018923044204711914 total time spend for step 2 : 0.09788155555725098 step3:velours_tree Sat Dec 27 05:46:56 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {29730301: [{'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313}]} input_args_next_step : {29730301: ()} output_args : {29730301: [{'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313}]} args : 29730301 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29730301) 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([29730301]) 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.2428452968597412 time spend to save output : 3.8623809814453125e-05 total time spend for step 3 : 0.24288392066955566 step4:send_mail_cod Sat Dec 27 05:46:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} input_args_next_step : {1401174098: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174098 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174068 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174064 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174062 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174060 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174045 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174042 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174040 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174038 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174035 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174007 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174004 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401174000 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173996 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173979 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173975 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173972 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173971 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173969 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173838 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173801 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173781 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173779 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173776 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173760 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173756 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173753 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173750 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173747 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173687 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173684 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401173466 depend.output_id : 0 input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ()} output_args : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',)} args : 1401171836 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 : {29730301: [{'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313}]} input_args_next_step : {1401174098: ('0.036039471010163845',), 1401174068: ('0.036039471010163845',), 1401174064: ('0.036039471010163845',), 1401174062: ('0.036039471010163845',), 1401174060: ('0.036039471010163845',), 1401174045: ('0.036039471010163845',), 1401174042: ('0.036039471010163845',), 1401174040: ('0.036039471010163845',), 1401174038: ('0.036039471010163845',), 1401174035: ('0.036039471010163845',), 1401174007: ('0.036039471010163845',), 1401174004: ('0.036039471010163845',), 1401174000: ('0.036039471010163845',), 1401173996: ('0.036039471010163845',), 1401173979: ('0.036039471010163845',), 1401173975: ('0.036039471010163845',), 1401173972: ('0.036039471010163845',), 1401173971: ('0.036039471010163845',), 1401173969: ('0.036039471010163845',), 1401173838: ('0.036039471010163845',), 1401173801: ('0.036039471010163845',), 1401173781: ('0.036039471010163845',), 1401173779: ('0.036039471010163845',), 1401173776: ('0.036039471010163845',), 1401173760: ('0.036039471010163845',), 1401173756: ('0.036039471010163845',), 1401173753: ('0.036039471010163845',), 1401173750: ('0.036039471010163845',), 1401173747: ('0.036039471010163845',), 1401173687: ('0.036039471010163845',), 1401173684: ('0.036039471010163845',), 1401173466: ('0.036039471010163845',), 1401171836: ('0.036039471010163845',), 29730301: ()} output_args : {29730301: [{'Carton_gris': 29730302, 'plastique': 29730303, 'kraft': 29730304, 'metal': 29730305, 'papier': 29730306, 'autre_refus': 29730307, 'cartonnette': 29730308, 'Teint_Dans_La_Masse': 29730309, 'environnement': 29730310, 'flou': 29730311, 'mal_croppe': 29730312, 'Carton_brun': 29730313}]} args : 29730301 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 :34, first value : ('0.036039471010163845',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29730301) 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 (1401174098,1401174068,1401174064,1401174062,1401174060,1401174045,1401174042,1401174040,1401174038,1401174035,1401174007,1401174004,1401174000,1401173996,1401173979,1401173975,1401173972,1401173971,1401173969,1401173838,1401173801,1401173781,1401173779,1401173776,1401173760,1401173756,1401173753,1401173750,1401173747,1401173687,1401173684,1401173466,1401171836) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1401171836 begin to download photo : 1401173756 begin to download photo : 1401173969 begin to download photo : 1401174004 begin to download photo : 1401174060 download finish for photo 1401173756 begin to download photo : 1401173760 download finish for photo 1401173969 begin to download photo : 1401173971 download finish for photo 1401174060 begin to download photo : 1401174062 download finish for photo 1401174004 begin to download photo : 1401174007 download finish for photo 1401171836 begin to download photo : 1401173466 download finish for photo 1401173760 begin to download photo : 1401173776 download finish for photo 1401173971 begin to download photo : 1401173972 download finish for photo 1401174062 begin to download photo : 1401174064 download finish for photo 1401173466 begin to download photo : 1401173684 download finish for photo 1401174007 begin to download photo : 1401174035 download finish for photo 1401173776 begin to download photo : 1401173779 download finish for photo 1401174064 begin to download photo : 1401174068 download finish for photo 1401173972 begin to download photo : 1401173975 download finish for photo 1401173684 begin to download photo : 1401173687 download finish for photo 1401174035 begin to download photo : 1401174038 download finish for photo 1401173779 begin to download photo : 1401173781 download finish for photo 1401173687 begin to download photo : 1401173747 download finish for photo 1401174038 begin to download photo : 1401174040 download finish for photo 1401174068 begin to download photo : 1401174098 download finish for photo 1401173975 begin to download photo : 1401173979 download finish for photo 1401173781 begin to download photo : 1401173801 download finish for photo 1401174040 begin to download photo : 1401174042 download finish for photo 1401174098 download finish for photo 1401173747 begin to download photo : 1401173750 download finish for photo 1401173979 begin to download photo : 1401173996 download finish for photo 1401173801 begin to download photo : 1401173838 download finish for photo 1401173750 begin to download photo : 1401173753 download finish for photo 1401174042 begin to download photo : 1401174045 download finish for photo 1401173996 begin to download photo : 1401174000 download finish for photo 1401173838 download finish for photo 1401173753 download finish for photo 1401174000 download finish for photo 1401174045 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P29730301_27-12-2025_05_46_58.pdf 29730303 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=29730303 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174018: '1766779985_2313604_1401173747_a88e0644931a26f4f9251017855a94aa_rle_crop_4082322299_0.png', 1401174030: '1766780006_2314070_1401173975_36c0821de4c6aaaf8fb1d7ac31dc6f63_rle_crop_4082322455_0.png', 1401174032: '1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322513_0.png', 1401174820: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324426_0.png', 1401175347: '1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325833_0.png', 1401175580: '1766780847_2356206_1401173684_f84a28e17d67bec46d62cdb3acdc00a9_rle_crop_4082326166_0.png', 1401175811: '1766780968_2361811_1401174068_3a68b1f3600708d084e1367ca93cd3ea_rle_crop_4082326367_0.png', 1401175812: '1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326385_0.png', 1401175813: '1766780968_2361811_1401174040_1e66d886b008fcc63f62e875430d7c46_rle_crop_4082326396_0.png', 1401175814: '1766780968_2361811_1401174035_0fee1a803112831ac4d0b47c073c7ea9_rle_crop_4082326417_0.png', 1401175873: '1766781084_2368179_1401173466_8e6aa7ec290bc5bb353d75677ff2f122_rle_crop_4082326653_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/94daf979dd10ecec1571f0a13f3adb34_93169350.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/0125a4ba63144d09ac3ba0d37d4a65e5_23905757.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/5c97d7caf8c7190cba49c59754fcf227_94708369.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/173861f41c312975a4701e948f07a867_91943515.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/e079f097aae1ced129fd5fdbd8fbe7c0_13133429.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/b1003a065e5f922708182bf69f148948_3160571.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/81f71bad006f49b8bc6505f458ad4a0c_57875941.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/3a0d5490bc8c1642e7885c343a5750c5_72244466.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/c8d39f6b25a1e40f70ec86088fb666c5_28615867.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/a8f20b396f03fdc74edc0293bb05f9ad_63058535.png change filename to text .imagette297303031766810818/ imagette297303031766810818/1766780968_2361811_1401174068_3a68b1f3600708d084e1367ca93cd3ea_rle_crop_4082326367_0.png.png imagette297303031766810818/1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325833_0.png.png imagette297303031766810818/1766780847_2356206_1401173684_f84a28e17d67bec46d62cdb3acdc00a9_rle_crop_4082326166_0.png.png imagette297303031766810818/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324426_0.png.png imagette297303031766810818/1766780968_2361811_1401174035_0fee1a803112831ac4d0b47c073c7ea9_rle_crop_4082326417_0.png.png imagette297303031766810818/1766780968_2361811_1401174040_1e66d886b008fcc63f62e875430d7c46_rle_crop_4082326396_0.png.png imagette297303031766810818/1766780006_2314070_1401173975_36c0821de4c6aaaf8fb1d7ac31dc6f63_rle_crop_4082322455_0.png.png imagette297303031766810818/1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322513_0.png.png imagette297303031766810818/1766779985_2313604_1401173747_a88e0644931a26f4f9251017855a94aa_rle_crop_4082322299_0.png.png imagette297303031766810818/1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326385_0.png.png imagette297303031766810818/1766781084_2368179_1401173466_8e6aa7ec290bc5bb353d75677ff2f122_rle_crop_4082326653_0.png.png imagette297303041766810819/ imagette297303051766810819/ wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/0ef427b434936230a1f1d5d479b8ede7_44575642.png imagette297303031766810818 29730304 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=29730304 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297303041766810819 29730305 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=29730305 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297303051766810819 29730307 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=29730307 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174026: '1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322507_0.png', 1401174027: '1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322508_0.png', 1401175340: '1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325798_0.png', 1401175341: '1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325803_0.png', 1401175807: '1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326378_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/00fa7f0187348face9aa128324992f60_13365948.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/3ad152b53579521defac6174c8ce6905_86431465.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/7e74fe2cad75d530eb21333dc5997fb4_56396137.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/aedd8fae1185ea00cd30692c97b04825_26972496.png change filename to text .imagette297303071766810819/ imagette297303071766810819/1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322508_0.png.png imagette297303071766810819/1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326378_0.png.png imagette297303071766810819/1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325798_0.png.png imagette297303071766810819/1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322507_0.png.png imagette297303071766810819/1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325803_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/286527c734964adbeaa487039aeed7c8_94144033.png imagette297303071766810819 29730308 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=29730308 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174028: '1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322504_0.png', 1401174029: '1766780006_2314070_1401173971_972558c716b89776364b1383fdc1760d_rle_crop_4082322519_0.png', 1401174812: '1766780347_2332251_1401174064_ab4d4dc8bc957a2c254fee56f590cdd4_rle_crop_4082324381_0.png', 1401174813: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324416_0.png', 1401174814: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324422_0.png', 1401175345: '1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325831_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/e910585ad724b7851d89ecab3ee9c693_54359475.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/761ea9370a68f615afcbd8b62df23ebb_14783238.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/34b77bf0d39b430737ef72d06ccdb425_47647054.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/8bfcff0bc2aeb391601ea90bf63aa115_3962570.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/6653602751154d68af060f4b3b1acfa4_55084739.png change filename to text .imagette297303081766810819/ imagette297303081766810819/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324422_0.png.png imagette297303081766810819/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324416_0.png.png imagette297303081766810819/1766780006_2314070_1401173971_972558c716b89776364b1383fdc1760d_rle_crop_4082322519_0.png.png imagette297303081766810819/1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325831_0.png.png imagette297303081766810819/1766780006_2314070_1401173972_2a85b98e624f04122b26d4d82f5a54b6_rle_crop_4082322504_0.png.png imagette297303081766810819/1766780347_2332251_1401174064_ab4d4dc8bc957a2c254fee56f590cdd4_rle_crop_4082324381_0.png.png imagette297303111766810820/ imagette297303121766810820/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/7c82ca6c1d8a43e55d4096ab5434fc2b_79184070.png imagette297303081766810819 29730311 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=29730311 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297303111766810820 29730312 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=29730312 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette297303121766810820 29730302 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=29730302 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174080: '1766780106_2318895_1401174000_48ce17ec372f41ba16088e21ccf0744d_rle_crop_4082323429_0.png', 1401174809: '1766780347_2332251_1401174064_ab4d4dc8bc957a2c254fee56f590cdd4_rle_crop_4082324376_0.png', 1401174810: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324425_0.png', 1401174811: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324415_0.png', 1401175342: '1766780727_2350018_1401173979_f888b9da019cc9c0cb9b6c5482cb8b5e_rle_crop_4082325773_0.png', 1401175343: '1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325797_0.png', 1401175344: '1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325826_0.png', 1401175808: '1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326380_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/b173f8ad5a38eed6c7eba22b10fe62a9_29138769.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/90a976f9f7aa5989a2fb3788e4f823bd_4422651.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/07d5dc7d9d2c46b08a6422460f056e40_21876673.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/2d8668d38dbff0c3d4c0a3e2f4f5e32c_66462872.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/a4f77492d1e30184c57334c9df5b9a48_60616369.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/67941643ece1fbf0b4f2e8dc1bf4f971_94240995.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/894fa8a9d0ad4e29d9527a76194644b8_50063547.png change filename to text .imagette297303021766810820/ imagette297303021766810820/1766780106_2318895_1401174000_48ce17ec372f41ba16088e21ccf0744d_rle_crop_4082323429_0.png.png imagette297303021766810820/1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325797_0.png.png imagette297303021766810820/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324415_0.png.png imagette297303021766810820/1766780727_2350018_1401173776_90bd3ccd30ce666eb109f9b28aa5b107_rle_crop_4082325826_0.png.png imagette297303021766810820/1766780347_2332251_1401174064_ab4d4dc8bc957a2c254fee56f590cdd4_rle_crop_4082324376_0.png.png imagette297303021766810820/1766780727_2350018_1401173979_f888b9da019cc9c0cb9b6c5482cb8b5e_rle_crop_4082325773_0.png.png imagette297303021766810820/1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326380_0.png.png imagette297303021766810820/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324425_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/66e3ce7b6a7a62e28b89566aedde5159_9511556.png imagette297303021766810820 29730309 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=29730309 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174013: '1766779985_2313604_1401173747_a88e0644931a26f4f9251017855a94aa_rle_crop_4082322302_0.png', 1401174023: '1766780006_2314070_1401173971_972558c716b89776364b1383fdc1760d_rle_crop_4082322524_0.png', 1401174025: '1766780006_2314070_1401173969_74c00eb2e274d597818214e05e6c807b_rle_crop_4082322531_0.png', 1401174078: '1766780106_2318895_1401174000_48ce17ec372f41ba16088e21ccf0744d_rle_crop_4082323434_0.png', 1401174288: '1766780226_2326038_1401173838_79fb6bc7c36860e17d68afeec6836d97_rle_crop_4082324159_0.png', 1401174290: '1766780226_2326038_1401173838_79fb6bc7c36860e17d68afeec6836d97_rle_crop_4082324163_0.png', 1401174806: '1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324421_0.png', 1401175577: '1766780847_2356206_1401173760_f1930fc8f4b58f70c11b8d29bba99122_rle_crop_4082326160_0.png', 1401175805: '1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326386_0.png', 1401175806: '1766780968_2361811_1401174040_1e66d886b008fcc63f62e875430d7c46_rle_crop_4082326391_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/c795d2b2e7ecae5cc22ddf89e393bf61_86306851.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/c865b7fc78371bd8c27c92e31242c32c_41647236.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/168db87d28101364068d2fa315f59ddd_82077398.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/9c83042b03ef6e5ce025f82d1698344b_74586914.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/0e907492649c67f9b123af54feef4703_64793312.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/2a3ee861ff3c6c0820b55da7711d8046_41258230.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/52bc9d557ba2d1547e4c89621cd81890_78800043.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/76b2e42c23ab6fae7526b0a3a9bc5f4a_39072282.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/485cdcb23d36f84fff72b694e06ac003_24649048.png change filename to text .imagette297303091766810821/ imagette297303091766810821/1766780847_2356206_1401173760_f1930fc8f4b58f70c11b8d29bba99122_rle_crop_4082326160_0.png.png imagette297303091766810821/1766780006_2314070_1401173971_972558c716b89776364b1383fdc1760d_rle_crop_4082322524_0.png.png imagette297303091766810821/1766780226_2326038_1401173838_79fb6bc7c36860e17d68afeec6836d97_rle_crop_4082324159_0.png.png imagette297303091766810821/1766780226_2326038_1401173838_79fb6bc7c36860e17d68afeec6836d97_rle_crop_4082324163_0.png.png imagette297303091766810821/1766780347_2332251_1401174062_47531e55bdf41d2bd6bca0c3dff321d7_rle_crop_4082324421_0.png.png imagette297303091766810821/1766780968_2361811_1401174040_1e66d886b008fcc63f62e875430d7c46_rle_crop_4082326391_0.png.png imagette297303091766810821/1766780968_2361811_1401174042_a9e3cc705a8bf0e2251a79abc3c37422_rle_crop_4082326386_0.png.png imagette297303091766810821/1766780106_2318895_1401174000_48ce17ec372f41ba16088e21ccf0744d_rle_crop_4082323434_0.png.png imagette297303091766810821/1766780006_2314070_1401173969_74c00eb2e274d597818214e05e6c807b_rle_crop_4082322531_0.png.png imagette297303091766810821/1766779985_2313604_1401173747_a88e0644931a26f4f9251017855a94aa_rle_crop_4082322302_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/7bbe63f941246db1d930f6ffb34b8424_52344833.png imagette297303091766810821 29730313 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=29730313 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1401174014: '1766779985_2313604_1401173756_5f1a2fe7152510377d5235ff82883ed7_rle_crop_4082322266_0.png', 1401174015: '1766779985_2313604_1401173756_5f1a2fe7152510377d5235ff82883ed7_rle_crop_4082322264_0.png', 1401174016: '1766779985_2313604_1401173750_afe101f99d7df4c71d68fe0e23ad7348_rle_crop_4082322285_0.png', 1401174816: '1766780347_2332251_1401174060_b3aada07342d105771ce8be319d69944_rle_crop_4082324434_0.png', 1401174818: '1766780347_2332251_1401174060_b3aada07342d105771ce8be319d69944_rle_crop_4082324436_0.png', 1401175346: '1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325802_0.png', 1401175578: '1766780847_2356206_1401173760_f1930fc8f4b58f70c11b8d29bba99122_rle_crop_4082326158_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/c695024a0af7df85f1a14bf00b544d50_7188843.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/20a3a8a1c793efc8a15ab5b8c7ad77af_24138107.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/52a40ebbf52857e44302a7f41ef4dde8_1466651.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/274174946d5d25d94e6005ca2bfd7592_38433461.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/9c6097404cf7666cc6b45e86c417b9d3_7049438.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/922b50b76ddab05af2d85850b5f0bf27_68074225.png change filename to text .imagette297303131766810822/ imagette297303131766810822/1766779985_2313604_1401173756_5f1a2fe7152510377d5235ff82883ed7_rle_crop_4082322264_0.png.png imagette297303131766810822/1766780347_2332251_1401174060_b3aada07342d105771ce8be319d69944_rle_crop_4082324434_0.png.png imagette297303131766810822/1766779985_2313604_1401173756_5f1a2fe7152510377d5235ff82883ed7_rle_crop_4082322266_0.png.png imagette297303131766810822/1766779985_2313604_1401173750_afe101f99d7df4c71d68fe0e23ad7348_rle_crop_4082322285_0.png.png imagette297303131766810822/1766780847_2356206_1401173760_f1930fc8f4b58f70c11b8d29bba99122_rle_crop_4082326158_0.png.png imagette297303131766810822/1766780727_2350018_1401173781_b614863daaab8dd517f7a9dc23c02ed6_rle_crop_4082325802_0.png.png imagette297303131766810822/1766780347_2332251_1401174060_b3aada07342d105771ce8be319d69944_rle_crop_4082324436_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/89bba2980eb13dd2e417834b5e21556e_87155255.png imagette297303131766810822 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29730301 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29730314,29730315,29730316,29730317,29730318,29730319,29730320,29730321,29730322,29730323,29730324,29730325?tags=Carton_gris,plastique,kraft,metal,papier,autre_refus,cartonnette,Teint_Dans_La_Masse,environnement,flou,mal_croppe,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1401174098] : ('0.036039471010163845',) no score found for photo 1401174098 We are sending mail with results at report@fotonower.com args[1401174068] : ('0.036039471010163845',) no score found for photo 1401174068 We are sending mail with results at report@fotonower.com args[1401174064] : ('0.036039471010163845',) no score found for photo 1401174064 We are sending mail with results at report@fotonower.com args[1401174062] : ('0.036039471010163845',) no score found for photo 1401174062 We are sending mail with results at report@fotonower.com args[1401174060] : ('0.036039471010163845',) no score found for photo 1401174060 We are sending mail with results at report@fotonower.com args[1401174045] : ('0.036039471010163845',) no score found for photo 1401174045 We are sending mail with results at report@fotonower.com args[1401174042] : ('0.036039471010163845',) no score found for photo 1401174042 We are sending mail with results at report@fotonower.com args[1401174040] : ('0.036039471010163845',) no score found for photo 1401174040 We are sending mail with results at report@fotonower.com args[1401174038] : ('0.036039471010163845',) no score found for photo 1401174038 We are sending mail with results at report@fotonower.com args[1401174035] : ('0.036039471010163845',) no score found for photo 1401174035 We are sending mail with results at report@fotonower.com args[1401174007] : ('0.036039471010163845',) no score found for photo 1401174007 We are sending mail with results at report@fotonower.com args[1401174004] : ('0.036039471010163845',) no score found for photo 1401174004 We are sending mail with results at report@fotonower.com args[1401174000] : ('0.036039471010163845',) no score found for photo 1401174000 We are sending mail with results at report@fotonower.com args[1401173996] : ('0.036039471010163845',) no score found for photo 1401173996 We are sending mail with results at report@fotonower.com args[1401173979] : ('0.036039471010163845',) no score found for photo 1401173979 We are sending mail with results at report@fotonower.com args[1401173975] : ('0.036039471010163845',) no score found for photo 1401173975 We are sending mail with results at report@fotonower.com args[1401173972] : ('0.036039471010163845',) no score found for photo 1401173972 We are sending mail with results at report@fotonower.com args[1401173971] : ('0.036039471010163845',) no score found for photo 1401173971 We are sending mail with results at report@fotonower.com args[1401173969] : ('0.036039471010163845',) no score found for photo 1401173969 We are sending mail with results at report@fotonower.com args[1401173838] : ('0.036039471010163845',) no score found for photo 1401173838 We are sending mail with results at report@fotonower.com args[1401173801] : ('0.036039471010163845',) no score found for photo 1401173801 We are sending mail with results at report@fotonower.com args[1401173781] : ('0.036039471010163845',) no score found for photo 1401173781 We are sending mail with results at report@fotonower.com args[1401173779] : ('0.036039471010163845',) no score found for photo 1401173779 We are sending mail with results at report@fotonower.com args[1401173776] : ('0.036039471010163845',) no score found for photo 1401173776 We are sending mail with results at report@fotonower.com args[1401173760] : ('0.036039471010163845',) no score found for photo 1401173760 We are sending mail with results at report@fotonower.com args[1401173756] : ('0.036039471010163845',) no score found for photo 1401173756 We are sending mail with results at report@fotonower.com args[1401173753] : ('0.036039471010163845',) no score found for photo 1401173753 We are sending mail with results at report@fotonower.com args[1401173750] : ('0.036039471010163845',) no score found for photo 1401173750 We are sending mail with results at report@fotonower.com args[1401173747] : ('0.036039471010163845',) no score found for photo 1401173747 We are sending mail with results at report@fotonower.com args[1401173687] : ('0.036039471010163845',) no score found for photo 1401173687 We are sending mail with results at report@fotonower.com args[1401173684] : ('0.036039471010163845',) no score found for photo 1401173684 We are sending mail with results at report@fotonower.com args[1401173466] : ('0.036039471010163845',) no score found for photo 1401173466 We are sending mail with results at report@fotonower.com args[1401171836] : ('0.036039471010163845',) no score found for photo 1401171836 We are sending mail with results at report@fotonower.com refus_total : 0.036039471010163845 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=29730301 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_P29730301_27-12-2025_05_46_58.pdf results_Auto_P29730301_27-12-2025_05_46_58.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730301_27-12-2025_05_46_58.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','29730301','results_Auto_P29730301_27-12-2025_05_46_58.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730301_27-12-2025_05_46_58.pdf','pdf','','0.37','0.036039471010163845') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29730301]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] map_info['map_portfolio_photo'] : {29730301: [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836]} final : False mtd_id 4302 list_pids : [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] 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, '4279146') ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '29730301', '1401174098', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146')] time used for this insertion : 0.019690752029418945 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.645296335220337 time spend to save output : 0.0200502872467041 total time spend for step 4 : 7.665346622467041 step5:split_time_score Sat Dec 27 05:47:04 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['29730301'] 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 : [('29730301',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29730301) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1401174060: {'path': 'temp/1766810817_278804_1401174060_b3aada07342d105771ce8be319d69944.jpg', 'extension': 'jpg'}, 1401174062: {'path': 'temp/1766810817_278804_1401174062_47531e55bdf41d2bd6bca0c3dff321d7.jpg', 'extension': 'jpg'}, 1401174064: {'path': 'temp/1766810817_278804_1401174064_ab4d4dc8bc957a2c254fee56f590cdd4.jpg', 'extension': 'jpg'}, 1401174068: {'path': 'temp/1766810817_278804_1401174068_3a68b1f3600708d084e1367ca93cd3ea.jpg', 'extension': 'jpg'}, 1401174098: {'path': 'temp/1766810817_278804_1401174098_f6bc31cde20307e0d33ba9c2fa17d201.jpg', 'extension': 'jpg'}, 1401173756: {'path': 'temp/1766810817_278804_1401173756_5f1a2fe7152510377d5235ff82883ed7.jpg', 'extension': 'jpg'}, 1401173760: {'path': 'temp/1766810817_278804_1401173760_f1930fc8f4b58f70c11b8d29bba99122.jpg', 'extension': 'jpg'}, 1401173776: {'path': 'temp/1766810817_278804_1401173776_90bd3ccd30ce666eb109f9b28aa5b107.jpg', 'extension': 'jpg'}, 1401173779: {'path': 'temp/1766810817_278804_1401173779_49565123805e2d804842e3da8cb45101.jpg', 'extension': 'jpg'}, 1401173781: {'path': 'temp/1766810817_278804_1401173781_b614863daaab8dd517f7a9dc23c02ed6.jpg', 'extension': 'jpg'}, 1401173801: {'path': 'temp/1766810817_278804_1401173801_dcc3254115caab6923c359416f15654d.jpg', 'extension': 'jpg'}, 1401173838: {'path': 'temp/1766810817_278804_1401173838_79fb6bc7c36860e17d68afeec6836d97.jpg', 'extension': 'jpg'}, 1401171836: {'path': 'temp/1766810817_278804_1401171836_da7e9523a313cf8aa3922f7c4bbf993d.jpg', 'extension': 'jpg'}, 1401173466: {'path': 'temp/1766810817_278804_1401173466_8e6aa7ec290bc5bb353d75677ff2f122.jpg', 'extension': 'jpg'}, 1401173684: {'path': 'temp/1766810817_278804_1401173684_f84a28e17d67bec46d62cdb3acdc00a9.jpg', 'extension': 'jpg'}, 1401173687: {'path': 'temp/1766810817_278804_1401173687_67d1fce6831e0fabcfce2d1859973dc3.jpg', 'extension': 'jpg'}, 1401173747: {'path': 'temp/1766810817_278804_1401173747_a88e0644931a26f4f9251017855a94aa.jpg', 'extension': 'jpg'}, 1401173750: {'path': 'temp/1766810817_278804_1401173750_afe101f99d7df4c71d68fe0e23ad7348.jpg', 'extension': 'jpg'}, 1401173753: {'path': 'temp/1766810817_278804_1401173753_2c61887ba59b4089605e594fa9be2e34.jpg', 'extension': 'jpg'}, 1401173969: {'path': 'temp/1766810817_278804_1401173969_74c00eb2e274d597818214e05e6c807b.jpg', 'extension': 'jpg'}, 1401173971: {'path': 'temp/1766810817_278804_1401173971_972558c716b89776364b1383fdc1760d.jpg', 'extension': 'jpg'}, 1401173972: {'path': 'temp/1766810817_278804_1401173972_2a85b98e624f04122b26d4d82f5a54b6.jpg', 'extension': 'jpg'}, 1401173975: {'path': 'temp/1766810817_278804_1401173975_36c0821de4c6aaaf8fb1d7ac31dc6f63.jpg', 'extension': 'jpg'}, 1401173979: {'path': 'temp/1766810817_278804_1401173979_f888b9da019cc9c0cb9b6c5482cb8b5e.jpg', 'extension': 'jpg'}, 1401173996: {'path': 'temp/1766810817_278804_1401173996_f7b61f0c956f164d1f281e586bbece21.jpg', 'extension': 'jpg'}, 1401174000: {'path': 'temp/1766810817_278804_1401174000_48ce17ec372f41ba16088e21ccf0744d.jpg', 'extension': 'jpg'}, 1401174004: {'path': 'temp/1766810817_278804_1401174004_8d349de61d1b1567970b8521634068c4.jpg', 'extension': 'jpg'}, 1401174007: {'path': 'temp/1766810817_278804_1401174007_aa6bd112baaeee5de63faec07e4f7ad5.jpg', 'extension': 'jpg'}, 1401174035: {'path': 'temp/1766810817_278804_1401174035_0fee1a803112831ac4d0b47c073c7ea9.jpg', 'extension': 'jpg'}, 1401174038: {'path': 'temp/1766810817_278804_1401174038_62d543d9aff2d93ef95e24238b8612e2.jpg', 'extension': 'jpg'}, 1401174040: {'path': 'temp/1766810817_278804_1401174040_1e66d886b008fcc63f62e875430d7c46.jpg', 'extension': 'jpg'}, 1401174042: {'path': 'temp/1766810817_278804_1401174042_a9e3cc705a8bf0e2251a79abc3c37422.jpg', 'extension': 'jpg'}, 1401174045: {'path': 'temp/1766810817_278804_1401174045_f25ccbdcb9f6ea6f8a5a7945997157c5.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 = 29730301; (('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 = 29730301 group by h (('21', 33),) 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=29730301 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 (29730301) 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 (29730301) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26122025 29730301 Nombre de photos uploadées : 33 / 23040 (0%) 26122025 29730301 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 26122025 29730301 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1401171836, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/da7e9523a313cf8aa3922f7c4bbf993d.jpg', 'username': None, 'uploaded_at': 1766779272, 'text': 'image_26122025_21_00_55_10138.jpg'}, {'photo_id': 1401173466, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/8e6aa7ec290bc5bb353d75677ff2f122.jpg', 'username': None, 'uploaded_at': 1766779567, 'text': 'image_26122025_21_05_34_10135.jpg'}, {'photo_id': 1401173687, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/67d1fce6831e0fabcfce2d1859973dc3.jpg', 'username': None, 'uploaded_at': 1766779748, 'text': 'image_26122025_21_05_45_10132.jpg'}, {'photo_id': 1401173684, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/26/f84a28e17d67bec46d62cdb3acdc00a9.jpg', 'username': None, 'uploaded_at': 1766779748, 'text': 'image_26122025_21_08_44_010139m0.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 4.76837158203125e-06 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015177726745605469 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29730301, '2025-12-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2793482,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.23770880699157715 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= 2793482 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29708292, 'dashboard_result_id': 18768273, '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_P29708292_27-12-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29708303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708305, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29708428, 'dashboard_result_id': 18768274, '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_P29708428_27-12-2025_05_34_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708441, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29708511, 'dashboard_result_id': 18768275, '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_P29708511_27-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708523, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29710295, 'dashboard_result_id': 18768276, '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_P29710295_27-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29710302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710307, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29710780, 'dashboard_result_id': 18768277, '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_P29710780_27-12-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29710782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710793, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29711649, 'dashboard_result_id': 18768278, '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_P29711649_27-12-2025_05_35_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29711651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29711652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29711653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29711654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29711655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29711656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29711657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29711658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29711659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29711660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29711661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29711662, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29712120, 'dashboard_result_id': 18768279, '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_P29712120_27-12-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712134, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29712797, 'dashboard_result_id': 18768280, '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_P29712797_27-12-2025_05_36_16.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712811, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29713131, 'dashboard_result_id': 18768281, '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_P29713131_27-12-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29713136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29713137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29713138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29713139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29713140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29713141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29713142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29713143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29713144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29713145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29713146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29713147, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29714009, 'dashboard_result_id': 18768282, '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_P29714009_27-12-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29714046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714047, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29714661, 'dashboard_result_id': 18768283, '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_P29714661_27-12-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29714666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714677, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29715147, 'dashboard_result_id': 18768284, '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_P29715147_27-12-2025_05_37_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29715162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715173, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29715748, 'dashboard_result_id': 18768285, '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_P29715748_27-12-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29715758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715765, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29716110, 'dashboard_result_id': 18768286, '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_P29716110_27-12-2025_05_38_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29716181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29716182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29716183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29716184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29716185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29716186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29716187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29716188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29716189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29716190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29716191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29716192, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29717360, 'dashboard_result_id': 18768287, '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_P29717360_27-12-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717374, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29717669, 'dashboard_result_id': 18768288, '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_P29717669_27-12-2025_05_39_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717696, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29718181, 'dashboard_result_id': 18768289, '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_P29718181_27-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29718187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718198, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29718620, 'dashboard_result_id': 18768290, '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_P29718620_27-12-2025_05_40_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29718640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718643, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29719078, 'dashboard_result_id': 18768291, '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_P29719078_27-12-2025_05_40_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719098, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29719453, 'dashboard_result_id': 18768292, '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_P29719453_27-12-2025_05_40_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719475, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29720080, 'dashboard_result_id': 18768293, '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_P29720080_27-12-2025_05_41_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29720105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720109, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29720547, 'dashboard_result_id': 18768294, '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_P29720547_27-12-2025_05_41_16.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29720588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720600, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29721051, 'dashboard_result_id': 18768295, '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_P29721051_27-12-2025_05_41_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29721058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721070, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29721679, 'dashboard_result_id': 18768296, '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_P29721679_27-12-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721694, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29722140, 'dashboard_result_id': 18768297, '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_P29722140_27-12-2025_05_42_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722159, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29722574, 'dashboard_result_id': 18768298, '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_P29722574_27-12-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722619, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29723156, 'dashboard_result_id': 18768299, '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_P29723156_27-12-2025_05_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723191, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29723508, 'dashboard_result_id': 18768300, '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_P29723508_27-12-2025_05_43_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723571, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29724257, 'dashboard_result_id': 18768301, '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_P29724257_27-12-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29724283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29724284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29724285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29724286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29724287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29724288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29724289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29724290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29724291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29724292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29724293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29724294, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29725008, 'dashboard_result_id': 18768302, '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_P29725008_27-12-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29725041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725046, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29725588, 'dashboard_result_id': 18768303, '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_P29725588_27-12-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29725595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725606, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29726011, 'dashboard_result_id': 18768304, '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_P29726011_27-12-2025_05_45_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726040, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29726422, 'dashboard_result_id': 18768305, '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_P29726422_27-12-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726458, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29727006, 'dashboard_result_id': 18768306, '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_P29727006_27-12-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727061, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29727528, 'dashboard_result_id': 18768307, '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_P29727528_27-12-2025_05_45_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727572, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29728095, 'dashboard_result_id': 18768308, '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_P29728095_27-12-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728126, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29728696, 'dashboard_result_id': 18768309, '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_P29728696_27-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728733, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29729084, 'dashboard_result_id': 18768310, '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_P29729084_27-12-2025_05_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29729092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29729093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29729094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29729095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29729096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29729097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29729098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29729099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29729100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29729101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29729102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29729103, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29730301, 'dashboard_result_id': 18768311, '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_P29730301_26-12-2025_21_16_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730313, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29730500, 'dashboard_result_id': 18768312, '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_P29730500_26-12-2025_21_33_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730518, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29730985, 'dashboard_result_id': 18768313, '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_P29730985_26-12-2025_21_49_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29730994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731005, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29731388, 'dashboard_result_id': 18768314, '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_P29731388_26-12-2025_22_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731401, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29731677, 'dashboard_result_id': 18768315, '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_P29731677_26-12-2025_22_21_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731701, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29732150, 'dashboard_result_id': 18768316, '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_P29732150_26-12-2025_22_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732166, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29732608, 'dashboard_result_id': 18768317, '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_P29732608_26-12-2025_22_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29732610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732621, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29732817, 'dashboard_result_id': 18768318, '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_P29732817_26-12-2025_23_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732833, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29733216, 'dashboard_result_id': 18768319, '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_P29733216_26-12-2025_23_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733234, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29733624, 'dashboard_result_id': 18768320, '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_P29733624_26-12-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733642, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29734072, 'dashboard_result_id': 18768321, '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_P29734072_26-12-2025_23_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29734097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734108, 'pht': 3726}}"}, {'dashboat_entry_day': 2793482, 'dashboard_run_id': 2807104, 'mtr_portfolio_id': 29734503, 'dashboard_result_id': 18768322, '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_P29734503_27-12-2025_00_51_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29734531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734539, '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 = 29708292 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': 4279108, 'mtr_portfolio_id': 29708292, 'created_at': datetime.datetime(2025, 12, 27, 5, 34, 29), 'result': '0.06247424356177631', 'result_long': None, 'result_double': None}] Qualite : 0.06247424356177631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29708292 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708292_27-12-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29708292 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_P29708292_27-12-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29708303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708305, 'pht': 3726}}" where mtr_portfolio_id = 29708292 and dashboard_run_id = 2807104 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`=29708292 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768273, 0.06247424356177631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708292_27-12-2025_05_34_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708294, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708295, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708296, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708298, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708300, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708302, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29708303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708305, '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 = 29708428 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': 4279109, 'mtr_portfolio_id': 29708428, 'created_at': datetime.datetime(2025, 12, 27, 5, 34, 34), 'result': '0.06062259673694236', 'result_long': None, 'result_double': None}] Qualite : 0.06062259673694236 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29708428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708428_27-12-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29708428 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_P29708428_27-12-2025_05_34_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708441, 'pht': 3726}}" where mtr_portfolio_id = 29708428 and dashboard_run_id = 2807104 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`=29708428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768274, 0.06062259673694236, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708428_27-12-2025_05_34_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708430, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708433, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708434, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708435, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708439, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708441, '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 = 29708511 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': 4279110, 'mtr_portfolio_id': 29708511, 'created_at': datetime.datetime(2025, 12, 27, 5, 34, 58), 'result': '0.0479579700716024', 'result_long': None, 'result_double': None}] Qualite : 0.0479579700716024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29708511 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708511_27-12-2025_05_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29708511 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_P29708511_27-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708523, 'pht': 3726}}" where mtr_portfolio_id = 29708511 and dashboard_run_id = 2807104 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`=29708511 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768275, 0.0479579700716024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29708511_27-12-2025_05_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29708512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29708513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29708514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29708515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29708516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29708517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29708518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29708519, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29708520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29708521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29708522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29708523, '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 = 29710295 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': 4279111, 'mtr_portfolio_id': 29710295, 'created_at': datetime.datetime(2025, 12, 27, 5, 35, 29), 'result': '0.06301903955163628', 'result_long': None, 'result_double': None}] Qualite : 0.06301903955163628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29710295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29710295_27-12-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29710295 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_P29710295_27-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29710302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710307, 'pht': 3726}}" where mtr_portfolio_id = 29710295 and dashboard_run_id = 2807104 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`=29710295 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768276, 0.06301903955163628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29710295_27-12-2025_05_35_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710296, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710297, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710299, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710300, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710301, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29710302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710303, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710304, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710305, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710307, '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 = 29710780 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': 4279112, 'mtr_portfolio_id': 29710780, 'created_at': datetime.datetime(2025, 12, 27, 5, 35, 32), 'result': '0.07067189556744051', 'result_long': None, 'result_double': None}] Qualite : 0.07067189556744051 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29710780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29710780_27-12-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29710780 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_P29710780_27-12-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29710782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710793, 'pht': 3726}}" where mtr_portfolio_id = 29710780 and dashboard_run_id = 2807104 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`=29710780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768277, 0.07067189556744051, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29710780_27-12-2025_05_35_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29710782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29710783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29710784, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29710785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29710786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29710787, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29710788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29710789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29710790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29710791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29710792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29710793, '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 = 29711649 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': 4279113, 'mtr_portfolio_id': 29711649, 'created_at': datetime.datetime(2025, 12, 27, 5, 35, 42), 'result': '0.06899440714326692', 'result_long': None, 'result_double': None}] Qualite : 0.06899440714326692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29711649 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29711649_27-12-2025_05_35_44.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29711649 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_P29711649_27-12-2025_05_35_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29711651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29711652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29711653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29711654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29711655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29711656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29711657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29711658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29711659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29711660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29711661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29711662, 'pht': 3726}}" where mtr_portfolio_id = 29711649 and dashboard_run_id = 2807104 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`=29711649 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768278, 0.06899440714326692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29711649_27-12-2025_05_35_44.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29711651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29711652, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29711653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29711654, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29711655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29711656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29711657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29711658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29711659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29711660, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29711661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29711662, '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 = 29712120 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': 4279114, 'mtr_portfolio_id': 29712120, 'created_at': datetime.datetime(2025, 12, 27, 5, 35, 58), 'result': '0.0583258295177176', 'result_long': None, 'result_double': None}] Qualite : 0.0583258295177176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29712120 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29712120_27-12-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29712120 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_P29712120_27-12-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712134, 'pht': 3726}}" where mtr_portfolio_id = 29712120 and dashboard_run_id = 2807104 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`=29712120 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768279, 0.0583258295177176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29712120_27-12-2025_05_36_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712125, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712127, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712128, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712129, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712131, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712132, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712134, '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 = 29712797 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': 4279115, 'mtr_portfolio_id': 29712797, 'created_at': datetime.datetime(2025, 12, 27, 5, 36, 13), 'result': '0.04989596588983011', 'result_long': None, 'result_double': None}] Qualite : 0.04989596588983011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29712797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29712797_27-12-2025_05_36_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29712797 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_P29712797_27-12-2025_05_36_16.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712811, 'pht': 3726}}" where mtr_portfolio_id = 29712797 and dashboard_run_id = 2807104 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`=29712797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768280, 0.04989596588983011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29712797_27-12-2025_05_36_16.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29712800, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29712801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29712802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29712803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29712804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29712805, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29712806, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29712807, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29712808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29712809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29712810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29712811, '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 = 29713131 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': 4279116, 'mtr_portfolio_id': 29713131, 'created_at': datetime.datetime(2025, 12, 27, 5, 36, 31), 'result': '0.053216546583780014', 'result_long': None, 'result_double': None}] Qualite : 0.053216546583780014 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29713131 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29713131_27-12-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29713131 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_P29713131_27-12-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29713136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29713137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29713138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29713139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29713140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29713141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29713142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29713143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29713144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29713145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29713146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29713147, 'pht': 3726}}" where mtr_portfolio_id = 29713131 and dashboard_run_id = 2807104 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`=29713131 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768281, 0.053216546583780014, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29713131_27-12-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29713136, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29713137, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29713138, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29713139, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29713140, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29713141, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29713142, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29713143, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29713144, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29713145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29713146, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29713147, '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 = 29714009 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': 4279117, 'mtr_portfolio_id': 29714009, 'created_at': datetime.datetime(2025, 12, 27, 5, 36, 58), 'result': '0.046269850973442925', 'result_long': None, 'result_double': None}] Qualite : 0.046269850973442925 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29714009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29714009_27-12-2025_05_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29714009 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_P29714009_27-12-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29714046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714047, 'pht': 3726}}" where mtr_portfolio_id = 29714009 and dashboard_run_id = 2807104 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`=29714009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768282, 0.046269850973442925, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29714009_27-12-2025_05_37_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714036, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714037, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714038, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714041, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714043, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29714046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714047, '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 = 29714661 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': 4279118, 'mtr_portfolio_id': 29714661, 'created_at': datetime.datetime(2025, 12, 27, 5, 37, 30), 'result': '0.03380143711310024', 'result_long': None, 'result_double': None}] Qualite : 0.03380143711310024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29714661 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29714661_27-12-2025_05_37_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29714661 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_P29714661_27-12-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29714666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714677, 'pht': 3726}}" where mtr_portfolio_id = 29714661 and dashboard_run_id = 2807104 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`=29714661 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768283, 0.03380143711310024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29714661_27-12-2025_05_37_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29714666, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29714667, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29714668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29714669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29714670, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29714671, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29714672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29714673, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29714674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29714675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29714676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29714677, '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 = 29715147 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': 4279119, 'mtr_portfolio_id': 29715147, 'created_at': datetime.datetime(2025, 12, 27, 5, 37, 29), 'result': '0.046027377218237416', 'result_long': None, 'result_double': None}] Qualite : 0.046027377218237416 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29715147 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29715147_27-12-2025_05_37_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29715147 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_P29715147_27-12-2025_05_37_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29715162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715173, 'pht': 3726}}" where mtr_portfolio_id = 29715147 and dashboard_run_id = 2807104 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`=29715147 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768284, 0.046027377218237416, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29715147_27-12-2025_05_37_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29715162, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715163, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715164, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715165, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715167, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715168, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715170, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715171, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715173, '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 = 29715748 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': 4279120, 'mtr_portfolio_id': 29715748, 'created_at': datetime.datetime(2025, 12, 27, 5, 38), 'result': '0.04257649994335921', 'result_long': None, 'result_double': None}] Qualite : 0.04257649994335921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29715748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29715748_27-12-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29715748 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_P29715748_27-12-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29715758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715765, 'pht': 3726}}" where mtr_portfolio_id = 29715748 and dashboard_run_id = 2807104 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`=29715748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768285, 0.04257649994335921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29715748_27-12-2025_05_38_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29715750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29715751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29715752, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29715754, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29715755, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29715757, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29715758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29715759, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29715761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29715762, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29715763, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29715765, '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 = 29716110 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': 4279121, 'mtr_portfolio_id': 29716110, 'created_at': datetime.datetime(2025, 12, 27, 5, 38, 29), 'result': '0.03708872304923792', 'result_long': None, 'result_double': None}] Qualite : 0.03708872304923792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29716110 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29716110_27-12-2025_05_38_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29716110 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_P29716110_27-12-2025_05_38_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29716181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29716182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29716183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29716184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29716185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29716186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29716187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29716188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29716189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29716190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29716191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29716192, 'pht': 3726}}" where mtr_portfolio_id = 29716110 and dashboard_run_id = 2807104 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`=29716110 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768286, 0.03708872304923792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29716110_27-12-2025_05_38_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29716181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29716182, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29716183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29716184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29716185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29716186, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29716187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29716188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29716189, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29716190, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29716191, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29716192, '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 = 29717360 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': 4279122, 'mtr_portfolio_id': 29717360, 'created_at': datetime.datetime(2025, 12, 27, 5, 38, 59), 'result': '0.046545577613101526', 'result_long': None, 'result_double': None}] Qualite : 0.046545577613101526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29717360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29717360_27-12-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29717360 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_P29717360_27-12-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717374, 'pht': 3726}}" where mtr_portfolio_id = 29717360 and dashboard_run_id = 2807104 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`=29717360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768287, 0.046545577613101526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29717360_27-12-2025_05_39_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717365, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717367, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717373, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717374, '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 = 29717669 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': 4279123, 'mtr_portfolio_id': 29717669, 'created_at': datetime.datetime(2025, 12, 27, 5, 39, 32), 'result': '0.05488433627373229', 'result_long': None, 'result_double': None}] Qualite : 0.05488433627373229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29717669 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29717669_27-12-2025_05_39_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29717669 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_P29717669_27-12-2025_05_39_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717696, 'pht': 3726}}" where mtr_portfolio_id = 29717669 and dashboard_run_id = 2807104 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`=29717669 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768288, 0.05488433627373229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29717669_27-12-2025_05_39_35.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29717685, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29717686, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29717687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29717688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29717689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29717690, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29717691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29717692, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29717693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29717694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29717695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29717696, '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 = 29718181 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': 4279124, 'mtr_portfolio_id': 29718181, 'created_at': datetime.datetime(2025, 12, 27, 5, 39, 28), 'result': '0.05764090035728827', 'result_long': None, 'result_double': None}] Qualite : 0.05764090035728827 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29718181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29718181_27-12-2025_05_39_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29718181 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_P29718181_27-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29718187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718198, 'pht': 3726}}" where mtr_portfolio_id = 29718181 and dashboard_run_id = 2807104 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`=29718181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768289, 0.05764090035728827, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29718181_27-12-2025_05_39_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29718187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718188, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718189, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718190, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718191, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718192, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718194, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718195, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718197, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718198, '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 = 29718620 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': 4279125, 'mtr_portfolio_id': 29718620, 'created_at': datetime.datetime(2025, 12, 27, 5, 39, 56), 'result': '0.04356288225257206', 'result_long': None, 'result_double': None}] Qualite : 0.04356288225257206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29718620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29718620_27-12-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29718620 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_P29718620_27-12-2025_05_40_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29718640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718643, 'pht': 3726}}" where mtr_portfolio_id = 29718620 and dashboard_run_id = 2807104 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`=29718620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768290, 0.04356288225257206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29718620_27-12-2025_05_40_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29718632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29718633, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29718634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29718635, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29718636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29718637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29718638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29718639, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29718640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29718641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29718642, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29718643, '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 = 29719078 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': 4279126, 'mtr_portfolio_id': 29719078, 'created_at': datetime.datetime(2025, 12, 27, 5, 40, 31), 'result': '0.05710215934806329', 'result_long': None, 'result_double': None}] Qualite : 0.05710215934806329 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29719078 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29719078_27-12-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29719078 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_P29719078_27-12-2025_05_40_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719098, 'pht': 3726}}" where mtr_portfolio_id = 29719078 and dashboard_run_id = 2807104 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`=29719078 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768291, 0.05710215934806329, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29719078_27-12-2025_05_40_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719088, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719094, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719095, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719096, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719098, '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 = 29719453 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': 4279127, 'mtr_portfolio_id': 29719453, 'created_at': datetime.datetime(2025, 12, 27, 5, 40, 40), 'result': '0.044197779261265654', 'result_long': None, 'result_double': None}] Qualite : 0.044197779261265654 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29719453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29719453_27-12-2025_05_40_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29719453 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_P29719453_27-12-2025_05_40_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719475, 'pht': 3726}}" where mtr_portfolio_id = 29719453 and dashboard_run_id = 2807104 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`=29719453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768292, 0.044197779261265654, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29719453_27-12-2025_05_40_43.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29719463, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29719465, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29719466, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29719467, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29719468, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29719469, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29719470, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29719471, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29719472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29719473, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29719474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29719475, '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 = 29720080 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': 4279128, 'mtr_portfolio_id': 29720080, 'created_at': datetime.datetime(2025, 12, 27, 5, 40, 59), 'result': '0.04828477440348738', 'result_long': None, 'result_double': None}] Qualite : 0.04828477440348738 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29720080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29720080_27-12-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29720080 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_P29720080_27-12-2025_05_41_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29720105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720109, 'pht': 3726}}" where mtr_portfolio_id = 29720080 and dashboard_run_id = 2807104 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`=29720080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768293, 0.04828477440348738, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29720080_27-12-2025_05_41_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720100, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720102, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29720105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720107, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720109, '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 = 29720547 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': 4279129, 'mtr_portfolio_id': 29720547, 'created_at': datetime.datetime(2025, 12, 27, 5, 41, 13), 'result': '0.05666096571730723', 'result_long': None, 'result_double': None}] Qualite : 0.05666096571730723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29720547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29720547_27-12-2025_05_41_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29720547 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_P29720547_27-12-2025_05_41_16.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29720588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720600, 'pht': 3726}}" where mtr_portfolio_id = 29720547 and dashboard_run_id = 2807104 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`=29720547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768294, 0.05666096571730723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29720547_27-12-2025_05_41_16.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29720588, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29720589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29720590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29720591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29720593, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29720594, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29720595, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29720596, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29720597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29720598, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29720599, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29720600, '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 = 29721051 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': 4279130, 'mtr_portfolio_id': 29721051, 'created_at': datetime.datetime(2025, 12, 27, 5, 41, 33), 'result': '0.051126297606393534', 'result_long': None, 'result_double': None}] Qualite : 0.051126297606393534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29721051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29721051_27-12-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29721051 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_P29721051_27-12-2025_05_41_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29721058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721070, 'pht': 3726}}" where mtr_portfolio_id = 29721051 and dashboard_run_id = 2807104 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`=29721051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768295, 0.051126297606393534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29721051_27-12-2025_05_41_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29721058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721060, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721063, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721064, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721065, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721066, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721070, '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 = 29721679 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': 4279131, 'mtr_portfolio_id': 29721679, 'created_at': datetime.datetime(2025, 12, 27, 5, 41, 30), 'result': '0.027200336600448988', 'result_long': None, 'result_double': None}] Qualite : 0.027200336600448988 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29721679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29721679_27-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29721679 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_P29721679_27-12-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721694, 'pht': 3726}}" where mtr_portfolio_id = 29721679 and dashboard_run_id = 2807104 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`=29721679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768296, 0.027200336600448988, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29721679_27-12-2025_05_41_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29721683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29721684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29721685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29721686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29721687, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29721688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29721689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29721690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29721691, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29721692, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29721693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29721694, '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 = 29722140 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': 4279132, 'mtr_portfolio_id': 29722140, 'created_at': datetime.datetime(2025, 12, 27, 5, 41, 57), 'result': '0.04908809211917703', 'result_long': None, 'result_double': None}] Qualite : 0.04908809211917703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29722140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29722140_27-12-2025_05_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29722140 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_P29722140_27-12-2025_05_42_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722159, 'pht': 3726}}" where mtr_portfolio_id = 29722140 and dashboard_run_id = 2807104 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`=29722140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768297, 0.04908809211917703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29722140_27-12-2025_05_42_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722148, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722150, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722151, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722152, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722154, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722155, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722159, '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 = 29722574 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': 4279133, 'mtr_portfolio_id': 29722574, 'created_at': datetime.datetime(2025, 12, 27, 5, 42, 29), 'result': '0.04352905980324024', 'result_long': None, 'result_double': None}] Qualite : 0.04352905980324024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29722574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29722574_27-12-2025_05_42_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29722574 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_P29722574_27-12-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722619, 'pht': 3726}}" where mtr_portfolio_id = 29722574 and dashboard_run_id = 2807104 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`=29722574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768298, 0.04352905980324024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29722574_27-12-2025_05_42_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29722608, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29722609, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29722610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29722611, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29722612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29722613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29722614, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29722615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29722616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29722617, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29722618, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29722619, '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 = 29723156 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': 4279134, 'mtr_portfolio_id': 29723156, 'created_at': datetime.datetime(2025, 12, 27, 5, 42, 57), 'result': '0.05938054010957102', 'result_long': None, 'result_double': None}] Qualite : 0.05938054010957102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29723156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29723156_27-12-2025_05_42_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29723156 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_P29723156_27-12-2025_05_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723191, 'pht': 3726}}" where mtr_portfolio_id = 29723156 and dashboard_run_id = 2807104 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`=29723156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768299, 0.05938054010957102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29723156_27-12-2025_05_42_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723181, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723182, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723184, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723185, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723186, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723187, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723190, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723191, '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 = 29723508 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': 4279135, 'mtr_portfolio_id': 29723508, 'created_at': datetime.datetime(2025, 12, 27, 5, 43, 33), 'result': '0.061299497237469906', 'result_long': None, 'result_double': None}] Qualite : 0.061299497237469906 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29723508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29723508_27-12-2025_05_43_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29723508 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_P29723508_27-12-2025_05_43_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723571, 'pht': 3726}}" where mtr_portfolio_id = 29723508 and dashboard_run_id = 2807104 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`=29723508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768300, 0.061299497237469906, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29723508_27-12-2025_05_43_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29723560, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29723561, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29723562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29723563, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29723564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29723565, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29723566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29723567, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29723568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29723569, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29723570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29723571, '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 = 29724257 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': 4279136, 'mtr_portfolio_id': 29724257, 'created_at': datetime.datetime(2025, 12, 27, 5, 43, 31), 'result': '0.056438746568982893', 'result_long': None, 'result_double': None}] Qualite : 0.056438746568982893 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29724257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29724257_27-12-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29724257 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_P29724257_27-12-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29724283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29724284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29724285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29724286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29724287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29724288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29724289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29724290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29724291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29724292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29724293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29724294, 'pht': 3726}}" where mtr_portfolio_id = 29724257 and dashboard_run_id = 2807104 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`=29724257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768301, 0.056438746568982893, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29724257_27-12-2025_05_43_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29724283, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29724284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29724285, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29724286, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29724287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29724288, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29724289, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29724290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29724291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29724292, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29724293, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29724294, '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 = 29725008 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': 4279137, 'mtr_portfolio_id': 29725008, 'created_at': datetime.datetime(2025, 12, 27, 5, 43, 59), 'result': '0.05041590894150952', 'result_long': None, 'result_double': None}] Qualite : 0.05041590894150952 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29725008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29725008_27-12-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29725008 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_P29725008_27-12-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29725041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725046, 'pht': 3726}}" where mtr_portfolio_id = 29725008 and dashboard_run_id = 2807104 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`=29725008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768302, 0.05041590894150952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29725008_27-12-2025_05_44_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725039, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725040, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29725041, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725043, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725044, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725045, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725046, '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 = 29725588 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': 4279138, 'mtr_portfolio_id': 29725588, 'created_at': datetime.datetime(2025, 12, 27, 5, 44, 28), 'result': '0.04273784374795817', 'result_long': None, 'result_double': None}] Qualite : 0.04273784374795817 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29725588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29725588_27-12-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29725588 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_P29725588_27-12-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29725595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725606, 'pht': 3726}}" where mtr_portfolio_id = 29725588 and dashboard_run_id = 2807104 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`=29725588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768303, 0.04273784374795817, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29725588_27-12-2025_05_44_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29725595, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29725596, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29725597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29725598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29725599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29725600, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29725601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29725602, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29725603, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29725604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29725605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29725606, '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 = 29726011 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': 4279139, 'mtr_portfolio_id': 29726011, 'created_at': datetime.datetime(2025, 12, 27, 5, 44, 58), 'result': '0.07535184984361082', 'result_long': None, 'result_double': None}] Qualite : 0.07535184984361082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29726011 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29726011_27-12-2025_05_45_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29726011 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_P29726011_27-12-2025_05_45_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726040, 'pht': 3726}}" where mtr_portfolio_id = 29726011 and dashboard_run_id = 2807104 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`=29726011 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768304, 0.07535184984361082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29726011_27-12-2025_05_45_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726029, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726030, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726032, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726033, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726036, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726038, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726039, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726040, '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 = 29726422 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': 4279140, 'mtr_portfolio_id': 29726422, 'created_at': datetime.datetime(2025, 12, 27, 5, 45, 33), 'result': '0.06675473521937055', 'result_long': None, 'result_double': None}] Qualite : 0.06675473521937055 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29726422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29726422_27-12-2025_05_45_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29726422 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_P29726422_27-12-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726458, 'pht': 3726}}" where mtr_portfolio_id = 29726422 and dashboard_run_id = 2807104 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`=29726422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768305, 0.06675473521937055, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29726422_27-12-2025_05_45_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29726447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29726448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29726449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29726450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29726451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29726452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29726453, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29726454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29726455, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29726456, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29726457, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29726458, '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 = 29727006 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': 4279141, 'mtr_portfolio_id': 29727006, 'created_at': datetime.datetime(2025, 12, 27, 5, 45, 30), 'result': '0.0643857632791964', 'result_long': None, 'result_double': None}] Qualite : 0.0643857632791964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29727006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29727006_27-12-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29727006 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_P29727006_27-12-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727061, 'pht': 3726}}" where mtr_portfolio_id = 29727006 and dashboard_run_id = 2807104 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`=29727006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768306, 0.0643857632791964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29727006_27-12-2025_05_45_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727054, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727055, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727057, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727059, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727060, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727061, '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 = 29727528 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': 4279142, 'mtr_portfolio_id': 29727528, 'created_at': datetime.datetime(2025, 12, 27, 5, 45, 38), 'result': '0.0412717870442514', 'result_long': None, 'result_double': None}] Qualite : 0.0412717870442514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29727528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29727528_27-12-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29727528 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_P29727528_27-12-2025_05_45_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727572, 'pht': 3726}}" where mtr_portfolio_id = 29727528 and dashboard_run_id = 2807104 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`=29727528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768307, 0.0412717870442514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29727528_27-12-2025_05_45_41.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29727560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29727561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29727562, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29727563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29727564, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29727566, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29727567, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29727568, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29727569, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29727570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29727571, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29727572, '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 = 29728095 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': 4279143, 'mtr_portfolio_id': 29728095, 'created_at': datetime.datetime(2025, 12, 27, 5, 45, 59), 'result': '0.051138118373031984', 'result_long': None, 'result_double': None}] Qualite : 0.051138118373031984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29728095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29728095_27-12-2025_05_46_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29728095 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_P29728095_27-12-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728126, 'pht': 3726}}" where mtr_portfolio_id = 29728095 and dashboard_run_id = 2807104 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`=29728095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768308, 0.051138118373031984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29728095_27-12-2025_05_46_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728114, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728115, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728119, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728124, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728125, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728126, '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 = 29728696 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': 4279144, 'mtr_portfolio_id': 29728696, 'created_at': datetime.datetime(2025, 12, 27, 5, 46, 13), 'result': '0.05738124283590537', 'result_long': None, 'result_double': None}] Qualite : 0.05738124283590537 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29728696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29728696_27-12-2025_05_46_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29728696 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_P29728696_27-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728733, 'pht': 3726}}" where mtr_portfolio_id = 29728696 and dashboard_run_id = 2807104 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`=29728696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768309, 0.05738124283590537, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29728696_27-12-2025_05_46_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29728722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29728723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29728724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29728725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29728726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29728727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29728728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29728729, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29728730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29728731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29728732, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29728733, '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 = 29729084 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': 4279145, 'mtr_portfolio_id': 29729084, 'created_at': datetime.datetime(2025, 12, 27, 5, 46, 27), 'result': '0.06143348561929403', 'result_long': None, 'result_double': None}] Qualite : 0.06143348561929403 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29729084 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29729084_27-12-2025_05_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29729084 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_P29729084_27-12-2025_05_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29729092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29729093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29729094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29729095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29729096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29729097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29729098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29729099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29729100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29729101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29729102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29729103, 'pht': 3726}}" where mtr_portfolio_id = 29729084 and dashboard_run_id = 2807104 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`=29729084 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768310, 0.06143348561929403, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29729084_27-12-2025_05_46_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29729092, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29729093, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29729094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29729095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29729096, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29729097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29729098, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29729099, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29729100, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29729101, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29729102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29729103, '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 = 29730301 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': 4279146, 'mtr_portfolio_id': 29730301, 'created_at': datetime.datetime(2025, 12, 27, 5, 46, 56), 'result': '0.036039471010163845', 'result_long': None, 'result_double': None}] Qualite : 0.036039471010163845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29730301 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730301_27-12-2025_05_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29730301 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_P29730301_27-12-2025_05_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730313, 'pht': 3726}}" where mtr_portfolio_id = 29730301 and dashboard_run_id = 2807104 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`=29730301 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768311, 0.036039471010163845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730301_27-12-2025_05_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730302, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730303, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730304, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730305, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730306, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730307, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730308, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730309, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730310, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730311, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730313, '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 = 29730500 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': 4277341, 'mtr_portfolio_id': 29730500, 'created_at': datetime.datetime(2025, 12, 26, 21, 33, 28), 'result': '0.06987463387270333', 'result_long': None, 'result_double': None}] Qualite : 0.06987463387270333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29730500 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730500_26-12-2025_21_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29730500 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_P29730500_26-12-2025_21_33_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730518, 'pht': 3726}}" where mtr_portfolio_id = 29730500 and dashboard_run_id = 2807104 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`=29730500 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768312, 0.06987463387270333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730500_26-12-2025_21_33_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29730507, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730508, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730510, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29730511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730512, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29730513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29730514, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730515, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29730516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29730517, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29730518, '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 = 29730985 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': 4277422, 'mtr_portfolio_id': 29730985, 'created_at': datetime.datetime(2025, 12, 26, 21, 49, 28), 'result': '0.05957921040128901', 'result_long': None, 'result_double': None}] Qualite : 0.05957921040128901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29730985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730985_26-12-2025_21_49_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29730985 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_P29730985_26-12-2025_21_49_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29730994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731005, 'pht': 3726}}" where mtr_portfolio_id = 29730985 and dashboard_run_id = 2807104 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`=29730985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768313, 0.05957921040128901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29730985_26-12-2025_21_49_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29730994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29730995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29730996, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29730997, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29730998, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29730999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731000, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731001, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731003, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731004, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731005, '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 = 29731388 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': 4277487, 'mtr_portfolio_id': 29731388, 'created_at': datetime.datetime(2025, 12, 26, 22, 2, 58), 'result': '0.05932869875880181', 'result_long': None, 'result_double': None}] Qualite : 0.05932869875880181 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29731388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29731388_26-12-2025_22_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29731388 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_P29731388_26-12-2025_22_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731401, 'pht': 3726}}" where mtr_portfolio_id = 29731388 and dashboard_run_id = 2807104 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`=29731388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768314, 0.05932869875880181, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29731388_26-12-2025_22_02_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731391, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731392, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731394, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731396, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731397, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731398, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731400, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731401, '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 = 29731677 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': 4277530, 'mtr_portfolio_id': 29731677, 'created_at': datetime.datetime(2025, 12, 26, 22, 20, 59), 'result': '0.05003676595945659', 'result_long': None, 'result_double': None}] Qualite : 0.05003676595945659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29731677 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29731677_26-12-2025_22_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29731677 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_P29731677_26-12-2025_22_21_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731701, 'pht': 3726}}" where mtr_portfolio_id = 29731677 and dashboard_run_id = 2807104 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`=29731677 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768315, 0.05003676595945659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29731677_26-12-2025_22_21_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29731690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29731691, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29731692, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29731693, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29731694, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29731695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29731696, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29731697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29731698, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29731699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29731700, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29731701, '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 = 29732150 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': 4277582, 'mtr_portfolio_id': 29732150, 'created_at': datetime.datetime(2025, 12, 26, 22, 33, 1), 'result': '0.06351691112493876', 'result_long': None, 'result_double': None}] Qualite : 0.06351691112493876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29732150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732150_26-12-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29732150 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_P29732150_26-12-2025_22_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732166, 'pht': 3726}}" where mtr_portfolio_id = 29732150 and dashboard_run_id = 2807104 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`=29732150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768316, 0.06351691112493876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732150_26-12-2025_22_33_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732156, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732157, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732158, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732159, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732163, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732165, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732166, '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 = 29732608 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': 4277637, 'mtr_portfolio_id': 29732608, 'created_at': datetime.datetime(2025, 12, 26, 22, 49, 26), 'result': '0.07781573601267316', 'result_long': None, 'result_double': None}] Qualite : 0.07781573601267316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29732608 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732608_26-12-2025_22_49_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29732608 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_P29732608_26-12-2025_22_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29732610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732621, 'pht': 3726}}" where mtr_portfolio_id = 29732608 and dashboard_run_id = 2807104 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`=29732608 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768317, 0.07781573601267316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732608_26-12-2025_22_49_27.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29732610, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732611, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732615, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732616, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732617, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732618, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732621, '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 = 29732817 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': 4277667, 'mtr_portfolio_id': 29732817, 'created_at': datetime.datetime(2025, 12, 26, 23, 2, 57), 'result': '0.04263052807534998', 'result_long': None, 'result_double': None}] Qualite : 0.04263052807534998 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29732817 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732817_26-12-2025_23_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29732817 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_P29732817_26-12-2025_23_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732833, 'pht': 3726}}" where mtr_portfolio_id = 29732817 and dashboard_run_id = 2807104 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`=29732817 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768318, 0.04263052807534998, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29732817_26-12-2025_23_02_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29732822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29732823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29732824, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29732825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29732826, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29732827, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29732828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29732829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29732830, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29732831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29732832, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29732833, '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 = 29733216 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': 4277723, 'mtr_portfolio_id': 29733216, 'created_at': datetime.datetime(2025, 12, 26, 23, 16, 59), 'result': '0.044991933586380845', 'result_long': None, 'result_double': None}] Qualite : 0.044991933586380845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29733216 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29733216_26-12-2025_23_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29733216 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_P29733216_26-12-2025_23_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733234, 'pht': 3726}}" where mtr_portfolio_id = 29733216 and dashboard_run_id = 2807104 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`=29733216 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768319, 0.044991933586380845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29733216_26-12-2025_23_16_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733223, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733225, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733227, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733229, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733233, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733234, '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 = 29733624 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': 4277785, 'mtr_portfolio_id': 29733624, 'created_at': datetime.datetime(2025, 12, 26, 23, 32, 59), 'result': '0.05342534442214656', 'result_long': None, 'result_double': None}] Qualite : 0.05342534442214656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29733624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29733624_26-12-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29733624 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_P29733624_26-12-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733642, 'pht': 3726}}" where mtr_portfolio_id = 29733624 and dashboard_run_id = 2807104 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`=29733624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768320, 0.05342534442214656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29733624_26-12-2025_23_33_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29733631, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29733632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29733633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29733634, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29733635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29733636, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29733637, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29733638, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29733639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29733640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29733641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29733642, '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 = 29734072 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': 4277863, 'mtr_portfolio_id': 29734072, 'created_at': datetime.datetime(2025, 12, 26, 23, 49), 'result': '0.04242768940344506', 'result_long': None, 'result_double': None}] Qualite : 0.04242768940344506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29734072 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29734072_26-12-2025_23_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29734072 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_P29734072_26-12-2025_23_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29734097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734108, 'pht': 3726}}" where mtr_portfolio_id = 29734072 and dashboard_run_id = 2807104 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`=29734072 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768321, 0.04242768940344506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29734072_26-12-2025_23_49_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29734097, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734099, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734100, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734101, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734102, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734103, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734104, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734105, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734107, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734108, '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 = 29734503 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': 4277923, 'mtr_portfolio_id': 29734503, 'created_at': datetime.datetime(2025, 12, 27, 0, 51, 11), 'result': '0.036620708019029516', 'result_long': None, 'result_double': None}] Qualite : 0.036620708019029516 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29734503 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29734503_27-12-2025_00_51_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29734503 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_P29734503_27-12-2025_00_51_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29734531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734539, 'pht': 3726}}" where mtr_portfolio_id = 29734503 and dashboard_run_id = 2807104 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`=29734503 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18768322, 0.036620708019029516, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29734503_27-12-2025_00_51_12.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29734528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29734529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29734530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29734531, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29734532, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29734533, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29734534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29734535, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29734536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29734537, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29734538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29734539, '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 (29708292,29708428,29708511,29710295,29710780,29711649,29712120,29712797,29713131,29714009,29714661,29715147,29715748,29716110,29717360,29717669,29718181,29718620,29719078,29719453,29720080,29720547,29721051,29721679,29722140,29722574,29723156,29723508,29724257,29725008,29725588,29726011,29726422,29727006,29727528,29728095,29728696,29729084,29730301,29730500,29730985,29731388,29731677,29732150,29732608,29732817,29733216,29733624,29734072,29734503) result : ((1401073673,), (1401073798,), (1401073801,), (1401073803,), (1401073825,), (1401073827,), (1401073829,), (1401073832,), (1401073849,), (1401073852,), (1401073854,), (1401073858,), (1401073861,), (1401073883,), (1401073886,), (1401073889,), (1401074239,), (1401074436,), (1401074460,), (1401074484,), (1401074486,), (1401074487,), (1401074488,), (1401074508,), (1401074509,), (1401074511,), (1401074515,), (1401074519,), (1401074523,), (1401074693,), (1401074783,), (1401074778,), (1401074781,), (1401074802,), (1401074803,), (1401074824,), (1401074828,), (1401074831,), (1401074834,), (1401074838,), (1401074853,), (1401074855,), (1401074857,), (1401074859,), (1401074862,), (1401074863,), (1401074886,), (1401074888,), (1401074890,), (1401074910,), (1401074912,), (1401074914,), (1401074916,), (1401074920,), (1401074924,), (1401074943,), (1401074946,), (1401074949,), (1401074951,), (1401074955,), (1401074957,), (1401091734,), (1401091847,), (1401091852,), (1401092121,), (1401092149,), (1401092151,), (1401092153,), (1401092155,), (1401092158,), (1401092179,), (1401092182,), (1401092185,), (1401092188,), (1401092193,), (1401092212,), (1401092215,), (1401092217,), (1401092245,), (1401092248,), (1401092251,), (1401092282,), (1401092286,), (1401092319,), (1401092324,), (1401092329,), (1401092393,), (1401092394,), (1401092396,), (1401092411,), (1401092426,), (1401092593,), (1401092755,), (1401092806,), (1401092814,), (1401092883,), (1401092886,), (1401092889,), (1401092891,), (1401092935,), (1401092939,), (1401092984,), (1401092988,), (1401092990,), (1401092992,), (1401093100,), (1401093096,), (1401093098,), (1401093283,), (1401093317,), (1401093350,), (1401093383,), (1401093419,), (1401093502,), (1401093505,), (1401093507,), (1401093509,), (1401093512,), (1401093634,), (1401093643,), (1401093645,), (1401093660,), (1401093716,), (1401093719,), (1401093745,), (1401093748,), (1401093751,), (1401093755,), (1401093759,), (1401093766,), (1401093789,), (1401093791,), (1401093793,), (1401093824,), (1401093827,), (1401093830,), (1401093890,), (1401093894,), (1401093898,), (1401093902,), (1401093906,), (1401093923,), (1401093926,), (1401093928,), (1401093959,), (1401093961,), (1401093963,), (1401093966,), (1401094008,), (1401094013,), (1401094016,), (1401094040,), (1401099760,), (1401099763,), (1401099766,), (1401099769,), (1401099774,), (1401099798,), (1401099801,), (1401100124,), (1401100126,), (1401100212,), (1401100214,), (1401100217,), (1401100250,), (1401100252,), (1401100254,), (1401100279,), (1401100301,), (1401100304,), (1401100308,), (1401100360,), (1401100363,), (1401100365,), (1401100367,), (1401100370,), (1401100373,), (1401100390,), (1401100393,), (1401100395,), (1401100397,), (1401100417,), (1401100419,), (1401100421,), (1401100424,), (1401100428,), (1401100476,), (1401100478,), (1401100481,), (1401100485,), (1401100522,), (1401100524,), (1401100528,), (1401100530,), (1401100534,), (1401100548,), (1401100551,), (1401100554,), (1401100556,), (1401100559,), (1401100563,), (1401100734,), (1401101367,), (1401100656,), (1401100683,), (1401100696,), (1401100709,), (1401100721,), (1401100853,), (1401100910,), (1401100998,), (1401101059,), (1401101062,), (1401101070,), (1401101249,), (1401101251,), (1401101253,), (1401101256,), (1401101259,), (1401101262,), (1401101278,), (1401101306,), (1401101307,), (1401101309,), (1401101311,), (1401101313,), (1401101322,), (1401101325,), (1401101328,), (1401101332,), (1401101335,), (1401101338,), (1401101356,), (1401101358,), (1401101361,), (1401101364,), (1401101571,), (1401101593,), (1401101595,), (1401101597,), (1401101601,), (1401101604,), (1401101811,), (1401101814,), (1401101817,), (1401101820,), (1401101839,), (1401101842,), (1401101844,), (1401101846,), (1401101849,), (1401101852,), (1401101889,), (1401101891,), (1401101893,), (1401101896,), (1401101900,), (1401101941,), (1401101944,), (1401101947,), (1401101951,), (1401101956,), (1401101980,), (1401101983,), (1401101986,), (1401101989,), (1401101993,), (1401102010,), (1401102013,), (1401102015,), (1401102018,), (1401102020,), (1401102023,), (1401102055,), (1401102058,), (1401102060,), (1401102062,), (1401102065,), (1401102067,), (1401102077,), (1401102078,), (1401102080,), (1401102082,), (1401102084,), (1401102085,), (1401102098,), (1401102102,), (1401102107,), (1401102111,), (1401102115,), (1401102120,), (1401102124,), (1401102138,), (1401102858,), (1401102145,), (1401103027,), (1401103031,), (1401103034,), (1401103036,), (1401103041,), (1401103044,), (1401103120,), (1401103122,), (1401103126,), (1401103130,), (1401103135,), (1401103142,), (1401103276,), (1401103288,), (1401103309,), (1401103313,), (1401103317,), (1401103322,), (1401103328,), (1401103331,), (1401103332,), (1401103334,), (1401103337,), (1401103341,), (1401103382,), (1401103392,), (1401103395,), (1401103397,), (1401103412,), (1401103427,), (1401103429,), (1401103432,), (1401103434,), (1401103436,), (1401103439,), (1401103507,), (1401103543,), (1401103553,), (1401103575,), (1401103580,), (1401103601,), (1401103671,), (1401103673,), (1401103676,), (1401103680,), (1401103683,), (1401103686,), (1401103714,), (1401103715,), (1401103716,), (1401103724,), (1401103727,), (1401103732,), (1401103767,), (1401103803,), (1401103908,), (1401103947,), (1401103968,), (1401103979,), (1401103983,), (1401104165,), (1401104167,), (1401104169,), (1401104264,), (1401104261,), (1401104262,), (1401104284,), (1401104288,), (1401104309,), (1401104312,), (1401104314,), (1401104316,), (1401104319,), (1401104343,), (1401104348,), (1401104351,), (1401104355,), (1401104358,), (1401104376,), (1401104378,), (1401104380,), (1401104441,), (1401104479,), (1401104514,), (1401104545,), (1401104759,), (1401104762,), (1401104765,), (1401104783,), (1401104786,), (1401104788,), (1401104790,), (1401104793,), (1401104810,), (1401104812,), (1401104814,), (1401104817,), (1401104844,), (1401104847,), (1401104850,), (1401104884,), (1401104886,), (1401104887,), (1401104890,), (1401104894,), (1401104914,), (1401104917,), (1401104920,), (1401104923,), (1401104926,), (1401104928,), (1401104964,), (1401104965,), (1401104968,), (1401104970,), (1401104973,), (1401104975,), (1401104983,), (1401104985,), (1401104989,), (1401105014,), (1401108470,), (1401108326,), (1401108400,), (1401108864,), (1401108900,), (1401108936,), (1401108972,), (1401109007,), (1401109584,), (1401109606,), (1401109608,), (1401109612,), (1401109615,), (1401109621,), (1401109822,), (1401109896,), (1401109962,), (1401110151,), (1401110193,), (1401110234,), (1401110305,), (1401111558,), (1401111617,), (1401111620,), (1401111623,), (1401112103,), (1401112179,), (1401112251,), (1401112919,), (1401112957,), (1401113653,), (1401113716,), (1401113781,), (1401113835,), (1401113871,), (1401113956,), (1401113958,), (1401113961,), (1401114009,), (1401114053,), (1401114353,), (1401114378,), (1401114388,), (1401114390,), (1401114393,), (1401114417,), (1401114419,), (1401114654,), (1401114657,), (1401114660,), (1401114693,), (1401114695,), (1401114696,), (1401114697,), (1401114699,), (1401114702,), (1401114718,), (1401114720,), (1401114722,), (1401114724,), (1401114727,), (1401114735,), (1401114797,), (1401114790,), (1401114961,), (1401114963,), (1401114965,), (1401114993,), (1401115009,), (1401115112,), (1401115115,), (1401115119,), (1401115124,), (1401115129,), (1401115151,), (1401115154,), (1401115157,), (1401115160,), (1401115162,), (1401115191,), (1401115194,), (1401115196,), (1401115225,), (1401115227,), (1401115229,), (1401115231,), (1401115234,), (1401115268,), (1401115271,), (1401115273,), (1401115276,), (1401115280,), (1401115296,), (1401115299,), (1401115340,), (1401115367,), (1401115371,), (1401115406,), (1401115408,), (1401115410,), (1401115413,), (1401115475,), (1401115478,), (1401115481,), (1401115484,), (1401115684,), (1401115685,), (1401115686,), (1401115689,), (1401115692,), (1401115697,), (1401115837,), (1401115839,), (1401115864,), (1401115899,), (1401115921,), (1401115927,), (1401115937,), (1401115941,), (1401115944,), (1401115949,), (1401115953,), (1401115981,), (1401116132,), (1401116134,), (1401116136,), (1401116170,), (1401116172,), (1401116173,), (1401116203,), (1401116204,), (1401116207,), (1401116208,), (1401116212,), (1401116213,), (1401116219,), (1401116220,), (1401116287,), (1401116298,), (1401116300,), (1401116302,), (1401116366,), (1401116368,), (1401116382,), (1401116385,), (1401116388,), (1401116396,), (1401116397,), (1401116400,), (1401116354,), (1401116357,), (1401116361,), (1401116364,), (1401116373,), (1401116375,), (1401116379,), (1401116403,), (1401116404,), (1401116407,), (1401116410,), (1401116414,), (1401116449,), (1401116451,), (1401116452,), (1401116454,), (1401116458,), (1401116475,), (1401116477,), (1401116479,), (1401116481,), (1401116517,), (1401116519,), (1401116564,), (1401116565,), (1401116566,), (1401116568,), (1401116572,), (1401116598,), (1401116600,), (1401116602,), (1401116604,), (1401116776,), (1401116809,), (1401116811,), (1401116823,), (1401116830,), (1401117011,), (1401117013,), (1401117014,), (1401117041,), (1401117043,), (1401117046,), (1401117066,), (1401117102,), (1401117104,), (1401117108,), (1401117164,), (1401117166,), (1401117167,), (1401117168,), (1401117488,), (1401117501,), (1401117527,), (1401117562,), (1401117597,), (1401117632,), (1401117799,), (1401117821,), (1401117841,), (1401117844,), (1401118047,), (1401118037,), (1401118273,), (1401118276,), (1401118279,), (1401118283,), (1401118319,), (1401118322,), (1401118325,), (1401118328,), (1401118427,), (1401118436,), (1401118438,), (1401118457,), (1401118458,), (1401118460,), (1401118463,), (1401118467,), (1401118474,), (1401118564,), (1401118595,), (1401118597,), (1401118598,), (1401118599,), (1401118600,), (1401118624,), (1401118625,), (1401118626,), (1401118669,), (1401118670,), (1401118672,), (1401118674,), (1401118711,), (1401118712,), (1401118713,), (1401118714,), (1401118733,), (1401118735,), (1401118736,), (1401118766,), (1401118767,), (1401119317,), (1401119352,), (1401119386,), (1401119783,), (1401120432,), (1401120466,), (1401120500,), (1401121106,), (1401121140,), (1401121170,), (1401121372,), (1401121374,), (1401121404,), (1401121424,), (1401121426,), (1401121449,), (1401121479,), (1401121502,), (1401121505,), (1401121507,), (1401121510,), (1401121515,), (1401121552,), (1401121554,), (1401121556,), (1401121558,), (1401121580,), (1401121582,), (1401121584,), (1401121586,), (1401121604,), (1401121607,), (1401121609,), (1401121651,), (1401121655,), (1401121656,), (1401121658,), (1401121661,), (1401121675,), (1401121677,), (1401121679,), (1401121682,), (1401128247,), (1401128374,), (1401128396,), (1401128402,), (1401128404,), (1401128407,), (1401128410,), (1401128413,), (1401128424,), (1401128426,), (1401128641,), (1401128677,), (1401128789,), (1401128791,), (1401128794,), (1401128817,), (1401128819,), (1401128821,), (1401128849,), (1401128852,), (1401128854,), (1401128856,), (1401128859,), (1401128873,), (1401128875,), (1401128877,), (1401128880,), (1401128884,), (1401128887,), (1401128902,), (1401128905,), (1401128908,), (1401128910,), (1401128913,), (1401128915,), (1401128934,), (1401128937,), (1401128940,), (1401128953,), (1401128955,), (1401128958,), (1401128960,), (1401128962,), (1401129484,), (1401129527,), (1401129592,), (1401129628,), (1401129684,), (1401129723,), (1401129984,), (1401129970,), (1401129974,), (1401129977,), (1401129980,), (1401130236,), (1401130238,), (1401130258,), (1401130282,), (1401130288,), (1401130292,), (1401130303,), (1401130304,), (1401130305,), (1401130307,), (1401130360,), (1401130362,), (1401130364,), (1401130366,), (1401130387,), (1401130441,), (1401130478,), (1401130481,), (1401130484,), (1401130489,), (1401130511,), (1401130513,), (1401130514,), (1401130515,), (1401130547,), (1401130551,), (1401130553,), (1401130557,), (1401130563,), (1401130608,), (1401130610,), (1401130612,), (1401130614,), (1401130633,), (1401130636,), (1401130638,), (1401130640,), (1401130643,), (1401130740,), (1401130752,), (1401130756,), (1401130761,), (1401130926,), (1401130972,), (1401131011,), (1401131059,), (1401131131,), (1401131134,), (1401131136,), (1401131138,), (1401131141,), (1401131142,), (1401131157,), (1401131160,), (1401131161,), (1401131163,), (1401131167,), (1401131217,), (1401131212,), (1401131215,), (1401131240,), (1401131242,), (1401131243,), (1401131244,), (1401131247,), (1401131280,), (1401131281,), (1401131282,), (1401131284,), (1401131288,), (1401131292,), (1401131316,), (1401131318,), (1401131349,), (1401131351,), (1401131352,), (1401131353,), (1401131356,), (1401131374,), (1401131375,), (1401131376,), (1401131378,), (1401131382,), (1401131427,), (1401131435,), (1401131441,), (1401131443,), (1401131447,), (1401131463,), (1401131466,), (1401131469,), (1401131471,), (1401131509,), (1401131511,), (1401131513,), (1401131515,), (1401131519,), (1401131565,), (1401131567,), (1401131568,), (1401131569,), (1401131572,), (1401131608,), (1401131609,), (1401131610,), (1401131612,), (1401131616,), (1401131630,), (1401131632,), (1401131634,), (1401131637,), (1401131682,), (1401131683,), (1401131685,), (1401131687,), (1401131706,), (1401131708,), (1401131736,), (1401131737,), (1401131738,), (1401131740,), (1401131745,), (1401131749,), (1401131791,), (1401131780,), (1401131783,), (1401131786,), (1401131820,), (1401131822,), (1401131823,), (1401131824,), (1401131826,), (1401131828,), (1401131842,), (1401131843,), (1401131845,), (1401131849,), (1401131852,), (1401131855,), (1401131891,), (1401131893,), (1401131895,), (1401131896,), (1401131897,), (1401131898,), (1401131900,), (1401131904,), (1401131922,), (1401131926,), (1401131929,), (1401131931,), (1401131935,), (1401131952,), (1401131955,), (1401131958,), (1401131961,), (1401131964,), (1401131994,), (1401131995,), (1401131997,), (1401132000,), (1401132003,), (1401132007,), (1401132015,), (1401132017,), (1401132019,), (1401132020,), (1401132022,), (1401132026,), (1401132028,), (1401132031,), (1401132034,), (1401132037,), (1401132049,), (1401132051,), (1401132054,), (1401132057,), (1401132060,), (1401132101,), (1401132103,), (1401132105,), (1401132107,), (1401132110,), (1401132111,), (1401132132,), (1401132133,), (1401132185,), (1401132188,), (1401132190,), (1401132193,), (1401132197,), (1401132199,), (1401132225,), (1401132227,), (1401132229,), (1401132231,), (1401132233,), (1401132235,), (1401132263,), (1401132264,), (1401132266,), (1401132270,), (1401132273,), (1401132276,), (1401132282,), (1401132283,), (1401132284,), (1401132288,), (1401132291,), (1401132293,), (1401132297,), (1401132301,), (1401132303,), (1401132348,), (1401132342,), (1401132344,), (1401132345,), (1401132346,), (1401132363,), (1401132364,), (1401132365,), (1401132367,), (1401132389,), (1401132399,), (1401132401,), (1401132403,), (1401132407,), (1401132410,), (1401132432,), (1401132434,), (1401132435,), (1401132436,), (1401132439,), (1401132442,), (1401132462,), (1401132463,), (1401132464,), (1401132487,), (1401132490,), (1401132494,), (1401132499,), (1401132502,), (1401132536,), (1401132542,), (1401132543,), (1401132544,), (1401132559,), (1401132560,), (1401132561,), (1401132563,), (1401132585,), (1401132587,), (1401132589,), (1401132591,), (1401132621,), (1401132624,), (1401132626,), (1401132627,), (1401132632,), (1401132649,), (1401132650,), (1401132651,), (1401132652,), (1401132668,), (1401132669,), (1401132670,), (1401132672,), (1401132676,), (1401132698,), (1401132700,), (1401132702,), (1401132704,), (1401132733,), (1401132737,), (1401132742,), (1401132747,), (1401132750,), (1401132793,), (1401132824,), (1401132855,), (1401132900,), (1401133402,), (1401133213,), (1401133310,), (1401134624,), (1401134709,), (1401134774,), (1401134834,), (1401134899,), (1401134960,), (1401135335,), (1401135338,), (1401135364,), (1401135389,), (1401135423,), (1401135490,), (1401135956,), (1401135958,), (1401136000,), (1401136055,), (1401136067,), (1401136121,), (1401136122,), (1401136123,), (1401136125,), (1401136129,), (1401136156,), (1401136157,), (1401136158,), (1401136160,), (1401136163,), (1401136205,), (1401136206,), (1401136208,), (1401136212,), (1401136216,), (1401136220,), (1401136226,), (1401136227,), (1401136239,), (1401136243,), (1401136246,), (1401136248,), (1401136258,), (1401136265,), (1401136289,), (1401136291,), (1401136292,), (1401136293,), (1401136360,), (1401136361,), (1401136362,), (1401136366,), (1401136370,), (1401136373,), (1401136395,), (1401136396,), (1401136397,), (1401136399,), (1401136403,), (1401136436,), (1401136439,), (1401136441,), (1401136446,), (1401136616,), (1401136617,), (1401136618,), (1401136619,), (1401136622,), (1401136623,), (1401136643,), (1401136644,), (1401136645,), (1401136647,), (1401136650,), (1401136659,), (1401136661,), (1401136664,), (1401136666,), (1401136702,), (1401136762,), (1401136779,), (1401136814,), (1401136845,), (1401136983,), (1401136984,), (1401136985,), (1401136987,), (1401137160,), (1401137206,), (1401137231,), (1401137251,), (1401137253,), (1401137256,), (1401137260,), (1401137270,), (1401137274,), (1401137326,), (1401137328,), (1401137484,), (1401137521,), (1401137545,), (1401137546,), (1401137653,), (1401137654,), (1401137655,), (1401137657,), (1401137684,), (1401137689,), (1401137690,), (1401137692,), (1401137696,), (1401137698,), (1401137719,), (1401137721,), (1401137723,), (1401137727,), (1401137730,), (1401137735,), (1401137748,), (1401137750,), (1401137752,), (1401137765,), (1401137766,), (1401137793,), (1401137810,), (1401137819,), (1401137821,), (1401137825,), (1401137828,), (1401137898,), (1401137899,), (1401137901,), (1401137939,), (1401137926,), (1401137932,), (1401137934,), (1401137937,), (1401137956,), (1401137958,), (1401137959,), (1401137993,), (1401137994,), (1401137995,), (1401138015,), (1401138017,), (1401138018,), (1401138020,), (1401138024,), (1401138036,), (1401138037,), (1401138038,), (1401138040,), (1401138064,), (1401138066,), (1401138068,), (1401138070,), (1401138074,), (1401138094,), (1401138095,), (1401138096,), (1401138099,), (1401138102,), (1401138104,), (1401138122,), (1401138125,), (1401138129,), (1401138130,), (1401138132,), (1401138133,), (1401138136,), (1401138140,), (1401138143,), (1401138158,), (1401138160,), (1401138162,), (1401138164,), (1401138280,), (1401138286,), (1401138329,), (1401138384,), (1401138430,), (1401138657,), (1401138687,), (1401138699,), (1401138701,), (1401138716,), (1401138732,), (1401138962,), (1401138999,), (1401139041,), (1401139043,), (1401139044,), (1401139045,), (1401139071,), (1401139072,), (1401139073,), (1401139075,), (1401139078,), (1401139081,), (1401139092,), (1401139094,), (1401139097,), (1401139108,), (1401139110,), (1401139112,), (1401139181,), (1401139171,), (1401139173,), (1401139176,), (1401139178,), (1401139196,), (1401139199,), (1401139201,), (1401139203,), (1401139206,), (1401139207,), (1401139222,), (1401139223,), (1401139224,), (1401139226,), (1401139248,), (1401139253,), (1401139255,), (1401139259,), (1401139262,), (1401139264,), (1401139281,), (1401139284,), (1401139286,), (1401139288,), (1401139292,), (1401139318,), (1401139321,), (1401139322,), (1401139323,), (1401139349,), (1401139350,), (1401139351,), (1401139648,), (1401139681,), (1401139689,), (1401139694,), (1401139741,), (1401139749,), (1401139756,), (1401139761,), (1401139764,), (1401139766,), (1401139819,), (1401139829,), (1401139831,), (1401139837,), (1401139838,), (1401139839,), (1401139842,), (1401139845,), (1401140001,), (1401140002,), (1401140003,), (1401140024,), (1401140027,), (1401140059,), (1401140061,), (1401140063,), (1401140158,), (1401140156,), (1401140182,), (1401140223,), (1401140224,), (1401140225,), (1401140228,), (1401140231,), (1401140247,), (1401140248,), (1401140273,), (1401140275,), (1401140277,), (1401140301,), (1401140303,), (1401140304,), (1401140305,), (1401140338,), (1401140339,), (1401140340,), (1401140342,), (1401140360,), (1401140362,), (1401140364,), (1401140392,), (1401140394,), (1401140395,), (1401140396,), (1401140399,), (1401140420,), (1401140421,), (1401140422,), (1401140424,), (1401140448,), (1401140449,), (1401140450,), (1401140478,), (1401140481,), (1401140484,), (1401140487,), (1401140490,), (1401140514,), (1401140517,), (1401140519,), (1401140521,), (1401140538,), (1401140540,), (1401140543,), (1401140585,), (1401140642,), (1401140709,), (1401140573,), (1401140575,), (1401140578,), (1401140579,), (1401140582,), (1401140606,), (1401140608,), (1401140610,), (1401140613,), (1401140616,), (1401140620,), (1401140630,), (1401140632,), (1401140634,), (1401140639,), (1401140641,), (1401140673,), (1401140674,), (1401140675,), (1401140678,), (1401140680,), (1401140682,), (1401140688,), (1401140693,), (1401140695,), (1401140697,), (1401140700,), (1401140703,), (1401140707,), (1401140711,), (1401140714,), (1401140717,), (1401140721,), (1401140745,), (1401140746,), (1401140747,), (1401140749,), (1401140753,), (1401140785,), (1401140786,), (1401140788,), (1401140800,), (1401140811,), (1401140843,), (1401140844,), (1401140845,), (1401140846,), (1401140849,), (1401140852,), (1401140879,), (1401140880,), (1401140881,), (1401140883,), (1401140914,), (1401140916,), (1401140918,), (1401140920,), (1401140922,), (1401140924,), (1401140952,), (1401140954,), (1401140955,), (1401140956,), (1401140959,), (1401141260,), (1401141267,), (1401141270,), (1401141274,), (1401141278,), (1401141281,), (1401141297,), (1401141304,), (1401141335,), (1401141358,), (1401141360,), (1401141363,), (1401141371,), (1401141374,), (1401141377,), (1401141385,), (1401141387,), (1401141391,), (1401141393,), (1401141396,), (1401141409,), (1401141413,), (1401141415,), (1401141417,), (1401141420,), (1401141463,), (1401141452,), (1401141454,), (1401141456,), (1401141459,), (1401141490,), (1401141500,), (1401141523,), (1401141526,), (1401141528,), (1401141530,), (1401141533,), (1401141554,), (1401141555,), (1401141556,), (1401141558,), (1401141562,), (1401141581,), (1401141584,), (1401141587,), (1401141591,), (1401141596,), (1401141613,), (1401141674,), (1401141676,), (1401141677,), (1401141701,), (1401141703,), (1401141705,), (1401141708,), (1401141712,), (1401141716,), (1401141768,), (1401141770,), (1401141789,), (1401141844,), (1401141895,), (1401142049,), (1401142052,), (1401142069,), (1401142149,), (1401142187,), (1401142189,), (1401142309,), (1401142311,), (1401142313,), (1401142316,), (1401142320,), (1401142367,), (1401142371,), (1401142373,), (1401142426,), (1401142430,), (1401142432,), (1401142434,), (1401142438,), (1401142518,), (1401142552,), (1401142591,), (1401142613,), (1401142616,), (1401142619,), (1401142654,), (1401142695,), (1401143048,), (1401142643,), (1401142646,), (1401142649,), (1401142652,), (1401142673,), (1401142675,), (1401142677,), (1401142679,), (1401142681,), (1401142683,), (1401142691,), (1401142693,), (1401142876,), (1401142917,), (1401142975,), (1401143008,), (1401143168,), (1401143190,), (1401143193,), (1401143200,), (1401143212,), (1401143215,), (1401143218,), (1401143247,), (1401143250,), (1401143894,), (1401143896,), (1401143930,), (1401143931,), (1401143932,), (1401143958,), (1401143961,), (1401143965,), (1401143967,), (1401143982,), (1401143984,), (1401143987,), (1401143989,), (1401143993,), (1401144018,), (1401144020,), (1401144022,), (1401144047,), (1401144060,), (1401144075,), (1401144123,), (1401145047,), (1401144982,), (1401145015,), (1401145827,), (1401145875,), (1401145907,), (1401146513,), (1401146645,), (1401146723,), (1401146774,), (1401146808,), (1401147158,), (1401147160,), (1401147161,), (1401147280,), (1401147316,), (1401147348,), (1401147382,), (1401148097,), (1401148188,), (1401148260,), (1401149230,), (1401149306,), (1401149401,), (1401149478,), (1401149527,), (1401149566,), (1401149653,), (1401150205,), (1401150224,), (1401150228,), (1401150230,), (1401150261,), (1401150294,), (1401150362,), (1401150367,), (1401150371,), (1401150387,), (1401150404,), (1401150407,), (1401150427,), (1401150428,), (1401150807,), (1401150839,), (1401150871,), (1401150959,), (1401151082,), (1401151349,), (1401151351,), (1401151359,), (1401151376,), (1401151405,), (1401151439,), (1401151716,), (1401151724,), (1401151725,), (1401151757,), (1401151759,), (1401151761,), (1401151765,), (1401151767,), (1401151769,), (1401151779,), (1401151782,), (1401151784,), (1401151826,), (1401151814,), (1401151815,), (1401151816,), (1401151817,), (1401151824,), (1401151839,), (1401151841,), (1401151844,), (1401151873,), (1401151876,), (1401151877,), (1401151880,), (1401151883,), (1401151902,), (1401151903,), (1401151904,), (1401151905,), (1401151907,), (1401151909,), (1401151923,), (1401151924,), (1401151925,), (1401151927,), (1401151944,), (1401151945,), (1401151947,), (1401151989,), (1401151999,), (1401152003,), (1401152004,), (1401152007,), (1401152010,), (1401152033,), (1401152038,), (1401152040,), (1401152044,), (1401152049,), (1401152112,), (1401152120,), (1401152123,), (1401152153,), (1401152156,), (1401152158,), (1401152160,), (1401152164,), (1401152167,), (1401152199,), (1401152201,), (1401152202,), (1401152203,), (1401152206,), (1401152228,), (1401152229,), (1401152231,), (1401152235,), (1401152240,), (1401152246,), (1401152264,), (1401152308,), (1401152310,), (1401152312,), (1401152316,), (1401152319,), (1401152327,), (1401152329,), (1401152331,), (1401152333,), (1401152335,), (1401152344,), (1401152346,), (1401152347,), (1401154444,), (1401154295,), (1401154377,), (1401154777,), (1401154780,), (1401154799,), (1401154831,), (1401155036,), (1401155049,), (1401155055,), (1401155535,), (1401155624,), (1401155709,), (1401155797,), (1401156018,), (1401156021,), (1401156060,), (1401156063,), (1401156122,), (1401156127,), (1401156128,), (1401156149,), (1401156150,), (1401156152,), (1401156155,), (1401156159,), (1401156162,), (1401156197,), (1401156201,), (1401156205,), (1401156208,), (1401156212,), (1401156214,), (1401156255,), (1401156269,), (1401156271,), (1401156272,), (1401156281,), (1401156296,), (1401156299,), (1401156303,), (1401156306,), (1401156318,), (1401156321,), (1401156545,), (1401156546,), (1401156558,), (1401156566,), (1401156609,), (1401156636,), (1401156692,), (1401156728,), (1401156768,), (1401156805,), (1401156948,), (1401156982,), (1401157015,), (1401157024,), (1401157050,), (1401157098,), (1401157100,), (1401157102,), (1401157145,), (1401157135,), (1401157137,), (1401157140,), (1401157142,), (1401157363,), (1401157398,), (1401157417,), (1401157420,), (1401157425,), (1401157429,), (1401157447,), (1401157448,), (1401157450,), (1401157453,), (1401157482,), (1401157484,), (1401157486,), (1401157525,), (1401157528,), (1401157531,), (1401157538,), (1401157542,), (1401157588,), (1401157591,), (1401157624,), (1401157626,), (1401157661,), (1401157664,), (1401157906,), (1401157942,), (1401157976,), (1401158007,), (1401158029,), (1401158035,), (1401158037,), (1401158059,), (1401158062,), (1401158065,), (1401158068,), (1401158072,), (1401158074,), (1401158091,), (1401158092,), (1401158094,), (1401158097,), (1401158100,), (1401158106,), (1401158118,), (1401158122,), (1401158126,), (1401158140,), (1401158186,), (1401158187,), (1401158188,), (1401158190,), (1401158192,), (1401158193,), (1401158201,), (1401158204,), (1401158208,), (1401158219,), (1401158223,), (1401158226,), (1401158231,), (1401158236,), (1401158239,), (1401158243,), (1401158248,), (1401158251,), (1401158254,), (1401158275,), (1401158265,), (1401158267,), (1401158269,), (1401158271,), (1401158293,), (1401158303,), (1401158305,), (1401158306,), (1401158326,), (1401158328,), (1401158330,), (1401158332,), (1401158336,), (1401158364,), (1401158367,), (1401158370,), (1401158372,), (1401158376,), (1401158392,), (1401158396,), (1401158398,), (1401158423,), (1401158425,), (1401158427,), (1401158430,), (1401158433,), (1401158454,), (1401158455,), (1401158458,), (1401158462,), (1401158465,), (1401158468,), (1401158485,), (1401158486,), (1401158487,), (1401158491,), (1401158500,), (1401158524,), (1401158526,), (1401158528,), (1401158532,), (1401158535,), (1401158537,), (1401158544,), (1401158548,), (1401158551,), (1401158555,), (1401158558,), (1401158563,), (1401158573,), (1401158579,), (1401158583,), (1401158586,), (1401158590,), (1401158594,), (1401158597,), (1401158601,), (1401158608,), (1401158610,), (1401158669,), (1401158671,), (1401158673,), (1401158674,), (1401158698,), (1401158700,), (1401158704,), (1401158709,), (1401158714,), (1401158719,), (1401158728,), (1401158731,), (1401158734,), (1401158789,), (1401158792,), (1401158794,), (1401158796,), (1401158799,), (1401158801,), (1401158834,), (1401158831,), (1401158832,), (1401158854,), (1401158855,), (1401158857,), (1401158888,), (1401158891,), (1401158895,), (1401158897,), (1401158901,), (1401158925,), (1401158928,), (1401158929,), (1401158930,), (1401158957,), (1401158958,), (1401158959,), (1401158961,), (1401158965,), (1401158967,), (1401158987,), (1401158989,), (1401159028,), (1401159031,), (1401159032,), (1401159033,), (1401159053,), (1401159055,), (1401159058,), (1401159064,), (1401159068,), (1401159085,), (1401159086,), (1401159087,), (1401159089,), (1401159092,), (1401159115,), (1401159117,), (1401159119,), (1401159121,), (1401159153,), (1401159155,), (1401159157,), (1401159159,), (1401159176,), (1401159178,), (1401159180,), (1401159183,), (1401159186,), (1401159202,), (1401159204,), (1401159207,), (1401159209,), (1401159212,), (1401159215,), (1401159597,), (1401159705,), (1401159810,), (1401161560,), (1401161363,), (1401161554,), (1401161557,), (1401161594,), (1401161597,), (1401161600,), (1401161621,), (1401161622,), (1401161623,), (1401161624,), (1401161662,), (1401161663,), (1401161664,), (1401161666,), (1401161696,), (1401161698,), (1401161700,), (1401161720,), (1401161721,), (1401161726,), (1401161753,), (1401161755,), (1401161758,), (1401161763,), (1401161809,), (1401161812,), (1401161815,), (1401161820,), (1401161825,), (1401161851,), (1401161853,), (1401161854,), (1401161917,), (1401161918,), (1401161919,), (1401161921,), (1401161925,), (1401162065,), (1401162066,), (1401162067,), (1401162069,), (1401162115,), (1401162117,), (1401162119,), (1401162272,), (1401162275,), (1401162277,), (1401162279,), (1401162314,), (1401162308,), (1401162309,), (1401162311,), (1401162343,), (1401162347,), (1401162353,), (1401162356,), (1401162360,), (1401162362,), (1401162416,), (1401162419,), (1401162427,), (1401162542,), (1401162544,), (1401162546,), (1401162562,), (1401162567,), (1401162571,), (1401162797,), (1401162830,), (1401162864,), (1401162885,), (1401162890,), (1401162906,), (1401162908,), (1401162910,), (1401162912,), (1401162915,), (1401162945,), (1401162947,), (1401162949,), (1401162952,), (1401162956,), (1401162960,), (1401162981,), (1401162984,), (1401162986,), (1401162989,), (1401162994,), (1401163021,), (1401163029,), (1401163036,), (1401163038,), (1401163057,), (1401163058,), (1401163060,), (1401163063,), (1401163067,), (1401163070,), (1401163092,), (1401163094,), (1401163097,), (1401163100,), (1401163128,), (1401163131,), (1401163133,), (1401163135,), (1401163166,), (1401163168,), (1401163170,), (1401163173,), (1401163177,), (1401163180,), (1401163194,), (1401163195,), (1401163198,), (1401163229,), (1401163238,), (1401163270,), (1401163267,), (1401163268,), (1401163288,), (1401163291,), (1401163295,), (1401163298,), (1401163301,), (1401163303,), (1401163315,), (1401163318,), (1401163345,), (1401163347,), (1401163349,), (1401163353,), (1401163356,), (1401163368,), (1401163371,), (1401163374,), (1401163376,), (1401163380,), (1401163404,), (1401163407,), (1401163409,), (1401163411,), (1401163413,), (1401163427,), (1401163428,), (1401163430,), (1401163433,), (1401163440,), (1401163444,), (1401163484,), (1401163487,), (1401163490,), (1401163555,), (1401163563,), (1401163572,), (1401163580,), (1401163584,), (1401163598,), (1401163623,), (1401163630,), (1401163642,), (1401163646,), (1401163650,), (1401163838,), (1401163840,), (1401163843,), (1401163846,), (1401163849,), (1401163882,), (1401163954,), (1401163957,), (1401163959,), (1401163961,), (1401163987,), (1401163994,), (1401164004,), (1401164019,), (1401164025,), (1401164028,), (1401164048,), (1401164081,), (1401164111,), (1401164143,), (1401164305,), (1401164307,), (1401164310,), (1401164313,), (1401164328,), (1401164363,), (1401164447,), (1401164493,), (1401164599,), (1401164431,), (1401164434,), (1401164437,), (1401164439,), (1401164443,), (1401164468,), (1401164469,), (1401164471,), (1401164474,), (1401164479,), (1401164482,), (1401164489,), (1401164491,), (1401164523,), (1401164530,), (1401164533,), (1401164537,), (1401164540,), (1401164543,), (1401164552,), (1401164553,), (1401164554,), (1401164555,), (1401164558,), (1401164559,), (1401164568,), (1401164569,), (1401164576,), (1401164577,), (1401164580,), (1401164581,), (1401164589,), (1401164592,), (1401164594,), (1401164596,), (1401164616,), (1401164618,), (1401164619,), (1401164622,), (1401164626,), (1401164652,), (1401164658,), (1401164661,), (1401164663,), (1401164667,), (1401164736,), (1401164960,), (1401164993,), (1401165059,), (1401165235,), (1401165237,), (1401165238,), (1401165241,), (1401165244,), (1401165246,), (1401165257,), (1401165259,), (1401165261,), (1401165266,), (1401165267,), (1401165270,), (1401165275,), (1401165279,), (1401165296,), (1401165299,), (1401165302,), (1401165304,), (1401165327,), (1401165330,), (1401165332,), (1401165334,), (1401165336,), (1401165338,), (1401165358,), (1401165360,), (1401165362,), (1401165869,), (1401165911,), (1401165944,), (1401165987,), (1401166032,), (1401166068,), (1401166334,), (1401166431,), (1401166521,), (1401166620,), (1401166747,), (1401167337,), (1401167066,), (1401167101,), (1401167179,), (1401167254,), (1401167293,), (1401167514,), (1401167517,), (1401167519,), (1401167737,), (1401167747,), (1401167779,), (1401167794,), (1401167797,), (1401167829,), (1401167872,), (1401167875,), (1401167878,), (1401167881,), (1401167886,), (1401167905,), (1401167907,), (1401167909,), (1401167940,), (1401167942,), (1401167944,), (1401167947,), (1401167951,), (1401167954,), (1401167971,), (1401167974,), (1401167979,), (1401167989,), (1401167997,), (1401168000,), (1401168014,), (1401168020,), (1401168031,), (1401168036,), (1401168043,), (1401168060,), (1401168062,), (1401168064,), (1401168067,), (1401168070,), (1401168072,), (1401168088,), (1401168090,), (1401168093,), (1401168096,), (1401168099,), (1401168101,), (1401168105,), (1401168107,), (1401168108,), (1401168111,), (1401168121,), (1401168128,), (1401168144,), (1401168147,), (1401168149,), (1401168151,), (1401168154,), (1401168187,), (1401168195,), (1401168197,), (1401168199,), (1401168225,), (1401168232,), (1401168234,), (1401168237,), (1401168240,), (1401168242,), (1401168263,), (1401168267,), (1401168289,), (1401168311,), (1401168315,), (1401173469,), (1401171836,), (1401173466,), (1401173684,), (1401173687,), (1401173747,), (1401173750,), (1401173753,), (1401173756,), (1401173760,), (1401173776,), (1401173779,), (1401173781,), (1401173801,), (1401173838,), (1401173969,), (1401173971,), (1401173972,), (1401173975,), (1401173979,), (1401173996,), (1401174000,), (1401174004,), (1401174007,), (1401174035,), (1401174038,), (1401174040,), (1401174042,), (1401174045,), (1401174060,), (1401174062,), (1401174064,), (1401174068,), (1401174098,), (1401174092,), (1401174093,), (1401174095,), (1401174154,), (1401174156,), (1401174182,), (1401174218,), (1401174252,), (1401174284,), (1401174794,), (1401174796,), (1401174797,), (1401174798,), (1401174800,), (1401174831,), (1401174832,), (1401174833,), (1401174835,), (1401175122,), (1401175158,), (1401175188,), (1401175191,), (1401175209,), (1401175212,), (1401175214,), (1401175216,), (1401175219,), (1401175232,), (1401175234,), (1401175236,), (1401175239,), (1401175281,), (1401175284,), (1401175287,), (1401175292,), (1401175294,), (1401175295,), (1401175300,), (1401175302,), (1401175304,), (1401175306,), (1401175315,), (1401175317,), (1401175319,), (1401175322,), (1401175326,), (1401175333,), (1401175348,), (1401175349,), (1401175353,), (1401175397,), (1401175399,), (1401175402,), (1401175405,), (1401175421,), (1401175513,), (1401175624,), (1401175641,), (1401175643,), (1401175656,), (1401175690,), (1401175702,), (1401175784,), (1401175785,), (1401175787,), (1401175790,), (1401175815,), (1401175819,), (1401175822,), (1401175826,), (1401175829,), (1401175852,), (1401175844,), (1401175846,), (1401175847,), (1401175848,), (1401175850,), (1401175880,), (1401175882,), (1401175884,), (1401175904,), (1401175907,), (1401175909,), (1401175912,), (1401175916,), (1401175920,), (1401175950,), (1401175952,), (1401175954,), (1401175956,), (1401175958,), (1401175960,), (1401176417,), (1401176445,), (1401176446,), (1401176449,), (1401176470,), (1401176472,), (1401176474,), (1401176500,), (1401176502,), (1401176521,), (1401176523,), (1401176526,), (1401176529,), (1401176554,), (1401176557,), (1401176559,), (1401176561,), (1401176564,), (1401176578,), (1401176580,), (1401176582,), (1401176585,), (1401176590,), (1401176627,), (1401176630,), (1401176633,), (1401176637,), (1401176639,), (1401176640,), (1401176647,), (1401176654,), (1401176656,), (1401176658,), (1401176660,), (1401176663,), (1401176692,), (1401176693,), (1401176695,), (1401176713,), (1401176716,), (1401176720,), (1401176725,), (1401176730,), (1401176790,), (1401176795,), (1401176836,), (1401176823,), (1401176826,), (1401176829,), (1401176832,), (1401176856,), (1401176860,), (1401176862,), (1401176865,), (1401176869,), (1401176873,), (1401176885,), (1401176888,), (1401176891,), (1401176894,), (1401176898,), (1401176919,), (1401176921,), (1401176942,), (1401176944,), (1401176946,), (1401176964,), (1401176969,), (1401176971,), (1401176985,), (1401176994,), (1401176997,), (1401177014,), (1401177017,), (1401177020,), (1401177023,), (1401177027,), (1401177035,), (1401177051,), (1401177053,), (1401177056,), (1401177059,), (1401177063,), (1401177066,), (1401177069,), (1401177072,), (1401177074,), (1401177077,), (1401177080,), (1401177082,), (1401177095,), (1401177097,), (1401177099,), (1401177101,), (1401177103,), (1401177105,), (1401177114,), (1401177117,), (1401177121,), (1401177124,), (1401177126,), (1401177135,), (1401177137,), (1401177138,), (1401177139,), (1401177223,), (1401177230,), (1401177231,), (1401177233,), (1401177237,), (1401177241,), (1401177296,), (1401177298,), (1401177299,), (1401177301,), (1401177306,), (1401177339,), (1401177340,), (1401177341,), (1401177364,), (1401177366,), (1401177367,), (1401177368,), (1401177371,), (1401177396,), (1401177641,), (1401177847,), (1401177389,), (1401177390,), (1401177391,), (1401177393,), (1401177434,), (1401177436,), (1401177438,), (1401177441,), (1401177443,), (1401177467,), (1401177596,), (1401177631,), (1401177639,), (1401177784,), (1401177810,), (1401177811,), (1401177812,), (1401177813,), (1401177814,), (1401177822,), (1401177824,), (1401177828,), (1401177832,), (1401177835,), (1401177836,), (1401177843,), (1401177845,), (1401177854,), (1401177857,), (1401177860,), (1401177873,), (1401177874,), (1401177875,), (1401177876,), (1401177878,), (1401177881,), (1401177920,), (1401177928,), (1401177929,), (1401177931,), (1401177934,), (1401177938,), (1401177952,), (1401177954,), (1401177998,), (1401178003,), (1401178006,), (1401178009,), (1401178013,), (1401178016,), (1401178029,), (1401178032,), (1401178034,), (1401178036,), (1401178039,), (1401178042,), (1401178075,), (1401178078,), (1401178152,), (1401178221,), (1401178269,), (1401178275,), (1401178305,), (1401178343,), (1401178346,), (1401178371,), (1401178397,), (1401178400,), (1401178402,), (1401178404,), (1401178538,), (1401178542,), (1401178753,), (1401178768,), (1401178868,), (1401178870,), (1401178872,), (1401178875,), (1401178912,), (1401178900,), (1401178904,), (1401178906,), (1401178908,), (1401178929,), (1401178932,), (1401178933,), (1401178935,), (1401178938,), (1401178940,), (1401178955,), (1401178957,), (1401178958,), (1401178979,), (1401178982,), (1401178985,), (1401178988,), (1401179006,), (1401179009,), (1401179011,), (1401179029,), (1401179031,), (1401179033,), (1401179036,), (1401179040,), (1401179075,), (1401179077,), (1401179079,), (1401179099,), (1401179101,), (1401179102,), (1401179103,), (1401179106,), (1401179108,), (1401179133,), (1401179134,), (1401179135,), (1401179137,), (1401179141,), (1401179165,), (1401179167,), (1401179169,), (1401179171,), (1401179204,), (1401179205,), (1401179206,), (1401179207,), (1401179226,), (1401179228,), (1401179231,), (1401179236,), (1401179265,), (1401179268,), (1401179270,), (1401179272,), (1401179276,), (1401179307,), (1401179312,), (1401179316,), (1401179322,), (1401179332,), (1401179333,), (1401179359,), (1401179352,), (1401179355,), (1401179357,), (1401179382,), (1401179383,), (1401179385,), (1401179388,), (1401179392,), (1401179410,), (1401179414,), (1401179418,), (1401179453,), (1401179455,), (1401179457,), (1401179459,), (1401179462,), (1401179465,), (1401179472,), (1401179474,), (1401179479,), (1401179480,), (1401179483,), (1401179486,), (1401179488,), (1401179491,), (1401179520,), (1401179521,), (1401179523,), (1401179550,), (1401179553,), (1401179555,), (1401179558,), (1401179562,), (1401179565,), (1401179589,), (1401179593,), (1401179595,), (1401179597,), (1401179599,), (1401179601,), (1401179614,), (1401179616,), (1401179618,), (1401179639,), (1401179657,), (1401179659,), (1401179663,), (1401179676,), (1401179678,), (1401179679,), (1401179680,), (1401179683,), (1401179711,), (1401179712,), (1401179713,), (1401179740,), (1401179741,), (1401179744,), (1401179747,), (1401179751,), (1401179785,), (1401179787,), (1401179789,), (1401179791,), (1401179807,), (1401179809,), (1401179811,), (1401179813,), (1401179815,), (1401179819,), (1401179854,), (1401179850,), (1401179852,), (1401179874,), (1401179876,), (1401179877,), (1401179878,), (1401179880,), (1401179902,), (1401179903,), (1401179904,), (1401179906,), (1401179907,), (1401179910,), (1401179929,), (1401179930,), (1401179931,), (1401179933,), (1401179961,), (1401179962,), (1401179963,), (1401179988,), (1401179990,), (1401179992,), (1401179994,), (1401179998,), (1401179999,), (1401180023,), (1401180025,), (1401180027,), (1401180029,), (1401180031,), (1401180045,), (1401180046,), (1401180048,), (1401180080,), (1401180083,), (1401180086,), (1401180090,), (1401180094,), (1401180110,), (1401180113,), (1401180115,), (1401180117,), (1401180119,), (1401180136,), (1401180138,), (1401180140,), (1401180143,), (1401180163,), (1401180167,), (1401180170,), (1401180172,), (1401180176,), (1401180179,), (1401180209,), (1401180219,), (1401180221,), (1401180225,), (1401180227,), (1401180229,), (1401180242,), (1401180244,), (1401180247,), (1401180251,), (1401180254,), (1401180277,), (1401180281,), (1401180285,), (1401180290,), (1401180297,), (1401180325,), (1401180307,), (1401180320,), (1401180321,), (1401180322,), (1401180341,), (1401180343,), (1401180344,), (1401180345,), (1401180348,), (1401180350,), (1401180380,), (1401180382,), (1401180383,), (1401180384,), (1401180415,), (1401180417,), (1401180418,), (1401180420,), (1401180439,), (1401180442,), (1401180444,), (1401180446,), (1401180480,), (1401180482,), (1401180505,), (1401180508,), (1401180509,), (1401180512,), (1401180515,), (1401180542,), (1401180543,), (1401180544,), (1401180566,), (1401180567,), (1401180569,), (1401180571,), (1401180575,), (1401180579,), (1401180596,), (1401180598,), (1401180599,), (1401180600,), (1401180620,), (1401180621,), (1401180622,), (1401180624,), (1401180628,), (1401180656,), (1401180657,), (1401180658,), (1401180660,), (1401180663,), (1401180681,), (1401180684,), (1401180687,), (1401180715,), (1401180717,), (1401180719,), (1401180722,), (1401180724,), (1401180726,), (1401180743,), (1401180745,), (1401180748,), (1401180751,), (1401180754,), (1401180802,), (1401180786,), (1401180791,), (1401180792,), (1401180794,), (1401180798,), (1401180818,), (1401180821,), (1401180824,), (1401180826,), (1401180856,), (1401180857,), (1401180858,), (1401180859,), (1401180883,), (1401180930,), (1401180968,), (1401180969,), (1401180995,), (1401180998,), (1401181001,), (1401181006,), (1401181010,), (1401181061,), (1401181084,), (1401181085,), (1401181086,), (1401181088,), (1401181120,), (1401181123,), (1401181126,), (1401181129,), (1401181132,), (1401181159,), (1401181162,), (1401181164,), (1401181166,), (1401181584,), (1401181598,), (1401181602,), (1401181622,), (1401181654,), (1401181666,), (1401181717,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26122025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29730301]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] map_info['map_portfolio_photo'] : {29730301: [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836]} final : True mtd_id 4302 list_pids : [1401174098, 1401174068, 1401174064, 1401174062, 1401174060, 1401174045, 1401174042, 1401174040, 1401174038, 1401174035, 1401174007, 1401174004, 1401174000, 1401173996, 1401173979, 1401173975, 1401173972, 1401173971, 1401173969, 1401173838, 1401173801, 1401173781, 1401173779, 1401173776, 1401173760, 1401173756, 1401173753, 1401173750, 1401173747, 1401173687, 1401173684, 1401173466, 1401171836] Looping around the photos to save general results len do output : 1 /29730301Didn'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, '4279146') ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146') ('4302', None, None, None, None, None, None, None, '4279146') ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '29730301', 'None', None, None, None, None, '4279146'), ('4302', '29730301', '1401174098', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174068', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174064', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174062', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174060', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174045', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174042', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174040', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174038', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174035', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174007', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174004', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401174000', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173996', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173979', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173975', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173972', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173971', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173969', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173838', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173801', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173781', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173779', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173776', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173760', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173756', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173753', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173750', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173747', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173687', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173684', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401173466', None, None, None, None, None, '4279146'), ('4302', '29730301', '1401171836', None, None, None, None, None, '4279146')] time used for this insertion : 0.021765470504760742 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.258918046951294 time spend to save output : 0.022123098373413086 total time spend for step 5 : 5.281041145324707 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 (4279146) 2.99user 2.46system 0:15.41elapsed 35%CPU (0avgtext+0avgdata 170544maxresident)k 120inputs+26064outputs (1major+81691minor)pagefaults 0swaps